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

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            background: #f8faff;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        /* ----- COLOR PALETTE ----- */
        :root {
            --primary-dark-blue: #2B3990;
            --accent-red: #E31E24;
            --soft-ice-blue: #E6F0FA;
            --white: #FFFFFF;
            --dark-text: #1A1F36;
            --light-bg: #f2f6fe;
        }
  /* ----- COLOR PALETTE ----- */
        :root {
            --primary-dark-blue: #2B3990;
            --accent-red: #E31E24;
            --soft-ice-blue: #E6F0FA;
            --white: #FFFFFF;
            --dark-text: #1A1F36;
            --light-bg: #f2f6fe;
        }

        /* ========== ROOT CANAL HERO ========== */
        .rootcanal-hero {
            position: relative;
            min-height: 92vh;
            display: flex;
            align-items: center;
            overflow: hidden;
            background: var(--white);
            padding: 5rem 0 4rem 0;
        }

        /* animated gradient background */
        .rootcanal-hero::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle at 25% 35%, var(--soft-ice-blue) 0%, transparent 55%),
                radial-gradient(circle at 75% 65%, rgba(227, 30, 36, 0.05) 0%, transparent 45%);
            animation: heroBgFloat 20s ease-in-out infinite alternate;
            z-index: 0;
        }

        @keyframes heroBgFloat {
            0% {
                transform: translate(0, 0) scale(1);
            }
            50% {
                transform: translate(2%, -3%) scale(1.02);
            }
            100% {
                transform: translate(-2%, 2%) scale(0.98);
            }
        }

        /* floating shapes - tooth inspired */
        .rootcanal-hero .shape {
            position: absolute;
            border-radius: 50%;
            opacity: 0.06;
            pointer-events: none;
            z-index: 0;
        }

        .shape-tooth-1 {
            width: 350px;
            height: 350px;
            background: var(--primary-dark-blue);
            top: -80px;
            right: -30px;
            animation: floatShape 16s ease-in-out infinite alternate;
            border-radius: 40% 60% 50% 50% / 30% 40% 60% 70%;
        }

        .shape-tooth-2 {
            width: 250px;
            height: 250px;
            background: var(--accent-red);
            bottom: -60px;
            left: -40px;
            animation: floatShape 20s ease-in-out infinite alternate-reverse;
            border-radius: 60% 40% 30% 70% / 50% 60% 40% 50%;
        }

        .shape-tooth-3 {
            width: 150px;
            height: 150px;
            background: var(--primary-dark-blue);
            top: 45%;
            right: 10%;
            animation: floatShape 14s ease-in-out infinite alternate;
            opacity: 0.04;
            border-radius: 30% 70% 60% 40% / 50% 40% 60% 50%;
        }

        @keyframes floatShape {
            0% {
                transform: translate(0, 0) scale(1) rotate(0deg);
            }
            100% {
                transform: translate(40px, -30px) scale(1.1) rotate(8deg);
            }
        }

        /* content */
        .rootcanal-hero .hero-content {
            position: relative;
            z-index: 2;
        }

        .rootcanal-hero .hero-badge {
            display: inline-block;
            background: var(--accent-red);
            color: var(--white);
            font-weight: 600;
            font-size: 0.7rem;
            letter-spacing: 1.5px;
            padding: 0.4rem 1.8rem;
            border-radius: 60px;
            text-transform: uppercase;
            margin-bottom: 1rem;
            animation: fadeInUp 0.8s ease forwards;
            opacity: 0;
            animation-delay: 0.2s;
        }

        .rootcanal-hero .hero-title {
            font-weight: 900;
            font-size: 4rem;
            color: var(--primary-dark-blue);
            letter-spacing: -1px;
            line-height: 1.08;
            animation: fadeInUp 0.8s ease forwards;
            opacity: 0;
            animation-delay: 0.4s;
        }

        .rootcanal-hero .hero-title .highlight {
            color: var(--accent-red);
            position: relative;
        }

        .rootcanal-hero .hero-title .highlight::after {
            content: '';
            position: absolute;
            bottom: 2px;
            left: 0;
            width: 100%;
            height: 6px;
            background: var(--accent-red);
            border-radius: 10px;
            opacity: 0.2;
        }

        .rootcanal-hero .hero-subtitle {
            font-size: 1.15rem;
            line-height: 1.8;
            color: #4a5280;
            max-width: 520px;
            margin-top: 1.2rem;
            animation: fadeInUp 0.8s ease forwards;
            opacity: 0;
            animation-delay: 0.6s;
        }

        .rootcanal-hero .hero-features {
            display: flex;
            gap: 1.8rem;
            margin-top: 2rem;
            flex-wrap: wrap;
            animation: fadeInUp 0.8s ease forwards;
            opacity: 0;
            animation-delay: 0.8s;
        }

        .rootcanal-hero .feature-item {
            display: flex;
            align-items: center;
            gap: 10px;
            background: var(--soft-ice-blue);
            padding: 0.5rem 1.4rem 0.5rem 1rem;
            border-radius: 50px;
            border-left: 3px solid var(--accent-red);
        }

        .rootcanal-hero .feature-item i {
            font-size: 1.2rem;
            color: var(--accent-red);
        }

        .rootcanal-hero .feature-item span {
            font-weight: 500;
            color: var(--dark-text);
            font-size: 0.9rem;
        }

        .rootcanal-hero .hero-buttons {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
            margin-top: 2rem;
            animation: fadeInUp 0.8s ease forwards;
            opacity: 0;
            animation-delay: 1s;
        }

        .btn-primary-custom {
            background: var(--accent-red);
            border: none;
            color: var(--white);
            font-weight: 700;
            padding: 0.8rem 2.4rem;
            border-radius: 60px;
            font-size: 1rem;
            transition: all 0.3s ease;
            box-shadow: 0 8px 28px rgba(227, 30, 36, 0.25);
            border: 1px solid var(--accent-red);
            display: inline-flex;
            align-items: center;
            gap: 10px;
            text-decoration: none;
        }

        .btn-primary-custom:hover {
            background: #c41a1f;
            transform: translateY(-3px);
            box-shadow: 0 12px 36px rgba(227, 30, 36, 0.35);
            color: white;
        }

        .btn-outline-custom {
            background: transparent;
            border: 2px solid var(--primary-dark-blue);
            color: var(--primary-dark-blue);
            font-weight: 700;
            padding: 0.8rem 2.4rem;
            border-radius: 60px;
            font-size: 1rem;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            text-decoration: none;
        }

        .btn-outline-custom:hover {
            background: var(--primary-dark-blue);
            color: var(--white);
            transform: translateY(-3px);
            box-shadow: 0 8px 28px rgba(43, 57, 144, 0.2);
        }

        /* ----- IMAGE SIDE (animated) ----- */
        .rootcanal-hero .hero-image-wrapper {
            position: relative;
            z-index: 2;
            animation: fadeInRight 1s ease forwards;
            opacity: 0;
            animation-delay: 0.5s;
        }

        .rootcanal-hero .hero-image-wrapper .main-img {
            width: 100%;
            border-radius: 30px;
            box-shadow: 0 30px 70px rgba(43, 57, 144, 0.10);
            border: 4px solid var(--white);
            transition: transform 0.6s ease;
            object-fit: cover;
            max-height: 500px;
        }

        .rootcanal-hero .hero-image-wrapper:hover .main-img {
            transform: scale(1.01);
        }

        /* floating badge on image */
        .rootcanal-hero .floating-badge {
            position: absolute;
            bottom: 24px;
            left: 24px;
            background: rgba(255, 255, 255, 0.92);
            backdrop-filter: blur(10px);
            padding: 0.8rem 1.6rem;
            border-radius: 60px;
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
            display: flex;
            align-items: center;
            gap: 14px;
            border: 1px solid rgba(255, 255, 255, 0.3);
            animation: fadeInUp 0.8s ease forwards;
            opacity: 0;
            animation-delay: 1.2s;
        }

        .floating-badge i {
            font-size: 0.8rem;
            color: var(--accent-red);
        }

        .floating-badge .badge-text strong {
            font-weight: 700;
            color: var(--primary-dark-blue);
            font-size: 1rem;
            line-height: 1.2;
        }

        .floating-badge .badge-text small {
            font-size: 0.7rem;
            color: #5a6180;
            font-weight: 500;
            letter-spacing: 0.2px;
        }

        /* success rate badge */
        .rootcanal-hero .success-badge {
            position: absolute;
            top: 24px;
            right: 24px;
            background: rgba(255, 255, 255, 0.92);
            backdrop-filter: blur(8px);
            padding: 0.6rem 1.4rem;
            border-radius: 40px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
            display: flex;
            align-items: center;
            gap: 10px;
            border: 1px solid rgba(255, 255, 255, 0.3);
            animation: fadeInDown 0.8s ease forwards;
            opacity: 0;
            animation-delay: 1s;
        }

        .success-badge .success-icon {
            font-size: 0.8rem;
            color: #22c55e;
        }

        .success-badge .success-text {
            font-weight: 700;
            color: var(--dark-text);
            font-size: 0.85rem;
        }

        .success-badge .success-text strong {
            color: var(--primary-dark-blue);
            font-size: 0.8rem;
        }

        /* pulse ring */
        .rootcanal-hero .pulse-ring {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            pointer-events: none;
            border-radius: 30px;
            border: 2px solid rgba(227, 30, 36, 0.08);
            animation: pulseRing 3.5s ease-in-out infinite;
        }

        @keyframes pulseRing {
            0% {
                transform: scale(1);
                opacity: 0.6;
            }
            50% {
                transform: scale(1.04);
                opacity: 0;
            }
            100% {
                transform: scale(1);
                opacity: 0.6;
            }
        }

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

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

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

        /* responsive */
        @media (max-width: 991px) {
            .rootcanal-hero .hero-title {
                font-size: 3rem;
            }
            .rootcanal-hero {
                padding: 4rem 0 3rem 0;
                min-height: auto;
            }
            .rootcanal-hero .hero-image-wrapper .main-img {
                max-height: 380px;
                margin-top: 2rem;
            }
            .shape-tooth-1,
            .shape-tooth-2,
            .shape-tooth-3 {
                display: none;
            }
            .rootcanal-hero .hero-features {
                gap: 1rem;
            }
        }

        @media (max-width: 576px) {
            .rootcanal-hero .hero-title {
                font-size: 2.2rem;
            }
            .rootcanal-hero .hero-subtitle {
                font-size: 1rem;
            }
            .rootcanal-hero .hero-features {
                flex-direction: column;
                gap: 0.7rem;
            }
            .rootcanal-hero .feature-item {
                padding: 0.4rem 1.2rem 0.4rem 0.8rem;
            }
            .rootcanal-hero .hero-image-wrapper .main-img {
                max-height: 280px;
            }
            .rootcanal-hero .floating-badge {
                bottom: 14px;
                left: 14px;
                padding: 0.5rem 1rem;
            }
            .floating-badge i {
                font-size: 1.3rem;
            }
            .rootcanal-hero .success-badge {
                top: 14px;
                right: 14px;
                padding: 0.4rem 1rem;
            }
            .btn-primary-custom,
            .btn-outline-custom {
                padding: 0.6rem 1.6rem;
                font-size: 0.9rem;
            }
        }





        /* ========== SECTION 1: WHY CHOOSE US ========== */
        .why-choose-section {
            padding: 5rem 0;
            background: var(--white);
            position: relative;
            overflow: hidden;
        }

        .why-choose-section .section-badge {
            display: inline-block;
            background: var(--soft-ice-blue);
            color: var(--primary-dark-blue);
            font-weight: 600;
            font-size: 0.7rem;
            letter-spacing: 1.5px;
            padding: 0.4rem 1.8rem;
            border-radius: 60px;
            text-transform: uppercase;
            margin-bottom: 0.8rem;
            border: 1px solid rgba(43, 57, 144, 0.08);
        }

        .why-choose-section .section-title {
            font-weight: 800;
            font-size: 2.6rem;
            color: var(--primary-dark-blue);
            letter-spacing: -0.5px;
        }

        .why-choose-section .section-title span {
            color: var(--accent-red);
        }

        .why-choose-section .section-subtitle {
            color: #5a6180;
            font-size: 1.05rem;
            max-width: 540px;
        }

        /* reason cards */
        .reason-card {
            background: var(--white);
            padding: 2rem 1.8rem;
            border-radius: 20px;
            text-align: center;
            transition: all 0.4s ease;
            border: 1px solid rgba(43, 57, 144, 0.04);
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
            height: 100%;
            position: relative;
            overflow: hidden;
            border: 1px solid black;
            
        }

        .reason-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(90deg, var(--primary-dark-blue), var(--accent-red));
            transform: scaleX(0);
            transition: transform 0.4s ease;
            transform-origin: left;
        }

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

        .reason-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 16px 48px rgba(43, 57, 144, 0.06);
            border-color: var(--soft-ice-blue);
        }

        .reason-card .reason-icon {
            width: 70px;
            height: 70px;
            background: var(--soft-ice-blue);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1.2rem;
            font-size: 2rem;
            color: var(--accent-red);
            transition: 0.3s;
        }

        .reason-card:hover .reason-icon {
            background: var(--primary-dark-blue);
            color: var(--white);
            transform: scale(1.05);
        }

        .reason-card h5 {
            font-weight: 700;
            color: var(--primary-dark-blue);
            font-size: 1.1rem;
            margin-bottom: 0.6rem;
        }

        .reason-card p {
            font-size: 0.92rem;
            color: #5a6180;
            line-height: 1.6;
            margin: 0;
        }

        /* ========== SECTION 2: TREATMENT PROCESS ========== */
        .process-section {
            padding: 5rem 0;
            background: var(--light-bg);
            position: relative;
        }

        .process-section .section-badge {
            display: inline-block;
            background: var(--primary-dark-blue);
            color: var(--white);
            font-weight: 600;
            font-size: 0.7rem;
            letter-spacing: 1.5px;
            padding: 0.4rem 1.8rem;
            border-radius: 60px;
            text-transform: uppercase;
            margin-bottom: 0.8rem;
        }

        .process-section .section-title {
            font-weight: 800;
            font-size: 2.6rem;
            color: var(--primary-dark-blue);
            letter-spacing: -0.5px;
        }

        .process-section .section-title span {
            color: var(--accent-red);
        }

        .process-section .section-subtitle {
            color: #5a6180;
            font-size: 1.05rem;
            max-width: 540px;
        }

        /* timeline */
        .process-timeline {
            position: relative;
            padding: 0 0.5rem;
        }

        .process-timeline::before {
            content: '';
            position: absolute;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 4px;
            height: 100%;
            background: linear-gradient(180deg, var(--primary-dark-blue), var(--accent-red), var(--primary-dark-blue));
            border-radius: 10px;
            opacity: 0.2;
        }

        .process-step {
            display: flex;
            align-items: flex-start;
            margin-bottom: 2.5rem;
            position: relative;
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInStep 0.7s ease forwards;
        }

        .process-step:nth-child(1) {
            animation-delay: 0.2s;
        }
        .process-step:nth-child(2) {
            animation-delay: 0.4s;
        }
        .process-step:nth-child(3) {
            animation-delay: 0.6s;
        }
        .process-step:nth-child(4) {
            animation-delay: 0.8s;
        }
        .process-step:nth-child(5) {
            animation-delay: 1s;
        }

        @keyframes fadeInStep {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .process-step .step-number {
            min-width: 48px;
            height: 48px;
            background: var(--primary-dark-blue);
            color: var(--white);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 800;
            font-size: 1.1rem;
            margin-right: 1.5rem;
            flex-shrink: 0;
            position: relative;
            z-index: 2;
            border: 3px solid var(--white);
            box-shadow: 0 4px 16px rgba(43, 57, 144, 0.15);
            transition: 0.3s;
        }

        .process-step:hover .step-number {
            background: var(--accent-red);
            transform: scale(1.05);
            box-shadow: 0 6px 24px rgba(227, 30, 36, 0.25);
        }

        .process-step .step-content {
            background: var(--white);
            padding: 1.2rem 1.8rem;
            border-radius: 16px;
            flex: 1;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
            border: 1px solid rgba(43, 57, 144, 0.04);
            transition: 0.3s;
        }

        .process-step .step-content:hover {
            box-shadow: 0 8px 32px rgba(43, 57, 144, 0.06);
            border-color: var(--soft-ice-blue);
        }

        .process-step .step-content h5 {
            font-weight: 700;
            color: var(--primary-dark-blue);
            font-size: 1.05rem;
            margin-bottom: 0.3rem;
        }

        .process-step .step-content h5 i {
            color: var(--accent-red);
            margin-right: 8px;
        }

        .process-step .step-content p {
            font-size: 0.9rem;
            color: #5a6180;
            line-height: 1.6;
            margin: 0;
        }

        .process-step .step-icon {
            font-size: 1.8rem;
            margin-right: 1.2rem;
            color: var(--accent-red);
            flex-shrink: 0;
            display: none;
        }

        /* responsive */
        @media (max-width: 991px) {
            .why-choose-section .section-title,
            .process-section .section-title {
                font-size: 2.2rem;
            }
            .process-timeline::before {
                left: 24px;
            }
            .process-step {
                padding-left: 3rem;
            }
            .process-step .step-number {
                position: absolute;
                left: 0;
                top: 0;
                margin-right: 0;
            }
            .process-step .step-content {
                padding: 1rem 1.4rem;
            }
        }

        @media (max-width: 576px) {
            .why-choose-section .section-title,
            .process-section .section-title {
                font-size: 1.8rem;
            }
            .reason-card {
                padding: 1.5rem 1.2rem;
            }
            .process-step .step-content {
                padding: 0.8rem 1rem;
            }
            .process-step .step-content h5 {
                font-size: 0.95rem;
            }
            .process-step .step-content p {
                font-size: 0.85rem;
            }
        }
