/* Global Styles */
:root {
    --primary-blue: #1e3a5f;
    --secondary-blue: #2c5282;
    --text-color: #333;
    --text-light: #666;
    --white: #fff;
    --bg-light: #f8f9fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

nav ul li a.active {
    color: var(--primary-blue);
    font-weight: 700;
    border-bottom: 2px solid var(--primary-blue);
}

/* Section Spacing & Landing Page Styles */
section {
    scroll-margin-top: 80px;
}

/* About Us Section Refinement */
.about-section {
    padding: 100px 0;
    background-color: var(--white);
    /* Brighter, cleaner look */
}

.about-wrapper {
    display: flex;
    align-items: center;
    gap: 70px;
}

.about-text {
    flex: 1.5;
}

.about-text h2 {
    color: var(--primary-blue);
    margin-bottom: 25px;
    text-transform: uppercase;
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 15px;
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--secondary-blue);
    border-radius: 2px;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    text-align: justify;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.image-frame {
    padding: 15px;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #eee;
    border-radius: 4px;
    transform: rotate(2deg);
    transition: transform 0.4s ease;
}

.image-frame:hover {
    transform: rotate(0deg) scale(1.05);
}

.image-frame img {
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 2px;
    display: block;
}

@media (max-width: 900px) {
    .about-wrapper {
        flex-direction: column;
        gap: 50px;
        text-align: center;
    }

    .about-text h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .about-text p {
        text-align: center;
    }

    .image-frame {
        transform: rotate(0deg);
    }
}

/* Section Spacing */
section {
    scroll-margin-top: 80px;
    /* Offset for sticky header if needed, or just scroll buffer */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Header */
header {
    background-color: var(--white);
    padding: 10px 0;
    /* Reduced padding for image logo */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 90px;
    /* Adjust based on logo aspect ratio */
    width: auto;
}

nav ul {
    display: flex;
    gap: 30px;
}

nav ul li a {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-color);
    text-transform: uppercase;
    transition: color 0.3s;
    letter-spacing: 0.15em;
}

nav ul li a:hover {
    color: var(--primary-blue);
}

.lang-switch {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.lang-switch span {
    padding: 5px 10px;
    font-size: 0.8rem;
    cursor: pointer;
}

.lang-switch span.active {
    background-color: var(--primary-blue);
    color: var(--white);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-brochure-header {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    transition: background-color 0.3s, transform 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-brochure-header:hover {
    background-color: var(--secondary-blue);
    transform: translateY(-2px);
    color: var(--white);
}

.btn-brochure-header i {
    font-size: 1rem;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary-blue);
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.mobile-toggle:hover {
    transform: scale(1.1);
}


/* Hero Section */
.hero {
    min-height: 360px;
    background-color: var(--secondary-blue);
    position: relative;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
}

.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(30, 58, 95, 0.7), rgba(30, 58, 95, 0.3));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    text-align: left;
    margin-left: 60px !important;
    /* Force shift to the left, overriding .container margin: 0 auto */
}

.hero h1 {
    font-size: 2.3rem;
    /* Reduced from 3rem */
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 25px;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    transition: background-color 0.3s, color 0.3s;
    letter-spacing: 0.1em;
}

.btn-primary {
    background-color: var(--secondary-blue);
    color: var(--white);
    border: 2px solid var(--secondary-blue);
}

.btn-primary:hover {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    color: var(--white);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-blue);
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.services h2 {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 15px;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 20px;
    flex-grow: 1;
}

.read-more {
    font-size: 0.85rem;
    color: var(--accent-blue);
    font-weight: 500;
}

/* Map Section */
.map-section {
    padding: 80px 0;
    background-color: #f9f9f9;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.map-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Map List (Mobile First: Top) */
.map-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.map-list-item-container {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.map-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: var(--white);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    width: 100%;
}

.map-list-item:hover {
    background-color: #f8f9fa;
}

.map-list-item.active {
    background-color: var(--secondary-blue);
    color: var(--white);
}

.map-list-item.active i {
    transform: rotate(180deg);
}

.map-list-item .location-name {
    font-weight: 700;
    text-transform: uppercase;
}

.location-details-wrapper {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.5s ease-out;
}

.map-list-item-container.active .location-details-wrapper {
    grid-template-rows: 1fr;
}

.location-details {
    overflow: hidden;
    background-color: #d1d1d11c;
    font-size: 0.9rem;
    color: var(--text-color);
    line-height: 1.5;
}

.location-details p {
    padding: 15px 20px;
    margin: 0;
}

/* Map Visual */
.map-visual {
    width: 100%;
    border-radius: 4px;
    border: 1px solid #ddd;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.static-map-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Desktop Layout */
@media (min-width: 768px) {
    .map-container {
        flex-direction: row;
        align-items: flex-start;
    }

    .map-list {
        width: 30%;
    }

    .map-visual {
        width: 70%;
        height: 400px;
        /* Taller on desktop */
    }
}


.map-overlay-box h3 {
    font-size: 0.9rem;
    color: var(--primary-blue);
    margin-bottom: 5px;
    text-transform: uppercase;
}

.map-overlay-box p {
    font-size: 0.85rem;
    color: var(--text-light);
}



/* Commitment Section */
.commitment {
    background-color: var(--secondary-blue);
    color: var(--white);
    padding: 55px 0;
    text-align: center;
}

.commitment h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.commitment p {
    font-size: 1.3rem;
    font-weight: 300;
    max-width: 800px;
    margin: 0 auto;
}

/* Footer */
footer {
    background-color: #343a40;
    /* Dark grey */
    color: #ced4da;
    padding: 40px 0;
    font-size: 0.9rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo-img {
    height: 50px;
    /* Smaller specific size for footer */
    width: auto;
    filter: brightness(0) invert(1);
    /* Start white */
    opacity: 0.7;
    /* Match text color roughly */
}

.footer-info {
    text-align: left;
}

.contact-form-container {
    flex: 1.2;
    min-width: 300px;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.copyright {
    font-size: 0.8rem;
    margin-top: 5px;
    opacity: 0.7;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.footer-contact a {
    color: #ced4da;
    transition: color 0.3s, transform 0.3s;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-contact a i {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
    font-size: 1.2rem;
}

.footer-contact a .fa-whatsapp {
    background-color: #25D366;
    color: white;
    border-radius: 50%;
}

.footer-contact a .fa-linkedin {
    background-color: #0077B5;
    color: white;
    border-radius: 4px;
}

.footer-contact a:hover {
    color: var(--white);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 5px 20px;
    }

    .mobile-toggle {
        display: block;
    }

    .header-actions {
        order: 2;
    }

    .logo {
        order: 1;
    }

    nav {
        position: fixed;
        top: 100px;
        /* Reduced from 110 to match height 90 + padding 10 */
        left: 0;
        width: 100%;
        height: 0;
        background-color: rgba(255, 255, 255, 0.98);
        overflow: hidden;
        transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        display: block;
        /* Overriding desktop flex if needed */
    }

    nav.active {
        height: 300px;
        /* Adjust based on your links */
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        padding: 40px 0;
        gap: 25px;
        opacity: 0;
        transform: translateY(-20px);
        transition: all 0.4s ease;
        transition-delay: 0.1s;
    }

    nav.active ul {
        opacity: 1;
        transform: translateY(0);
    }

    nav ul li a {
        font-size: 1.1rem;
        letter-spacing: 1px;
    }

    .hero-content {
        text-align: left;
        margin-left: 0 !important;
        padding: 40px 20px;
    }

    .hero {
        min-height: 450px;
    }

    .hero-buttons {
        justify-content: flex-start;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    .btn-brochure-header .btn-text {
        display: none;
    }

    .btn-brochure-header {
        padding: 8px 10px;
    }

    .header-container {
        flex-direction: row;
        /* Ensure they stay side by side in the header area */
        justify-content: space-between;
        gap: 0;
    }

    .logo-img {
        height: 70px;
    }

    nav {
        top: 80px;
        /* Adjusted for smaller logo */
    }


    .services-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
}

/* Back to Top Button */
#backToTop {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: var(--primary-blue);
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    font-size: 18px;
    width: 50px;
    height: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    opacity: 0.8;
}

#backToTop:hover {
    background-color: var(--secondary-blue);
    transform: translateY(-5px);
    opacity: 1;
}

@media (max-width: 768px) {
    .contact-wrapper {
        flex-direction: column !important;
        gap: 30px !important;
    }

    .contact-image {
        display: block;
        width: 100%;
    }

    .contact-image img {
        max-width: 250px !important;
        transform: scale(1) !important;
    }
}