/* @import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap'); */
/* @import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap'); */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
/* @import url(index.css); */
/* Color Variables */
:root {
    --primary-dark-blue: #1d305f;
    /* (29,48,95) */
    /* --secondary-blue: #5d8aaf;         (93,138,175) */
    --secondary-blue: #1E2A6A;
    --neutral-gray: #bfbebf;
    /* (191,190,191) */
    /* --accent-yellow: #f8cc24;          (248,204,36) */
    --accent-yellow: #ffff;
    --accent-green: #497945;
    /* (73,121,69) */
    --light-bg: #f5f5f5;
    --text-dark: #333;
    --white: #fff;
    --light-gray: #f8f9fa;
    --border-color: #ddd;
    --shadow: rgba(0, 0, 0, 0.1);
    --hover-blue: #2980b9;
    --accent: #1E2A6A;
    --accent-dark: #141d4a;
    --glass: rgba(30, 42, 106, 0.18);
    --glass-border: rgba(255, 255, 255, 0.14);
    --blur: 18px;
    --text: #0f172a;
    /* darker text for white bg */
    --text-soft: #334155;
    --shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
        --accent: #1E2A6A;
    --accent-dark: #141d4a;
    --glass: rgba(30, 42, 106, 0.16);
    --glass-border: rgba(255, 255, 255, 0.13);
    --blur: 16px;
    --text: #f8fafc;
    --text-soft: #e2e8f0;
    --shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    /* --head-font: "Poppins", sans-serif; */
    --head-font: "Noto Serif", serif;
    --para-font:   "Poppins", sans-serif;
    --head-color: #ffd966;
}
/* Hamburger Menu Styles */
.hamburger {
    display: none;
    cursor: pointer;
    font-size: 24px;
    color: #ffffff;
    z-index: 1002 !important; /* Force z-index to ensure visibility */
    position: relative;
    margin-right: 15px; /* Add breathing space from right edge */
}

.hamburger:hover {
    color: #f8cc24;
}

@media (max-width: 768px) {
    .hamburger {
        display: block !important; /* Force display on mobile */
        font-size: 20px;
        margin-right: 12px; /* Slightly less space on mobile */
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #ffffff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        margin-left: 0;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        z-index: 1000;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .nav-menu a {
        color: #333333;
        padding: 1rem 2rem;
        display: block;
        font-size: 1.1rem;
    }
    
    .nav-menu a:hover,
    .nav-menu a.active {
        color: #f8cc24;
        background-color: rgba(248, 204, 36, 0.1);
    }
    
    .dropdown-content {
        position: static;
        box-shadow: none;
        background-color: #f8f9fa;
        margin: 0.5rem 1rem;
        border-radius: 8px;
        overflow: hidden;
    }
    
    .dropdown-content a {
        padding: 0.8rem 1rem;
        color: #555;
        border-bottom: 1px solid #eee;
    }
    
    .dropdown-content a:last-child {
        border-bottom: none;
    }
    
    .dropdown-content a:hover {
        background-color: rgba(248, 204, 36, 0.1);
        color: #f8cc24;
    }
}

@media screen and (max-width: 360px) {
    .hamburger {
        display: block !important; /* Force display on small screens */
        font-size: 18px;
        margin-right: 10px; /* Even less space on very small screens */
        margin-top: 15px;
    }
    
    .nav-menu {
        top: 60px;
        padding: 1.5rem 0;
        max-height: calc(100vh - 60px);
    }
    
    .nav-menu a {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .dropdown-content {
        margin: 0.3rem 0.8rem;
    }
    
    .dropdown-content a {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }
}
/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Hide all product sections by default - ONLY these should be hidden */
.EOT-Crane,
.Single-Girder-EOT,
.Double-Girder-EOT,
.Jib-Crane,
.Goliath-Crane,
.Goods-Lift,
.Gantry-Crane,
.Electric-Hoist {
    display: none;
}

/* Show only active product */
.product-active {
    display: block !important;
}

/* ===== HERO SECTION - FIXED OVERLAY ===== */
.product-hero {
    position: relative;
    width: 100%;
    height: 250px;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    margin-bottom: 2rem;
    /* border-radius: 10px; */
    overflow: hidden;
}

/* STRONG overlay - clearly visible */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(29, 48, 95, 0.7) 0%, rgba(93, 138, 175, 0.7) 100%);
    z-index: 2;
}

/* Content above overlay */
.hero-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: white;
    text-align: center;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.5rem;
    opacity: 0.95;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

/* ===== SECTION BACKGROUNDS - CLEAN & CONSISTENT ===== */
.product-description,
.product-gallery,
.product-features {
    background: white !important;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

/* Override any conflicting backgrounds */
.product-description *,
.product-gallery *,
.product-features * {
    /* Content styles inherit normally, but backgrounds reset */
}

.product-description h2,
.product-gallery h2,
.product-features h2 {
    color: #1e3a8a;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.product-description h2::after,
.product-gallery h2::after,
.product-features h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: #2563eb;
    border-radius: 2px;
}

/* ===== APPLICATIONS & ADVANTAGES CARDS ===== */
.applications-advantages-container {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
}

.applications-section,
.advantages-section {
    flex: 1;
    background: #f8fafc !important; /* Light gray background */
    padding: 1.75rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.applications-section h3,
.advantages-section h3 {
    color: #1e3a8a;
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
}

.applications-section ul,
.advantages-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.applications-section li,
.advantages-section li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
    color: #334155;
}

.applications-section li::before,
.advantages-section li::before {
    content: "✓";
    color: #2563eb;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* ===== GALLERY GRID ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.gallery-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.gallery-grid img:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

/* ===== FEATURES GRID ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.feature-box {
    background: white !important;
    padding: 2rem 1.5rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(37,99,235,0.1);
    border-color: #2563eb;
}

.feature-box h4 {
    color: #1e3a8a;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-box p {
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .applications-advantages-container {
        flex-direction: column;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid img {
        height: 200px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .product-description,
    .product-gallery,
    .product-features {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .product-hero {
        height: 200px;
    }
}


/* Ensure header and footer remain visible at all times */
header,
footer {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 9999 !important;
}


    /* Footer */
footer {
    /* background: linear-gradient(135deg, var(--primary-dark-blue) 0%, #1a2a5a 100%); */
    color: var(--white);
    padding: 2.5rem 0 1rem;
    margin-top: 4rem;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    /* background: linear-gradient(90deg, var(--secondary-blue), var(--primary-dark-blue), var(--secondary-blue)); */
}

footer .container{
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-section{
    display: flex;
    flex-direction: column;
}
