/* ===== GLOBAL STYLES ===== */
:root {
    /* --primary-blue: #3498db; */
    --primary-blue: #253281;
    --primary-red: #e74c3c;
    --light-blue: #ebf5fb;
    --light-red: #fdedec;
    --dark-blue: #2980b9;
    --dark-red: #c0392b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    scroll-behavior: smooth;
    line-height: 1.6;
    color: #333;
}

/* ===== NAVIGATION ===== */
.navbar {
        background-color: rgba(255, 255, 255, 0.95);
        box-shadow: 0 2px 10px rgba(0,0,0,.1);
        padding: 0 10%;
        height: 120px;
        transition: all 0.3s ease;
        position: relative;
}

/* collapsed navbar panel (mobile hamburger) */
.navbar-collapse.show {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 12px 3%;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-radius: 0 0 8px 8px;
    z-index: 9999;
}

.navbar-collapse .nav-link {
    display: block;
    padding: 0.6rem 0;
    color: #2c3e50;
}

.navbar-brand {
    padding: 0;
    margin: 0;
}

.navbar-logo {
    max-height:120px;
    width: auto;
    padding: 10px 0;
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 10px;
    color: #2c3e50 !important;
    transition: all 0.3s ease;
    transform: scale(1);
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-red) !important;
    transform: scale(1.1);
}

/* ===== BUTTONS ===== */
.btn-primary {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--dark-red);
    border-color: var(--dark-red);
    transform: translateY(-2px);
}

/* ===== SECTIONS ===== */
.content-section {
    padding: 80px 10%;
}

.bg-light {
    background-color: var(--light-blue) !important;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.content-section h1 {
    color: var(--primary-blue);
}

.content-section h2 {
    margin-bottom: 30px;
    color: var(--primary-blue);
    font-weight: 700;
    position: relative;
}

.content-section h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary-red);
    border-radius: 2px;
}

.content-section h3 {
    color: var(--primary-red);
    margin-bottom: 20px;
    font-weight: 600;
}

.content-section p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #34495e;
    margin-bottom: 20px;
}

.lead {
    font-size: 1.25rem;
    font-weight: 300;
}

/* ===== FORMS ===== */
.form-label {
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 8px;
}

.form-control, .form-select {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

.form-check-input:checked {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
}

.form-check-label {
    color: #666;
}

/* ===== FOOTER ===== */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 40px 10%;
    margin-top: 50px;
}

footer h5 {
    margin-bottom: 20px;
    font-weight: 600;
    color: var(--primary-blue);
}

footer a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: var(--primary-red);
}

.social-icons a {
    display: inline-block;
    margin-right: 15px;
    font-size: 1.2rem;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
    .navbar {
        padding: 0 5%;
        height: 70px;
    }
    
    .navbar-logo {
        max-height: 70px;
    }
    
    .content-section {
        padding: 60px 5%;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0 3%;
        height: 60px;
    }
    
    .navbar-logo {
        max-height: 60px;
    }
    
    .content-section {
        padding: 60px 3%;
    }
    
    footer {
        padding: 40px 3%;
    }
}

/* ===== HOME PAGE STYLES ===== */

/* === CAROUSEL === */
.carousel-section {
    margin-top: 20px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

#mainCarousel {
    height: 600px;
    background: linear-gradient(135deg, var(--light-blue) 0%, #ffffff 50%);
}

.carousel-slide-content {
    height: 600px;
    display: flex;
    align-items: center;
}

.carousel-text {
    padding: 0 100px;
}

.carousel-image {
    padding: 0;
    height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.carousel-text .text-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--primary-blue);
    line-height: 1.2;
}

.carousel-text .text-content p {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #34495e;
    margin-bottom: 30px;
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    background-color: rgba(52, 152, 219, 0.9);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: all 0.3s ease;
    margin: 0 30px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    background-color: var(--primary-blue);
    transform: translateY(-50%) scale(1.1);
}

.carousel-control-prev {
    left: 0;
}

.carousel-control-next {
    right: 0;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 25px;
    height: 25px;
    background-size: 25px 25px;
}

.carousel-control-prev-mini,
.carousel-control-next-mini {
    width: 30px;
    height: 30px;
    margin: 0 15px;
}

.carousel-control-prev-icon-mini,
.carousel-control-next-icon-mini {
    width: 15px;
    height: 15px;
    background-size: 15px 15px;
}

/* Is brands carousel indicators - using only prev/next buttons */
.carousel-indicators {
    display: flex;
}

/* Text Animation */
.animate-on-load h1,
.animate-on-load p,
.animate-on-load .btn {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.3s ease;
}

.carousel-item.active .animate-on-load h1 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

.carousel-item.active .animate-on-load p {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.carousel-item.active .animate-on-load .btn {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

/* === FEATURE BOXES === */
.feature-box {
    padding: 30px;
    border-radius: 8px;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,.05);
    transition: transform 0.3s;
    margin-bottom: 30px;
    height: 100%;
    border-left: 4px solid var(--primary-blue);
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.15);
}

.feature-box h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-box p {
    color: #7f8c8d;
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-bottom: 20px;
}

/* === COMPARISON TABLE === */
.comparison-table {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,.05);
}

.comparison-table th {
    background-color: var(--primary-blue);
    color: white;
    font-weight: 600;
    border: none;
    padding: 15px;
}

.comparison-table td {
    padding: 12px 15px;
    border-color: #e9ecef;
}

.comparison-table tbody tr:hover {
    background-color: var(--light-blue);
}

/* === CERTIFICATION STYLES === */
.certification-item {
    padding: 20px;
    transition: transform 0.3s;
}

.certification-item:hover {
    transform: translateY(-5px);
}

.certification-item img {
    max-height: 80px;
    width: auto;
    margin-bottom: 15px;
}

.certification-item h5 {
    color: var(--primary-blue);
    margin-bottom: 10px;
    font-weight: 600;
}

.certification-item p {
    color: #7f8c8d;
    margin-bottom: 0;
}

/* === BRANDS CAROUSEL === */
#brandsCarousel .carousel-indicators {
    position: relative;
    bottom: 0;
    margin-top: 30px;
}

#brandsCarousel .carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #bdc3c7;
    border: none;
    margin: 0 5px;
    transition: all 0.3s ease;
}

#brandsCarousel .carousel-indicators button.active {
    background-color: var(--primary-blue);
}

#brandsCarousel .carousel-indicators button:hover {
    background-color: var(--primary-blue);
}

#brandsCarousel .carousel-item {
    height: auto;
    padding: 20px 0;
}

#brandsCarousel img {
    max-height: 60px;
    width: auto;
    /* Remove grayscale filter */
    filter: none;
}

#brandsCarousel img:hover {
    /* Remove grayscale filter on hover */
    filter: none;
}


/* ===== ABOUT US PAGE STYLES ===== */

/* === HERO SECTION === */
.about-hero {
    padding: 100px 10%;
    background: linear-gradient(135deg, var(--light-blue) 0%, #ffffff 100%);
}

.about-section {
    padding: 80px 10%;
}

.half-half-section {
    display: flex;
    align-items: center;
    min-height: 500px;
}

.half-half-section .text-content,
.half-half-section .image-content {
    width: 50%;
    padding: 40px;
}

.half-half-section .image-content img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

/* === JOURNEY SECTION === */
.journey-section {
    padding: 80px 10%;
    background: linear-gradient(135deg, #ffffff 0%, var(--light-blue) 100%);
}

.journey-timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.journey-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--primary-blue), var(--primary-red));
    transform: translateX(-50%);
    border-radius: 2px;
}

.journey-item {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 60px;
    position: relative;
}

.journey-item:nth-child(odd) {
    flex-direction: row;
}

.journey-item:nth-child(even) {
    flex-direction: row-reverse;
}

.journey-year {
    flex: 0 0 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
    position: relative;
}

.journey-content {
    flex: 0 0 calc(50% - 100px);
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin: 0 40px;
    position: relative;
    border-left: 5px solid var(--primary-red);
}

.journey-item:nth-child(even) .journey-content {
    border-left: none;
    border-right: 5px solid var(--primary-blue);
}

.journey-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.journey-content h4 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-weight: 600;
}

.journey-content p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.journey-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.journey-content li {
    padding: 5px 0;
    padding-left: 25px;
    position: relative;
    color: #555;
}

.journey-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-red);
    font-weight: bold;
}

/* === WORLD MAP SECTION === */
.world-map-section {
    text-align: center;
    padding: 80px 10%;
    background-color: var(--light-blue);
}

.world-map-section img {
    max-width: 100%;
    height: auto;
    margin-bottom: 40px;
    border-radius: 10px;
}

/* === CORE VALUES - FLIP CARDS === */
.core-values {
    padding: 80px 10%;
    background-color: white;
}

.flip-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
    justify-items: center;
}

.flip-card {
    width: 300px;
    height: 300px;
    perspective: 1000px;
}

.flip-card-inner-one {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card-inner-two {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner-one {
    transform: rotateY(-180deg);
}

.flip-card:hover .flip-card-inner-two {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
}

.flip-card-front {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: white;
}

.flip-card-back {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    color: white;
    transform: rotateY(180deg);
}

.flip-card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.flip-card h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.flip-card p {
    font-size: 1rem;
    line-height: 1.6;
}

/* ===== CONTACT US PAGE STYLES ===== */

/* === CONTACT FORM === */
.contact-form-container {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-left: 5px solid var(--primary-blue);
}

.contact-form-container h3 {
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.contact-info-container {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-left: 5px solid var(--primary-red);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.contact-info-container h3 {
    color: var(--primary-red);
    margin-bottom: 10px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-top: 5px;
    flex-shrink: 0;
}

.contact-text h5 {
    color: var(--primary-blue);
    margin-bottom: 5px;
    font-weight: 600;
}

.contact-text p {
    margin-bottom: 0;
    color: #666;
}

.map-container {
    border-top: 2px solid var(--light-blue);
    padding-top: 20px;
}

.map-container h5 {
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.map-placeholder {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.map-placeholder img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.map-overlay {
    position: absolute;
    bottom: 10px;
    right: 10px;
}

.emergency-contact .alert {
    border-radius: 10px;
    border: 2px solid #f39c12;
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
}

.emergency-contact h6 {
    color: #e74c3c;
    margin-bottom: 10px;
    font-weight: 600;
}

.contact-method {
    padding: 30px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    height: 100%;
}

.contact-method:hover {
    transform: translateY(-5px);
}

.method-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary-blue);
}

.contact-method h4 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-weight: 600;
}

.contact-method p {
    color: #666;
    margin-bottom: 10px;
}

.contact-method .text-primary {
    color: var(--primary-red) !important;
    font-weight: 600;
}

/* ===== RESPONSIVE STYLES ===== */

/* Home Page Responsive */
@media (max-width: 1200px) {
    #mainCarousel,
    .carousel-slide-content {
        height: 500px;
    }
    
    .carousel-image {
        height: 500px;
    }
    
    .carousel-text .text-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 992px) {
    #mainCarousel,
    .carousel-slide-content {
        height: auto;
        min-height: 500px;
    }
    
    .carousel-text {
        padding: 40px 30px;
        order: 2;
    }
    
    .carousel-image {
        height: 300px;
        order: 1;
    }
    
    .carousel-text .text-content h1 {
        font-size: 2.2rem;
    }
    
    .carousel-text .text-content p {
        font-size: 1.1rem;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 50px;
        height: 50px;
        margin: 0 15px;
    }

    .carousel-control-prev-mini,
    .carousel-control-next-mini {
        width: 25px;
        height: 25px;
        margin: 0 15px;
    }
    
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 20px;
        height: 20px;
        background-size: 20px 20px;
    }

    .carousel-control-prev-icon-mini,
    .carousel-control-next-icon-mini {
        width: 10px;
        height: 10px;
        background-size: 10px 10px;
    }
    
    .flip-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .carousel-section {
        margin-top: 10px;
        border-radius: 10px;
    }
    
    .carousel-text {
        padding: 30px 20px;
    }
    
    .carousel-text .text-content h1 {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
    
    .carousel-text .text-content p {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
        margin: 0 10px;
    }
    
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 18px;
        height: 18px;
        background-size: 18px 18px;
    }

    .carousel-control-prev-mini,
    .carousel-control-next-mini {
        width: 20px;
        height: 20px;
        margin: 0 10px;
    }
    
    .carousel-control-prev-icon-mini,
    .carousel-control-next-icon-mini {
        width: 9px;
        height: 9px;
        background-size: 9px 9px;
    }
    
    .carousel-indicators {
        bottom: 20px;
    }
    
    .carousel-indicators button {
        width: 10px;
        height: 10px;
        margin: 0 4px;
    }
    
    .comparison-table {
        font-size: 0.9rem;
    }
    
    .flip-card {
        height: 250px;
    }
}

/* About Us Page Responsive */
@media (max-width: 992px) {
    .journey-timeline::before {
        left: 30px;
    }
    
    .journey-item {
        flex-direction: row !important;
        justify-content: flex-start;
        align-items: flex-start;
    }
    
    .journey-year {
        flex: 0 0 80px;
        height: 80px;
        font-size: 1.2rem;
        margin-right: 20px;
    }
    
    .journey-content {
        flex: 1;
        margin: 0;
        margin-left: 20px;
    }
    
    .journey-item:nth-child(even) .journey-content {
        border-right: none;
        border-left: 5px solid var(--primary-red);
    }
    
    .half-half-section {
        flex-direction: column;
    }
    
    .half-half-section .text-content,
    .half-half-section .image-content {
        width: 100%;
        padding: 20px;
    }
    
    .flip-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .flip-card {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 768px) {
    .journey-section {
        padding: 60px 5%;
    }
    
    .journey-timeline::before {
        left: 20px;
    }
    
    .journey-year {
        flex: 0 0 60px;
        height: 60px;
        font-size: 1rem;
    }
    
    .journey-content {
        padding: 20px;
    }
    
    .journey-icon {
        font-size: 2rem;
    }
    
    .journey-content h4 {
        font-size: 1.3rem;
    }
    
    .about-hero, .about-section, .world-map-section, .core-values {
        padding: 60px 3%;
    }
    
    .flip-card {
        width: 280px;
        height: 280px;
    }
    
    .flip-card h4 {
        font-size: 1.3rem;
    }
    
    .flip-card p {
        font-size: 0.9rem;
    }
}

@media (max-width: 400px) {
    .flip-card {
        width: 260px;
        height: 260px;
    }
    
    .flip-card-front, .flip-card-back {
        padding: 20px;
    }
    
    .flip-card-icon {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    .flip-card h4 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
}

/* Contact Us Page Responsive */
@media (max-width: 992px) {
    .contact-form-container,
    .contact-info-container {
        padding: 30px 25px;
    }
    
    .contact-info-container {
        position: static;
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .contact-form-container,
    .contact-info-container {
        padding: 25px 20px;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .contact-icon {
        margin-top: 0;
    }
    
    .map-placeholder img {
        height: 150px;
    }
}

/* ===== ICON SIZE UTILITIES ===== */
/*
  Usage:
  - Add `icon-size` to an element to apply sizing.
  - Override `--icon-size` or use one of the helpers: `icon-sm`, `icon-md`, `icon-lg`.
    <i class="icon-size icon-md">...</i>
*/
.icon-size {
    --icon-size: 1.5rem;
    display: inline-block;
    width: var(--icon-size);
    height: var(--icon-size);
    line-height: 1;
    font-size: var(--icon-size);
    vertical-align: middle;
}

.icon-sm  { --icon-size: 1rem; }
.icon-md  { --icon-size: 1.5rem; }
.icon-lg  { --icon-size: 3.5rem; }

.min-height {
    min-height: 80px;
}

.rowofimages {
    display:flex;
    align-items: center;
    justify-content: center;
}

.rowofimages img{
    max-height: 250px;
    max-width: 250px;
    padding: 10px
}

.notification {
    padding: 15px;
    margin: 20px 0;
    border-radius: 5px;
    font-weight: bold;
}

.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}