/* =========================================
   GLOBAL RESET & BASE STYLES
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

/* =========================================
   HEADER STYLES (Standard Comply Header)
   ========================================= */
.header {
    background-color: #0056b3;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.logo {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background-color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-weight: bold;
    color: #0056b3;
    font-size: 28px;
    border: 3px solid white;
}

.logo-text {
    font-size: 32px;
    font-weight: bold;
    letter-spacing: -1px;
}

.logo-text span {
    color: #7ed321;
}

.tagline {
    font-size: 11px;
    color: #7ed321;
    margin-top: -5px;
    letter-spacing: 2px;
    text-transform: lowercase;
}

.menu-btn {
    width: 40px;
    height: 40px;
    border: 2px solid white;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    background: transparent;
}

.menu-btn span {
    width: 25px;
    height: 3px;
    background-color: white;
    display: block;
    transition: all 0.3s ease;
}

/* Mobile Menu Animation States */
.menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Navigation Menu */
.nav-menu {
    background-color: #0056b3;
    padding: 0;
    display: none; /* Hidden by default on mobile */
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.nav-menu.active {
    display: flex;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    display: block;
    border-top: 1px solid rgba(255,255,255,0.1);
    transition: background-color 0.3s;
}

.nav-link:hover {
    background-color: rgba(255,255,255,0.1);
}

.nav-dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    background-color: #004a9e;
    padding-left: 20px;
}

.dropdown-content.active {
    display: block;
}

.dropdown-link {
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    display: block;
    font-size: 16px;
    font-weight: normal;
    text-transform: none;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.dropdown-link:hover {
    background-color: rgba(255,255,255,0.1);
}

/* Desktop Navigation Override */
@media (min-width: 769px) {
    .header {
        padding: 15px 40px;
    }

    .menu-btn {
        display: none;
    }

    .nav-menu {
        display: flex;
        flex-direction: row;
        position: static;
        background-color: transparent;
        box-shadow: none;
        padding: 0;
        gap: 20px;
    }

    .nav-link {
        padding: 10px 15px;
        font-size: 16px;
        border-top: none;
        border-radius: 5px;
    }

    .nav-link:hover {
        background-color: rgba(255,255,255,0.1);
    }

    .nav-dropdown {
        position: relative;
    }

    .dropdown-content {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #0056b3;
        padding: 10px 0;
        min-width: 200px;
        box-shadow: 0 8px 16px rgba(0,0,0,0.2);
        border-radius: 5px;
        z-index: 1000;
    }

    .nav-dropdown:hover .dropdown-content {
        display: block;
    }

    .dropdown-link {
        padding: 12px 20px;
        border-top: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .dropdown-link:last-child {
        border-bottom: none;
    }
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    margin-top: 80px; /* Offset for fixed header */
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
}

.hero-overlay {
    position: absolute;
    bottom: 20%;
    left: 0;
    z-index: 10;
}

.hero-tag {
    background-color: #7cb518;
    color: #ffffff;
    padding: 10px 20px;
    font-size: 18px;
    font-weight: bold;
    display: inline-block;
}

/* =========================================
   MAIN CONTENT CONTAINER
   ========================================= */
.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

.section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Typography */
.main-title {
    color: #0056b3;
    font-size: 28px;
    text-align: center;
    margin-bottom: 30px;
    font-weight: normal;
    text-transform: uppercase;
}

.section-title {
    color: #0056b3;
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: normal;
}

.intro-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    color: #333;
    font-size: 16px;
}

/* Category Cards */
.category-card {
    width: 100%;
    margin-bottom: 40px;
    text-align: center;
}

.category-card img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 25px;
    display: block;
    margin-bottom: 20px;
}

.category-link {
    display: block;
    color: #0056b3;
    text-decoration: none;
    margin-top: 15px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Office section spacing */
.office-second {
    margin-top: 60px;
}

/* Residential section spacing */
.residential-second {
    margin-top: 60px;
}

.residential-fourth {
    margin-top: 60px;
}

/* Text Content */
.text-content {
    margin-bottom: 30px;
    line-height: 1.8;
    color: #333;
}

.text-content p {
    margin-bottom: 20px;
}

.highlight-link {
    color: #88ff00;
    text-decoration: none;
    font-weight: bold;
}

/* Gallery Section */
.gallery-section {
    background-color: #f5f5f5;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.gallery-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 86, 179, 0.9);
    color: #ffffff;
    padding: 10px;
    text-align: center;
    font-size: 14px;
    text-transform: uppercase;
}

/* Sustainability Banner */
.sustainability-banner {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://via.placeholder.com/1200x200/228B22/ffffff?text=Forest+Background');
    background-size: cover;
    background-position: center;
    padding: 40px 20px;
    color: #ffffff;
    position: relative;
}

.banner-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.banner-content p {
    font-size: 14px;
    line-height: 1.6;
    flex: 1;
}

.banner-content p::before {
    content: '"';
    font-size: 24px;
    color: #ffffff;
}

.sustainable-badge {
    width: 80px;
    height: 80px;
    border-radius: 50%;
}

/* =========================================
   FOOTER STYLES (Standard Comply Footer)
   ========================================= */
.footer {
    background-color: #0056b3;
    padding: 40px 20px 20px;
    color: white;
}

.footer-top {
    max-width: 1200px;
    margin: 0 auto 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 50px;
    height: 50px;
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: white;
    transform: scale(1.1);
}

.social-icon svg {
    width: 24px;
    height: 24px;
    fill: white;
    transition: fill 0.3s ease;
}

.social-icon:hover svg {
    fill: #0056b3;
}

.sitemap {
    max-width: 1200px;
    margin: 0 auto;
}

.sitemap-title {
    color: #7ed321;
    font-size: 28px;
    margin-bottom: 30px;
    font-style: italic;
}

.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.sitemap-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sitemap-column a {
    color: #ccc;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.sitemap-column a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    color: rgba(255,255,255,0.5);
    font-size: 14px;
}

/* =========================================
   RESPONSIVE ADJUSTMENTS
   ========================================= */
@media (min-width: 769px) {
    .main-title {
        font-size: 32px;
    }

    .section-title {
        font-size: 32px;
    }

    .intro-text {
        font-size: 18px;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .hero-tag {
        font-size: 20px;
        padding: 15px 30px;
    }

    .category-card img {
        border-radius: 20px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .main-title {
        font-size: 24px;
    }

    .section-title {
        font-size: 24px;
    }

    .banner-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-columns {
        grid-template-columns: 1fr;
    }

    .footer-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .sitemap-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 30px 15px 15px;
    }
}