/* ========================================
   Thaar Mubarak GC - Main Stylesheet
   ======================================== */

/* Reset & Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-navy: #1B3A5F;
    --secondary-navy: #2C5282;
    --accent-gold: #C9982E;
    --accent-burgundy: #8B2635;
    --deep-blue: #0F2942;
    --slate-gray: #475569;
    --light-gray: #F8FAFC;
    --warm-white: #FEFDFB;
    --text-primary: #1E293B;
    --text-secondary: #64748B;
    --border-color: #E2E8F0;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    overflow-x: hidden;
    background: var(--warm-white);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.3;
}

/* ========================================
   Header & Navigation
   ======================================== */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.top-bar {
    background: var(--primary-navy);
    padding: 12px 0;
    border-bottom: 2px solid var(--accent-gold);
}

.top-bar .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.contact-info {
    display: flex;
    gap: 35px;
    flex-wrap: wrap;
}

.contact-info a {
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.contact-info a:hover {
    color: var(--accent-gold);
    transform: translateX(2px);
}

.contact-info i {
    color: var(--accent-gold);
    font-size: 14px;
}

nav {
    padding: 15px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.02);
}

.logo-icon {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.logo-icon img {
    width: 200%;
    height: 180%;
    object-fit: contain;
    position: relative;
    left: 3rem;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.1));
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    display: none;
}
/* /////////////////////////////////////////////// llllllllllloooooooooooggggggggggggooooooooooo */
.logo-title {
    font-size: 0px;     
    font-weight: 800;
    color: var(--primary-navy);
    letter-spacing: 1px;
}

.logo-subtitle {
    font-size: 11px;
    font-weight: 600;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
    letter-spacing: 0.5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-burgundy));
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover {
    color: var(--accent-gold);
}

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary-navy);
    font-size: 28px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    color: var(--accent-gold);
}

/* ========================================
   Hero Section - FIXED
   ======================================== */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--deep-blue) 0%, var(--primary-navy) 50%, var(--secondary-navy) 100%);
    overflow: hidden;
    padding-top: 180px;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.08;
    background-image: 
        linear-gradient(30deg, transparent 48%, rgba(201, 152, 46, 0.3) 48%, rgba(201, 152, 46, 0.3) 52%, transparent 52%),
        linear-gradient(-30deg, transparent 48%, rgba(201, 152, 46, 0.3) 48%, rgba(201, 152, 46, 0.3) 52%, transparent 52%);
    background-size: 80px 80px;
}

/* FIXED: Enhanced visibility for white sculpture */
.hero-image-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 70%;
    height: 100%;
    background-image: url('/images/sculpture.webp');
    background-size: contain;
    background-position: center right;
    background-repeat: no-repeat;
    opacity: 0.35;
    z-index: 1;
    filter: brightness(1.5) contrast(1.2) drop-shadow(0 0 60px rgba(201, 152, 46, 0.4));
    mix-blend-mode: screen;
}

.hero-image-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center right, rgba(201, 152, 46, 0.2), transparent 60%);
    z-index: 1;
}

.hero-image-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    /* width: 100%; */
    height: 100%;
    background: linear-gradient(90deg, var(--primary-navy) 0%, rgba(27, 58, 95, 0.7) 30%, transparent 70%);
    z-index: 2;
}

.parallax-geometric {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.geometric-shape {
    position: absolute;
    border: 2px solid rgba(201, 152, 46, 0.15);
}

.geo-1 {
    width: 400px;
    height: 400px;
    top: 10%;
    left: -10%;
    border-radius: 50%;
    transform: rotate(45deg);
}

.geo-2 {
    width: 300px;
    height: 300px;
    bottom: 15%;
    right: -5%;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.geo-3 {
    width: 250px;
    height: 250px;
    top: 50%;
    left: 80%;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: #fff;
    max-width: 1100px;
    padding: 60px 40px;
    animation: fadeInUp 1s ease-out;
}

.hero-badge {
    display: inline-block;
    padding: 8px 24px;
    background: rgba(201, 152, 46, 0.15);
    border: 1px solid rgba(201, 152, 46, 0.3);
    border-radius: 50px;
    color: var(--accent-gold);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.hero-content h1 {
    font-size: 68px;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.15;
    text-shadow: 0 4px 30px rgba(0,0,0,0.5);
    letter-spacing: -1px;
}

.hero-content .subtitle {
    font-size: 22px;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    font-family: 'Inter', sans-serif;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 17px;
    margin-bottom: 45px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    padding: 18px 45px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border: none;
    cursor: pointer;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-gold), #D4A74A);
    color: var(--deep-blue);
    box-shadow: 0 8px 25px rgba(201, 152, 46, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(201, 152, 46, 0.45);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
    transform: translateY(-3px);
}

.btn-tertiary {
    background: transparent;
    color: #1e293b;
    border: 2px solid #1e293b;
    padding: 14px 35px;
}

.btn-tertiary:hover {
    background: var(--primary-navy);
    color: #fff;
    transform: translateY(-3px);
}

.btn-light {
    background: #fff;
    color: var(--primary-navy);
    border: 2px solid #fff;
}

.btn-light:hover {
    background: transparent;
    color: #fff;
    border-color: #fff;
    transform: translateY(-3px);
}

/* ========================================
   Common Section Styles
   ======================================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-label {
    color: var(--accent-gold);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
    display: inline-block;
}

.section-header h2 {
    font-size: 52px;
    color: var(--primary-navy);
    font-weight: 800;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.8;
}

.section-image {
    width: 100%;
    height: 400px;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    margin-bottom: 40px;
}

.section-cta {
    text-align: center;
    margin-top: 50px;
}

/* ========================================
   Services Section - Advanced Parallax
   ======================================== */
.services {
    padding: 140px 0;
    background: linear-gradient(180deg, var(--warm-white) 0%, var(--light-gray) 50%, var(--warm-white) 100%);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(201, 152, 46, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(27, 58, 95, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.services-parallax-container {
    position: relative;
}

.services-diagonal-layout {
    max-width: 1600px;
    margin: 80px auto;
    padding: 0 40px;
    position: relative;
}

/* Service Layer Base */
/* .service-layer {
    margin: 120px 0;
    position: relative;
    opacity: 0;
    transform: translateY(80px);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-layer.active {
    opacity: 1;
    transform: translateY(0);
} */

/* Content Wrapper */
.service-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
}

.service-content-wrapper.left {
    direction: ltr;
}

.service-content-wrapper.right {
    direction: rtl;
}

.service-content-wrapper.right > * {
    direction: ltr;
}

/* Visual Frame */
.service-visual {
    position: relative;
}

.service-image-frame {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 
        0 25px 60px rgba(0,0,0,0.15),
        0 0 0 1px rgba(27, 58, 95, 0.1);
    transform: rotate(-2deg);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-content-wrapper.right .service-image-frame {
    transform: rotate(2deg);
}

.service-layer:hover .service-image-frame {
    transform: rotate(0deg) scale(1.02);
    box-shadow: 
        0 35px 80px rgba(0,0,0,0.2),
        0 0 0 1px var(--accent-gold);
}

.service-image-frame img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-layer:hover .service-image-frame img {
    transform: scale(1.08);
}

/* Image Overlay */
.service-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(27, 58, 95, 0.85) 0%, rgba(44, 82, 130, 0.75) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-layer:hover .service-overlay {
    opacity: 1;
}

.service-number {
    font-size: 120px;
    font-weight: 900;
    font-family: 'Playfair Display', serif;
    color: var(--accent-gold);
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    opacity: 0.9;
}

/* Service Details */
.service-details {
    padding: 40px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.08);
    border: 1px solid var(--border-color);
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-layer:hover .service-details {
    box-shadow: 0 25px 70px rgba(0,0,0,0.12);
    border-color: var(--accent-gold);
}

.service-details::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--accent-gold), var(--primary-navy));
    border-radius: 24px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.5s ease;
}

.service-layer:hover .service-details::before {
    opacity: 0.15;
}

/* Icon Badge */
.service-icon-badge {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-navy), var(--secondary-navy));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(27, 58, 95, 0.25);
    transition: all 0.4s ease;
}

.service-layer:hover .service-icon-badge {
    background: linear-gradient(135deg, var(--accent-gold), #D4A74A);
    /* transform: rotate(10deg) scale(1.1); */
}

.service-icon-badge i {
    font-size: 36px;
    color: #fff;
}

.service-layer:hover .service-icon-badge i {
    color: var(--deep-blue);
}

/* Typography */
.service-details h3 {
    font-size: 32px;
    color: var(--primary-navy);
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
}

.service-details p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 30px;
}

/* Service Highlights */
.service-highlights {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-highlights span {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    padding: 12px 16px;
    background: var(--light-gray);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.service-highlights span:hover {
    background: rgba(201, 152, 46, 0.1);
    transform: translateX(8px);
}

.service-highlights i {
    color: var(--accent-gold);
    font-size: 16px;
}

/* Decorative Elements */
.service-layer::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(201, 152, 46, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}

.service-layer:nth-child(odd)::before {
    top: -150px;
    left: -150px;
}

.service-layer:nth-child(even)::before {
    bottom: -150px;
    right: -150px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .service-content-wrapper {
        gap: 50px;
    }

    .service-image-frame img {
        height: 400px;
    }

    .service-details h3 {
        font-size: 28px;
    }

    .service-number {
        font-size: 100px;
    }
}

@media (max-width: 968px) {
    .services {
        padding: 100px 0;
    }

    .services-diagonal-layout {
        padding: 0 25px;
    }

    .service-layer {
        margin: 80px 0;
    }

    .service-content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-content-wrapper.left,
    .service-content-wrapper.right {
        direction: ltr;
    }

    .service-image-frame {
        transform: rotate(0deg) !important;
    }

    .service-image-frame img {
        height: 350px;
    }

    .service-details {
        padding: 30px 25px;
    }

    .service-details h3 {
        font-size: 26px;
    }
}

@media (max-width: 640px) {
    .service-layer {
        margin: 60px 0;
    }

    .service-image-frame img {
        height: 280px;
    }

    .service-details h3 {
        font-size: 24px;
    }

    .service-number {
        font-size: 80px;
    }

    .service-icon-badge {
        width: 70px;
        height: 70px;
    }

    .service-icon-badge i {
        font-size: 30px;
    }

    .service-highlights span {
        font-size: 13px;
        padding: 10px 14px;
    }
}

/* ========================================
   NDT Services Section
   ======================================== */
.ndt-services {
    padding: 140px 40px;
    background: var(--primary-navy);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.ndt-services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23C9982E" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,144C960,149,1056,139,1152,128C1248,117,1344,107,1392,101.3L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    opacity: 0.3;
}

.ndt-services .section-header h2,
.ndt-services .section-label {
    color: #fff;
}

.ndt-services .section-header p {
    color: rgba(255, 255, 255, 0.8);
}

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

.ndt-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(15px);
    padding: 35px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.ndt-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-8px);
    border-color: var(--accent-gold);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.ndt-card i {
    font-size: 40px;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.ndt-card h4 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #fff;
    font-family: 'Playfair Display', serif;
}

.ndt-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
}

/* ========================================
   Quality Section
   ======================================== */
.quality {
    padding: 140px 40px;
    background: var(--light-gray);
    position: relative;
}

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

.quality-card {
    background: linear-gradient(135deg, var(--primary-navy), var(--secondary-navy));
    padding: 45px;
    border-radius: 16px;
    color: #fff;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.quality-card::before {
    content: '';
    position: absolute;
    top: -60%;
    right: -60%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(201, 152, 46, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.quality-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(27, 58, 95, 0.35);
    background: linear-gradient(135deg, var(--accent-gold), #D4A74A);
    color: var(--deep-blue);
}

.quality-card i {
    font-size: 46px;
    color: var(--accent-gold);
    margin-bottom: 22px;
    transition: color 0.3s ease;
}

.quality-card:hover i {
    color: var(--deep-blue);
}

.quality-card h3 {
    font-size: 25px;
    margin-bottom: 16px;
}

.quality-card p {
    line-height: 1.75;
    opacity: 0.92;
    font-size: 15px;
}

/* ========================================
   Stats Section
   ======================================== */
.stats {
    padding: 120px 40px;
    background: linear-gradient(135deg, var(--deep-blue), var(--primary-navy));
    color: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 60px;
    text-align: center;
}

.stat-item {
    padding: 30px;
    border-radius: 16px;
    transition: all 0.4s ease;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-8px);
}

.stat-item i {
    font-size: 52px;
    color: var(--accent-gold);
    margin-bottom: 22px;
}

.stat-number {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 12px;
    font-family: 'Playfair Display', serif;
    color: var(--accent-gold);
}

.stat-label {
    font-size: 17px;
    opacity: 0.9;
    font-weight: 500;
}

/* ========================================
   Contact Section
   ======================================== */
.contact {
    padding: 140px 40px;
    background: var(--warm-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    margin-top: 60px;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-card {
    background: #fff;
    padding: 35px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 22px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
}

.contact-card:hover {
    transform: translateX(12px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
    border-color: var(--accent-gold);
}

.contact-card i {
    font-size: 34px;
    color: var(--primary-navy);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(27, 58, 95, 0.08);
    border-radius: 14px;
}

.contact-card h4 {
    font-size: 19px;
    margin-bottom: 8px;
    color: var(--primary-navy);
}

.contact-card p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 14px;
}

.contact-form {
    background: #fff;
    padding: 55px;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.08);
    border: 1px solid var(--border-color);
}

.contact-form h3 {
    font-size: 28px;
    margin-bottom: 35px;
    color: var(--primary-navy);
}

.form-group {
    margin-bottom: 28px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 16px 18px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
    font-family: inherit;
    background: var(--light-gray);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-gold);
    background: #fff;
}

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

/* ========================================
   Footer
   ======================================== */
footer {
    background: var(--deep-blue);
    color: #fff;
    padding: 90px 40px 35px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 60px;
    margin-bottom: 60px;
}

.footer-section h3 {
    font-size: 24px;
    margin-bottom: 28px;
    color: var(--accent-gold);
}

.footer-section p {
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 25px;
    font-size: 15px;
}

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

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

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.footer-section ul li a:hover {
    color: var(--accent-gold);
    padding-left: 8px;
}

.footer-section ul li a i {
    color: var(--accent-gold);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-links a {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    background: var(--accent-gold);
    color: var(--deep-blue);
    transform: translateY(-5px);
    border-color: var(--accent-gold);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 35px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

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

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    .logo-icon {
        width: 100px;
        height: 100px;
    }

    /* .logo-title {
        font-size: 22px;
    } */

    .nav-links {
        gap: 30px;
    }

    .hero-content h1 {
        font-size: 52px;
    }

    .section-header h2 {
        font-size: 42px;
    }

    .hero-image-bg {
        width: 60%;
    }
}

@media (max-width: 968px) {
    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 85%;
        max-width: 420px;
        height: 100vh;
        background: var(--primary-navy);
        flex-direction: column;
        padding: 120px 40px 40px;
        gap: 25px;
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        box-shadow: 5px 0 30px rgba(0,0,0,0.3);
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links a {
        color: #fff;
        font-size: 16px;
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .menu-toggle {
        display: block;
    }

    .hero-content h1 {
        font-size: 42px;
    }

    .hero-content .subtitle {
        font-size: 19px;
    }

    /* .safety-content, */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .section-header h2 {
        font-size: 38px;
    }

    /* .safety-features {
        grid-template-columns: 1fr;
    } */

    .contact-form {
        padding: 40px 30px;
    }

    .top-bar .container,
    .nav-container,
    .container {
        padding: 0 25px;
    }

    /* .about, */
    /* .services, */
    /* .safety, */

    .ndt-services,
    .quality,
    .stats,
    .contact {
        padding: 100px 25px;
    }

    .hero-image-bg {
        width: 90%;
        opacity: 0.25;
        height: 100vh;
    }
}

@media (max-width: 640px) {
    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content .subtitle {
        font-size: 17px;
    }

    .hero-content p {
        font-size: 15px;
    }

    .logo-icon {
        width: 80px;
        height: 80px;
    }

    /* .logo-title {
        font-size: 18px;
    } */

    .logo-subtitle {
        font-size: 9px;
    }

    .top-bar .container {
        flex-direction: column;
        gap: 12px;
    }

    .contact-info {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .stat-number {
        font-size: 42px;
    }

    .section-header h2 {
        font-size: 32px;
    }

    .btn {
        padding: 15px 35px;
        font-size: 12px;
    }

    .hero-image-bg {
        width: 100%;
    
    }
}

/* ========================================
   About Section - Parallax Showcase
   ======================================== */
.about {
    padding: 140px 0;
    background: linear-gradient(180deg, var(--warm-white) 0%, var(--light-gray) 100%);
    position: relative;
    overflow: hidden;
}

.about-parallax-wrapper {
    position: relative;
}

.about-parallax-wrapper .container {
    padding: 0 40px;
}

/* Visual Showcase Grid */
.about-visual-showcase {
    margin: 80px 0;
    padding: 0 40px;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(6, 180px);
    gap: 25px;
    max-width: 1600px;
    margin: 0 auto;
}

/* Grid Item Positioning */
.showcase-item.large {
    grid-column: 1 / 8;
    grid-row: 1 / 4;
}

.showcase-item.stats-card {
    grid-column: 8 / 13;
    grid-row: 1 / 3;
}

.showcase-item.medium:nth-of-type(3) {
    grid-column: 1 / 6;
    grid-row: 4 / 6;
}

.showcase-item.quote-card {
    grid-column: 6 / 10;
    grid-row: 4 / 6;
}

.showcase-item.medium:nth-of-type(5) {
    grid-column: 10 / 13;
    grid-row: 3 / 5;
}

.showcase-item.expertise-card {
    grid-column: 8 / 13;
    grid-row: 5 / 7;
}

/* Showcase Items Base */
.showcase-item {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.showcase-item:hover {
    transform: translateY(-8px) scale(1.02);
}

/* Image Items */
.showcase-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
}

.showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.showcase-item:hover .showcase-image img {
    transform: scale(1.08);
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(27, 58, 95, 0.85) 100%);
    display: flex;
    align-items: flex-end;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.showcase-item:hover .image-overlay {
    opacity: 1;
}

.overlay-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
}

.overlay-badge i {
    font-size: 24px;
    color: var(--accent-gold);
}

/* Stats Card */
.stats-card {
    background: linear-gradient(135deg, var(--primary-navy), var(--secondary-navy));
    box-shadow: 0 15px 50px rgba(27, 58, 95, 0.25);
}

.stats-content {
    padding: 40px 35px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 25px;
}

.stat-badge {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.stat-badge:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateX(8px);
}

.stat-badge i {
    font-size: 32px;
    color: var(--accent-gold);
    min-width: 32px;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-info strong {
    font-size: 24px;
    color: #fff;
    font-weight: 800;
    font-family: 'Playfair Display', serif;
    margin-bottom: 4px;
}

.stat-info span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
}

/* Quote Card */
.quote-card {
    background: #fff;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
    border: 1px solid var(--border-color);
}

.quote-content {
    padding: 45px 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.quote-content i {
    font-size: 42px;
    color: var(--accent-gold);
    margin-bottom: 25px;
    opacity: 0.3;
}

.quote-content p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-primary);
    font-style: italic;
    margin-bottom: 25px;
}

.quote-footer {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-line {
    width: 50px;
    height: 2px;
    background: var(--accent-gold);
}

.quote-footer span {
    font-size: 14px;
    color: var(--primary-navy);
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Expertise Card */
.expertise-card {
    background: linear-gradient(135deg, var(--accent-gold), #D4A74A);
    box-shadow: 0 15px 50px rgba(201, 152, 46, 0.3);
    color: var(--deep-blue);
}

.expertise-content {
    padding: 40px 35px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.expertise-icon {
    width: 70px;
    height: 70px;
    background: rgba(15, 41, 66, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.expertise-icon i {
    font-size: 32px;
    color: var(--deep-blue);
}

.expertise-content h4 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--deep-blue);
}

.expertise-content p {
    font-size: 15px;
    line-height: 1.75;
    color: rgba(15, 41, 66, 0.85);
    margin-bottom: 20px;
}

.expertise-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.expertise-features span {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--deep-blue);
}

.expertise-features i {
    font-size: 16px;
    color: rgba(15, 41, 66, 0.7);
}

/* CTA Wrapper */
.about-cta-wrapper {
    max-width: 1200px;
    margin: 80px auto 0;
    padding: 50px 60px;
    background: linear-gradient(135deg, var(--primary-navy), var(--secondary-navy));
    border-radius: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    box-shadow: 0 20px 60px rgba(27, 58, 95, 0.25);
    position: relative;
    overflow: hidden;
}

.about-cta-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(201, 152, 46, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.about-cta-wrapper .cta-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.about-cta-wrapper .cta-content h3 {
    font-size: 32px;
    color: #fff;
    margin-bottom: 12px;
}

.about-cta-wrapper .cta-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

.about-cta-wrapper .btn {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    border:2px solid var(--warm-white) !important;
    color: var(--warm-white) !important;
}

/* Parallax Effect */
@media (hover: hover) {
    .showcase-item[data-parallax-speed] {
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .showcase-grid {
        grid-template-rows: repeat(6, 160px);
        gap: 20px;
    }
}

@media (max-width: 968px) {
    .about {
        padding: 100px 0;
    }

    .showcase-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 25px;
    }

    .showcase-item {
        grid-column: 1 !important;
        grid-row: auto !important;
        min-height: 300px;
    }

    .showcase-item.stats-card,
    .showcase-item.quote-card,
    .showcase-item.expertise-card {
        min-height: auto;
    }

    .about-cta-wrapper {
        flex-direction: column;
        text-align: center;
        padding: 40px 30px;
    }
}

@media (max-width: 640px) {
    .about-visual-showcase {
        padding: 0 25px;
    }

    .showcase-item {
        min-height: 250px;
    }

    .stats-content {
        padding: 30px 25px;
        gap: 20px;
    }

    .stat-badge {
        padding: 15px;
    }

    .stat-info strong {
        font-size: 20px;
    }

    .quote-content {
        padding: 30px 25px;
    }

    .quote-content p {
        font-size: 15px;
    }

    .expertise-content {
        padding: 30px 25px;
    }

    .expertise-content h4 {
        font-size: 20px;
    }

    .about-cta-wrapper .cta-content h3 {
        font-size: 26px;
    }
}




/* ========================================
   Safety Section - Retro Parallax
   ======================================== */
.safety {
    padding: 140px 40px;
    background: var(--warm-white);
    position: relative;
    overflow: hidden;
}

.safety-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
}

/* Retro Parallax - Image from Left */
/* .safety-image {
    opacity: 0;
    transform: translateX(-120px);
    transition: all 1.2s cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: transform, opacity;
} */

.safety-image.parallax-active {
    opacity: 1;
    transform: translateX(0);
}

/* Keep parallax effect active after initial trigger */
.safety-image.parallax-locked {
    opacity: 1;
    transform: translateX(0);
}

.safety-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
    transform: scale(0.95);
    transition: all 0.6s ease;
}

.safety-image.parallax-active img {
    transform: scale(1);
}

/* Retro Parallax - Content from Right */
/* .safety-text {
    opacity: 0;
    transform: translateX(120px);
    transition: all 1.2s cubic-bezier(0.22, 0.61, 0.36, 1) 0.2s;
    will-change: transform, opacity;
} */

.safety-text.parallax-active {
    opacity: 1;
    transform: translateX(0);
}

/* Keep parallax effect active after initial trigger */
.safety-text.parallax-locked {
    opacity: 1;
    transform: translateX(0);
}

/* .safety-text h2 {
    font-size: 48px;
    color: var(--primary-navy);
    margin-bottom: 28px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease 0.4s;
} */

.safety-text.parallax-active h2 {
    opacity: 1;
    transform: translateY(0);
}
/* 
.safety-text p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease 0.5s;
} */

.safety-text.parallax-active p {
    opacity: 1;
    transform: translateY(0);
}

/* .safety-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 45px;
} */

.safety-feature {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}
/* 
.safety-feature:nth-child(1) {
    transition-delay: 0.6s;
}

.safety-feature:nth-child(2) {
    transition-delay: 0.7s;
}

.safety-feature:nth-child(3) {
    transition-delay: 0.8s;
}

.safety-feature:nth-child(4) {
    transition-delay: 0.9s;
} */

.safety-text.parallax-active .safety-feature {
    opacity: 1;
    transform: translateY(0);
}

.safety-feature i {
    font-size: 26px;
    color: var(--accent-burgundy);
    margin-top: 5px;
    transition: all 0.3s ease;
}

.safety-feature:hover i {
    transform: scale(1.15) rotate(5deg);
    color: var(--accent-gold);
}

.safety-feature h4 {
    font-size: 19px;
    margin-bottom: 10px;
    color: var(--primary-navy);
}

.safety-feature p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.7;
}

/* Continuous Parallax Effect on Scroll */
.safety-image.parallax-locked,
.safety-text.parallax-locked {
    transition: transform 0.3s ease-out;
}

/* Decorative Background Element */
.safety::before {
    content: '';
    position: absolute;
    top: 20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 38, 53, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

@media (max-width: 968px) {
    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 85%;
        max-width: 420px;
        height: 100vh;
        background: var(--primary-navy);
        flex-direction: column;
        padding: 120px 40px 40px;
        gap: 25px;
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        box-shadow: 5px 0 30px rgba(0,0,0,0.3);
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links a {
        color: #fff;
        font-size: 16px;
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .menu-toggle {
        display: block;
    }

    .hero-content h1 {
        font-size: 42px;
    }

    .hero-content .subtitle {
        font-size: 19px;
    }

    .safety-content,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    /* Reset parallax transforms for mobile */
    .safety-image,
    .safety-text {
        transform: none !important;
        opacity: 1 !important;
    }

    .safety-image.parallax-active,
    .safety-image.parallax-locked,
    .safety-text.parallax-active,
    .safety-text.parallax-locked {
        transform: none !important;
    }

    .safety-text h2,
    .safety-text p,
    .safety-feature {
        opacity: 1 !important;
        transform: none !important;
    }

    .safety-text h2 {
        font-size: 36px;
    }

    .section-header h2 {
        font-size: 38px;
    }

    .safety-features {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 40px 30px;
    }

    .top-bar .container,
    .nav-container,
    .container {
        padding: 0 25px;
    }

    /* .about, */
    /* .services, */
    .safety,
    .ndt-services,
    .quality,
    .stats,
    .contact {
        padding: 100px 25px;
    }

    .hero-image-bg {
        width: 90%;
        opacity: 0.25;
        height: 100vh;
    }
}

@media (max-width: 640px) {
    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content .subtitle {
        font-size: 17px;
    }

    .hero-content p {
        font-size: 15px;
    }

    .logo-icon {
        width: 80px;
        height: 80px;
    }

    /* .logo-title {
        font-size: 18px;
    } */

    .logo-subtitle {
        font-size: 9px;
    }

    .top-bar .container {
        flex-direction: column;
        gap: 12px;
    }

    .contact-info {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .stat-number {
        font-size: 42px;
    }

    .section-header h2 {
        font-size: 32px;
    }

    .btn {
        padding: 15px 35px;
        font-size: 12px;
    }

    .hero-image-bg {
        width: 100%;
    }

    /* Safety Section Mobile Fixes */
    .safety-text h2 {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .safety-text p {
        font-size: 15px;
        margin-bottom: 16px;
    }

    .safety-features {
        margin-top: 30px;
        gap: 20px;
    }

    .safety-feature {
        gap: 14px;
    }

    .safety-feature i {
        font-size: 22px;
    }

    .safety-feature h4 {
        font-size: 17px;
        margin-bottom: 6px;
    }

    .safety-feature p {
        font-size: 13px;
    }

    .safety-image img {
        border-radius: 16px;
    }

    /* Ensure all content is visible on mobile */
    .safety-image,
    .safety-text,
    .safety-text h2,
    .safety-text p,
    .safety-feature {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}




/* ========================================
   Scroll to Top Button
   ======================================== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--accent-gold), #D4A74A);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--deep-blue);
    font-size: 22px;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(201, 152, 46, 0.4);
    border: none;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.scroll-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 12px 35px rgba(201, 152, 46, 0.5);
    background: linear-gradient(135deg, #D4A74A, var(--accent-gold));
}

.scroll-to-top:active {
    transform: translateY(-2px) scale(1.05);
}

.scroll-to-top i {
    animation: bounce-up 1.5s ease-in-out infinite;
}

@keyframes bounce-up {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Mobile Adjustments */
@media (max-width: 968px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

@media (max-width: 640px) {
    .scroll-to-top {
        bottom: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}







/* ========================================
   OPTIMIZED Reveal Animations
   ======================================== */

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.service-layer {
    margin: 120px 0;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-layer.active {
    opacity: 1;
    transform: translateY(0);
}

.safety-image {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.safety-text {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.safety-image.parallax-active,
.safety-text.parallax-active {
    opacity: 1;
    transform: translateX(0);
}

.safety-text h2 {
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.4s ease 0.1s;
}

.safety-text.parallax-active h2 {
    opacity: 1;
    transform: translateY(0);
}

.safety-text p {
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.4s ease 0.15s;
}

.safety-text.parallax-active p {
    opacity: 1;
    transform: translateY(0);
}

.safety-feature {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.safety-feature:nth-child(1) { transition-delay: 0.2s; }
.safety-feature:nth-child(2) { transition-delay: 0.25s; }
.safety-feature:nth-child(3) { transition-delay: 0.3s; }
.safety-feature:nth-child(4) { transition-delay: 0.35s; }

.safety-text.parallax-active .safety-feature {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile optimizations */
@media (max-width: 968px) {
    .reveal,
    .service-layer,
    .safety-image,
    .safety-text,
    .safety-text h2,
    .safety-text p,
    .safety-feature {
        transition-duration: 0.3s;
        transition-delay: 0s;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .reveal,
    .service-layer,
    .safety-image,
    .safety-text,
    .safety-text h2,
    .safety-text p,
    .safety-feature {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

