/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
    /* Color Palette */
    --primary-bg: #FCF7F3;  /* Warm Light neutral */
    --text-primary: #000000; /* Black */
    --text-secondary: #BD4A3D; /* Ularu */
    --text-secondary-hover: #7d241a; /* Ularu */
    --accent-color: #F28C09;  /* Orange accent color */
    --accent-hover: #F2AC52; /* for hover states */
    --neutral-light: #F6E6D7;  /* Warm white */
    --neutral-medium: #F1D4B9; /* Tan */
    --neutral-dark: #4A4A4A; /* Dark gray for contrast */
    
    /* Typography Scale - Base: 16px, Scale: 1.250 (Major Third) */
    --text-xs: 0.8rem;    /* 12.8px */
    --text-sm: 1rem;      /* 16px - Base */
    --text-base: 1.25rem; /* 20px */
    --text-lg: 1.563rem;  /* 25px */
    --text-xl: 1.953rem;  /* 31.25px */
    --text-2xl: 2.441rem; /* 39.06px */
    --text-3xl: 3.052rem; /* 48.83px */
    --text-4xl: 3.815rem; /* 61.04px */
    --text-5xl: 4.768rem; /* 76.29px */
    
    /* Spacing Scale */
    --spacing-xs: 0.25rem;  /* 4px */
    --spacing-sm: 0.5rem;   /* 8px */
    --spacing-md: 1rem;     /* 16px */
    --spacing-lg: 1.5rem;   /* 24px */
    --spacing-xl: 2rem;     /* 32px */
    --spacing-2xl: 3rem;    /* 48px */
    --spacing-3xl: 4rem;    /* 64px */
    
    /* Animation & Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Layout */
    --container-max-width: 1280px;
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
    --navbar-height: 80px;
}

/* ===== RESET AND BASE STYLES ===== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Parkinsans', sans-serif;
    font-size: var(--text-sm); /* 16px base */
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--primary-bg);
    opacity: 0.99;
    transition: opacity 0.3s ease;
}

body.fully-loaded {
    opacity: 1;
}

/* Standard p tags - black color */
p {
    color: #000000;
}
h1, h2, h3 {
    color: var(--text-secondary);
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(252, 247, 243, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo-link {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.nav-logo-link:hover {
    transform: scale(1.05);
}

.nav-logo-link.active {
    transform: scale(1.05);
}

.nav-logo h1 {
    color: var(--accent-color);
    font-weight: 600;
    font-size: var(--text-lg);
    margin: 0;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--text-secondary-hover);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}


.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
    background-color: #333;
}

/* Hero Carousel */
.hero-carousel {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* Hero Pagination */
.hero-pagination {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 3;
}

.pagination-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-dot.active {
    background: var(--text-secondary);
    transform: scale(1.2);
}

.pagination-dot:hover {
    background: var(--accent-hover);
}

.pagination-dot.active:hover {
    background: var(--accent-hover);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: center;
    max-width: 850px;
    margin: 0 auto;
}

.hero-title {
    font-size: var(--text-4xl);
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #FFFFFF;
}

/* Large screen adjustments */
@media (min-width: 768px) {
    .hero-title {
        font-size: var(--text-5xl);
    }
    
    .hero-subtitle {
        font-size: var(--text-lg);
    }
    
    .hero-cta {
        flex-direction: row;
        gap: 1rem;
    }
}

@media (min-width: 1024px) {
    .hero-subtitle {
        font-size: var(--text-xl);
    }
}

.hero-line {
    display: block;
    overflow: hidden;
    line-height: 1.3;
    position: relative;
}

.hero-word {
    display: inline-block;
    /* overflow: hidden; */
}

.hero-subtitle {
    font-size: var(--text-lg);
    margin-bottom: 2rem;
    color: #FFFFFF;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    border: none;
    cursor: pointer;
    font-size: var(--text-base);
    min-width: 150px;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--neutral-light);
    border: 2px solid var(--accent-hover)
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
}

.btn-secondary:hover {
    background: #FFFFFF;
    color: var(--text-secondary);
    transform: translateY(-2px);
}

/* Section Styles */
section {
    padding: 10rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: var(--text-3xl);
    font-weight: 500;
    margin-bottom: 1rem;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: transparent;
    border-top: 4px dotted var(--accent-color);
    margin: 0 auto;
    border-radius: 0;
}

/* About Section */
.about {
    background: var(--primary-bg);
    position: relative;
    padding: 20rem 0;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    background-image: url('assets/abuot-bg.avif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.05;
    z-index: 0;
}

.about .container {
    position: relative;
    z-index: 1;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.about-content p {
    font-size: var(--text-base);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-column {
    display: flex;
    flex-direction: column;
}


.about-column-secondary p {
    font-size: var(--text-sm);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #000000;
}

p.about-intro {
    font-size: var(--text-lg);
    font-weight: 500;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Services Section */
.services {
    background: var(--neutral-light);
}

.services-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.services-intro p {
    font-size: var(--text-base);
    color: #000000;
    margin-bottom: 1rem;
}

.commitment {
    font-weight: 500;
    color: var(--text-primary);
    text-align: center;
    font-size: var(--text-base);
    margin: 3rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--primary-bg);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(101, 67, 33, 0.1);
    /* border: 1px solid var(--neutral-medium); */
}


.service-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /*filter: brightness(0) saturate(100%) invert(28%) sepia(44%) saturate(1558%) hue-rotate(339deg) brightness(89%) contrast(90%);*/
}

.service-card h3 {
    font-size: var(--text-lg);
    font-weight: 500;
    margin-bottom: 1rem;
}

.service-card ul {
    list-style: none;
}

.service-card li {
    padding: 0.5rem 0;
    color: var(--text-primary);
    position: relative;
    padding-left: 1.5rem;
}

.service-card li::before {
    content: '•';
    color: var(--accent-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Why Choose Section */
.why-choose {
    background: var(--primary-bg);
}

.differentiators-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.differentiators-row {
    display: grid;
    gap: 2rem;
}

.differentiators-row-top {
    grid-template-columns: 1fr 1fr;
}

.differentiators-row-bottom {
    grid-template-columns: 1fr 1fr 1fr;
}

.differentiator {
    text-align: left;
    padding: 2rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(101, 67, 33, 0.1);
    transition: all 0.3s ease;
}

.differentiator:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(101, 67, 33, 0.15);
}

.diff-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 1.5rem 0;
}

.diff-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(55%) sepia(94%) saturate(1413%) hue-rotate(359deg) brightness(101%) contrast(93%);
}

.differentiator h3 {
    font-size: var(--text-base);
    font-weight: 500;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.differentiator p {
    color: #000000;
    line-height: 1.6;
}

/* Certifications Section */
.certifications {
    background: var(--primary-bg);
}

.certifications-layout {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
    align-items: center;
}

.certifications-left {
    display: flex;
    justify-content: center;
}

.supply-nation-card {
    padding: 0;
    text-align: center;
    max-width: 300px;
    width: 100%;
}

.supply-nation-image {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.certifications-right {
    display: flex;
    align-items: center;
    justify-content: center;
}

.certifications-list {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.cert-list-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    margin-bottom: 1rem;
}

.cert-list-item:last-child {
    margin-bottom: 0;
}

.cert-list-item svg {
    color: var(--accent-color);
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
}

.cert-list-item span {
    font-weight: 400;
    color: var(--text-primary);
    font-size: var(--text-base);
}

/* Leadership Section */
.leadership {
    background: var(--neutral-light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.team-member {
    background: #fff;
    padding: 0;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(101, 67, 33, 0.1);
    text-align: left;
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(101, 67, 33, 0.15);
}

.member-avatar {
    width: 100%;
    height: 300px;
    margin: 0;
    overflow: hidden;
    border: none;
    box-shadow: none;
}

.member-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.member-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.member-photo-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-2xl);
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-member h3 {
    font-size: var(--text-lg);
    font-weight: 500;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.member-title {
    font-weight: 500;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.member-phone {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.member-phone:hover {
    color: var(--accent-color);
}

.member-phone svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    flex-shrink: 0;
}

.member-details ul {
    list-style: none;
    text-align: left;
}

.member-details li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.member-details li::before {
    content: '•';
    color: var(--accent-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Team Member Summary */
.member-summary {
    margin-bottom: 1.5rem;
}

.member-summary p {
    color: #000000;
    line-height: 1.6;
    font-size: var(--text-sm);
}

/* Team Member Links */
.member-links {
    margin-top: auto;
    padding-top: 1.5rem;
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
}

.email-link,
.linkedin-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: var(--text-sm);
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    border-bottom: 1px solid transparent;
}

.email-link:hover,
.linkedin-link:hover {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

.email-link:focus,
.linkedin-link:focus {
    outline: none;
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

.email-link svg,
.linkedin-link svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    transition: fill 0.3s ease;
}

.email-link svg {
    stroke: currentColor;
    fill: none;
}

/* Acknowledgement Section */
.acknowledgement {
    background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
    color: #FFFFFF;
    text-align: center;
    position: relative;
    overflow:hidden;
}

.acknowledgement::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/ack-counrty_dots.avif');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    opacity: 0.05;
    z-index: 1;
}

.acknowledgement .container {
    position: relative;
    z-index: 2;
}

.acknowledgement-content h2 {
    font-size: var(--text-2xl);
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: #FFFFFF;
}

.acknowledgement-content p {
    font-size: var(--text-base);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    opacity: 0.9;
    color: #FFFFFF;
}

/* Contact Section */
.contact {
    background: var(--primary-bg);
}

.contact-content {
    display: flex;
    justify-content: center;
    align-items: start;
}

.contact-info h3 {
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    padding: 0;
}

.contact-method h4 {
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 0;
}

.contact-method p {
    color: #000000;
    font-weight: 500;
}

.contact-form {
    max-width: 600px;
    width: 100%;
}

.contact-form h3 {
    font-size: var(--text-xl);
    font-weight: 500;
    color: var(--accent-color);
    margin-bottom: 2rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    font-size: var(--text-sm);
    transition: border-color 0.3s ease;
    font-family: inherit;
    background: #FFFFFF;
    color: var(--text-primary);
}

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

/* Error states */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-group input.error:focus,
.form-group select.error:focus,
.form-group textarea.error:focus {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2);
}

/* Success states */
.form-group input.success,
.form-group select.success,
.form-group textarea.success {
    border-color: #16a34a;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.1);
}

/* Error and success messages */
.form-error {
    color: #dc2626;
    font-size: var(--text-xs);
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.form-success {
    color: #16a34a;
    font-size: var(--text-xs);
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.form-error::before,
.form-success::before {
    content: '';
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.form-error::before {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23dc2626' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3ccircle cx='12' cy='12' r='10'/%3e%3cline x1='15' y1='9' x2='9' y2='15'/%3e%3cline x1='9' y1='9' x2='15' y2='15'/%3e%3c/svg%3e");
}

.form-success::before {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3ccircle cx='12' cy='12' r='10'/%3e%3cpath d='m9 12 2 2 4-4'/%3e%3c/svg%3e");
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Custom Select Styling */
.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
    padding-right: 3rem;
    cursor: pointer;
}

.form-group select:focus {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238B0000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
}

/* Submit Button Alignment */
.contact-form .btn {
    margin-left: auto;
    display: block;
}

/* Loading state for submit button */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.btn:disabled:hover {
    transform: none !important;
}

/* Accessibility improvements */
.form-group input:required,
.form-group select:required,
.form-group textarea:required {
    position: relative;
}

/* Screen reader only text */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus indicators for better accessibility */
.form-group input:focus-visible,
.form-group select:focus-visible,
.form-group textarea:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .form-group input.error,
    .form-group select.error,
    .form-group textarea.error {
        border-width: 2px;
    }
    
    .form-error {
        font-weight: 600;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .form-group input,
    .form-group select,
    .form-group textarea {
        transition: none;
    }
}

/* Footer */
.footer {
    background: #000000;
    color: #fff;
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo h3 {
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--text-secondary);
}

.footer-logo p {
    color: var(--accent-color);
}

.footer-info {
    text-align: right;
}

.footer-info p {
    margin-bottom: 0.5rem;
    color: #fff;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 5rem 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-title {
        font-size: var(--text-2xl);
    }
    
    .hero-subtitle {
        font-size: var(--text-base);
    }
    
    .hero-cta {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.75rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .differentiators-row-top {
        grid-template-columns: 1fr;
    }
    
    .differentiators-row-bottom {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .certifications-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .certifications-left {
        order: 2;
    }
    
    .certifications-right {
        order: 1;
    }
    
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-info {
        text-align: center;
    }
    
    .section-header h2 {
        font-size: var(--text-2xl);
    }
    
    .hero-pagination {
        bottom: 1.5rem;
    }
    
    .pagination-dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    section {
        padding: 4rem 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .hero-container {
        padding: 0 15px;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: var(--text-xs);
    }
    
    .hero-cta {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .service-card,
    .differentiator {
        padding: 1.5rem;
    }
    
    .member-content {
        padding: 1.5rem;
    }
}

/* Animation classes removed - now handled by GSAP */

/* Smooth scrolling for older browsers */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Additional styles for JavaScript interactions */
.nav-link.active {
    color: var(--text-secondary-hover) !important;
}

.nav-link.active::after {
    width: 100% !important;
}

/* Image Format Fallbacks */
/* Fallback styles for browsers that don't support AVIF */
body[data-no-avif] .about::before {
    /* Fallback to solid color gradient if AVIF not supported */
    background-image: linear-gradient(135deg, var(--neutral-light), var(--neutral-medium));
}

body[data-no-avif] .acknowledgement::before {
    /* Fallback to subtle pattern if AVIF not supported */
    /* background-image: radial-gradient(circle at 25% 25%, var(--neutral-medium) 2px, transparent 2px);
    background-size: 20px 20px;
    opacity: 0.1; */
}

/* Alternative: Use CSS feature detection */
@supports not (background-image: url('data:image/avif;base64,AAAAIGZ0eXBhdmlm')) {
    .about::before {
        background-image: linear-gradient(135deg, var(--neutral-light), var(--neutral-medium));
    }
    
    .acknowledgement::before {
        background-image: radial-gradient(circle at 25% 25%, var(--neutral-medium) 2px, transparent 2px);
        background-size: 20px 20px;
        opacity: 0.1;
    }
}

/* Lazy Loading Styles */
.lazy {
    opacity: 0;
    transition: opacity 0.3s;
}

.lazy-bg {
    background-color: var(--neutral-light);
    background-image: linear-gradient(90deg, var(--neutral-light) 25%, var(--neutral-medium) 50%, var(--neutral-light) 75%);
    background-size: 200% 100%;
    animation: loading-shimmer 1.5s infinite;
}

@keyframes loading-shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}
