/* --- CSS Variables and Base Styles --- */
:root {
    --primary-navy: #1b2a41;
    --accent-teal: #00a8a8;
    --secondary-steel: #b8c6d1;
    --background-light: #f6f9fb;
    --text-dark: #2d2d2d;
    --white: #ffffff;
    --font-header: 'Barlow Condensed', sans-serif;
    --font-body: 'Lato', sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
}

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

h1, h2, h3 {
    font-family: var(--font-header);
    font-weight: 700;
    color: var(--primary-navy);
    line-height: 1.2;
}

h2.section-title {
    font-size: 2.8rem;
    margin-bottom: 40px;
}

.text-center { text-align: center; }

/* --- Header & Navigation --- */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo {
    font-family: var(--font-header);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-navy);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--primary-navy);
    text-decoration: none;
    transition: color 0.3s;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-teal);
}

.hamburger { display: none; cursor: pointer; }
.bar { display: block; width: 25px; height: 3px; margin: 5px auto; background-color: var(--primary-navy); transition: all 0.3s ease-in-out; }

/* --- Hero Section (Revised) --- */
.hero {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    overflow: hidden;
    /* Sets the background image */
    background: url('images/1.jpg') no-repeat center center/cover;
}

/* This pseudo-element creates the dark overlay */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Dark overlay using the primary color for brand consistency */
    background-color: rgba(27, 42, 65, 0.7); /* primary-navy with 70% opacity */
    z-index: 1; /* Ensures overlay is between background and text */
}

/* This ensures the text content is on top of the overlay */
.hero-content {
    position: relative;
    z-index: 2;
}

.hero-tagline {
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--white);
    /* Adds a subtle shadow to lift the text off the background */
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-subtagline {
    font-size: 1.4rem;
    margin: 10px 0 30px;
    max-width: 600px;
    font-weight: 400; /* Lighter weight for contrast with the main headline */
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

.btn {
    padding: 15px 35px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background-color: var(--accent-teal);
    color: var(--white);
    border: 2px solid var(--accent-teal);
}

.btn-primary:hover {
    background-color: transparent;
    border-color: var(--white); /* White border on hover looks better on this background */
    color: var(--white);
}

/* --- Shared Section Styling --- */
section { padding: 80px 0; }
section:nth-of-type(odd) { background-color: var(--white); }

/* --- Who We Serve Section --- */
.serve-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.serve-item i {
    font-size: 3rem;
    color: var(--accent-teal);
    margin-bottom: 15px;
}

.serve-item h3 { font-size: 1.5rem; margin-bottom: 10px; }

/* --- Capabilities Section --- */
.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.capability-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.07);
    transition: transform 0.3s, box-shadow 0.3s;
    border-left: 5px solid transparent;
}

.capability-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border-left-color: var(--accent-teal);
}

.capability-icon { font-size: 2.5rem; color: var(--accent-teal); margin-bottom: 15px; }
.capability-card h3 { font-size: 1.6rem; margin-bottom: 10px; }

/* --- Production at Scale Section --- */
.production-scale { background-color: var(--primary-navy); color: var(--white); }
.production-scale .section-title { color: var(--white); }
.counters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 50px; }
.counter-item h3 { font-size: 3.5rem; font-weight: 700; color: var(--accent-teal); }
.counter-item .facility-cert { font-size: 3rem; }
.counter-item p { font-size: 1.2rem; color: var(--secondary-steel); }

/* --- Testimonials Section --- */
.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0,0,0,0.07);
    border-top: 5px solid var(--accent-teal);
}
.testimonial-card p {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 20px;
    color: var(--text-dark);
}
.testimonial-card span { font-weight: 700; color: var(--primary-navy); }
.swiper-pagination-bullet-active { background-color: var(--accent-teal) !important; }

/* --- CTA Footer Section --- */
.cta-footer {
    background-color: var(--secondary-steel);
    padding: 60px 0;
    color: var(--primary-navy);
}
.cta-footer h2 { font-size: 2.5rem; }
.cta-footer p { margin: 15px 0 30px; font-size: 1.2rem; }
.contact-strip { display: flex; justify-content: center; align-items: center; gap: 30px; flex-wrap: wrap; }
.contact-info { font-size: 1.1rem; text-decoration: none; color: var(--primary-navy); font-weight: 700; }
.contact-info i { margin-right: 10px; color: var(--accent-teal); }
.btn-secondary { background-color: var(--primary-navy); color: var(--white); border: 2px solid var(--primary-navy); }
.btn-secondary:hover { background-color: transparent; color: var(--primary-navy); }


/* --- Media Queries for Responsiveness --- */
@media (max-width: 992px) {
    h2.section-title { font-size: 2.4rem; }
    .hero-tagline { font-size: 3.5rem; }
    .serve-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        gap: 0;
        box-shadow: 0 10px 10px rgba(0,0,0,0.05);
    }
    .nav-menu.active { left: 0; }
    .nav-item { padding: 15px 0; }
    .hamburger { display: block; }
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .hero { height: 70vh; }
    .hero-tagline { font-size: 2.8rem; }
    .hero-subtagline { font-size: 1.2rem; }
    
    .counters { grid-template-columns: 1fr; gap: 40px; }
    .contact-strip { flex-direction: column; }
}

@media (max-width: 480px) {
    body { font-size: 15px; }
    section { padding: 60px 0; }
    h2.section-title { font-size: 2rem; }
    .hero-tagline { font-size: 2.2rem; }
    .btn { padding: 12px 28px; }
}

/* ---
   About Page Styles
--- */

/* Page Header for internal pages */
.page-header {
    padding: 80px 0;
    position: relative;
    text-align: center;
    color: var(--white);
    background-size: cover;
    background-position: center;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(27, 42, 65, 0.75); /* primary-navy with opacity */
    z-index: 1;
}

.page-header h1 {
    position: relative;
    z-index: 2;
    font-size: 3.5rem;
    color: var(--white);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

/* Two Column Layout */
.two-column-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
}

.column-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.column-text p {
    margin-bottom: 15px;
}

.responsive-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Mission & Values Section */
.mission-values {
    background-color: var(--background-light);
}

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

.value-item {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    border-bottom: 4px solid var(--accent-teal);
}

.value-item i {
    font-size: 2.5rem;
    color: var(--accent-teal);
    margin-bottom: 15px;
}

.value-item h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* What Sets Us Apart Section */
.what-sets-us-apart {
    background-color: var(--white);
}

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

.feature-card {
    padding: 30px;
    text-align: center;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-teal);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-navy);
    margin-bottom: 20px;
}

.feature-card h4 {
    font-family: var(--font-header);
    font-size: 1.4rem;
    color: var(--primary-navy);
    margin-bottom: 10px;
}

/* --- Media Queries for About Page --- */
@media (max-width: 992px) {
    .two-column-layout {
        grid-template-columns: 1fr;
    }
    .column-image {
        /* On smaller screens, move image to the top */
        order: -1;
    }
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.8rem;
    }
    .column-text h2 {
        font-size: 2.2rem;
    }
}

/* ---
   Services Page Styles
--- */

.section-subtitle {
    max-width: 700px;
    margin: -30px auto 40px auto;
    font-size: 1.1rem;
    color: #666;
}

/* Accordion Styles */
.accordion-container {
    max-width: 850px;
    margin: 0 auto;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden; /* Important for border-radius */
}

.accordion-item {
    border-bottom: 1px solid #e0e0e0;
}
.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: var(--white);
    transition: background-color 0.3s;
}

.accordion-header:hover {
    background-color: var(--background-light);
}

.accordion-header h3 {
    margin: 0;
    font-size: 1.4rem;
    color: var(--primary-navy);
}

.accordion-header h3 i {
    margin-right: 15px;
    color: var(--accent-teal);
    width: 25px; /* Ensures alignment */
}

.accordion-icon {
    font-size: 1.2rem;
    color: var(--primary-navy);
    transition: transform 0.3s ease-in-out;
}

.accordion-icon.rotated {
    transform: rotate(180deg);
}

.accordion-content {
    padding: 20px 25px;
    padding-top: 0;
    background-color: var(--white);
}

.accordion-content p {
    margin: 0;
    line-height: 1.7;
}

/* Our Process Section */
.our-process {
    background-color: var(--background-light);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
    position: relative;
}

.process-step {
    text-align: center;
}

.process-icon {
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    background-color: var(--primary-navy);
    color: var(--white);
    font-size: 1.8rem;
    font-family: var(--font-header);
    font-weight: 700;
    margin: 0 auto 20px auto;
    position: relative;
    z-index: 2;
}

.process-step h4 {
    font-family: var(--font-header);
    font-size: 1.4rem;
    margin-bottom: 10px;
}

/* ---
   Industries Page Styles
--- */

.industries-section {
    padding-top: 80px;
    padding-bottom: 50px;
}

.industry-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 80px;
}

/* Modifier class to reverse the order */
.industry-block.reverse {
    grid-template-columns: 1fr 1fr; /* Reset for clarity */
}

.industry-block.reverse .industry-image {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}
.industry-block.reverse .industry-text {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}

.industry-text h3 {
    font-size: 2.2rem;
    font-family: var(--font-header);
    margin-bottom: 15px;
}

.industry-text p {
    margin-bottom: 25px;
}

.highlight-stat {
    background-color: var(--background-light);
    border-left: 4px solid var(--accent-teal);
    padding: 15px 20px;
    border-radius: 0 4px 4px 0;
    display: inline-flex;
    align-items: center;
    gap: 15px;
}

.highlight-stat i {
    font-size: 1.5rem;
    color: var(--primary-navy);
}

.highlight-stat strong {
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--primary-navy);
}

/* Media Queries for Industries Page */
@media (max-width: 992px) {
    .industry-block,
    .industry-block.reverse {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .industry-block.reverse .industry-image,
    .industry-block.reverse .industry-text {
        grid-column: auto;
        grid-row: auto;
    }
    .industry-image {
        text-align: center;
    }
}

/* ---
   Contact Page Styles
--- */

.contact-section {
    background-color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contact-info-col h2, .contact-form-col h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.contact-info-col p {
    margin-bottom: 30px;
    line-height: 1.7;
}

.info-item {
    display: flex;
    align-items: start;
    gap: 20px;
    margin-bottom: 25px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--accent-teal);
    margin-top: 5px;
    width: 25px;
}

.info-item h4 {
    font-family: var(--font-header);
    font-size: 1.3rem;
    margin: 0 0 5px 0;
}

.info-item p {
    margin: 0;
}

.info-item a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s;
}

.info-item a:hover {
    color: var(--accent-teal);
}

.contact-actions {
    margin-top: 40px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Contact Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--primary-navy);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--secondary-steel);
    border-radius: 5px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-teal);
    box-shadow: 0 0 0 3px rgba(0, 168, 168, 0.2);
}

.full-width {
    width: 100%;
}

/* Map Section */
.map-section {
    padding: 0;
    line-height: 0; /* Removes any space below the iframe */
}

/* Media Queries for Contact Page */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}