/* ===== CSS VARIABLES ===== */
:root {
    --primary: #006837;
    --primary-dark: #004d27;
    --primary-light: #4d8c6a;
    --secondary: #f36f21;
    --secondary-dark: #d45a17;
    --accent: #00a79d;
    --light: #f8f9fa;
    --dark: #000000;
    --gray: #333333;
    --light-gray: #eef2f5;
    --border-radius: 8px;
    --box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ===== CSS RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* ===== BODY STYLES ===== */
body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: #ffffff;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Disable body scroll when menu is open */
body.menu-open {
    overflow: hidden;
}

/* ===== BODY BACKGROUND ===== */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('Images/Background.avif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    opacity: 0.0;
    z-index: -1;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    color: #000000;
}

/* ===== HEADER & NAVIGATION ===== */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 104, 55, 0.1);
    width: 100%;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary);
    font-weight: 700;
    font-size: 1.5rem;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    margin-left: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

/* ===== DESKTOP NAVIGATION ===== */
.nav-menu {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--primary);
}

.nav-menu a.active {
    color: var(--primary);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    border-radius: 3px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark);
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

/* ===== ABOUT SECTIONS ===== */
.about-section {
    padding: 80px 20px;
}

.manufacturing-excellence {
    background-color: transparent !important;
    margin-bottom: 40px;
}

/* ===== SECTION HEADER ===== */
.section-header {
    margin-bottom: 50px;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    color: #000000;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #000000;
    max-width: 700px;
    margin: 20px auto 0;
    opacity: 0.8;
}

/* ===== COMPANY OVERVIEW ===== */
.company-overview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.overview-content h2 {
    font-size: 2.2rem;
    margin-bottom: 25px;
    color: #000000;
}

.overview-content p {
    color: #000000;
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.8;
    opacity: 0.9;
}

.overview-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    height: 400px;
}

.overview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== MILESTONES SECTION ===== */
.milestones-section {
    margin: 60px auto;
    max-width: 1200px;
    padding: 0 20px;
}

.milestones-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.milestone-card {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 25px;
    text-align: center;
    border-top: 4px solid var(--primary);
}

.milestone-year {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
}

.milestone-title {
    color: #000000;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.milestone-description {
    color: #000000;
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0.8;
}

/* ===== TEAM GRID ===== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.team-member {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    text-align: center;
    padding-bottom: 25px;
}

.member-image-circular {
    width: 150px;
    height: 150px;
    margin: 30px auto 25px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.member-image-circular img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-content {
    padding: 0 25px;
}

.member-content h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: #000000;
}

.member-role {
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1rem;
    display: block;
}

.member-bio {
    color: #000000;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
    min-height: 80px;
    opacity: 0.9;
}

/* ===== RESPONSIVE STYLES ===== */

/* Large Desktop */
@media (max-width: 1200px) {
    .milestones-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet */
@media (max-width: 992px) {
    .company-overview {
        grid-template-columns: 1fr;
    }
}

/* =========================================== */
/* 1️⃣ MOBILE BREAKPOINT WHERE NAVIGATION CHANGES */
/* =========================================== */
@media (max-width: 768px) {
    
    /* 2️⃣ MOBILE MENU BUTTON (HAMBURGER) */
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* 3️⃣ MAIN MOBILE NAVIGATION MENU */
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        max-height: 60vh;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        padding: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        z-index: 999;
        overflow-y: auto;
        border-bottom-left-radius: 15px;
        border-bottom-right-radius: 15px;
        gap: 5px;
        margin: 0;
    }
    
    /* 4️⃣ WHEN MOBILE MENU IS OPENED */
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    /* 5️⃣ MOBILE NAV LINKS STYLING */
    .nav-menu li {
        width: 100%;
        list-style: none;
    }
    
    .nav-menu li a {
        padding: 15px 20px;
        display: block;
        width: 100%;
        font-size: 1.1rem;
        font-weight: 500;
        color: var(--dark);
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        text-align: center;
        border-radius: var(--border-radius);
        margin: 4px 0;
        text-decoration: none;
        transition: var(--transition);
    }
    
    .nav-menu li a:hover {
        background-color: rgba(0, 104, 55, 0.05);
        color: var(--primary);
    }
    
    .nav-menu li a.active {
        background-color: rgba(0, 104, 55, 0.1);
        color: var(--primary);
        font-weight: 600;
    }
    
    /* ===== MOBILE MILESTONES ===== */
    .milestones-grid {
        grid-template-columns: 1fr;
    }
    
    /* ===== MOBILE TEAM ===== */
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .member-image-circular {
        width: 120px;
        height: 120px;
    }
}

/* Small Mobile */
@media (max-width: 576px) {
    .section-title {
        font-size: 2rem;
    }
    
    .member-image-circular {
        width: 100px;
        height: 100px;
    }
    
    .about-section {
        padding: 60px 15px;
    }
}

/* ===== HIDE MOBILE MENU BUTTON ON DESKTOP ===== */
@media (min-width: 769px) {
    .mobile-menu-btn {
        display: none;
    }
}