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

:root {
    /* Intertek-inspired Color Palette */
    --primary-color: #0395da;
    --secondary-color: #1e40af;
    --accent-color: #f59e0b; /* Intertek Yellow */
    --success-color: #059669;
    --warning-color: #d97706;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --text-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --bg-dark: #1f2937;
    --border-light: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    --gradient-hero: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #2563eb 100%);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
    max-width: 100vw;
}

* {
    box-sizing: border-box;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-dark);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.875rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.125rem; }

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-logo {
    display: flex;
    align-items: center;
}

.logo {
    height: 90px;
    width: auto;
    max-width: 360px;
    object-fit: contain;
}


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

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

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

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
}

.quote-btn,
a.quote-btn {
    background: var(--gradient-primary);
    color: var(--text-white);
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

a.quote-btn:hover {
    color: var(--text-white);
}

.quote-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* Services dropdown in nav */
.nav-dropdown-wrapper {
    position: relative;
}

.nav-dropdown-wrapper .nav-link {
    display: inline-flex;
    align-items: center;
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 220px;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-light);
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    z-index: 1001;
}

.nav-dropdown-wrapper:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(4px);
}

.nav-dropdown a {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: background 0.2s ease, color 0.2s ease;
}

.nav-dropdown a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.nav-dropdown a:not(:last-child) {
    border-bottom: 1px solid var(--border-light);
}

/* Hero Section - SGS Inspired */
.hero {
    min-height: 100vh;
    background: url('assets/hero-background.jpg') center center/cover no-repeat;
    display: flex;
    align-items: center;
    padding-top: 110px;
    position: relative;
    overflow: hidden;
}

/* Homepage hero with video background */
.hero.hero-with-video {
    background: none;
}

.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-video-wrapper .hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 500px;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
    min-height: calc(100vh - 80px);
}

.hero-content {
    color: var(--text-white);
}

.hero-title {
    font-size: 4rem;
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--text-white);
}

.hero-tagline {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    line-height: 1.4;
}

.hero-cta {
    background: transparent;
    color: var(--text-white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.125rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.hero-cta:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateX(8px);
}

.hero-card {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transform: translateY(-20px);
}

.card-header {
    padding: 1.5rem 2rem 0.5rem;
    border-bottom: 1px solid var(--border-light);
}

.card-category {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 0.25rem;
}

.card-type {
    font-size: 0.875rem;
    color: var(--primary-color);
    font-weight: 600;
}

.card-content {
    padding: 1.5rem 2rem 2rem;
}

.card-content h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    line-height: 1.3;
}

.card-content p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.card-image {
    border-radius: 8px;
    overflow: hidden;
    height: 160px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Content Grid Section */
.content-grid {
    padding: 80px 0;
    background: var(--bg-light);
}

.grid-layout {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
}

.content-card {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    cursor: pointer;
}

.content-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.large-card {
    grid-column: span 8;
}

.wide-card {
    grid-column: span 8;
}

.content-card:not(.large-card):not(.wide-card) {
    grid-column: span 4;
}

.content-card .card-image {
    height: 200px;
    overflow: hidden;
}

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

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

.content-card .card-content {
    padding: 2rem;
}

.content-card .card-meta {
    margin-bottom: 1rem;
}

.content-card .card-category {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 0.25rem;
}

.content-card .card-type {
    font-size: 0.875rem;
    color: var(--primary-color);
    font-weight: 600;
}

.content-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    line-height: 1.3;
}

.content-card p {
    color: var(--text-light);
    line-height: 1.6;
}

.large-card .card-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.large-card h3 {
    font-size: 1.75rem;
}

.large-card p {
    font-size: 1.125rem;
}

/* Product Testing Showcase */
.product-testing-showcase {
    padding: 100px 0;
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.testing-carousel {
    position: relative;
    margin-top: 4rem;
}

.carousel-container {
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.carousel-track {
    display: flex;
    transition: transform 0.4s ease-in-out;
}

.testing-card {
    min-width: 100%;
    background: var(--bg-white);
    display: grid;
    grid-template-columns: 400px 1fr;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.testing-card.active {
    opacity: 1;
    pointer-events: all;
}

.card-thumbnail {
    position: relative;
    overflow: hidden;
}

.card-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.testing-card:hover .card-thumbnail img {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 2rem;
}

.test-badge {
    background: var(--primary-color);
    color: var(--text-white);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.card-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-content h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 700;
}

.card-category {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
}

.card-description {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    flex: 1;
}

.test-parameters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.parameter {
    background: var(--bg-light);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

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

.test-duration {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 600;
}

.test-cta,
a.test-cta {
    background: var(--gradient-primary);
    color: var(--text-white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

a.test-cta:hover {
    color: var(--text-white);
}

.test-cta:hover,
a.test-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.carousel-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border: none;
    background: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.carousel-btn:hover {
    background: var(--primary-color);
    color: var(--text-white);
    transform: scale(1.1);
}

.carousel-btn i {
    font-size: 1.2rem;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.carousel-btn:hover i {
    color: var(--text-white);
}

.carousel-dots {
    display: flex;
    gap: 0.75rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(59, 130, 246, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.carousel-dot:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

/* Responsive Design for Product Testing Carousel */
@media (max-width: 968px) {
    .product-testing-showcase {
        padding: 60px 0;
    }
    
    .testing-card {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .card-thumbnail {
        height: 250px;
    }
    
    .card-content {
        padding: 2rem;
    }
    
    .card-content h3 {
        font-size: 1.5rem;
    }
    
    .test-parameters {
        gap: 0.5rem;
    }
    
    .parameter {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

@media (max-width: 768px) {
    .carousel-navigation {
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    .carousel-btn i {
        font-size: 1rem;
    }
    
    .card-content {
        padding: 1.5rem;
    }
    
    .card-content h3 {
        font-size: 1.3rem;
    }
    
    .card-description {
        font-size: 1rem;
    }
    
    .card-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .test-cta {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .card-thumbnail {
        height: 200px;
    }
    
    .card-content {
        padding: 1.25rem;
    }
    
    .test-badge {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
    
    .carousel-dots {
        gap: 0.5rem;
    }
    
    .carousel-dot {
        width: 10px;
        height: 10px;
    }
}

/* USP Section */
.usp-section {
    padding: 100px 0;
    background: var(--bg-white);
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.25rem;
    color: var(--text-light);
}

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

.usp-card {
    background: var(--bg-white);
    padding: 3rem 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.usp-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-xl);
}

.usp-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.usp-icon i {
    font-size: 2rem;
    color: var(--text-white);
}

.usp-card h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.usp-card p {
    margin-bottom: 2rem;
}

.usp-feature {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--success-color);
    font-weight: 600;
}

/* Page Banner */
.page-banner {
    position: relative;
    height: 60vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 80px;
}

.banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Video banner (same dimensions as image banner) */
.banner-video-wrapper {
    overflow: hidden;
}

.banner-video-wrapper .banner-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 2;
}

/* FDA page: no dark tint on banner */
.page-banner--fda .banner-overlay,
.page-banner--halal .banner-overlay {
    background: none;
}

.banner-content {
    position: relative;
    z-index: 3;
    color: var(--text-white);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.banner-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-white);
}

.banner-content p {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.9);
}

.banner-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 3rem;
}

.banner-stats .stat-item {
    text-align: center;
}

.banner-stats .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.banner-stats .stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Services Overview */
.services-overview {
    padding: 100px 0;
    background: var(--bg-light);
}

/* Homepage: stats — horizontal “card” matching service-card elevation */
.home-impact-stats {
    padding: 0 0 4rem;
    background: var(--bg-light);
}

.home-impact-stats-card {
    background: linear-gradient(165deg, #e8f4fc 0%, #dff2fa 45%, #eaf6fd 100%);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    padding: 2rem 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-impact-stats-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.home-impact-stats-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    max-width: 1000px;
    margin: 0 auto;
}

.home-impact-stat {
    flex: 1 1 200px;
    text-align: center;
    padding: 1rem 1.5rem;
    min-width: 0;
}

.home-impact-number {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--accent-color);
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.home-impact-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1.35;
}

.home-impact-divider {
    width: 1px;
    align-self: stretch;
    min-height: 3.5rem;
    background: linear-gradient(
        180deg,
        transparent,
        rgba(3, 149, 218, 0.35) 20%,
        rgba(3, 149, 218, 0.35) 80%,
        transparent
    );
    flex: 0 0 auto;
    margin: 0.25rem 0;
}

@media (max-width: 640px) {
    .home-impact-stats {
        padding: 0 0 3rem;
    }

    .home-impact-stats-card {
        padding: 1.75rem 1.25rem;
        border-radius: 14px;
    }

    .home-impact-stats-card:hover {
        transform: none;
    }

    .home-impact-stats-inner {
        flex-direction: column;
        gap: 1.5rem;
    }

    .home-impact-divider {
        width: 60%;
        max-width: 200px;
        height: 1px;
        min-height: 0;
        margin: 0 auto;
        background: linear-gradient(
            90deg,
            transparent,
            rgba(3, 149, 218, 0.35) 15%,
            rgba(3, 149, 218, 0.35) 85%,
            transparent
        );
    }

    .home-impact-stat {
        padding: 0 1rem;
    }
}

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

/* Main Services Grid (4 services on homepage) */
.main-services {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

@media (max-width: 1200px) {
    .main-services {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .main-services {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.main-service {
    max-width: none;
}

/* Services Page Styles */
.services-hero {
    padding: 120px 0 80px;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-light);
}

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

.breadcrumb {
    margin-bottom: 2rem;
    font-size: 0.875rem;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb span {
    color: var(--text-light);
    margin: 0 8px;
}

.services-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.services-hero p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin: 0;
}

/* Interactive Services Layout */
.interactive-services {
    padding: 60px 0 100px;
    background: var(--bg-white);
}

.services-layout {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 800px;
}

/* Services Sidebar */
.services-sidebar {
    background: var(--bg-light);
    border-radius: 20px;
    padding: 2rem;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.sidebar-header {
    margin-bottom: 2rem;
    text-align: center;
}

.sidebar-header h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.sidebar-header p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.service-nav-card {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.service-nav-card:hover {
    border-color: var(--primary-color);
    transform: translateX(8px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.service-nav-card.active {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-white);
    transform: translateX(12px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
}

.service-nav-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.nav-card-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.nav-card-icon.medical {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.nav-card-icon.electrical {
    background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
}

.nav-card-icon.machinery {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
}

.nav-card-icon.construction {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
}

.nav-card-icon.toys {
    background: linear-gradient(135deg, #ec4899 0%, #be185d 100%);
}

.service-nav-card.active .nav-card-icon {
    background: rgba(255, 255, 255, 0.2);
}

.nav-card-icon i {
    font-size: 1.5rem;
    color: var(--text-white);
}

.nav-card-content h4 {
    color: var(--text-dark);
    margin-bottom: 0.25rem;
    font-size: 1rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.service-nav-card.active .nav-card-content h4 {
    color: var(--text-white);
}

.nav-card-content p {
    color: var(--text-light);
    font-size: 0.85rem;
    margin: 0;
    transition: color 0.3s ease;
}

.service-nav-card.active .nav-card-content p {
    color: rgba(255, 255, 255, 0.8);
}

.nav-card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--primary-color);
    color: var(--text-white);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.nav-card-badge.expert {
    background: var(--success-color);
}

.service-nav-card.active .nav-card-badge {
    background: rgba(255, 255, 255, 0.2);
}

/* Service Details Panel */
.service-details-panel {
    background: var(--bg-white);
    border-radius: 20px;
    border: 1px solid var(--border-light);
    overflow: hidden;
    position: relative;
}

.service-detail {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.service-detail.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.detail-header {
    display: flex;
    gap: 2rem;
    padding: 2.5rem;
    border-bottom: 1px solid var(--border-light);
}

.detail-image {
    width: 200px;
    height: 150px;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
}

.detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-meta h2 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 2rem;
    font-weight: 600;
}

.detail-category {
    color: var(--text-light);
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 0.5rem;
}

.detail-price {
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

.detail-content {
    padding: 2.5rem;
}

.detail-content > p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.detail-highlights {
    margin-bottom: 2.5rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: var(--bg-light);
    border-radius: 12px;
}

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

.highlight-item i {
    color: var(--success-color);
    font-size: 1.1rem;
    width: 20px;
}

.highlight-item span {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
}

.detail-standards {
    margin-bottom: 2rem;
}

.detail-standards h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.standards-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.standard-pill {
    background: var(--bg-light);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid rgba(37, 99, 235, 0.2);
    transition: all 0.3s ease;
}

.standard-pill:hover {
    background: var(--primary-color);
    color: var(--text-white);
    transform: translateY(-2px);
}

.detail-footer {
    padding: 2rem 2.5rem 2.5rem;
}

.read-more-btn,
a.read-more-btn {
    background: var(--gradient-primary);
    color: var(--text-white);
    border: none;
    padding: 18px 40px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-decoration: none;
}

a.read-more-btn:hover {
    color: var(--text-white);
}

.read-more-btn:hover,
a.read-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.3);
}

.read-more-btn::after {
    content: '\f061';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    transition: transform 0.3s ease;
}

.read-more-btn:hover::after {
    transform: translateX(4px);
}

/* Responsive Design for Interactive Services */
@media (max-width: 968px) {
    .services-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-sidebar {
        position: static;
        order: 2;
    }
    
    .service-details-panel {
        order: 1;
    }
    
    .detail-header {
        flex-direction: column;
        text-align: center;
    }
    
    .detail-image {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .services-sidebar {
        padding: 1.5rem;
    }
    
    .service-nav-card {
        padding: 1rem;
    }
    
    .detail-header,
    .detail-content,
    .detail-footer {
        padding: 1.5rem;
    }
    
    .detail-meta h2 {
        font-size: 1.5rem;
    }
    
    .service-nav-card:hover,
    .service-nav-card.active {
        transform: none;
    }
}

/* Process Section */
.process-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.step-item {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-md);
}

.step-item h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.step-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Services CTA */
.services-cta {
    padding: 80px 0;
    background: var(--gradient-primary);
    text-align: center;
}

.services-cta .cta-content h2 {
    color: var(--text-white);
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.services-cta .cta-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    font-size: 1.2rem;
}

.services-cta .cta-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.services-cta .cta-primary {
    background: var(--text-white);
    color: var(--primary-color);
    border: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.services-cta .cta-primary:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

.services-cta .cta-secondary {
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--text-white);
    padding: 16px 38px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.services-cta .cta-secondary:hover {
    background: var(--text-white);
    color: var(--primary-color);
}

.service-card {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.service-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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

.service-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.service-overlay i {
    font-size: 1.25rem;
    color: var(--primary-color);
}

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

.service-content h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-content p {
    margin-bottom: 2rem;
    color: var(--text-light);
}

.service-standards {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 2rem;
    min-height: 60px;
    align-content: flex-start;
}

.standard-tag {
    background: var(--bg-light);
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid var(--primary-color);
    height: fit-content;
}

.learn-more {
    background: var(--primary-color);
    color: var(--text-white);
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: auto;
}

.learn-more:hover {
    background: var(--secondary-color);
}

/* Client Logos */
.client-logos {
    padding: 100px 0;
    background: var(--bg-white);
}

/* Accreditation Partners */
.accreditation-partners {
    padding: 100px 0;
    background: var(--bg-light);
}

.partners-container {
    position: relative;
    margin-top: 3rem;
}

.partners-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--bg-white);
    border: 2px solid var(--success-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: var(--shadow-md);
}

.partners-arrow:hover {
    background: var(--success-color);
    color: var(--text-white);
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--shadow-lg);
}

.partners-arrow-left {
    left: -25px;
}

.partners-arrow-right {
    right: -25px;
}

.partners-arrow i {
    font-size: 1.2rem;
    color: var(--success-color);
    transition: color 0.3s ease;
}

.partners-arrow:hover i {
    color: var(--text-white);
}

.partners-grid {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 1rem 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.partners-grid::-webkit-scrollbar {
    display: none;
}

.partner-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    flex: 0 0 250px;
    min-width: 250px;
}

.partner-logo {
    width: 156px;
    height: 156px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: 16px;
    overflow: hidden;
}

.partner-logo img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.partner-card h4 {
    color: var(--text-dark);
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
}

/* Responsive Design for Accreditation Partners */
@media (max-width: 968px) {
    .partner-card {
        flex: 0 0 200px;
        min-width: 200px;
        padding: 1.5rem;
    }
    
    .partner-logo {
        width: 130px;
        height: 130px;
    }
}

@media (max-width: 768px) {
    .accreditation-partners {
        padding: 60px 0;
    }
    
    .partner-card {
        flex: 0 0 180px;
        min-width: 180px;
        padding: 1.25rem;
    }
    
    .partner-logo {
        width: 104px;
        height: 104px;
        margin-bottom: 1rem;
    }
    
    .partner-card h4 {
        font-size: 1rem;
    }
    
    .partners-grid {
        gap: 1.5rem;
    }
    
    .partners-arrow {
        display: none;
    }
}

@media (max-width: 480px) {
    .partner-card {
        flex: 0 0 160px;
        min-width: 160px;
        padding: 1rem;
    }
    
    .partner-logo {
        width: 91px;
        height: 91px;
        margin-bottom: 0.75rem;
    }
    
    .partner-card h4 {
        font-size: 0.9rem;
    }
    
    .partners-grid {
        gap: 1.25rem;
    }
}

.clients-container {
    position: relative;
    margin-top: 3rem;
}

.clients-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--bg-white);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: var(--shadow-md);
}

.clients-arrow:hover {
    background: var(--primary-color);
    color: var(--text-white);
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--shadow-lg);
}

.clients-arrow-left {
    left: -25px;
}

.clients-arrow-right {
    right: -25px;
}

.clients-arrow i {
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.clients-arrow:hover i {
    color: var(--text-white);
}

.clients-grid {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 1rem 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.clients-grid::-webkit-scrollbar {
    display: none;
}

.clients-grid::-webkit-scrollbar {
    height: 6px;
}

.clients-grid::-webkit-scrollbar-track {
    background: var(--bg-light);
    border-radius: 3px;
}

.clients-grid::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.clients-grid::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

.client-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    flex: 0 0 250px;
    min-width: 250px;
}

.client-logo {
    width: 156px;
    height: 156px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: 50%;
    overflow: hidden;
}

.client-logo img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.client-card h4 {
    color: var(--text-dark);
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
}

/* Placeholder styling for missing logos */
.client-logo::before {
    content: attr(data-company);
    position: absolute;
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 700;
    opacity: 0.3;
    pointer-events: none;
}

/* Responsive Design for Client Logos */
@media (max-width: 968px) {
    .client-card {
        flex: 0 0 200px;
        min-width: 200px;
        padding: 1.5rem;
    }
    
    .client-logo {
        width: 130px;
        height: 130px;
    }
}

@media (max-width: 768px) {
    .client-logos {
        padding: 60px 0;
    }
    
    .client-card {
        flex: 0 0 180px;
        min-width: 180px;
        padding: 1.25rem;
    }
    
    .client-logo {
        width: 104px;
        height: 104px;
        margin-bottom: 1rem;
    }
    
    .client-card h4 {
        font-size: 1rem;
    }
    
    .clients-grid {
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .client-card {
        flex: 0 0 160px;
        min-width: 160px;
        padding: 1rem;
    }
    
    .client-logo {
        width: 91px;
        height: 91px;
        margin-bottom: 0.75rem;
    }
    
    .client-card h4 {
        font-size: 0.9rem;
    }
    
    .clients-grid {
        gap: 1.25rem;
    }
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: var(--bg-light);
}

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

.contact-info h2 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.contact-info p {
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item i {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-form {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

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

.submit-btn {
    background: var(--gradient-primary);
    color: var(--text-white);
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.125rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--text-white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer .footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-brand-logo {
    height: 52px;
    width: auto;
    flex-shrink: 0;
    object-fit: contain;
}

.footer-logo-text h3 {
    margin-bottom: 0.25rem;
}

.footer-logo-text p {
    margin-bottom: 0;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--text-white);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Floating Action Buttons */
.floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 100;
}

.fab-whatsapp,
.fab-email {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    color: var(--text-white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.fab-whatsapp {
    background: #25d366;
}

.fab-email {
    background: var(--primary-color);
}

.fab-whatsapp:hover,
.fab-email:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

/* Enhanced Responsive Design */

/* Large Desktop and Up */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-container {
        max-width: 1320px;
    }
    
    .hero-title {
        font-size: 4.5rem;
    }
}

/* Large Tablets and Small Desktop */
@media (max-width: 1200px) {
    .hero-container {
        gap: 3rem;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .services-grid.main-services {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }
    
    .usp-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
    }
}

/* Tablets */
@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
        padding: 0 30px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-tagline {
        font-size: 1.3rem;
    }
    
    .services-grid.main-services {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .usp-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    /* Keep timeline horizontal on tablets */
    .timeline {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .timeline-year {
        width: 130px;
        height: 130px;
        font-size: 1.4rem;
    }
    
    .timeline-content {
        padding: 1.75rem 1.25rem;
        min-height: 160px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* Mobile Landscape and Small Tablets */
@media (max-width: 768px) {
    /* Navigation */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--bg-white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu a {
        display: block;
        padding: 1rem;
        margin: 0;
        border-bottom: 1px solid var(--border-light);
    }
    
    .nav-dropdown {
        display: none !important;
    }
    
    .quote-btn {
        margin: 1rem auto 0;
        display: block;
        width: fit-content;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    /* Hero Section */
    .hero {
        min-height: 80vh;
    }
    
    .hero-container {
        padding: 0 20px;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-tagline {
        font-size: 1.1rem;
    }
    
    .hero-card {
        transform: translateY(0);
        margin-top: 1rem;
    }
    
    /* Services */
    .services-overview {
        padding: 60px 0;
    }
    
    .services-grid.main-services {
        gap: 1.5rem;
    }
    
    .service-card {
        margin: 0;
    }
    
    .service-image {
        height: 180px;
    }
    
    .service-content {
        padding: 1.5rem;
    }
    
    /* USP Section */
    .usp-section {
        padding: 60px 0;
    }
    
    .usp-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .usp-card {
        padding: 2rem 1.5rem;
    }
    
    /* Company Story */
    .company-story {
        padding: 60px 0;
    }
    
    /* Switch to vertical timeline on mobile */
    .timeline {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 0 1rem;
        max-width: 600px;
    }
    
    .timeline::before {
        display: none;
    }
    
    .timeline-item {
        display: flex;
        align-items: center;
        gap: 2rem;
        text-align: left;
        padding: 0;
    }
    
    .timeline-year {
        width: 80px;
        height: 80px;
        font-size: 1.2rem;
        margin: 0;
        flex-shrink: 0;
    }
    
    .timeline-content {
        padding: 2rem;
        min-height: auto;
        flex: 1;
        margin: 0;
    }
    
    .timeline-content h3 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .timeline-content p {
        font-size: 0.9rem;
    }
    
    /* Testimonials */
    .testimonials {
        padding: 60px 0;
    }
    
    .testimonial-card {
        padding: 2rem 1.5rem;
    }
    
    .testimonial-author {
        flex-direction: column;
        gap: 1rem;
    }
    
    /* Contact */
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
}

/* Mobile Portrait */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-tagline {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    .service-card .service-content {
        padding: 1.25rem;
    }
    
    .service-card h3 {
        font-size: 1.1rem;
    }
    
    .usp-card {
        padding: 1.5rem 1rem;
    }
    
    .usp-card h3 {
        font-size: 1.1rem;
    }
    
    .timeline-year {
        width: 60px;
        height: 60px;
        font-size: 1rem;
    }
    
    .testimonial-card {
        padding: 1.5rem 1rem;
    }
    
    .contact-form,
    .contact-info {
        padding: 1.5rem 1rem;
    }
    
    .floating-actions {
        bottom: 15px;
        right: 15px;
    }
    
    .fab-whatsapp,
    .fab-email {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

/* Extra Small Mobile */
@media (max-width: 320px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-cta {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
    
    .service-standards {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .standard-tag {
        text-align: center;
        font-size: 0.8rem;
    }
    
    .usp-icon {
        width: 60px;
        height: 60px;
    }
    
    .usp-icon i {
        font-size: 1.5rem;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
    .hero-background img,
    .service-image img {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* Landscape Orientation for Mobile */
@media (max-width: 968px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
    }
    
    .hero-container {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        align-items: center;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .floating-actions,
    .hamburger {
        display: none;
    }
    
    .hero {
        min-height: auto;
        page-break-after: always;
    }
    
    .section-header h2 {
        page-break-after: avoid;
    }
    
    .service-card,
    .usp-card,
    .testimonial-card {
        page-break-inside: avoid;
    }
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading States */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid var(--primary-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}


/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Intertek-Inspired Styles */

/* Intertek Navigation */
.navbar-intertek {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--bg-white);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-intertek .nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.logo-text-intertek h2 {
    color: var(--accent-color);
    font-size: 2rem;
    font-weight: 800;
    margin: 0;
    text-transform: lowercase;
}

.logo-text-intertek span {
    color: var(--text-light);
    font-size: 0.75rem;
    display: block;
    margin-top: -6px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.nav-menu-intertek .nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-menu-intertek .nav-link:hover {
    color: var(--accent-color);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-btn, .menu-toggle {
    background: none;
    border: none;
    color: var(--text-dark);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px;
    transition: color 0.3s ease;
}

.search-btn:hover, .menu-toggle:hover {
    color: var(--accent-color);
}

/* Intertek Hero Section */
.hero-intertek {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.hero-container-intertek {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}

.hero-content-intertek {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title-intertek {
    font-size: 4.5rem;
    font-weight: 300;
    color: var(--text-white);
    margin-bottom: 2rem;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero-description-intertek {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta-intertek {
    background: var(--accent-color);
    color: var(--text-dark);
    border: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-cta-intertek:hover {
    background: #e59400;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3);
}

/* Contact Banner */
.contact-banner {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 3;
    padding: 20px 0;
}

.contact-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-content p {
    color: var(--text-dark);
    font-weight: 600;
    margin: 0;
}

.phone-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    border: 2px solid var(--primary-color);
    padding: 8px 24px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.phone-link:hover {
    background: var(--primary-color);
    color: var(--text-white);
}

.request-btn {
    background: #20b2aa;
    color: var(--text-white);
    border: none;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.request-btn:hover {
    background: #1a9b94;
    transform: translateY(-2px);
}

/* Feature Cards Section */
.feature-section {
    padding: 100px 0;
    background: var(--bg-white);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.feature-card {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-image-container {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

.feature-card:hover .card-image-container img {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover .card-overlay {
    opacity: 1;
}

.card-tagline {
    color: var(--text-white);
    font-size: 1.1rem;
    font-weight: 300;
    text-align: center;
    padding: 0 2rem;
    line-height: 1.4;
}

.brand-overlay {
    text-align: center;
    color: var(--text-white);
}

.brand-text {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-color);
}

.brand-highlight {
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--text-white);
}

.brand-subtitle {
    font-size: 0.9rem;
    margin-top: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.icon-overlay {
    font-size: 4rem;
    color: var(--accent-color);
}

.text-overlay {
    text-align: center;
    color: var(--text-white);
}

.text-overlay h4 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.text-overlay p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.feature-card .card-content {
    padding: 2.5rem 2rem;
}

.feature-card .card-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-card .card-content p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.card-cta {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: #20b2aa;
    color: var(--text-white);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.card-cta:hover {
    background: var(--accent-color);
    transform: scale(1.1);
}

/* Services Overview Intertek */
.services-overview-intertek {
    padding: 100px 0;
    background: var(--bg-light);
}

.section-header-intertek {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-header-intertek h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-header-intertek p {
    font-size: 1.2rem;
    color: var(--text-light);
}

.services-grid-intertek {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.service-item {
    background: var(--bg-white);
    padding: 3rem 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon i {
    font-size: 2rem;
    color: var(--text-white);
}

.service-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Statistics Section */
.stats-section {
    padding: 80px 0;
    background: var(--bg-dark);
    color: var(--text-white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-color);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* About Section */
.about-section {
    padding: 100px 0;
    background: var(--bg-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.about-lead {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.benefits-list {
    margin-bottom: 3rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.benefit-item i {
    color: var(--success-color);
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.benefit-item h4 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.benefit-item p {
    color: var(--text-light);
    margin: 0;
}

.about-cta {
    background: var(--gradient-primary);
    color: var(--text-white);
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.about-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.about-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: var(--accent-color);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    color: rgba(31, 41, 55, 0.8);
    margin-bottom: 3rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cta-primary {
    background: var(--text-dark);
    color: var(--text-white);
    border: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-primary:hover {
    background: #374151;
    transform: translateY(-2px);
}

.cta-secondary {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--text-dark);
    padding: 16px 38px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-secondary:hover {
    background: var(--text-dark);
    color: var(--text-white);
}

/* Footer Intertek */
.footer-intertek {
    background: var(--bg-dark);
    color: var(--text-white);
    padding: 80px 0 30px;
}

.footer-intertek .footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 40px;
}

.footer-intertek .footer-logo h3 {
    color: var(--accent-color);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-transform: lowercase;
}

.footer-intertek .footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.footer-intertek .contact-info {
    margin-top: 2rem;
}

.footer-intertek .contact-info p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-intertek .contact-info i {
    color: var(--accent-color);
}

/* Service Detail Pages Styles */

/* Service Overview Section */
.service-overview {
    padding: 80px 0;
    background: var(--bg-white);
}

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

.service-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-color);
    color: var(--text-white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.service-badge i {
    font-size: 1rem;
}

.overview-lead {
    font-size: 1.25rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 3rem;
}

.key-benefits h3 {
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.benefit-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.benefit-item i {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.benefit-item h4 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-size: 1rem;
}

.benefit-item p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

.overview-image {
    position: relative;
}

.overview-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 2rem;
}

.price-card {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-light);
}

.price-header {
    text-align: center;
    margin-bottom: 2rem;
}

.price-header h3 {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.price-features {
    list-style: none;
    margin-bottom: 2rem;
}

.price-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-light);
}

.price-features li:last-child {
    border-bottom: none;
}

.price-features i {
    color: var(--success-color);
    font-size: 1rem;
}

.cta-button {
    width: 100%;
    background: var(--gradient-primary);
    color: var(--text-white);
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Detailed Process Timeline */
.detailed-process {
    padding: 100px 0;
    background: var(--bg-light);
}

.process-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
    z-index: 1;
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

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

.timeline-marker {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.25rem;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-md);
}

.timeline-content {
    flex: 1;
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.timeline-content h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.timeline-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.timeline-details {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.duration,
.deliverable {
    font-size: 0.875rem;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
}

.duration {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
}

.deliverable {
    background: rgba(5, 150, 105, 0.1);
    color: var(--success-color);
}

/* Requirements and Accordion */
.requirements-section {
    padding: 100px 0;
    background: var(--bg-white);
}

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

.requirements-accordion {
    margin-top: 2rem;
}

.accordion-item {
    border: 1px solid var(--border-light);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: var(--bg-light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.accordion-header:hover {
    background: rgba(37, 99, 235, 0.05);
}

.accordion-item.active .accordion-header {
    background: var(--primary-color);
    color: var(--text-white);
}

.accordion-header h3 {
    margin: 0;
    font-size: 1.1rem;
}

.accordion-header i {
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
}

.accordion-content {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item.active .accordion-content {
    padding: 1.5rem;
    max-height: 200px;
}

.requirements-visual img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 2rem;
}

.stats-overlay {
    display: flex;
    justify-content: space-around;
    background: var(--bg-white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Device Classification */
.device-classification {
    padding: 100px 0;
    background: var(--bg-light);
}

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

.class-card {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.class-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.class-header {
    padding: 2rem;
    text-align: center;
    position: relative;
}

.class-1 .class-header {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: var(--text-white);
}

.class-2 .class-header {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: var(--text-white);
}

.class-3 .class-header {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: var(--text-white);
}

.class-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    font-weight: 800;
}

.class-header h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.risk-level {
    font-size: 0.875rem;
    opacity: 0.9;
    margin: 0;
}

.class-content {
    padding: 2rem;
}

.class-content p {
    margin-bottom: 2rem;
    color: var(--text-light);
}

.requirements,
.examples {
    margin-bottom: 2rem;
}

.requirements h4,
.examples h4 {
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-size: 1rem;
}

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

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

.requirements li::before {
    content: '•';
    color: var(--primary-color);
    font-size: 1.25rem;
    position: absolute;
    left: 0;
    top: 0.25rem;
}

.examples span {
    color: var(--text-light);
    font-style: italic;
    font-size: 0.9rem;
}

/* Industries Section */
.industries-section {
    padding: 100px 0;
    background: var(--bg-white);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.industry-card {
    background: var(--bg-light);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.industry-card:hover {
    transform: translateY(-8px);
    background: var(--bg-white);
    box-shadow: var(--shadow-lg);
}

.industry-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

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

.industry-icon i {
    font-size: 2rem;
    color: var(--text-white);
}

.industry-card h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.industry-card p {
    color: var(--text-light);
    margin: 0;
}

/* Regulations Section */
.regulations-section {
    padding: 100px 0;
    background: var(--bg-light);
}

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

.regulations-tabs {
    margin-top: 2rem;
}

.tab-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tab-btn {
    background: var(--bg-white);
    border: 2px solid var(--border-light);
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover,
.tab-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-white);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.regulation-item {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
}

.regulation-item h4 {
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    font-size: 1rem;
}

.regulation-item p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

.regulations-visual img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 2rem;
}

.compliance-checklist {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.compliance-checklist h4 {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.compliance-checklist ul {
    list-style: none;
    padding: 0;
}

.compliance-checklist li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-light);
}

.compliance-checklist li:last-child {
    border-bottom: none;
}

.compliance-checklist i {
    color: var(--success-color);
    font-size: 1.1rem;
}

/* FDA page: checklist swaps with Key FDA Regulations tabs */
.fda-checklist-panels .fda-checklist-panel {
    display: none;
}

.fda-checklist-panels .fda-checklist-panel.active {
    display: block;
}

/* Success Stories */
.success-stories {
    padding: 100px 0;
    background: var(--bg-white);
}

/* Success stories carousel (FDA page) */
.stories-carousel-wrapper {
    position: relative;
    margin-top: 3rem;
    padding: 0 50px;
}

.stories-carousel-container {
    overflow: hidden;
    border-radius: 16px;
}

.stories-carousel-track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 0.5rem 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.stories-carousel-track::-webkit-scrollbar {
    display: none;
}

.story-card--carousel {
    flex: 0 0 340px;
    min-width: 340px;
    scroll-snap-align: start;
}

.stories-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: var(--bg-white);
    box-shadow: var(--shadow-lg);
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: all 0.3s ease;
}

.stories-carousel-btn:hover {
    background: var(--primary-color);
    color: var(--text-white);
    transform: translateY(-50%) scale(1.05);
}

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

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

@media (max-width: 768px) {
    .stories-carousel-wrapper {
        padding: 0 40px;
    }
    .story-card--carousel {
        flex: 0 0 280px;
        min-width: 280px;
    }
    .stories-carousel-btn {
        width: 40px;
        height: 40px;
    }
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.story-card {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.story-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.story-image {
    height: 200px;
    overflow: hidden;
}

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

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

.story-content {
    padding: 2rem;
}

.story-category {
    background: var(--primary-color);
    color: var(--text-white);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 1rem;
}

.story-content h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.story-content p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.story-metrics {
    display: flex;
    gap: 2rem;
    justify-content: space-around;
}

.metric {
    text-align: center;
}

.metric-number {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.metric-label {
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Service CTA */
.service-cta {
    padding: 80px 0;
    background: var(--gradient-primary);
    text-align: center;
}

.service-cta .cta-content h2 {
    color: var(--text-white);
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.service-cta .cta-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    font-size: 1.2rem;
}

.service-cta .cta-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.service-cta .cta-primary {
    background: var(--text-white);
    color: var(--primary-color);
    border: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-cta .cta-primary:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

.service-cta .cta-secondary {
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--text-white);
    padding: 16px 38px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-cta .cta-secondary:hover {
    background: var(--text-white);
    color: var(--primary-color);
}

/* Responsive Design for Service Pages */
@media (max-width: 968px) {
    .overview-grid,
    .requirements-grid,
    .regulations-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .classification-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .process-timeline::before {
        display: none;
    }
    
    .timeline-marker {
        margin-bottom: 1rem;
    }
    
    .banner-stats {
        gap: 2rem;
    }
    
    .tab-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .tab-btn {
        width: 100%;
        text-align: center;
    }
    
    .stories-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .banner-content h1 {
        font-size: 2.5rem;
    }
    
    .banner-content p {
        font-size: 1.1rem;
    }
    
    .banner-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .banner-stats .stat-number {
        font-size: 2rem;
    }
    
    .page-banner {
        height: 50vh;
        min-height: 400px;
    }
    
    .service-overview,
    .detailed-process,
    .requirements-section,
    .device-classification,
    .industries-section,
    .regulations-section,
    .success-stories {
        padding: 60px 0;
    }
    
    .timeline-content {
        padding: 1.5rem;
    }
    
    .timeline-details {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .story-metrics {
        gap: 1rem;
    }
    
    .service-cta .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .industries-grid {
        grid-template-columns: 1fr;
    }
    
    .industry-card {
        padding: 2rem 1.5rem;
    }
    
    .price-card {
        padding: 1.5rem;
    }
    
    .timeline-content {
        padding: 1.25rem;
    }
    
    .story-content {
        padding: 1.5rem;
    }
    
    .service-cta .cta-content h2 {
        font-size: 2rem;
    }
}

/* Responsive Design for Intertek Styles */
@media (max-width: 768px) {
    .navbar-intertek .nav-container {
        padding: 0 20px;
    }
    
    .nav-menu-intertek {
        display: none;
    }
    
    .hero-title-intertek {
        font-size: 3rem;
    }
    
    .hero-description-intertek {
        font-size: 1.1rem;
    }
    
    .contact-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .feature-grid,
    .services-grid-intertek,
    .stats-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 0 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-intertek .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 0 20px;
    }
}
