:root {
    --primary-color: #000000;
    --text-color: #333333;
    --bg-color: #ffffff;
    --light-gray: #f5f5f5;
    --border-color: #e0e0e0;
    --max-width: 1200px;
    --header-height: 80px;
    --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.logo img {
    height: 100px; /* Adjust based on actual image aspect ratio */
    width: auto;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    font-size: 16px;
    color: var(--primary-color);
}

.nav-links a:hover {
    color: #666;
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
    background: none;
    border: none;
}

/* Hero Section */
.hero {
    position: relative;
    margin-top: var(--header-height);
    width: 100%;
    /* Min-height can be adjusted */
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-mobile {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: left;
    padding: 0 20px;
    /* Adjust text color based on background image contrast - Requirement says try black or white */
    color: #000; 
    width: 100%;
    max-width: var(--max-width);
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    max-width: 600px;
}

.hero-content p {
    font-size: 1.2rem;
    font-weight: 400;
    max-width: 550px;
}

/* Stats Module */
.stats-section {
    padding: 60px 0;
    background: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 40px 0;
}

.stat-item h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 1rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Who We Are */
.who-we-are {
    padding: 80px 0;
    background: #fff;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.who-we-are p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #444;
}

/* Categories */
.categories-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.categories-container {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.categories-text {
    flex: 1;
    padding-right: 20px;
}

.categories-grid {
    flex: 1.5;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.category-card {
    background: white;
    padding: 30px 15px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: transform 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.category-card img {
    width: auto;
    max-width: 100%;
    height: 80px;
    object-fit: contain;
    object-position: bottom;
    margin-bottom: 20px;
}

.category-card p {
    margin: 0;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
    width: 100%;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-card img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}

/* Test Standards */
.standards-section {
    padding: 80px 0;
}

.standards-header {
    text-align: center;
    margin-bottom: 50px;
}

.standards-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-top: 10px;
}

.standards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.standard-item {
    text-align: center;
    padding: 30px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.standard-item h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* Why Trust Us */
.trust-section {
    padding: 80px 0;
    background: #fff;
}

.trust-content {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 60px;
}

.trust-text {
    flex: 1;
}

.trust-image {
    flex: 0 0 300px;
}

.trust-image img {
    border-radius: 50%; /* Optional circular style like reference */
    width: 100%;
}

/* Infinite Brand Carousel */
.brand-carousel-container {
    overflow: hidden;
    padding: 40px 0;
    white-space: nowrap;
    position: relative;
    background: white;
}

.brand-track {
    display: inline-block;
    animation: scroll 60s linear infinite;
}

.brand-track img {
    display: inline-block;
    height: 60px; /* Adjust height based on strip */
    margin: 0 20px;
    vertical-align: middle;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Assumes we duplicate the image content */
}

/* Testimonials */
.testimonials-section {
    padding: 80px 0;
    background: var(--light-gray);
    text-align: center;
    position: relative;
}

.testimonial-slider {
    max-width: 800px;
    margin: 40px auto 0;
    position: relative;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.3s ease;
}

.testimonial-card {
    min-width: 100%;
    padding: 20px;
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.author-info {
    text-align: left;
}

.author-name {
    font-weight: bold;
    color: #333;
    font-size: 1rem;
    margin: 0;
}

.author-location {
    color: #888;
    font-size: 0.85rem;
    margin: 0;
}

/* Testimonial Navigation Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: 2px solid #000;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    opacity: 0;
    pointer-events: none;
}

.testimonials-section:hover .slider-btn {
    opacity: 1;
    pointer-events: auto;
}

.slider-btn:hover {
    background: #000;
    color: #fff;
}

.slider-btn-prev {
    left: 40px;
}

.slider-btn-next {
    right: 40px;
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 40px auto 0;
}

/* Footer CTA */
.footer-cta {
    padding: 80px 0;
    text-align: center;
    background: url('../assets/images/image20.png') no-repeat center center/cover;
    position: relative;
    color: white; /* Fallback */
}

/* Overlay to ensure text readability if bg is busy */
.footer-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.85); /* Semi-transparent white overlay */
    z-index: 1;
}

.footer-cta-content {
    position: relative;
    z-index: 2;
    color: #000;
}

.contact-box {
    border: 2px solid #000;
    padding: 20px 40px;
    display: inline-block;
    margin-top: 30px;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s;
}

.contact-box:hover {
    background: #000;
    color: #fff;
}

/* Main Footer */
.main-footer {
    background: #f9f9f9;
    padding: 60px 0 20px;
    border-top: 1px solid #eee;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo img {
    width: 200px;
}

.footer-info {
    font-size: 0.9rem;
    color: #666;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: right;
}

.footer-links a {
    font-size: 0.9rem;
    color: #555;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #ddd;
    color: #888;
    font-size: 0.8rem;
}

/* --- Inner Page Styles --- */
.page-header {
    margin-top: var(--header-height);
    padding: 60px 0;
    background: var(--light-gray);
    text-align: center;
}

.page-content {
    padding: 60px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.page-content p {
    margin-bottom: 20px;
    line-height: 1.8;
}

/* --- Contact Page Styles --- */
.contact-info-box {
    margin: 40px 0;
    padding: 30px;
    background: #f9f9f9;
    border-left: 4px solid black;
}

.contact-label {
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.contact-email {
    font-size: 1.5rem;
    word-break: break-all; /* Prevents overflow */
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    /* Header/Nav Mobile */
    header {
        height: 16vw; /* ~60px */
    }

    .nav-container {
        padding: 0 5.3vw;
    }

    .logo img {
        height: 21.2vw; /* ~80px (kept large as requested) */
    }

    .mobile-menu-btn {
        display: block;
        font-size: 6.4vw; /* ~24px */
    }

    .nav-links {
        display: none; 
        position: absolute;
        top: 16vw; /* Match header height */
        left: 0;
        width: 100vw;
        background: white;
        flex-direction: column;
        padding: 5.3vw;
        gap: 5.3vw;
        box-shadow: 0 1vw 1.5vw rgba(0,0,0,0.1);
        text-align: center;
    }

    .nav-links a {
        font-size: 4.2vw; /* ~16px */
    }

    .nav-links.active {
        display: flex;
    }

    /* Hero Mobile Switch */
    .hero {
        margin-top: 16vw; /* Match header height */
        min-height: auto;
        display: block;
    }
    
    .hero-bg.hero-desktop {
        display: none;
    }
    
    .hero-bg.hero-mobile {
        display: block;
        position: relative;
        height: auto;
        width: 100vw;
    }
    
    .hero-content {
        position: absolute;
        top: 15%; /* Keep % for vertical positioning relative to image height */
        left: 50%;
        transform: translate(-50%, 0);
        width: 90vw;
        padding: 0;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 8.5vw; /* ~32px */
        margin-bottom: 2.6vw;
        max-width: 100%;
    }

    .hero-content p {
        font-size: 4vw; /* ~15px */
        max-width: 100%;
    }

    /* Common Sections */
    .section-title {
        font-size: 8vw; /* ~30px */
        margin-bottom: 6vw;
    }

    .container {
        padding: 0 5.3vw;
    }

    .who-we-are, .stats-section, .categories-section, .standards-section, .trust-section, .testimonials-section, .footer-cta, .main-footer {
        padding: 10.6vw 0; /* ~40px */
    }

    .who-we-are p, .page-content p {
        font-size: 4vw;
        margin-bottom: 4vw;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 6vw;
        padding: 8vw 0;
    }

    .stat-item h3 {
        font-size: 10.6vw; /* ~40px */
    }

    .stat-item p {
        font-size: 3.7vw; /* ~14px */
    }

    /* Categories */
    .categories-container {
        flex-direction: column;
        gap: 8vw;
    }
    
    .categories-text {
        padding-right: 0;
    }

    .categories-text p {
        font-size: 4vw;
        margin-bottom: 4vw;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 4vw;
        width: 100%;
    }

    .category-card {
        padding: 2.6vw;
        justify-content: flex-start;
    }

    .category-card img {
        height: 16vw;
        margin-bottom: 3vw;
    }

    .category-card p {
        font-size: 3.7vw;
        min-height: auto;
    }

    /* Standards */
    .standards-grid {
        grid-template-columns: 1fr;
        gap: 8vw;
    }

    .standard-item {
        padding: 6vw;
    }

    .standard-item h3 {
        font-size: 5.3vw;
    }

    .standard-item p {
        font-size: 3.7vw;
    }

    /* Trust */
    .trust-content {
        flex-direction: column;
        gap: 8vw;
        margin-bottom: 10vw;
    }

    .trust-text p {
        font-size: 4vw;
        margin-bottom: 4vw;
    }

    .trust-image {
        flex: auto;
        width: 53.3vw; /* ~200px */
        margin: 0 auto;
    }

    /* Brand Carousel */
    .brand-carousel-container {
        padding: 8vw 0;
    }
    
    .brand-track img {
        height: 10.6vw; /* ~40px */
        margin: 0 4vw;
    }

    /* Testimonials */
    .testimonial-card {
        padding: 4vw;
    }

    .testimonial-text {
        font-size: 4.8vw; /* ~18px */
        margin-bottom: 4vw;
    }

    .slider-btn {
        width: 8vw;
        height: 8vw;
        font-size: 4vw;
        opacity: 1;
        pointer-events: auto;
    }

    .slider-btn-prev {
        left: 2vw;
    }

    .slider-btn-next {
        right: 2vw;
    }

    .testimonial-author {
        gap: 2.6vw;
    }

    .author-avatar {
        width: 10.6vw;
        height: 10.6vw;
    }

    .author-name {
        font-size: 3.7vw;
    }

    .author-location {
        font-size: 3.2vw;
    }

    /* Footer CTA */
    .footer-cta-content h2 {
        font-size: 8vw !important; /* Override inline style if any */
        margin-bottom: 6vw !important;
    }

    .contact-box {
        padding: 4vw 8vw;
        margin-top: 6vw;
        font-size: 4vw;
        border-width: 0.5vw;
    }

    /* Main Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 8vw;
        margin-bottom: 8vw;
    }

    .footer-logo img {
        width: 40vw;
        margin: 0 auto;
    }
    
    .footer-info, .footer-links a, .copyright {
        font-size: 3.5vw;
    }

    .footer-links {
        text-align: center;
        gap: 3vw;
    }
    
    .footer-logo {
        text-align: center;
    }

    /* Inner Pages */
    .page-header {
        margin-top: 16vw;
        padding: 10vw 0;
    }
    
    .page-content {
        padding: 8vw 5.3vw;
    }
    
    .page-content ul li {
        margin-bottom: 2.6vw;
        font-size: 4vw;
    }

    .contact-info-box {
        padding: 5vw;
        margin: 8vw 0;
    }
    
    .contact-email {
        font-size: 5vw;
    }
}


