/* ============================================
   NSURYA SEED LAB - Global Styles
   ============================================ */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&family=Poppins:wght@400;600;700&family=Inter:wght@400;500;600&family=Lato:wght@400;700&display=swap');

/* ============================================
   CSS Variables & Color Scheme
   ============================================ */
:root {
    --primary-green: #008938;
    --deep-blue: #1E3D6B;
    --white: #ffffff;
    --light-grey: #F4F7F9;
    --dark-grey: #333333;
    --text-grey: #666666;
    --orange: #FF6B35;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(0, 0, 0, 0.15);
    
    /* Accent colors for variety */
    --green-light: #E8F5E9;
    --blue-light: #E3F2FD;
    --orange-light: #FFF3E0;
    --bright-green: #00C85C;
}

/* ============================================
   Reset & Base Styles
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    position: relative;
}

body {
    font-family: 'Inter', 'Lato', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-grey);
    background-color: var(--white);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
    left: 0;
    right: 0;
    padding-top: 110px; /* Account for fixed header height */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--deep-blue);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-grey);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   Header & Navigation
   ============================================ */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    padding: 1rem 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
    min-height: 90px;
    width: 100%;
    box-sizing: border-box;
    position: relative;
}

/* Base styles - nav-links visible by default */
/* Desktop only - nav-links always visible */
@media (min-width: 1025px) {
    nav .nav-links {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    nav .nav-links li {
        display: list-item;
        margin: 0;
    }
    
    nav .nav-links a {
        display: inline-block;
        opacity: 1;
        visibility: visible;
        color: var(--deep-blue);
    }
}

.logo-container {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    min-width: 0;
    flex-shrink: 0;
    margin-right: 0;
    /* Prevent logo copying and dragging */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.certification-badge {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    margin: 0;
    flex-shrink: 0;
}

.cert-badge-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary-green) 0%, #008938 100%);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(0, 137, 56, 0.3);
    white-space: nowrap;
    transition: all 0.3s ease;
    text-decoration: none;
}

.cert-badge-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 137, 56, 0.4);
    color: var(--white);
}

.cert-badge-link svg {
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1rem;
    align-items: center;
    flex: 1 1 auto;
    margin: 0;
    padding: 0;
    flex-shrink: 1;
    flex-wrap: nowrap;
    opacity: 1;
    visibility: visible;
    position: relative;
    justify-content: center;
    white-space: nowrap;
}

.nabl-badge-container {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    flex-shrink: 0;
    margin-left: 0.5rem;
    margin-right: 0;
    order: 3;
}

.nabl-badge {
    height: 90px;
    width: auto;
    max-height: 90px;
    max-width: none;
    object-fit: contain;
    display: block;
}

/* Override base nav-links for mobile/tablet when not active */
@media (max-width: 1024px) {
    .nav-links:not(.active) {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
}

.logo-flip-container {
    display: block;
    position: relative;
    width: 350px;
    height: 90px;
    perspective: 1000px;
    /* Prevent logo copying and dragging */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
}

.logo-img {
    height: 90px;
    width: 350px;
    object-fit: contain;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
    backface-visibility: hidden;
    transition: transform 0.6s ease-in-out;
    /* Prevent logo copying and dragging */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
}

.logo-1 {
    animation: logoFlip1 4s infinite;
    z-index: 2;
}

.logo-2 {
    animation: logoFlip2 4s infinite;
    z-index: 1;
}

@keyframes logoFlip1 {
    0% {
        transform: rotateY(0deg);
        opacity: 1;
    }
    45% {
        transform: rotateY(0deg);
        opacity: 1;
    }
    50% {
        transform: rotateY(90deg);
        opacity: 0;
    }
    95% {
        transform: rotateY(90deg);
        opacity: 0;
    }
    100% {
        transform: rotateY(0deg);
        opacity: 1;
    }
}

@keyframes logoFlip2 {
    0% {
        transform: rotateY(90deg);
        opacity: 0;
    }
    45% {
        transform: rotateY(90deg);
        opacity: 0;
    }
    50% {
        transform: rotateY(0deg);
        opacity: 1;
    }
    95% {
        transform: rotateY(0deg);
        opacity: 1;
    }
    100% {
        transform: rotateY(90deg);
        opacity: 0;
    }
}

.logo-flip-container:hover {
    transform: scale(1.05);
}

.nav-links a {
    color: var(--deep-blue);
    font-weight: 600;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    opacity: 1;
    visibility: visible;
}

.nav-links a:hover {
    color: var(--primary-green);
    background-color: var(--light-grey);
}

.nav-links a.active {
    color: var(--primary-green);
    border-bottom: 2px solid var(--primary-green);
}

/* ============================================
   Container & Sections
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    box-sizing: border-box;
}

.section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--deep-blue);
    margin-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--orange);
    margin: 1rem auto;
    border-radius: 2px;
}

/* ============================================
   Hero Section with Parallax
   ============================================ */
.hero {
    position: relative;
    height: calc(100vh - 110px);
    min-height: calc(600px - 110px);
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('https://res.cloudinary.com/dmkufygnc/image/upload/v1763615760/Home_page_baner_image_zne4ti.png') center center / cover no-repeat fixed, url('../assets/home-page-banner.png') center center / cover no-repeat fixed;
    overflow: hidden;
    background-attachment: fixed;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 61, 107, 0.6);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 2rem;
    animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--primary-green);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #006b2d;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 137, 56, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--deep-blue);
    transform: translateY(-2px);
}

/* ============================================
   About Snapshot Section
   ============================================ */
.about-snapshot {
    background: linear-gradient(135deg, var(--green-light) 0%, var(--light-grey) 100%);
}

.about-snapshot-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

@media (max-width: 768px) {
    .about-snapshot-content {
        grid-template-columns: 1fr;
    }
}

.about-snapshot-text h2 {
    color: var(--deep-blue);
    margin-bottom: 1rem;
}

.about-snapshot-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow);
}

.about-snapshot-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-snapshot-image:hover img {
    transform: scale(1.05);
}

/* ============================================
   Services Carousel - Enhanced Design
   ============================================ */
.services-carousel-wrapper {
    position: relative;
    margin-top: 3rem;
    padding: 0 60px;
}

.services-carousel {
    overflow: hidden;
    position: relative;
}

.services-carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    gap: 2rem;
}

.services-carousel-track .service-card {
    flex: 0 0 calc(33.333% - 1.34rem);
    min-width: 0;
    opacity: 0.7;
    transform: scale(0.95);
    transition: all 0.4s ease;
}

.services-carousel-track .service-card.active {
    opacity: 1;
    transform: scale(1);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.carousel-btn:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 137, 56, 0.3);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.carousel-btn-prev {
    left: 0;
}

.carousel-btn-next {
    right: 0;
}

.services-actions {
    text-align: center;
    margin-top: 3rem;
}

.see-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--bright-green) 100%);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0, 137, 56, 0.3);
    position: relative;
    overflow: hidden;
}

.see-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.see-more-btn:hover::before {
    left: 100%;
}

.see-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 137, 56, 0.4);
    background: linear-gradient(135deg, var(--bright-green) 0%, var(--primary-green) 100%);
}

.see-more-btn:active {
    transform: translateY(-1px);
}

.see-more-btn svg {
    transition: transform 0.3s ease;
}

.see-more-btn:hover svg {
    transform: translateX(5px);
}

.see-more-btn span {
    position: relative;
    z-index: 1;
}

/* Services Grid (fallback for other pages) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
}

.service-card {
    background: linear-gradient(135deg, var(--white) 0%, #fafafa 100%);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-green), var(--orange));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:nth-child(1) {
    border-left: 4px solid var(--primary-green);
}

.service-card:nth-child(1)::before {
    background: linear-gradient(90deg, var(--primary-green), var(--bright-green));
}

.service-card:nth-child(1).reveal.active {
    transition-delay: 0.1s;
}

.service-card:nth-child(2) {
    border-left: 4px solid var(--deep-blue);
}

.service-card:nth-child(2)::before {
    background: linear-gradient(90deg, var(--deep-blue), #4A90E2);
}

.service-card:nth-child(2).reveal.active {
    transition-delay: 0.2s;
}

.service-card:nth-child(3) {
    border-left: 4px solid var(--orange);
}

.service-card:nth-child(3)::before {
    background: linear-gradient(90deg, var(--orange), #FF8C5A);
}

.service-card:nth-child(3).reveal.active {
    transition-delay: 0.3s;
}

.service-card:nth-child(4) {
    border-left: 4px solid var(--primary-green);
}

.service-card:nth-child(4)::before {
    background: linear-gradient(90deg, var(--primary-green), var(--bright-green));
}

.service-card:nth-child(4).reveal.active {
    transition-delay: 0.4s;
}

.service-card:nth-child(5) {
    border-left: 4px solid var(--deep-blue);
}

.service-card:nth-child(5)::before {
    background: linear-gradient(90deg, var(--deep-blue), #4A90E2);
}

.service-card:nth-child(5).reveal.active {
    transition-delay: 0.5s;
}

.service-card:nth-child(6) {
    border-left: 4px solid var(--orange);
}

.service-card:nth-child(6)::before {
    background: linear-gradient(90deg, var(--orange), #FF8C5A);
}

.service-card:nth-child(6).reveal.active {
    transition-delay: 0.6s;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:nth-child(1):hover,
.service-card:nth-child(4):hover {
    background: linear-gradient(135deg, var(--green-light) 0%, var(--white) 100%);
    border-left-color: var(--primary-green);
}

.service-card:nth-child(2):hover,
.service-card:nth-child(5):hover {
    background: linear-gradient(135deg, var(--blue-light) 0%, var(--white) 100%);
    border-left-color: var(--deep-blue);
}

.service-card:nth-child(3):hover,
.service-card:nth-child(6):hover {
    background: linear-gradient(135deg, var(--orange-light) 0%, var(--white) 100%);
    border-left-color: var(--orange);
}

.service-image-container {
    width: 100%;
    height: 200px;
    margin-bottom: 0.75rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-icon-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3.5rem;
    background: rgba(255, 255, 255, 0.9);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    z-index: 2;
}

.service-card:hover .service-image {
    transform: scale(1.1);
}

.service-card:hover .service-icon-overlay {
    transform: translate(-50%, -50%) scale(1.1) rotate(5deg);
    background: rgba(255, 255, 255, 1);
}

.service-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: all 0.4s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    animation: iconFloat 3s ease-in-out infinite;
}

.service-card:nth-child(1) .service-icon,
.service-card:nth-child(4) .service-icon {
    animation-delay: 0s;
}

.service-card:nth-child(2) .service-icon,
.service-card:nth-child(5) .service-icon {
    animation-delay: 0.5s;
}

.service-card:nth-child(3) .service-icon {
    animation-delay: 1s;
}

.service-card:hover .service-icon {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.2));
}

.service-card h3 {
    color: var(--deep-blue);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 700;
    transition: all 0.4s ease;
    position: relative;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.service-card:hover h3 {
    color: var(--primary-green);
}

.service-card:nth-child(2):hover h3,
.service-card:nth-child(5):hover h3 {
    color: var(--deep-blue);
}

.service-card:nth-child(3):hover h3 {
    color: var(--orange);
}

.service-card p {
    color: var(--text-grey);
    line-height: 1.8;
    font-size: 0.95rem;
    transition: all 0.4s ease;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.service-card:hover p {
    color: var(--dark-grey);
}

/* Icon floating animation */
@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ============================================
   Why Choose Us Section - Clean & Professional
   ============================================ */
.why-choose-us {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    padding: 5rem 0;
}

.why-choose-content {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 5rem;
    align-items: stretch;
}

.why-choose-image {
    position: relative;
    height: 100%;
    display: flex;
}

.why-choose-image .image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    height: 100%;
    display: flex;
}

.why-choose-image .image-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.why-choose-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}

.why-choose-image .image-wrapper:hover img {
    transform: scale(1.05);
}

.image-overlay {
    display: none;
}

.why-choose-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item.enhanced {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-left: 5px solid transparent;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
    opacity: 0;
    overflow: hidden;
}

/* Decorative background patterns for each item */
.feature-item.enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    opacity: 0.03;
    transition: all 0.5s ease;
    pointer-events: none;
}

.feature-item.enhanced::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--orange);
    transition: width 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
}

/* Entrance animations for feature items - different directions */
.feature-item.enhanced.reveal {
    opacity: 0;
}

.feature-item.enhanced.reveal.active {
    opacity: 1;
    animation-fill-mode: both;
}

/* Item 1: Slide from left */
.feature-item.enhanced:nth-child(1).reveal {
    transform: translateX(-80px);
}

.feature-item.enhanced:nth-child(1).reveal.active {
    animation: slideInFromLeft 0.8s ease-out forwards;
    animation-delay: 0.1s;
}

/* Item 2: Slide from right */
.feature-item.enhanced:nth-child(2).reveal {
    transform: translateX(80px);
}

.feature-item.enhanced:nth-child(2).reveal.active {
    animation: slideInFromRight 0.8s ease-out forwards;
    animation-delay: 0.2s;
}

/* Item 3: Slide from top */
.feature-item.enhanced:nth-child(3).reveal {
    transform: translateY(-60px);
}

.feature-item.enhanced:nth-child(3).reveal.active {
    animation: slideInFromTop 0.8s ease-out forwards;
    animation-delay: 0.3s;
}

/* Item 4: Slide from bottom */
.feature-item.enhanced:nth-child(4).reveal {
    transform: translateY(60px);
}

.feature-item.enhanced:nth-child(4).reveal.active {
    animation: slideInFromBottom 0.8s ease-out forwards;
    animation-delay: 0.4s;
}

/* Item 5: Slide from left */
.feature-item.enhanced:nth-child(5).reveal {
    transform: translateX(-80px);
}

.feature-item.enhanced:nth-child(5).reveal.active {
    animation: slideInFromLeft 0.8s ease-out forwards;
    animation-delay: 0.5s;
}

.feature-item.enhanced .feature-icon-wrapper {
    align-self: center;
}

/* Item 1: Orange accent with circular pattern */
.feature-item.enhanced:nth-child(1) {
    border-left-color: var(--orange);
    background: linear-gradient(135deg, #ffffff 0%, #fff8f5 100%);
}

.feature-item.enhanced:nth-child(1)::before {
    background: radial-gradient(circle, var(--orange) 2px, transparent 2px);
    background-size: 20px 20px;
    transform: translate(20px, -20px);
}

.feature-item.enhanced:nth-child(1)::after {
    background: var(--orange);
}

.feature-item.enhanced:nth-child(1):hover {
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.15), 0 0 0 1px rgba(255, 107, 53, 0.1);
}

.feature-item.enhanced:nth-child(1):hover::before {
    transform: translate(0, 0);
    opacity: 0.08;
}

.feature-item.enhanced:nth-child(1):hover::after {
    width: 100%;
}

/* Item 2: Orange accent with diagonal lines */
.feature-item.enhanced:nth-child(2) {
    border-left-color: var(--orange);
    background: linear-gradient(135deg, #ffffff 0%, #fff8f5 100%);
}

.feature-item.enhanced:nth-child(2)::before {
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        var(--orange) 10px,
        var(--orange) 11px
    );
    width: 150px;
    height: 150px;
    transform: translate(30px, -30px) rotate(45deg);
}

.feature-item.enhanced:nth-child(2)::after {
    background: var(--orange);
}

.feature-item.enhanced:nth-child(2):hover {
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.15), 0 0 0 1px rgba(255, 107, 53, 0.1);
    transform: translateY(-6px) rotate(0.5deg);
}

.feature-item.enhanced:nth-child(2):hover::before {
    transform: translate(0, 0) rotate(45deg);
    opacity: 0.06;
}

.feature-item.enhanced:nth-child(2):hover::after {
    width: 100%;
}

/* Item 3: Orange accent with dots pattern */
.feature-item.enhanced:nth-child(3) {
    border-left-color: var(--orange);
    background: linear-gradient(135deg, #ffffff 0%, #fff8f5 100%);
}

.feature-item.enhanced:nth-child(3)::before {
    background-image: 
        radial-gradient(circle at 20% 30%, var(--orange) 1.5px, transparent 1.5px),
        radial-gradient(circle at 80% 70%, var(--orange) 1.5px, transparent 1.5px);
    background-size: 30px 30px, 40px 40px;
    width: 120px;
    height: 120px;
    transform: translate(-20px, 20px);
}

.feature-item.enhanced:nth-child(3)::after {
    background: var(--orange);
}

.feature-item.enhanced:nth-child(3):hover {
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.15), 0 0 0 1px rgba(255, 107, 53, 0.1);
    transform: translateY(-6px) scale(1.02);
}

.feature-item.enhanced:nth-child(3):hover::before {
    transform: translate(0, 0);
    opacity: 0.08;
    animation: floatPattern 3s ease-in-out infinite;
}

.feature-item.enhanced:nth-child(3):hover::after {
    width: 100%;
}

/* Item 4: Orange accent with wave pattern */
.feature-item.enhanced:nth-child(4) {
    border-left-color: var(--orange);
    background: linear-gradient(135deg, #ffffff 0%, #fff8f5 100%);
}

.feature-item.enhanced:nth-child(4)::before {
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(255, 107, 53, 0.1) 2px,
            rgba(255, 107, 53, 0.1) 4px
        );
    width: 100%;
    height: 60px;
    top: auto;
    bottom: 0;
    transform: translateY(100%);
    border-radius: 0 0 16px 16px;
}

.feature-item.enhanced:nth-child(4)::after {
    background: var(--orange);
}

.feature-item.enhanced:nth-child(4):hover {
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.15), 0 0 0 1px rgba(255, 107, 53, 0.1);
}

.feature-item.enhanced:nth-child(4):hover::before {
    transform: translateY(0);
    opacity: 0.1;
}

.feature-item.enhanced:nth-child(4):hover::after {
    width: 100%;
}

/* Item 5: Orange accent with grid pattern */
.feature-item.enhanced:nth-child(5) {
    border-left-color: var(--orange);
    background: linear-gradient(135deg, #ffffff 0%, #fff8f5 100%);
}

.feature-item.enhanced:nth-child(5)::before {
    background-image: 
        linear-gradient(var(--orange) 1px, transparent 1px),
        linear-gradient(90deg, var(--orange) 1px, transparent 1px);
    background-size: 25px 25px;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    transform: translate(50%, -50%) rotate(45deg);
    opacity: 0.02;
}

.feature-item.enhanced:nth-child(5)::after {
    background: var(--orange);
}

.feature-item.enhanced:nth-child(5):hover {
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.15), 0 0 0 1px rgba(255, 107, 53, 0.1);
    transform: translateY(-6px) rotate(-0.5deg);
}

.feature-item.enhanced:nth-child(5):hover::before {
    transform: translate(0, 0) rotate(45deg);
    opacity: 0.05;
}

.feature-item.enhanced:nth-child(5):hover::after {
    width: 100%;
}

.feature-item.enhanced:hover {
    border-color: rgba(0, 0, 0, 0.08);
}

.feature-item.enhanced:hover .feature-icon-wrapper {
    transform: scale(1.1);
}

.feature-item.enhanced:nth-child(1):hover,
.feature-item.enhanced:nth-child(2):hover,
.feature-item.enhanced:nth-child(3):hover,
.feature-item.enhanced:nth-child(4):hover,
.feature-item.enhanced:nth-child(5):hover {
    border-left-color: var(--orange);
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.03) 0%, rgba(255, 107, 53, 0.01) 100%);
}

.feature-icon-wrapper {
    position: relative;
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    min-width: 70px;
    min-height: 70px;
    background: var(--light-grey);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 0;
    margin: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    align-self: center;
}

.feature-item.enhanced:nth-child(1) .feature-icon-wrapper,
.feature-item.enhanced:nth-child(4) .feature-icon-wrapper {
    background: linear-gradient(135deg, rgba(0, 137, 56, 0.12), rgba(0, 137, 56, 0.04));
    box-shadow: 0 3px 12px rgba(0, 137, 56, 0.2);
}

.feature-item.enhanced:nth-child(2) .feature-icon-wrapper,
.feature-item.enhanced:nth-child(5) .feature-icon-wrapper {
    background: linear-gradient(135deg, rgba(30, 61, 107, 0.12), rgba(30, 61, 107, 0.04));
    box-shadow: 0 3px 12px rgba(30, 61, 107, 0.2);
}

.feature-item.enhanced:nth-child(3) .feature-icon-wrapper {
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.12), rgba(255, 140, 0, 0.04));
    box-shadow: 0 3px 12px rgba(255, 140, 0, 0.2);
}

.feature-icon {
    width: 32px;
    height: 32px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    transition: all 0.4s ease;
    display: block;
    margin: 0;
    flex-shrink: 0;
}

.feature-icon path {
    fill: currentColor;
}

.feature-item.enhanced:nth-child(1) .feature-icon,
.feature-item.enhanced:nth-child(4) .feature-icon {
    color: var(--primary-green);
}

.feature-item.enhanced:nth-child(1) .feature-icon path,
.feature-item.enhanced:nth-child(4) .feature-icon path {
    fill: var(--primary-green);
}

.feature-item.enhanced:nth-child(2) .feature-icon,
.feature-item.enhanced:nth-child(5) .feature-icon {
    color: var(--deep-blue);
}

.feature-item.enhanced:nth-child(2) .feature-icon path,
.feature-item.enhanced:nth-child(5) .feature-icon path {
    fill: var(--deep-blue);
}

.feature-item.enhanced:nth-child(3) .feature-icon {
    color: var(--orange);
}

.feature-item.enhanced:nth-child(3) .feature-icon path {
    fill: var(--orange);
}

.feature-item.enhanced:hover .feature-icon-wrapper {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.feature-item.enhanced:hover .feature-icon {
    transform: translate(-50%, -50%) scale(1.1);
}

.feature-item.enhanced:nth-child(1):hover .feature-icon-wrapper,
.feature-item.enhanced:nth-child(4):hover .feature-icon-wrapper {
    box-shadow: 0 4px 12px rgba(0, 137, 56, 0.2);
}

.feature-item.enhanced:nth-child(2):hover .feature-icon-wrapper,
.feature-item.enhanced:nth-child(5):hover .feature-icon-wrapper {
    box-shadow: 0 4px 12px rgba(30, 61, 107, 0.2);
}

.feature-item.enhanced:nth-child(3):hover .feature-icon-wrapper {
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.2);
}

.icon-pulse {
    display: none;
}

.feature-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.feature-item.enhanced h3 {
    color: var(--deep-blue);
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 0.75rem;
    line-height: 1.3;
    transition: all 0.4s ease;
    letter-spacing: -0.02em;
    position: relative;
}

/* Hover effects on headings */
.feature-item.enhanced:nth-child(1):hover h3,
.feature-item.enhanced:nth-child(4):hover h3 {
    color: var(--primary-green);
    transform: translateX(3px);
}

.feature-item.enhanced:nth-child(2):hover h3,
.feature-item.enhanced:nth-child(5):hover h3 {
    color: var(--deep-blue);
    transform: translateX(-3px);
}

.feature-item.enhanced:nth-child(3):hover h3 {
    color: var(--orange);
    transform: scale(1.02);
}

.feature-item.enhanced p {
    color: var(--text-grey);
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
    font-weight: 400;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.feature-item.enhanced:hover p {
    color: #4a5568;
}

/* Legacy support for other pages */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-item {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 15px var(--shadow);
    transition: all 0.3s ease;
    border-top: 3px solid transparent;
}

.feature-item:nth-child(1) { border-top-color: var(--primary-green); }
.feature-item:nth-child(2) { border-top-color: var(--deep-blue); }
.feature-item:nth-child(3) { border-top-color: var(--orange); }
.feature-item:nth-child(4) { border-top-color: var(--primary-green); }
.feature-item:nth-child(5) { border-top-color: var(--deep-blue); }
.feature-item:nth-child(6) { border-top-color: var(--orange); }

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-hover);
}

.feature-item:nth-child(1):hover,
.feature-item:nth-child(4):hover { background-color: var(--green-light); }

.feature-item:nth-child(2):hover,
.feature-item:nth-child(5):hover { background-color: var(--blue-light); }

.feature-item:nth-child(3):hover,
.feature-item:nth-child(6):hover { background-color: var(--orange-light); }

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-item:nth-child(1) .feature-icon,
.feature-item:nth-child(4) .feature-icon { color: var(--primary-green); }

.feature-item:nth-child(2) .feature-icon,
.feature-item:nth-child(5) .feature-icon { color: var(--deep-blue); }

.feature-item:nth-child(3) .feature-icon,
.feature-item:nth-child(6) .feature-icon { color: var(--orange); }

.feature-item h3 {
    color: var(--deep-blue);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

/* ============================================
   Banner Section
   ============================================ */
.page-banner {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--deep-blue) 0%, var(--primary-green) 100%);
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 61, 107, 0.8);
    z-index: 1;
}

.page-banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.page-banner-content h1 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 1rem;
}

/* ============================================
   Content Sections
   ============================================ */
.content-section {
    padding: 3rem 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Overview Section Animation Effects */
.animate-slide-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-slide-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition-delay: 0.2s;
}

.content-grid.reveal.active .animate-slide-left,
.content-grid.reveal.active .animate-slide-right,
.quality-policy-simplified.reveal.active .animate-slide-left,
.quality-policy-simplified.reveal.active .animate-slide-right {
    opacity: 1;
    transform: translateX(0);
}

.content-text h2 {
    color: var(--deep-blue);
    margin-bottom: 1rem;
}

.content-image {
    height: 100%;
    display: flex;
    align-items: stretch;
}

.content-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.content-image:hover img {
    transform: scale(1.05);
}

/* ============================================
   Vision Mission Values
   ============================================ */
.vision-mission {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.vm-card {
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    padding: 3rem 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    text-align: left;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.vm-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-green), var(--bright-green));
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
}

.vm-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, currentColor, transparent);
    transition: width 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
}

.vm-card-left {
    transform: translateX(-100px);
    animation: slideInFromLeft 0.8s ease-out forwards;
}

.vm-card-right {
    transform: translateX(100px);
    animation: slideInFromRight 0.8s ease-out forwards;
    animation-delay: 0.2s;
}

.vm-card-left::before {
    background: linear-gradient(180deg, var(--deep-blue), #4A90E2);
}

.vm-card-right::before {
    background: linear-gradient(180deg, var(--primary-green), var(--bright-green));
}

.vm-card-left::after {
    background: linear-gradient(90deg, var(--deep-blue), #4A90E2);
}

.vm-card-right::after {
    background: linear-gradient(90deg, var(--primary-green), var(--bright-green));
}

.vm-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 8px 30px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
}

.vm-card:hover::before {
    transform: scaleY(1);
}

.vm-card:hover::after {
    width: 100%;
}

.vm-card-left:hover {
    background: linear-gradient(135deg, rgba(30, 61, 107, 0.02) 0%, #ffffff 100%);
}

.vm-card-right:hover {
    background: linear-gradient(135deg, rgba(0, 137, 56, 0.02) 0%, #ffffff 100%);
}

.vm-card h3 {
    color: var(--deep-blue);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.vm-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-grey);
    margin: 0;
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatPattern {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(5px, -5px);
    }
}

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

/* ============================================
   About Page Enhancements
   ============================================ */

/* Hero Badge */
.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-hero {
    background: url('https://res.cloudinary.com/dmkufygnc/image/upload/v1763636000/About_page_banner_image_ptxh37.jpg') center center / cover no-repeat fixed, url('../assets/about-page-banner.jpg') center center / cover no-repeat fixed !important;
    background-attachment: fixed !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    height: calc(100vh - 110px);
    min-height: calc(600px - 110px);
    margin-top: 0;
}

.laboratory-hero {
    background: url('https://res.cloudinary.com/dmkufygnc/image/upload/v1763634301/Laboratory_header_banner_copy_copy_hn6uj3.jpg') center center / cover no-repeat fixed, url('../assets/laboratory-header-banner.jpg') center center / cover no-repeat fixed !important;
    background-attachment: fixed !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    height: calc(100vh - 110px);
    min-height: calc(600px - 110px);
    margin-top: 0;
}

.contact-hero {
    background: url('https://res.cloudinary.com/dmkufygnc/image/upload/v1763637366/Contact_us_image_JPEG_ndyduc.jpg') center center / cover no-repeat fixed, url('../assets/contact-us-image.jpg') center center / cover no-repeat fixed !important;
    background-attachment: fixed !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    height: calc(100vh - 110px);
    min-height: calc(600px - 110px);
    margin-top: 0;
}

.legal-hero {
    background: url('https://res.cloudinary.com/dmkufygnc/image/upload/v1763625817/ChatGPT_Image_Nov_20_2025_01_31_48_PM_dhf17o.png') center center / cover no-repeat fixed, url('../assets/privacy-banner-image.png') center center / cover no-repeat fixed !important;
}

.about-hero .hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: -1px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    letter-spacing: -0.3px;
}

.hero-description {
    font-size: 1.15rem;
    line-height: 1.85;
    max-width: 850px;
    margin: 0 auto;
    opacity: 0.92;
    font-weight: 400;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-label {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--primary-green);
    color: var(--white);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(0, 137, 56, 0.2);
    transition: all 0.3s ease;
}

.section-label:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 137, 56, 0.3);
}

.section-header h2 {
    margin-bottom: 0.75rem;
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--deep-blue);
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-grey);
    margin-bottom: 1rem;
    font-weight: 400;
    line-height: 1.6;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: var(--orange);
    margin: 1rem auto 0;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.section-header:hover .title-underline {
    width: 100px;
}

/* Content Section Enhancements */
.about-overview {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--green-light) 0%, var(--light-grey) 100%);
    position: relative;
    overflow: hidden;
}


.text-block {
    margin-bottom: 2rem;
}

.lead-text {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--deep-blue);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    letter-spacing: -0.3px;
}

.text-block p {
    font-size: 1.1rem;
    line-height: 1.85;
    color: var(--text-grey);
}

.highlight-text {
    color: var(--primary-green);
    font-weight: 600;
    position: relative;
}

.content-image .image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    width: 100%;
    height: 100%;
    display: flex;
}

.content-image .image-wrapper:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.1);
}

.content-image .image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}

.about-overview .content-image .image-wrapper img {
    object-fit: cover;
    object-position: center center;
}

.content-image .image-wrapper:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 137, 56, 0.1) 0%, rgba(30, 61, 107, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.content-image .image-wrapper:hover .image-overlay {
    opacity: 1;
}

/* Director Section */
.director-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--light-grey) 0%, var(--white) 100%);
}

.director-section .content-grid {
    align-items: stretch;
}

.director-section .content-image {
    display: flex;
    align-items: stretch;
}

.director-section .content-image .image-wrapper {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: stretch;
}

.director-section .content-image .image-wrapper img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.director-section .content-text h3 {
    border-bottom: 3px solid var(--primary-green);
    padding-bottom: 0.5rem;
    display: inline-block;
}

/* Vision & Mission Section */
.vision-mission-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f0f4ff 100%);
    position: relative;
    overflow: hidden;
}


.vision-mission {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.vision-mission-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
    align-items: stretch;
}

.vision-mission-cards {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    height: 100%;
}

.vision-mission-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: stretch;
}

.vision-mission-image .image-wrapper {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
}

.vision-mission-image .image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.vision-mission-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}

.vision-mission-image:hover img {
    transform: scale(1.05);
}

.vm-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.vm-icon {
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.vm-card:hover .vm-icon {
    transform: scale(1.1);
}

.vm-header h3 {
    margin-bottom: 0;
}

.vm-card-left .vm-icon {
    animation-delay: 0s;
}

.vm-card-right .vm-icon {
    animation-delay: 0.5s;
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Values Section */
.values-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}


.value-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.value-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border-radius: 8px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    background: #f8f9fa;
}

.value-header h4 {
    margin-bottom: 0;
}

.value-item-1 .value-icon {
    background: rgba(0, 137, 56, 0.1);
    color: var(--primary-green);
}

.value-item-2 .value-icon {
    background: rgba(30, 61, 107, 0.1);
    color: var(--deep-blue);
}

.value-item-3 .value-icon {
    background: rgba(255, 107, 53, 0.1);
    color: var(--orange);
}

.value-item-4 .value-icon {
    background: rgba(0, 137, 56, 0.1);
    color: var(--primary-green);
}

.value-item:hover .value-icon {
    transform: scale(1.1);
}

.value-item h4 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

/* Key Highlights Section - Modern Minimalist Design */
.highlights-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #fafbfc 0%, #ffffff 50%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}


.highlights-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    margin-top: 4rem;
    align-items: stretch;
}

.highlights-image {
    position: relative;
    height: 100%;
    display: flex;
    align-items: stretch;
}

.highlights-image .image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
    width: 100%;
    height: 100%;
    display: flex;
}

.highlights-image .image-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.highlights-image .image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.highlights-image .image-wrapper:hover img {
    transform: scale(1.05);
}

.highlights-image .image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05) 0%, rgba(30, 61, 107, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.highlights-image .image-wrapper:hover .image-overlay {
    opacity: 1;
}

.highlights-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

.highlights-grid-modern {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 4rem;
    position: relative;
}

.highlight-card-modern {
    background: transparent;
    padding: 2rem 0;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    text-align: left;
    position: relative;
    overflow: visible;
    box-shadow: none;
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 2rem;
    align-items: center;
}

.highlight-card-modern:last-child {
    border-bottom: none;
}

.highlight-card-modern::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: var(--orange);
    transition: width 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
}

.highlight-card-modern::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: rgba(255, 107, 53, 0.03);
    transition: width 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 0;
    border-radius: 8px;
}


.highlight-card-modern:hover {
    transform: translateX(10px);
    border-bottom-color: rgba(255, 107, 53, 0.2);
}

.highlight-card-modern:hover::before {
    width: 4px;
}

.highlight-card-modern:hover::after {
    width: 100%;
}


.highlight-icon-modern {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    min-width: 70px;
    min-height: 70px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 107, 53, 0.05));
    border-radius: 12px;
    transition: all 0.4s ease;
    line-height: 1;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    margin: 0;
    color: var(--orange);
}

.highlight-icon-modern svg {
    width: 32px;
    height: 32px;
    transition: all 0.4s ease;
}

.highlight-icon-modern svg path {
    stroke: currentColor;
    fill: none;
}

.highlight-card-modern:hover .highlight-icon-modern {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.15), rgba(255, 107, 53, 0.08));
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.2);
    color: var(--orange);
}

.highlight-card-modern:hover .highlight-icon-modern svg {
    transform: scale(1.1);
}

.highlight-card-modern:nth-child(1) .highlight-icon-modern {
    animation-delay: 0s;
}

.highlight-card-modern:nth-child(2) .highlight-icon-modern {
    animation-delay: 0.3s;
}

.highlight-card-modern:nth-child(3) .highlight-icon-modern {
    animation-delay: 0.6s;
}

.highlight-card-modern:nth-child(4) .highlight-icon-modern {
    animation-delay: 0.9s;
}

.highlight-card-modern:nth-child(5) .highlight-icon-modern {
    animation-delay: 1.2s;
}


.highlight-content {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.highlight-card-modern h4 {
    color: var(--deep-blue);
    margin-bottom: 0.75rem;
    margin-top: 0;
    font-size: 1.35rem;
    font-weight: 700;
    transition: color 0.4s ease;
    line-height: 1.4;
    letter-spacing: -0.01em;
    position: relative;
    z-index: 2;
}

.highlight-card-modern:hover h4 {
    color: var(--deep-blue);
}

.highlight-card-modern p {
    color: var(--text-grey);
    line-height: 1.75;
    font-size: 1rem;
    margin: 0;
    font-weight: 400;
    position: relative;
    z-index: 2;
}

.highlight-content a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    color: var(--primary-green);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.highlight-content a:hover {
    color: var(--deep-blue);
    transform: translateX(5px);
}

.highlight-content a svg {
    transition: transform 0.3s ease;
}

.highlight-content a:hover svg {
    transform: translateX(3px);
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-12px);
    }
}

/* ============================================
   Key Highlights Professional Design
   ============================================ */

.highlight-box {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: var(--white);
    padding: 1.75rem 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border-left: 3px solid var(--primary-green);
    position: relative;
}

.highlight-box:nth-child(1) {
    border-left-color: var(--primary-green);
}

.highlight-box:nth-child(2) {
    border-left-color: var(--deep-blue);
}

.highlight-box:nth-child(3) {
    border-left-color: var(--orange);
}

.highlight-box:nth-child(4) {
    border-left-color: var(--primary-green);
}

.highlight-box:nth-child(5) {
    border-left-color: var(--deep-blue);
}

.highlight-box:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.highlight-box:nth-child(1):hover,
.highlight-box:nth-child(4):hover {
    background: linear-gradient(to right, var(--green-light) 0%, var(--white) 3%);
}

.highlight-box:nth-child(2):hover,
.highlight-box:nth-child(5):hover {
    background: linear-gradient(to right, var(--blue-light) 0%, var(--white) 3%);
}

.highlight-box:nth-child(3):hover {
    background: linear-gradient(to right, var(--orange-light) 0%, var(--white) 3%);
}

.highlight-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-green);
    min-width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--green-light), rgba(76, 175, 80, 0.1));
    border-radius: 8px;
    flex-shrink: 0;
}

.highlight-box:nth-child(1) .highlight-number,
.highlight-box:nth-child(4) .highlight-number {
    color: var(--primary-green);
    background: linear-gradient(135deg, var(--green-light), rgba(76, 175, 80, 0.1));
}

.highlight-box:nth-child(2) .highlight-number,
.highlight-box:nth-child(5) .highlight-number {
    color: var(--deep-blue);
    background: linear-gradient(135deg, var(--blue-light), rgba(33, 150, 243, 0.1));
}

.highlight-box:nth-child(3) .highlight-number {
    color: var(--orange);
    background: linear-gradient(135deg, var(--orange-light), rgba(255, 152, 0, 0.1));
}

.highlight-content {
    flex: 1;
}

.highlight-content h4 {
    color: var(--deep-blue);
    margin-bottom: 0.5rem;
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.4;
}

.highlight-content p {
    color: var(--text-grey);
    line-height: 1.7;
    font-size: 0.95rem;
    margin: 0;
}

.value-item {
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.06),
        0 0 0 1px rgba(0, 0, 0, 0.04);
    border-top: 5px solid var(--orange);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.value-item:nth-child(1) {
    border-top-color: var(--primary-green);
    background: linear-gradient(135deg, #ffffff 0%, #f8fff8 100%);
}

.value-item:nth-child(2) {
    border-top-color: var(--deep-blue);
    background: linear-gradient(135deg, #ffffff 0%, #f5f8ff 100%);
}

.value-item:nth-child(3) {
    border-top-color: var(--orange);
    background: linear-gradient(135deg, #ffffff 0%, #fff8f5 100%);
}

.value-item:nth-child(4) {
    border-top-color: var(--primary-green);
    background: linear-gradient(135deg, #ffffff 0%, #f8fff8 100%);
}

.value-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, currentColor, transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.value-item:nth-child(1)::before { 
    background: linear-gradient(90deg, var(--primary-green), var(--bright-green));
}

.value-item:nth-child(2)::before { 
    background: linear-gradient(90deg, var(--deep-blue), #4A90E2);
}

.value-item:nth-child(3)::before { 
    background: linear-gradient(90deg, var(--orange), #FF8C5A);
}

.value-item:nth-child(4)::before { 
    background: linear-gradient(90deg, var(--primary-green), var(--bright-green));
}

.value-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(0, 0, 0, 0.06);
    border-top-width: 6px;
}

.value-item:hover::before {
    transform: scaleX(1);
}

.value-item:nth-child(1):hover {
    background: linear-gradient(135deg, rgba(0, 137, 56, 0.03) 0%, #ffffff 100%);
    box-shadow: 
        0 12px 40px rgba(0, 137, 56, 0.15),
        0 0 0 1px rgba(0, 137, 56, 0.1);
}

.value-item:nth-child(2):hover {
    background: linear-gradient(135deg, rgba(30, 61, 107, 0.03) 0%, #ffffff 100%);
    box-shadow: 
        0 12px 40px rgba(30, 61, 107, 0.15),
        0 0 0 1px rgba(30, 61, 107, 0.1);
}

.value-item:nth-child(3):hover {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.03) 0%, #ffffff 100%);
    box-shadow: 
        0 12px 40px rgba(255, 107, 53, 0.15),
        0 0 0 1px rgba(255, 107, 53, 0.1);
}

.value-item:nth-child(4):hover {
    background: linear-gradient(135deg, rgba(0, 137, 56, 0.03) 0%, #ffffff 100%);
    box-shadow: 
        0 12px 40px rgba(0, 137, 56, 0.15),
        0 0 0 1px rgba(0, 137, 56, 0.1);
}

.value-item h4 {
    color: var(--deep-blue);
    font-size: 1.25rem;
    font-weight: 700;
}

.value-item p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-grey);
    margin: 0;
}

/* ============================================
   Laboratory Infrastructure
   ============================================ */
.lab-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.lab-item {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 15px var(--shadow);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.lab-item:nth-child(odd) { border-left-color: var(--primary-green); }
.lab-item:nth-child(even) { border-left-color: var(--deep-blue); }

.lab-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-hover);
}

.lab-item:nth-child(odd):hover { background-color: var(--green-light); }
.lab-item:nth-child(even):hover { background-color: var(--blue-light); }

.lab-item h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.lab-item ul {
    list-style: none;
    padding-left: 0;
}

.lab-item ul li {
    padding: 0.5rem 0;
    color: var(--text-grey);
    padding-left: 1.5rem;
    position: relative;
}

.lab-item ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
}

/* ============================================
   Services Detail
   ============================================ */
.services-detail {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-detail-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 15px var(--shadow);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-green);
    overflow: hidden;
}

.service-detail-image {
    width: 100%;
    height: 200px;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-detail-image:hover {
    transform: scale(1.05);
}

.service-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.service-detail-image:hover img {
    transform: scale(1.1);
}

.service-detail-card:nth-child(1) { border-top-color: var(--primary-green); }
.service-detail-card:nth-child(2) { border-top-color: var(--deep-blue); }
.service-detail-card:nth-child(3) { border-top-color: var(--orange); }
.service-detail-card:nth-child(4) { border-top-color: var(--primary-green); }
.service-detail-card:nth-child(5) { border-top-color: var(--deep-blue); }
.service-detail-card:nth-child(6) { border-top-color: var(--orange); }

.service-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-hover);
}

.service-detail-card:nth-child(1):hover,
.service-detail-card:nth-child(4):hover { background-color: var(--green-light); }

.service-detail-card:nth-child(2):hover,
.service-detail-card:nth-child(5):hover { background-color: var(--blue-light); }

.service-detail-card:nth-child(3):hover,
.service-detail-card:nth-child(6):hover { background-color: var(--orange-light); }

.service-detail-card h3 {
    color: var(--deep-blue);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ============================================
   Workflow Section
   ============================================ */
.workflow {
    background: linear-gradient(135deg, var(--orange-light) 0%, var(--light-grey) 100%);
    padding: 4rem 0;
}

.workflow-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 3rem;
    position: relative;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.workflow-steps::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary-green) 0%, var(--orange) 50%, var(--deep-blue) 100%);
    z-index: 0;
}

.workflow-step {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    padding: 2rem 0;
    position: relative;
    background: transparent;
    border: none;
    box-shadow: none;
    transition: all 0.3s ease;
}

.workflow-step:last-child {
    padding-bottom: 0;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--white);
    color: var(--orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    flex-shrink: 0;
    border: 3px solid var(--orange);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.workflow-step:nth-child(1) .step-number,
.workflow-step:nth-child(4) .step-number {
    border-color: var(--primary-green);
    color: var(--primary-green);
}

.workflow-step:nth-child(2) .step-number,
.workflow-step:nth-child(5) .step-number {
    border-color: var(--deep-blue);
    color: var(--deep-blue);
}

.workflow-step:nth-child(3) .step-number {
    border-color: var(--orange);
    color: var(--orange);
}

.workflow-step:nth-child(6) .step-number {
    border-color: var(--primary-green);
    color: var(--primary-green);
}

.workflow-step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.step-content {
    flex: 1;
    padding-top: 0.5rem;
}

.workflow-step h3 {
    color: var(--deep-blue);
    margin-bottom: 0.5rem;
    font-size: 1.35rem;
    font-weight: 700;
    transition: color 0.3s ease;
}

.workflow-step:hover h3 {
    color: var(--primary-green);
}

.workflow-step p {
    color: var(--text-grey);
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
}

.testing-process-section {
    background: linear-gradient(135deg, var(--green-light) 0%, var(--light-grey) 100%);
    padding: 6rem 0;
}

.workflow-steps {
    max-width: 900px;
}

/* ============================================
   FAQ Section
   ============================================ */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.faq-item.active {
    border-color: var(--primary-green);
    box-shadow: 0 4px 15px rgba(0, 137, 56, 0.15);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: var(--light-grey);
}

.faq-item.active .faq-question {
    background-color: var(--green-light);
    border-bottom: 1px solid rgba(0, 137, 56, 0.1);
}

.faq-question h3 {
    color: var(--deep-blue);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    flex: 1;
    padding-right: 1rem;
    line-height: 1.5;
}

.faq-icon {
    font-size: 0.75rem;
    color: var(--text-grey);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--primary-green);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 2rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 1.5rem 2rem;
}

.faq-answer p {
    color: var(--text-grey);
    line-height: 1.8;
    margin: 0;
    font-size: 1rem;
}

.faq-answer ul {
    color: var(--text-grey);
    line-height: 1.8;
    margin: 0;
    padding-left: 1.5rem;
}

.faq-answer ul li {
    margin-bottom: 0.5rem;
}

/* ============================================
   Contact Page
   ============================================ */
.contact-section {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

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

.contact-section-heading {
    color: var(--deep-blue);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.contact-section-subtitle {
    color: var(--text-grey);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.contact-icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--deep-blue) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 137, 56, 0.3);
}

.contact-icon-circle svg {
    width: 24px;
    height: 24px;
}

.contact-card-content {
    flex: 1;
}

.contact-card-content h3 {
    color: #000;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.contact-card-content p {
    color: var(--text-grey);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.contact-card-content a {
    color: var(--text-grey);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-card-content a:hover {
    color: var(--primary-green);
}

.contact-form {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px var(--shadow);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--deep-blue);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--light-grey);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(0, 137, 56, 0.1);
}

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

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

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-weight: normal;
    margin-bottom: 0;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 0.2rem;
    cursor: pointer;
    flex-shrink: 0;
    accent-color: var(--primary-green);
}

.checkbox-text {
    color: var(--text-grey);
    font-size: 0.95rem;
    line-height: 1.5;
    flex: 1;
}

.checkbox-text a {
    color: var(--orange);
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.3s ease;
}

.checkbox-text a:hover {
    color: var(--deep-blue);
}

.map-container {
    margin-top: 3rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow);
    height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ============================================
   Footer
   ============================================ */
footer {
    background-color: var(--deep-blue);
    color: var(--white);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
    width: 100%;
    position: relative;
    clear: both;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    justify-items: start;
}

.footer-section {
    text-align: left;
    width: 100%;
}

/* First footer section (NSURYA SEED LAB) - keep original centered state */
.footer-section:first-child {
    text-align: left;
}

.footer-section:first-child h3 {
    text-align: left;
}

.footer-section:first-child p {
    text-align: left;
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    text-align: left;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
    display: block;
    text-align: left;
}

.footer-section a {
    text-align: left;
    position: relative;
    padding-left: 1.25rem;
    display: flex;
    align-items: center;
}

/* Add arrow symbols to Quick Links and Legal sections */
.footer-section:nth-child(2) a::before,
.footer-section:nth-child(3) a::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--orange);
    font-weight: bold;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.footer-section:nth-child(2) a:hover::before,
.footer-section:nth-child(3) a:hover::before {
    transform: translateX(3px);
}

/* Remove arrow from contact section and first section */
.footer-section:first-child a::before,
.footer-section:last-child a::before {
    display: none;
}

/* Social media icons - keep original styling */
.footer-section:first-child p:has(.footer-icon-circle) {
    display: block;
    margin-top: 1rem;
    text-align: left;
}

.footer-section:first-child .footer-icon-circle {
    margin-right: 0.5rem;
    display: inline-flex;
    vertical-align: middle;
}

.footer-section p {
    position: relative;
}

.footer-section p br {
    display: block;
    margin-top: 0.25rem;
    line-height: 1.6;
}

.footer-section p:has(.footer-phone-icon) br + * {
    display: inline-block;
}

.footer-section p:has(.footer-phone-icon) br::after {
    content: '';
    display: inline-block;
    width: calc(40px + 0.5rem);
}

.footer-location-icon,
.footer-email-icon,
.footer-phone-icon {
    display: inline-block;
    vertical-align: top;
    margin-right: 0.5rem;
    color: var(--orange);
    line-height: 1;
}

.footer-location-icon svg,
.footer-email-icon svg,
.footer-phone-icon svg {
    display: inline-block;
    vertical-align: middle;
}

.footer-icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--orange);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    margin-right: 0.5rem;
    box-shadow: 0 2px 8px rgba(255, 140, 0, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
}

.footer-icon-circle:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.5);
}

.footer-icon-circle svg {
    width: 20px;
    height: 20px;
    display: block;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Social Media Links Container */
.social-media-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    justify-content: flex-start;
}

.social-media-links .footer-icon-circle {
    margin-right: 0;
}

/* Social Media Icons - Orange with White Symbols */
.footer-instagram-icon,
.footer-linkedin-icon {
    background: var(--orange);
}

.footer-instagram-icon:hover,
.footer-linkedin-icon:hover {
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.5);
}

.footer-icon-circle svg path {
    fill: white;
}

.footer-location-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-top: 0.5rem;
}

.footer-location-wrapper .footer-icon-circle {
    flex-shrink: 0;
    margin-right: 0;
}

.footer-location-content {
    flex: 1;
    text-align: left;
}

.footer-location-label {
    color: var(--orange);
    font-weight: 600;
    display: block;
    margin-bottom: 0.3rem;
    font-size: 0.95rem;
}

.footer-location-text {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.6;
    text-align: left;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.6);
    width: 100%;
    box-sizing: border-box;
}

.footer-bottom p {
    margin: 0;
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease-out;
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Override default reveal for feature items with custom animations */
.feature-item.enhanced.reveal {
    transition: none; /* Remove transition since we're using animations */
}

.feature-item.enhanced.reveal.active {
    transition: none; /* Remove transition since we're using animations */
}

/* Ensure animations work on mobile devices */
@media (max-width: 768px) {
    .reveal {
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.6s ease-out;
    }
    
    .reveal.active {
        opacity: 1;
        transform: translateY(0);
    }
    
    /* Ensure all animation classes work on mobile */
    .animate-slide-left,
    .animate-slide-right {
        transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
}

/* ============================================
   Responsive Design
   ============================================ */
/* ============================================
   Mobile Menu Toggle
   ============================================ */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px 5px;
    z-index: 1001;
    position: relative;
    order: 2;
}

/* Desktop - Ensure nav-links are visible */
@media (min-width: 1025px) {
    header nav {
        flex-wrap: nowrap !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 0.5rem !important;
        max-width: 1400px !important;
        padding: 0 2rem 0 1rem !important;
    }
    
    .logo-container {
        margin-right: 0 !important;
    }
    
    .nav-links {
        display: flex !important;
        position: relative !important;
        opacity: 1 !important;
        visibility: visible !important;
        max-height: none !important;
        overflow: visible !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        width: auto !important;
        background-color: transparent !important;
        box-shadow: none !important;
        padding: 0 !important;
        flex-direction: row !important;
        gap: 1rem !important;
        flex-wrap: nowrap !important;
        list-style: none !important;
        flex: 1 1 auto !important;
        justify-content: center !important;
        white-space: nowrap !important;
    }
    
    .nav-links.active {
        max-height: none !important;
        padding: 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .nav-links li {
        width: auto !important;
        margin: 0 !important;
        display: list-item !important;
    }
    
    .nav-links a {
        display: inline-block !important;
        padding: 0.5rem 0.75rem !important;
        width: auto !important;
        text-align: center !important;
        border-bottom: none !important;
        color: var(--deep-blue) !important;
        font-weight: 600 !important;
        text-decoration: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        white-space: nowrap !important;
    }
    
    .menu-toggle {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
    
    /* NABL badge on desktop */
    .nabl-badge-container {
        order: 3;
        margin-left: 0.5rem;
        margin-right: 0;
        flex-shrink: 0;
    }
    
    .nabl-badge {
        height: 90px;
        max-height: 90px;
        max-width: none;
        width: auto;
        object-fit: contain;
    }
    
    /* Ensure nav layout doesn't wrap */
    .logo-container {
        flex-shrink: 0;
        min-width: 200px;
    }
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--deep-blue);
    border-radius: 3px;
    transition: all 0.3s ease;
    display: block;
    opacity: 1;
    visibility: visible;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 3px;
    margin-top: -1.5px;
    transform-origin: center;
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 3px;
    margin-top: -1.5px;
    transform-origin: center;
}

/* ============================================
   Form Validation Styles
   ============================================ */
.form-group input.error,
.form-group textarea.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

/* ============================================
   Notification System
   ============================================ */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: var(--white);
    color: var(--dark-grey);
    padding: 1rem 1.5rem;
    border-radius: 5px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s ease;
    max-width: 400px;
    border-left: 4px solid var(--primary-green);
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification-success {
    border-left-color: var(--primary-green);
}

.notification-error {
    border-left-color: #dc3545;
}

.notification-info {
    border-left-color: var(--deep-blue);
}

/* ============================================
   Responsive Design - Tablet & Mobile
   ============================================ */

/* Tablet Styles (max-width: 1024px) */
@media (max-width: 1024px) {
    header {
        z-index: 10020;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background-color: var(--white);
        box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
        overflow: visible;
    }
    
    /* Add padding to body to account for fixed header */
    body {
        padding-top: var(--mobile-menu-top, 110px);
    }
    
    nav {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 1rem;
        z-index: 10000;
        gap: 0.5rem;
    }
    
    /* Hide nav links by default on tablet/mobile */
    nav .nav-links {
        display: none;
        visibility: hidden;
        opacity: 0;
    }
    
    /* Logo container on tablet */
    .logo-container {
        order: 1;
        flex-shrink: 1;
        margin: 0;
        max-width: none;
        min-width: 0;
        overflow: hidden;
    }

    .logo-flip-container {
        width: min(320px, calc(100vw - 210px));
        max-width: 100%;
        height: 70px;
    }

    .logo-img {
        width: min(320px, calc(100vw - 210px));
        max-width: 100%;
        height: 70px;
    }
    
    /* NABL badge on tablet */
    .nabl-badge-container {
        order: 2;
        margin-left: 0.5rem;
        margin-right: 0.5rem;
        flex-shrink: 0;
    }
    
    /* Show menu toggle button */
    .menu-toggle {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        flex-direction: column;
        justify-content: space-around;
        width: 40px;
        height: 40px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 8px 5px;
        z-index: 10001;
        position: relative;
        order: 3;
        margin-left: auto;
        margin-right: 0;
    }
    
    .nabl-badge {
        height: 70px;
        max-height: 70px;
    }
    
    .menu-toggle span {
        display: block;
        width: 100%;
        height: 3px;
        background-color: var(--deep-blue);
        border-radius: 3px;
        transition: all 0.3s ease;
        transform-origin: center;
        visibility: visible;
        opacity: 1;
    }
    
    /* X mark when active - Clear centered X */
    .menu-toggle.active {
        position: relative;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg);
        position: absolute;
        top: 50%;
        left: 0;
        width: 100%;
        height: 3px;
        margin-top: -1.5px;
        transform-origin: center;
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: scale(0);
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg);
        position: absolute;
        top: 50%;
        left: 0;
        width: 100%;
        height: 3px;
        margin-top: -1.5px;
        transform-origin: center;
    }
    
    /* Show menu when active */
    nav .nav-links.active {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        flex-direction: column !important;
        position: fixed !important;
        top: calc(var(--mobile-menu-top, 110px) - 1px) !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 100vw !important;
        background-color: var(--white) !important;
        box-shadow: 0 5px 15px var(--shadow) !important;
        padding: 1rem 0 !important;
        z-index: 10010 !important;
        list-style: none !important;
        margin: 0 !important;
        gap: 0 !important;
        overflow-y: auto !important;
        max-height: calc(100vh - var(--mobile-menu-top, 110px)) !important;
    }
    
    nav .nav-links.active li {
        width: 100% !important;
        margin: 0 !important;
        display: list-item !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    nav .nav-links.active a {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        padding: 1rem 2rem !important;
        width: 100% !important;
        text-align: left !important;
        color: var(--deep-blue) !important;
        font-weight: 600 !important;
        text-decoration: none !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
        transition: all 0.3s ease;
    }
    
    nav .nav-links.active li:last-child a {
        border-bottom: none !important;
    }
    
    nav .nav-links.active a:hover {
        background-color: var(--light-grey) !important;
        color: var(--primary-green) !important;
    }
    
    nav .nav-links.active a.active {
        background-color: var(--light-grey) !important;
        color: var(--primary-green) !important;
        border-bottom: 2px solid var(--primary-green) !important;
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .about-snapshot-content {
        flex-direction: column;
    }
    
    .about-snapshot-image {
        order: -1;
    }
    
    .vision-mission {
        flex-direction: column;
        gap: 2rem;
    }
    
    .workflow-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Styles (max-width: 768px) */
@media (max-width: 768px) {
    header {
        width: 100%;
        max-width: 100vw;
        overflow: visible;
        padding: 0.75rem 0;
        z-index: 10020;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background-color: var(--white);
        box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
    }
    
    /* Add padding to body to account for fixed header */
    body {
        padding-top: var(--mobile-menu-top, 110px);
    }
    
    nav {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 1rem;
        position: relative;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        z-index: 10000;
        gap: 0.5rem;
    }
    
    .logo-container {
        flex-shrink: 1;
        order: 1;
        max-width: none;
        min-width: 0;
        overflow: hidden;
        margin: 0;
    }
    
    .logo-img {
        height: 70px;
        width: min(280px, calc(100vw - 165px));
        max-width: 100%;
    }
    
    .logo-flip-container {
        height: 70px;
        width: min(280px, calc(100vw - 165px));
        max-width: 100%;
    }
    
    /* Hide nav links by default on mobile */
    nav .nav-links {
        display: none;
        visibility: hidden;
        opacity: 0;
    }
    
    /* NABL badge on mobile */
    .nabl-badge-container {
        order: 2;
        margin-left: 0.5rem;
        margin-right: 0.5rem;
        flex-shrink: 0;
    }
    
    /* Show menu toggle button */
    .menu-toggle {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        flex-direction: column;
        justify-content: space-around;
        width: 40px;
        height: 40px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 8px 5px;
        z-index: 10001;
        position: relative;
        order: 3;
        margin-left: auto;
        margin-right: 0;
    }
    
    .menu-toggle span {
        display: block;
        width: 100%;
        height: 3px;
        background-color: var(--deep-blue);
        border-radius: 3px;
        transition: all 0.3s ease;
        transform-origin: center;
    }
    
    .nabl-badge {
        height: 70px;
        max-height: 70px;
    }
    
    /* X mark when active - Clear centered X */
    .menu-toggle.active {
        position: relative;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg);
        position: absolute;
        top: 50%;
        left: 0;
        width: 100%;
        height: 3px;
        margin-top: -1.5px;
        transform-origin: center;
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: scale(0);
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg);
        position: absolute;
        top: 50%;
        left: 0;
        width: 100%;
        height: 3px;
        margin-top: -1.5px;
        transform-origin: center;
    }
    
    /* Show menu when active */
    nav .nav-links.active {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        flex-direction: column !important;
        position: fixed !important;
        top: var(--mobile-menu-top, 100px) !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 100vw !important;
        background-color: var(--white) !important;
        box-shadow: 0 5px 15px var(--shadow) !important;
        padding: 1rem 0 !important;
        z-index: 10010 !important;
        list-style: none !important;
        margin: 0 !important;
        gap: 0 !important;
        overflow-y: auto !important;
        max-height: calc(100vh - 100px) !important;
    }
    
    nav .nav-links.active li {
        width: 100%;
        margin: 0;
        display: list-item;
        visibility: visible;
        opacity: 1;
    }
    
    nav .nav-links.active a {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        padding: 1rem 2rem;
        width: 100%;
        text-align: left;
        color: var(--deep-blue);
        font-weight: 600;
        text-decoration: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        transition: all 0.3s ease;
    }
    
    nav .nav-links.active li:last-child a {
        border-bottom: none;
    }
    
    nav .nav-links.active a:hover {
        background-color: var(--light-grey);
        color: var(--primary-green);
    }
    
    nav .nav-links.active a.active {
        background-color: var(--light-grey);
        color: var(--primary-green);
        border-bottom: 2px solid var(--primary-green);
    }
    
    /* Hero Section */
    .hero {
        height: calc(100vh - 100px);
        min-height: calc(500px - 100px);
        margin-top: 0;
        background-attachment: scroll !important;
        background-size: cover !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
    }
    
    /* Specific hero backgrounds for tablet */
    .about-hero {
        height: calc(100vh - 100px);
        min-height: calc(500px - 100px);
        margin-top: 0;
        background-attachment: scroll !important;
        background-size: cover !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
    }
    
    .laboratory-hero {
        height: calc(100vh - 100px);
        min-height: calc(500px - 100px);
        margin-top: 0;
        background-attachment: scroll !important;
        background-size: cover !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
    }
    
    .contact-hero {
        height: calc(100vh - 100px);
        min-height: calc(500px - 100px);
        margin-top: 0;
        background-attachment: scroll !important;
        background-size: cover !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
    }
    
    .legal-hero {
        background-attachment: scroll !important;
        background-size: cover !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
    }
    
    .hero-content {
        padding: 0 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    /* Sections */
    .section {
        padding: 2.5rem 0;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .section-title {
        margin-bottom: 2rem;
    }
    
    .section-title h2 {
        font-size: 1.75rem;
    }
    
    .container {
        padding: 0 1rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    
    /* Services Carousel */
    .services-carousel-wrapper {
        padding: 0 50px;
    }
    
    .services-carousel-track .service-card {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    /* Why Choose Us */
    .why-choose-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .why-choose-image {
        order: -1;
    }
    
    .why-choose-features {
        gap: 1rem;
    }
    
    .feature-item.enhanced {
        padding: 1.5rem;
    }
    
    /* About Snapshot */
    .about-snapshot-content {
        grid-template-columns: 1fr;
        flex-direction: column;
        gap: 2rem;
    }
    
    .about-snapshot-image {
        order: -1;
        width: 100%;
    }
    
    .about-snapshot-text {
        width: 100%;
    }
    
    .about-snapshot-text h2 {
        font-size: 1.75rem;
    }
    
    .about-snapshot-text p {
        font-size: 0.95rem;
    }
    
    /* Content Grid */
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .content-image {
        order: -1;
    }
    
    /* Director Section */
    .director-section .content-grid {
        flex-direction: column;
    }
    
    /* Team Section */
    .team-image-wrapper img {
        width: 100%;
        height: auto;
    }
    
    /* Highlights */
    .highlights-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .highlights-image {
        order: -1;
    }
    
    .highlights-list {
        order: 2;
    }
    
    /* Vision & Mission */
    .vision-mission {
        flex-direction: column;
        gap: 2rem;
    }
    
    .vision-mission-split {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .vision-mission-cards {
        order: 1;
    }
    
    .vision-mission-image {
        order: 2;
    }
    
    .vision-mission-image .image-wrapper {
        min-height: 300px;
    }
    
    .vm-card {
        padding: 2rem 1.5rem;
    }
    
    /* Values */
    .values-list {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Workflow Steps */
    .workflow-steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .workflow-step {
        flex-direction: column;
        text-align: center;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-location-wrapper {
        justify-content: center;
    }
    
    /* Forms */
    .contact-form {
        padding: 2rem 1.5rem;
        width: 100%;
    }
    
    .form-group {
        margin-bottom: 1.5rem;
        width: 100%;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        width: 100%;
        font-size: 1rem;
    }
    
    /* Contact Grid */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-card {
        width: 100%;
    }
    
    /* Buttons */
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
        width: auto;
    }
    
    .see-more-btn {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
    
    /* Service Cards */
    .service-card {
        padding: 1.5rem 1.25rem;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
    }
    
    .service-card p {
        font-size: 0.9rem;
    }
    
    /* Service Image Container */
    .service-image-container {
        height: 200px;
    }
    
    /* Content Text */
    .content-text h3 {
        font-size: 1.5rem;
    }
    
    .content-text p {
        font-size: 0.95rem;
    }
    
    /* Section Labels */
    .section-label {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }
    
    /* Lead Text */
    .lead-text {
        font-size: 1rem;
    }
    
    /* Gallery Items */
    .gallery-item {
        width: 100%;
    }
    
    /* Notification */
    .notification {
        right: 10px;
        left: 10px;
        max-width: none;
        transform: translateY(-100px);
    }
    
    .notification.show {
        transform: translateY(0);
    }
    
    /* Gallery */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .gallery-item {
        width: 100%;
    }
    
    /* Service Detail Cards */
    .service-detail-card {
        padding: 1.5rem;
        width: 100%;
    }
    
    /* Service Cards */
    .service-card {
        padding: 1.5rem 1.25rem;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
    }
    
    .service-card p {
        font-size: 0.9rem;
    }
    
    /* Service Image Container */
    .service-image-container {
        height: 200px;
    }
    
    /* Content Text */
    .content-text h3 {
        font-size: 1.5rem;
    }
    
    .content-text p {
        font-size: 0.95rem;
    }
    
    /* Section Labels */
    .section-label {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }
    
    /* Lead Text */
    .lead-text {
        font-size: 1rem;
    }
    
    /* Contact Grid */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-card {
        width: 100%;
    }
    
    /* Forms */
    .form-group input,
    .form-group textarea,
    .form-group select {
        width: 100%;
    }
    
    /* Quality Policy */
    .quality-policy-document {
        padding: 2rem 1.5rem;
    }
    
    .quality-policy-header {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .quality-policy-logo {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .quality-policy-logo img {
        height: 75px;
        width: auto;
    }
    
    .quality-policy-contact {
        text-align: center;
        width: 100%;
    }
    
    .quality-policy-company-name {
        text-align: center;
        text-decoration: underline;
        margin-bottom: 1rem;
    }
    
    .quality-policy-address {
        margin: 1rem 0;
    }
    
    .quality-policy-address p {
        text-align: center;
        margin: 0.3rem 0;
        line-height: 1.6;
    }
    
    .quality-policy-phone {
        text-align: center;
        margin: 1rem 0 0.5rem 0;
        word-break: break-word;
    }
    
    .quality-policy-email {
        text-align: center;
        margin: 0.5rem 0;
        word-break: break-word;
    }
    
    /* Legal Pages */
    .legal-hero {
        height: 60vh;
        min-height: 400px;
        background-attachment: scroll !important;
        background-size: cover !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
    }
    
    .legal-content {
        padding: 2rem 1.5rem;
    }
    
    /* About Hero */
    .about-hero {
        height: 70vh;
        min-height: 450px;
        background-attachment: scroll !important;
        background-size: cover !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
    }
    
    /* Laboratory Hero */
    .laboratory-hero {
        height: 70vh;
        min-height: 450px;
        background-attachment: scroll !important;
        background-size: cover !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
    }
    
    .about-hero .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .about-snapshot-content,
    .content-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    /* Keep animations working on mobile but with smaller transforms */
    .animate-slide-left {
        transform: translateX(-30px);
        opacity: 0;
    }
    
    .animate-slide-right {
        transform: translateX(30px);
        opacity: 0;
    }
    
    .content-grid.reveal.active .animate-slide-left,
    .content-grid.reveal.active .animate-slide-right,
    .quality-policy-simplified.reveal.active .animate-slide-left,
    .quality-policy-simplified.reveal.active .animate-slide-right {
        transform: translateX(0);
        opacity: 1;
    }

    .contact-card {
        padding: 1.25rem;
        gap: 1rem;
    }

    .contact-icon-circle {
        width: 50px;
        height: 50px;
    }

    .contact-icon-circle svg {
        width: 20px;
        height: 20px;
    }

    .contact-card-content h3 {
        font-size: 1rem;
    }

    .contact-card-content p {
        font-size: 0.9rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .section {
        padding: 2rem 0;
    }

    .workflow-steps {
        max-width: 100%;
        padding-left: 1rem;
    }

    .workflow-steps::before {
        left: 25px;
    }

    .testing-process-section {
        padding: 3rem 0;
    }

    .workflow-step {
        gap: 1.5rem;
        padding: 1.5rem 0;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .workflow-step h3 {
        font-size: 1.2rem;
    }

    .workflow-step p {
        font-size: 0.95rem;
    }

    .services-carousel-wrapper {
        padding: 0 50px;
    }

    .services-carousel-track .service-card {
        flex: 0 0 calc(50% - 1rem);
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
    }

    .why-choose-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .feature-item.enhanced {
        padding: 1.75rem;
        gap: 1.5rem;
    }

    .feature-icon-wrapper {
        width: 64px;
        height: 64px;
        min-width: 64px;
        min-height: 64px;
    }

    .feature-icon {
        width: 28px;
        height: 28px;
    }

    .feature-item.enhanced h3 {
        font-size: 1.15rem;
    }
}

/* Mobile Styles (max-width: 480px) */
@media (max-width: 480px) {
    nav .nav-links.active {
        top: calc(var(--mobile-menu-top, 90px) - 1px) !important;
    }

    /* Typography */
    html {
        font-size: 14px;
    }
    
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    h4 {
        font-size: 1.1rem;
    }
    
    /* Navigation */
    body {
        padding-top: var(--mobile-menu-top, 90px);
    }

    header {
        width: 100%;
        max-width: 100vw;
        overflow: visible;
        padding: 0.5rem 0;
        left: 0;
        right: 0;
    }
    
    nav {
        flex-direction: row;
        gap: 0.5rem;
        padding: 0 0.75rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        margin: 0;
    }
    
    .logo-container {
        max-width: calc(100% - 45px);
        flex-shrink: 1;
        overflow: hidden;
    }

    .logo-img {
        height: 60px;
        width: min(240px, calc(100vw - 145px));
        max-width: 100%;
    }

    .logo-flip-container {
        height: 60px;
        width: min(240px, calc(100vw - 145px));
        max-width: 100%;
    }
    
    /* NABL badge on small mobile */
    .nabl-badge {
        height: 60px;
        max-height: 60px;
    }
    
    .menu-toggle {
        flex-shrink: 0;
    }
    
    .container {
        padding: 0 0.75rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .section {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .menu-toggle {
        width: 40px;
        height: 40px;
    }

    /* Hero Section */
    .hero {
        min-height: calc(450px - 90px);
        height: calc(70vh - 90px);
        margin-top: 0;
        background-attachment: scroll !important;
        background-size: cover !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
    }
    
    /* Specific hero backgrounds for mobile */
    .about-hero {
        min-height: calc(450px - 90px);
        height: calc(70vh - 90px);
        margin-top: 0;
        background-attachment: scroll !important;
        background-size: cover !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
    }
    
    .laboratory-hero {
        min-height: calc(450px - 90px);
        height: calc(70vh - 90px);
        margin-top: 0;
        background-attachment: scroll !important;
        background-size: cover !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
    }
    
    .contact-hero {
        min-height: calc(450px - 90px);
        height: calc(70vh - 90px);
        margin-top: 0;
        background-attachment: scroll !important;
        background-size: cover !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
    }
    
    .legal-hero {
        background-attachment: scroll !important;
        background-size: cover !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
    }

    .hero-content {
        padding: 0 1rem;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    /* Sections */
    .section {
        padding: 2rem 0;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .section-title h2 {
        font-size: 1.5rem;
    }
    
    .section-title {
        margin-bottom: 1.5rem;
    }

    /* Services Carousel */
    .services-carousel-wrapper {
        padding: 0 35px;
    }

    .services-carousel-track .service-card {
        flex: 0 0 100%;
        padding: 1.5rem 1.25rem;
    }
    
    .service-card h3 {
        font-size: 1.1rem;
    }
    
    .service-card p {
        font-size: 0.875rem;
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
    }

    .carousel-btn svg {
        width: 18px;
        height: 18px;
    }
    
    .services-actions {
        margin-top: 2rem;
    }
    
    .see-more-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    /* Why Choose Us */
    .why-choose-content {
        gap: 1.5rem;
    }
    
    .why-choose-image {
        margin-bottom: 1rem;
    }

    .feature-item.enhanced {
        padding: 1.25rem;
        gap: 0.875rem;
    }

    .feature-icon-wrapper {
        width: 50px;
        height: 50px;
        min-width: 50px;
        min-height: 50px;
    }

    .feature-icon {
        font-size: 1.5rem;
        width: 24px;
        height: 24px;
    }

    .feature-item.enhanced h3 {
        font-size: 1rem;
        margin-bottom: 0.4rem;
    }

    .feature-item.enhanced p {
        font-size: 0.875rem;
        line-height: 1.5;
    }

    /* About Snapshot */
    .about-snapshot-content {
        gap: 1.5rem;
    }
    
    .about-snapshot-text h2 {
        font-size: 1.5rem;
    }
    
    .about-snapshot-text p {
        font-size: 0.9rem;
    }

    /* Content Grid */
    .content-grid {
        gap: 1.5rem;
    }
    
    .content-text p {
        font-size: 0.9rem;
    }
    
    .content-text h3 {
        font-size: 1.25rem;
    }

    /* FAQ */
    .faq-item {
        padding: 1.25rem;
    }

    .faq-item h3 {
        font-size: 1rem;
    }
    
    .faq-item p {
        font-size: 0.875rem;
    }

    /* Highlights */
    .highlights-wrapper {
        gap: 2rem;
    }
    
    .highlights-image .image-wrapper {
        height: auto;
        min-height: 250px;
    }
    
    .highlights-image .image-wrapper img {
        height: auto;
        object-fit: cover;
    }

    .highlight-card-modern {
        padding: 1.25rem 0;
        gap: 1rem;
    }

    .highlight-icon-modern {
        width: 50px;
        height: 50px;
        min-width: 50px;
        min-height: 50px;
    }
    
    .highlight-icon-modern svg {
        width: 24px;
        height: 24px;
    }

    .highlight-content h4 {
        font-size: 1rem;
    }

    .highlight-content p {
        font-size: 0.875rem;
    }

    /* About Hero */
    .about-hero {
        min-height: 400px;
        height: 60vh;
        background-attachment: scroll !important;
        background-size: cover !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
    }
    
    .laboratory-hero {
        min-height: 400px;
        height: 60vh;
        background-attachment: scroll !important;
        background-size: cover !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
    }
    
    .about-hero .hero-content h1 {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-description {
        font-size: 0.9rem;
    }

    /* Section Headers */
    .section-header {
        margin-bottom: 1.5rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .section-label {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
    }

    .lead-text {
        font-size: 1rem;
    }

    /* Vision & Mission */
    .vm-icon {
        font-size: 2rem;
    }
    
    .vision-mission-split {
        gap: 1.5rem;
    }
    
    .vision-mission-cards {
        gap: 1.5rem;
    }
    
    .vision-mission-image .image-wrapper {
        min-height: 250px;
        border-radius: 12px;
    }
    
    /* Ensure animations work on small mobile */
    .animate-slide-left {
        transform: translateX(-20px);
    }
    
    .animate-slide-right {
        transform: translateX(20px);
    }
    
    .vm-card {
        padding: 1.5rem 1rem;
    }
    
    .vm-card h3 {
        font-size: 1.25rem;
    }
    
    .vm-card p {
        font-size: 0.9rem;
    }

    /* Values */
    .value-icon {
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
    }
    
    .value-item {
        padding: 1.5rem 1.25rem;
    }
    
    .value-item h4 {
        font-size: 1.1rem;
    }
    
    .value-item p {
        font-size: 0.875rem;
    }

    /* Sections Padding */
    .about-overview,
    .vision-mission-section,
    .values-section,
    .highlights-section,
    .director-section {
        padding: 2rem 0;
    }

    .values-list {
        gap: 1.25rem;
    }

    /* Workflow Steps */
    .workflow-step {
        padding: 1.25rem 0;
        gap: 1rem;
    }
    
    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
    }
    
    .workflow-step h3 {
        font-size: 1.1rem;
    }
    
    .workflow-step p {
        font-size: 0.875rem;
    }

    /* Contact */
    .contact-grid {
        gap: 1.5rem;
    }
    
    .contact-card {
        padding: 1.25rem;
    }
    
    .contact-card-content h3 {
        font-size: 1rem;
    }
    
    .contact-card-content p {
        font-size: 0.875rem;
    }
    
    .contact-form {
        padding: 1.5rem 1rem;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 0.9rem;
        padding: 0.75rem;
    }
    
    .form-group label {
        font-size: 0.875rem;
    }

    /* Footer */
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-section h3 {
        font-size: 1.1rem;
    }
    
    .footer-section p,
    .footer-section a {
        font-size: 0.875rem;
    }
    
    .footer-bottom {
        padding: 1rem;
        font-size: 0.8rem;
        flex-direction: column;
        text-align: center;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .gallery-item {
        aspect-ratio: 1;
    }

    /* Service Detail Cards */
    .service-detail-card {
        padding: 1.25rem;
    }
    
    .service-detail-card h3 {
        font-size: 1.25rem;
    }
    
    .service-detail-card p {
        font-size: 0.875rem;
    }

    /* Quality Policy */
    .quality-policy-document {
        padding: 1.5rem 1rem;
    }
    
    .quality-policy-header {
        gap: 1rem;
    }
    
    .quality-policy-logo img {
        height: 60px;
    }
    
    .quality-policy-title {
        font-size: 1.5rem;
    }
    
    .quality-policy-company-name {
        font-size: 1.25rem;
    }
    
    .quality-policy-contact p {
        font-size: 0.875rem;
    }
    
    .quality-policy-address p {
        font-size: 0.875rem;
    }
    
    .quality-policy-phone,
    .quality-policy-email {
        font-size: 0.875rem;
    }

    /* Legal Pages */
    .legal-hero {
        min-height: 350px;
        height: 50vh;
        background-attachment: scroll !important;
        background-size: cover !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
    }
    
    .legal-hero .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .legal-content {
        padding: 1.5rem 1rem;
    }
    
    .legal-section-item h2 {
        font-size: 1.25rem;
    }
    
    .legal-section-item p {
        font-size: 0.875rem;
    }

    /* Buttons */
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
    
    /* Director Section */
    .director-section .content-text h3 {
        font-size: 1.5rem;
    }
    
    .director-section .content-text p {
        font-size: 0.9rem;
    }
    
    /* Team Section */
    .team-image-wrapper {
        margin-top: 1rem;
    }
    
    /* Page Banner */
    .page-banner-content h1 {
        font-size: 1.75rem;
    }
}

/* ============================================
   Legal Pages (Terms & Privacy)
   ============================================ */
.legal-hero {
    height: 70vh;
    min-height: 500px;
}

.legal-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

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

.legal-updated {
    color: var(--text-grey);
    font-size: 0.9rem;
    font-style: italic;
    margin: 0;
}

.legal-content {
    max-width: 850px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.legal-section-item {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #f0f0f0;
}

.legal-section-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.legal-section-item h2 {
    color: var(--deep-blue);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.legal-section-item h2::before {
    content: '';
    width: 4px;
    height: 24px;
    background: var(--primary-green);
    border-radius: 2px;
    flex-shrink: 0;
}

.legal-section-item h3 {
    color: var(--deep-blue);
    font-size: 1.15rem;
    font-weight: 600;
    margin-top: 1.25rem;
    margin-bottom: 0.75rem;
}

.legal-section-item p {
    color: var(--text-grey);
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 1rem;
}

.legal-note-text {
    background: var(--green-light);
    padding: 0.75rem 1rem;
    border-radius: 6px;
    border-left: 3px solid var(--primary-green);
    margin-top: 1rem;
    color: var(--deep-blue);
    font-size: 0.9rem;
}

.legal-warning-text {
    background: var(--orange-light);
    padding: 0.75rem 1rem;
    border-radius: 6px;
    border-left: 3px solid var(--orange);
    margin-top: 1rem;
    color: var(--deep-blue);
    font-size: 0.9rem;
}

.legal-section-item ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-grey);
    line-height: 1.75;
}

.legal-section-item ul li {
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;
    position: relative;
}

.legal-section-item ul li::marker {
    color: var(--primary-green);
    font-weight: bold;
}

.legal-section-item strong {
    color: var(--deep-blue);
    font-weight: 600;
}

/* Legal Page Enhancements */
.legal-intro-box {
    background: linear-gradient(135deg, var(--green-light) 0%, var(--blue-light) 100%);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 3rem;
    text-align: center;
    border-left: 4px solid var(--primary-green);
}

.legal-intro-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.legal-intro-box p {
    font-size: 1.05rem;
    color: var(--deep-blue);
    margin: 0;
    line-height: 1.7;
    font-weight: 500;
}

.legal-info-box {
    padding: 0.5rem 0;
}

.section-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--primary-green);
    color: var(--white);
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 700;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.legal-services-list,
.legal-checklist,
.legal-features-list,
.legal-standards-list {
    list-style: none;
    margin-left: 0;
    margin-bottom: 1.5rem;
}

.legal-services-list li,
.legal-checklist li,
.legal-features-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    border-bottom: 1px solid #f0f0f0;
}

.legal-services-list li:last-child,
.legal-checklist li:last-child,
.legal-features-list li:last-child {
    border-bottom: none;
}

.list-icon,
.check-icon,
.feature-icon {
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.legal-standards-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.legal-standards-list li:last-child {
    border-bottom: none;
}

.standard-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--primary-green);
    color: var(--white);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    min-width: 50px;
    text-align: center;
    flex-shrink: 0;
}

.legal-note {
    background: var(--green-light);
    padding: 1rem 1.25rem;
    border-radius: 8px;
    margin-top: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    border-left: 3px solid var(--primary-green);
}

.legal-note .note-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.legal-note p {
    margin: 0;
    color: var(--deep-blue);
    font-size: 0.95rem;
}

.legal-warning {
    background: var(--orange-light);
    padding: 1rem 1.25rem;
    border-radius: 8px;
    margin-top: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    border-left: 3px solid var(--orange);
}

.legal-warning .warning-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.legal-warning p {
    margin: 0;
    color: var(--deep-blue);
    font-size: 0.95rem;
}

.contact-info-box {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--light-grey);
    border-radius: 8px;
    border-left: 3px solid var(--primary-green);
}

.contact-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-item div {
    flex: 1;
}

.contact-item strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--deep-blue);
}

.contact-item a {
    color: var(--primary-green);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--deep-blue);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .legal-hero {
        height: 60vh;
        min-height: 400px;
    }

    .legal-hero .hero-content h1 {
        font-size: 2rem;
    }

    .legal-section {
        padding: 3rem 0;
    }

    .legal-content {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }

    .legal-section-item {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }

    .legal-section-item h2 {
        font-size: 1.2rem;
    }

    .legal-section-item h2::before {
        height: 20px;
    }

    .legal-section-item h3 {
        font-size: 1.05rem;
    }

    .legal-section-item p,
    .legal-section-item ul {
        font-size: 0.9rem;
    }

    .legal-section-item ul {
        margin-left: 1.25rem;
    }

    .legal-intro-box {
        padding: 1.5rem;
    }

    .legal-intro-icon {
        font-size: 2.5rem;
    }

    .section-number {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
    }

    .legal-services-list li,
    .legal-checklist li,
    .legal-features-list li {
        padding-left: 1.75rem;
    }

    .contact-info-box {
        gap: 0.75rem;
    }

    .contact-item {
        padding: 0.75rem;
    }
}

/* ============================================
   Quality Policy Section
   ============================================ */
.quality-policy-section {
    padding: 4rem 0;
}

/* Simplified Quality Policy Layout */
.quality-policy-simplified {
    display: flex;
    gap: 3rem;
    align-items: stretch;
    max-width: 1200px;
    margin: 0 auto;
}

.quality-policy-image-container {
    flex: 0 0 400px;
    background: var(--light-grey);
    border-radius: 10px;
    border-top: 4px solid var(--primary-green);
    box-shadow: 0 3px 15px var(--shadow);
    display: flex;
    align-items: stretch;
    justify-content: center;
    overflow: hidden;
    position: relative;
    padding: 0;
}

.quality-policy-image-container .image-wrapper {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    width: 100%;
    height: 100%;
    display: flex;
}

.quality-policy-image-container .image-wrapper:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.1);
}

.quality-policy-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}

.quality-policy-image-container .image-wrapper:hover .quality-policy-image {
    transform: scale(1.05);
}

.quality-policy-image-container .image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 137, 56, 0.1) 0%, rgba(30, 61, 107, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.quality-policy-image-container .image-wrapper:hover .image-overlay {
    opacity: 1;
}

.quality-policy-content-simplified {
    flex: 1;
    color: var(--deep-blue);
    display: flex;
    flex-direction: column;
}

.quality-policy-content-simplified .quality-policy-commitment {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--deep-blue);
}

@media (max-width: 768px) {
    .quality-policy-simplified {
        flex-direction: column;
        gap: 2rem;
    }

    .quality-policy-image-container {
        flex: 0 0 auto;
        width: 100%;
        height: auto;
        min-height: 300px;
    }
}

.quality-policy-document {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.quality-policy-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--light-grey);
    flex-wrap: wrap;
    gap: 2rem;
}

.quality-policy-logo {
    display: flex;
    align-items: flex-start;
    flex-shrink: 0;
}

.quality-policy-logo img {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.quality-policy-contact {
    text-align: right;
    color: var(--deep-blue);
    flex: 1;
    min-width: 300px;
}

.quality-policy-company-name {
    font-size: 2rem;
    font-weight: 700;
    color: var(--deep-blue);
    margin: 0 0 1rem 0;
    text-align: right;
    text-decoration: underline;
}

.quality-policy-address {
    margin: 1rem 0;
}

.quality-policy-address p {
    margin: 0.3rem 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--deep-blue);
    text-align: right;
}

.quality-policy-phone {
    margin: 1rem 0 0.5rem 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--deep-blue);
    text-align: right;
}

.quality-policy-phone a {
    color: var(--deep-blue);
    text-decoration: none;
}

.quality-policy-email {
    margin: 0.5rem 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--deep-blue);
    text-align: right;
}

.quality-policy-email a {
    color: #0066cc;
    text-decoration: underline;
}

.quality-policy-email a:hover {
    color: #0052a3;
}

.quality-policy-content {
    color: var(--deep-blue);
}

.quality-policy-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--deep-blue);
    margin-bottom: 1.5rem;
    text-align: center;
}

.quality-policy-intro {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.quality-policy-commitment,
.quality-policy-objectives-title {
    font-size: 1.1rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--deep-blue);
}

.quality-policy-list {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0;
}

.quality-policy-list li {
    padding: 0.6rem 0 0.6rem 2rem;
    position: relative;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--deep-blue);
}

.quality-policy-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: 700;
    font-size: 1.2rem;
}

.quality-policy-responsibility {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-top: 2rem;
    margin-bottom: 2rem;
    font-style: italic;
    text-align: justify;
}

.quality-policy-signature {
    text-align: right;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--light-grey);
}

.quality-policy-signature p {
    margin: 0.3rem 0;
    color: var(--deep-blue);
}

.quality-policy-signature p:first-child {
    font-size: 1.1rem;
}

.quality-policy-signature p:last-child {
    font-size: 0.95rem;
    color: var(--deep-blue);
}

@media (max-width: 768px) {
    .quality-policy-document {
        padding: 2rem 1.5rem;
    }

    .quality-policy-header {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .quality-policy-logo {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 0;
    }

    .quality-policy-logo img {
        height: 70px;
        width: auto;
    }

    .quality-policy-contact {
        text-align: center;
        width: 100%;
    }

    .quality-policy-company-name {
        font-size: 1.6rem;
        text-align: center;
        text-decoration: underline;
        margin-bottom: 1rem;
    }

    .quality-policy-address {
        margin: 1rem 0;
    }

    .quality-policy-address p {
        text-align: center;
        margin: 0.3rem 0;
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .quality-policy-phone {
        text-align: center;
        margin: 1rem 0 0.5rem 0;
        font-size: 0.9rem;
        line-height: 1.6;
        word-break: break-word;
    }

    .quality-policy-email {
        text-align: center;
        margin: 0.5rem 0;
        font-size: 0.9rem;
        line-height: 1.6;
        word-break: break-word;
    }

    .quality-policy-title {
        font-size: 1.5rem;
    }

    .quality-policy-intro,
    .quality-policy-list li,
    .quality-policy-responsibility {
        font-size: 1rem;
    }

    .quality-policy-signature {
        text-align: center;
    }
}

/* ============================================
   Team Section
   ============================================ */
.team-section {
    padding: 4rem 0;
}

.team-image-wrapper {
    max-width: 1200px;
    margin: 2rem auto 0;
    text-align: center;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.team-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

@media (max-width: 768px) {
    .team-section {
        padding: 3rem 0;
    }

    .team-image-wrapper {
        margin-top: 1.5rem;
    }
}

/* ============================================
   Additional Responsive Enhancements
   ============================================ */

/* Small Mobile Devices (max-width: 360px) */
@media (max-width: 360px) {
    .logo-img {
        height: 50px;
        width: 200px;
    }
    
    .logo-flip-container {
        height: 50px;
        width: 200px;
    }
    
    .hero-content h1 {
        font-size: 1.25rem;
    }
    
    .section-title h2 {
        font-size: 1.25rem;
    }
    
    .container {
        padding: 0 0.75rem;
    }
    
    .btn {
        padding: 0.625rem 1rem;
        font-size: 0.85rem;
    }
    
    .services-carousel-wrapper {
        padding: 0 30px;
    }
    
    .service-card {
        padding: 1.25rem 1rem;
    }
}

/* Landscape Mobile (max-height: 500px) */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        height: auto;
        padding: 2rem 0;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-content p {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
    
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: auto;
        max-width: 200px;
    }
}

/* Large Screens (min-width: 1400px) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    nav {
        max-width: 1320px;
    }
    
    .footer-content {
        max-width: 1320px;
    }
    
    .footer-bottom {
        max-width: 1320px;
    }
}

/* Header/logo visibility fixes for hosted mobile view */
@media (max-width: 768px) {
    .logo-flip-container {
        width: min(300px, calc(100vw - 145px));
        height: 72px;
    }

    .logo-img {
        width: 100%;
        height: 100%;
        object-position: left center;
    }

    /* Disable flip animation on mobile to keep logo stable and clear */
    .logo-img.logo-1 {
        animation: none;
        opacity: 0;
        z-index: 1;
    }

    .logo-img.logo-2 {
        animation: none;
        opacity: 1;
        z-index: 2;
    }

    .nabl-badge-container {
        margin-left: 0.25rem;
        margin-right: 0.25rem;
    }

    .nabl-badge {
        height: 56px;
        max-height: 56px;
    }
}

@media (max-width: 480px) {
    .logo-flip-container {
        width: min(260px, calc(100vw - 125px));
        height: 64px;
    }
}

/* ============================================
   Header Responsiveness Normalization
   ============================================ */
:root {
    --header-height-desktop: 110px;
    --header-height-tablet: 98px;
    --header-height-mobile: 90px;
}

body {
    padding-top: var(--header-height-desktop);
}

header {
    min-height: var(--header-height-desktop);
}

nav {
    min-height: calc(var(--header-height-desktop) - 20px);
}

@media (max-width: 1024px) {
    body {
        padding-top: var(--mobile-menu-top, var(--header-height-tablet)) !important;
    }

    header {
        min-height: var(--header-height-tablet) !important;
        padding: 0.5rem 0 !important;
        position: fixed !important;
    }

    nav {
        min-height: calc(var(--header-height-tablet) - 16px) !important;
        padding: 0 1rem !important;
        gap: 0.5rem !important;
    }

    .logo-container {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        overflow: hidden !important;
        margin-right: 0 !important;
    }

    .logo-flip-container {
        width: min(360px, calc(100vw - 160px)) !important;
        max-width: 100% !important;
        height: 70px !important;
    }

    .logo-img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        object-position: left center !important;
    }

    .nabl-badge-container {
        margin-left: 0.25rem !important;
        margin-right: 0.25rem !important;
        flex: 0 0 auto !important;
    }

    .nabl-badge {
        height: 56px !important;
        max-height: 56px !important;
    }

    .menu-toggle {
        width: 40px !important;
        height: 40px !important;
    }

    nav .nav-links.active {
        top: calc(var(--mobile-menu-top, var(--header-height-tablet)) - 2px) !important;
        max-height: calc(100vh - var(--mobile-menu-top, var(--header-height-tablet))) !important;
        padding: 0 !important;
        margin-top: 0 !important;
        border-top: 0 !important;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: var(--mobile-menu-top, var(--header-height-mobile)) !important;
    }

    header {
        min-height: var(--header-height-mobile) !important;
        padding: 0.4rem 0 !important;
    }

    nav {
        min-height: calc(var(--header-height-mobile) - 12px) !important;
        padding: 0 0.85rem !important;
    }

    .logo-flip-container {
        width: clamp(170px, calc(100vw - 150px), 280px) !important;
        height: 62px !important;
    }

    .nabl-badge-container {
        margin-left: 0.25rem !important;
        margin-right: 0.25rem !important;
    }

    .nabl-badge {
        height: 54px !important;
        max-height: 54px !important;
    }

    nav .nav-links.active {
        top: calc(var(--mobile-menu-top, var(--header-height-mobile)) - 2px) !important;
        max-height: calc(100vh - var(--mobile-menu-top, var(--header-height-mobile))) !important;
        padding: 0 !important;
        margin-top: 0 !important;
        border-top: 0 !important;
    }
}

@media (max-width: 480px) {
    .logo-flip-container {
        width: clamp(150px, calc(100vw - 120px), 240px) !important;
        height: 56px !important;
    }

    .nabl-badge {
        height: 48px !important;
        max-height: 48px !important;
    }

    .menu-toggle {
        width: 38px !important;
        height: 38px !important;
        padding: 7px 5px !important;
    }

    nav .nav-links.active {
        top: calc(var(--mobile-menu-top, var(--header-height-mobile)) - 2px) !important;
        padding: 0 !important;
        margin-top: 0 !important;
        border-top: 0 !important;
    }
}

/* Keep header and dropdown visually merged when menu is open */
body.menu-open header {
    box-shadow: none !important;
}

@media (max-width: 360px) {
    .logo-flip-container {
        width: clamp(136px, calc(100vw - 112px), 200px) !important;
        height: 50px !important;
    }

    .nabl-badge {
        height: 44px !important;
        max-height: 44px !important;
    }
}

/* Print Styles */
@media print {
    header,
    footer,
    .btn,
    .carousel-btn,
    .menu-toggle {
        display: none;
    }
    
    .section {
        page-break-inside: avoid;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
}

