:root {
    --primary: #1e3a8a;
    --primary-dark: #0f172a;
    --accent: #f59e0b;
    --accent-hover: #d97706;
    --text-main: #334155;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
}

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

body {
    background-color: var(--bg-light);
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    color: var(--text-main);
    scroll-behavior: smooth;
}

/* --- ENHANCED HERO SECTION --- */
.cons-hero {
    position: relative;
    height: 90vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #3b82f6 100%);
    margin-top: 80px;
    overflow: hidden;
}

.cons-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    animation: subtleZoom 25s infinite alternate;
}

.cons-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to top, var(--bg-light), transparent);
    z-index: 1;
}

@keyframes subtleZoom {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.08);
    }
}

/* Animated gradient overlay */
.hero-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg,
            rgba(245, 158, 11, 0.1),
            transparent,
            rgba(59, 130, 246, 0.1));
    animation: gradientShift 15s ease infinite;
    z-index: 1;
}

@keyframes gradientShift {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.6;
    }
}

.hero-content {
    z-index: 2;
    padding: 0 20px;
    animation: heroFadeIn 1s ease-out;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

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

.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.1;
    background: linear-gradient(120deg, #fff 0%, #fbbf24 50%, #fff 100%);
    background-size: 200% auto;
    /* Standard property */
    background-clip: text;
    /* Webkit support */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    to {
        background-position: 200% center;
    }
}

.hero-content p {
    font-size: 1.3rem;
    color: #e0e7ff;
    max-width: 800px;
    margin: 0 auto 50px;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.3s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.trust-badge-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.t-badge {
    background: rgba(255, 255, 255, 0.12);
    padding: 16px 28px;
    border-radius: 60px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

.t-badge:hover::before {
    left: 100%;
}

.t-badge:hover {
    transform: translateY(-8px) scale(1.05);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.t-badge i {
    color: var(--accent);
    font-size: 1.2rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* --- SECTION HEADERS --- */
.section-header {
    text-align: center;
    margin-bottom: 70px;
    padding: 0 20px;
}

.section-header h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    border-radius: 2px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 20px auto 0;
}

/* --- ENHANCED PRICING SECTION --- */
.packages-section {
    padding: 120px 0;
    background: linear-gradient(to bottom, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
    position: relative;
}

.packages-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 300px;
    background: radial-gradient(ellipse at top, rgba(59, 130, 246, 0.05), transparent);
    pointer-events: none;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 35px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.pricing-card {
    background: var(--white);
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 2px solid transparent;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    height: 100%;
}

.pricing-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 32px;
    padding: 2px;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    /* Standard property */
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    /* Webkit support */
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    opacity: 0;
    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-16px) scale(1.02);
    box-shadow: 0 24px 48px rgba(30, 58, 138, 0.15);
}

.pricing-card:hover::before {
    opacity: 1;
}

.pricing-card.featured {
    border: 2px solid var(--accent);
    transform: scale(1.05);
    z-index: 5;
    box-shadow: 0 20px 50px rgba(245, 158, 11, 0.2);
}

.pricing-card.featured:hover {
    transform: translateY(-16px) scale(1.07);
}

.pkg-img-wrapper {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.pkg-img-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
    transition: var(--transition);
}

.pkg-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: brightness(0.95);
}

.pricing-card:hover .pkg-img {
    transform: scale(1.15) rotate(2deg);
    filter: brightness(1.05);
}

.popular-ribbon {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--accent), #fb923c);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: ribbonPulse 2s infinite;
}

@keyframes ribbonPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.pkg-content {
    padding: 35px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.pkg-title {
    font-size: 1.75rem;
    color: var(--primary-dark);
    font-weight: 700;
    margin-bottom: 12px;
}

.pkg-price {
    font-size: 2.5rem;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 28px;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.pkg-price span {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 35px 0;
    flex-grow: 1;
}

.features-list li {
    margin-bottom: 16px;
    color: var(--text-main);
    font-size: 0.98rem;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: var(--transition);
    padding-left: 4px;
}

.pricing-card:hover .features-list li {
    padding-left: 8px;
}

.features-list li i {
    color: #10b981;
    font-size: 1rem;
    flex-shrink: 0;
}

.btn-select {
    width: 100%;
    padding: 18px;
    border-radius: 16px;
    border: none;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    transition: var(--transition);
    background: var(--primary-dark);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.btn-select::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-select:hover::before {
    width: 300px;
    height: 300px;
}

.btn-select:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(245, 158, 11, 0.3);
}

.btn-select i {
    transition: transform 0.3s;
}

.btn-select:hover i {
    transform: translateX(5px);
}

.featured .btn-select {
    background: linear-gradient(135deg, var(--accent), #fb923c);
}

/* --- ENHANCED PROCESS SECTION --- */
.process-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #f1f5f9 0%, #e0e7ff 100%);
    position: relative;
    overflow: hidden;
}

.process-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08), transparent);
    pointer-events: none;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.process-step {
    text-align: center;
    position: relative;
    padding: 30px 20px;
    background: white;
    border-radius: 24px;
    transition: var(--transition);
    border: 2px solid transparent;
}

.process-step:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(245, 158, 11, 0.3);
}

.step-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary), #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    margin: 0 auto 25px;
    box-shadow: 0 12px 30px rgba(30, 58, 138, 0.2);
    z-index: 2;
    position: relative;
    transition: var(--transition);
}

.process-step:hover .step-icon {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 16px 40px rgba(30, 58, 138, 0.3);
}

.step-num {
    font-size: 6rem;
    color: rgba(30, 58, 138, 0.05);
    font-weight: 800;
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
    transition: var(--transition);
}

.process-step:hover .step-num {
    color: rgba(245, 158, 11, 0.1);
    transform: translateX(-50%) scale(1.1);
}

.process-step h4 {
    font-weight: 700;
    color: #1e3a8a;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.process-step p {
    font-size: 0.95rem;
    color: #666;
}

/* --- ENHANCED CALCULATOR --- */
.calc-section {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--primary) 0%, #1e40af 50%, var(--primary-dark) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.calc-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(245, 158, 11, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.calc-box {
    background: white;
    color: #333;
    padding: 60px;
    border-radius: 36px;
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
    animation: floatIn 1s ease-out;
}

@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

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

.calc-input-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.calc-input-grid>div {
    animation: slideInUp 0.6s ease-out both;
}

.calc-input-grid>div:nth-child(1) {
    animation-delay: 0.1s;
}

.calc-input-grid>div:nth-child(2) {
    animation-delay: 0.2s;
}

.calc-input-grid>div:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* --- ENHANCED FILING & BOOKING --- */
.filing-section {
    padding: 120px 0;
    background: white;
}

.filing-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.docs-card {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 28px;
    padding: 40px;
    border: 2px solid #e2e8f0;
    margin-bottom: 30px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.docs-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.05), transparent);
    pointer-events: none;
}

.docs-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: rgba(30, 58, 138, 0.2);
}

.docs-card h3 {
    color: var(--primary);
    font-size: 1.4rem;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.doc-list li {
    list-style: none;
    padding: 18px;
    background: #fff;
    border: 2px dashed #cbd5e1;
    border-radius: 14px;
    text-align: center;
    color: #64748b;
    margin-bottom: 12px;
    transition: var(--transition);
}

.doc-list li:hover {
    border-color: var(--accent);
    background: #fffbeb;
    transform: translateX(8px);
}

.cta-visit-card {
    background: linear-gradient(135deg, #ffffff 0%, #fffbeb 100%) !important;
    border: 2px solid #fde68a !important;
    display: flex;
    gap: 25px;
    align-items: center;
    transition: var(--transition);
}

.cta-visit-card:hover {
    box-shadow: 0 16px 40px rgba(245, 158, 11, 0.2);
}

.cta-icon-box {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent), #fb923c);
    color: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
    transition: var(--transition);
}

.cta-visit-card:hover .cta-icon-box {
    transform: rotate(15deg) scale(1.1);
}

.booking-form-card {
    background: white;
    padding: 50px;
    border-radius: 32px;
    box-shadow: var(--shadow-lg);
    border: 2px solid #f1f5f9;
    transition: var(--transition);
}

.booking-form-card:hover {
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.12);
}

.form-row-dual {
    display: flex;
    gap: 25px;
}

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

.input-label {
    display: block;
    font-weight: 600;
    color: var(--primary);
    font-size: 0.88rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 16px;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.1);
    transform: translateY(-2px);
}

.btn-submit {
    width: 100%;
    padding: 20px;
    background: linear-gradient(135deg, var(--primary), #1e40af);
    color: white;
    border: none;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1.15rem;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-submit:hover::before {
    width: 400px;
    height: 400px;
}

.btn-submit:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(30, 58, 138, 0.3);
}

/* --- ENHANCED PAYMENT MODAL --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(12px);
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    background: white;
    width: 95%;
    max-width: 460px;
    border-radius: 36px;
    padding: 50px;
    text-align: center;
    position: relative;
    animation: modalIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

@keyframes modalIn {
    from {
        transform: scale(0.8) translateY(50px) rotate(-5deg);
        opacity: 0;
    }

    to {
        transform: scale(1) translateY(0) rotate(0);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    border: none;
    background: #f1f5f9;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    color: #64748b;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-modal:hover {
    background: #fee2e2;
    color: #dc2626;
    transform: rotate(90deg);
}

.qr-container {
    background: #f8fafc;
    border-radius: 24px;
    padding: 30px;
    border: 2px solid #e2e8f0;
    margin: 30px 0;
    transition: var(--transition);
}

.qr-container:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-md);
}

.upi-qr {
    width: 240px;
    mix-blend-mode: multiply;
    transition: var(--transition);
}

.upi-qr:hover {
    transform: scale(1.05);
}

.modal-footer-note {
    margin: 20px 0;
    padding: 16px;
    background: #eff6ff;
    border-radius: 12px;
    border-left: 4px solid #3b82f6;
}

.modal-footer-note p {
    font-size: 0.9rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

/* --- SCROLL ANIMATIONS --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* Stagger animation delays */
.pricing-card.reveal:nth-child(1) {
    transition-delay: 0.1s;
}

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

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

.process-step.reveal:nth-child(1) {
    transition-delay: 0.1s;
}

.process-step.reveal:nth-child(2) {
    transition-delay: 0.2s;
}

.process-step.reveal:nth-child(3) {
    transition-delay: 0.3s;
}

.process-step.reveal:nth-child(4) {
    transition-delay: 0.4s;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 900px) {
    .filing-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .form-row-dual {
        flex-direction: column;
        gap: 0;
    }

    .calc-box {
        padding: 40px 30px;
    }

    .booking-form-card {
        padding: 35px 25px;
    }
}

@media (max-width: 768px) {
    .cons-hero {
        height: 80vh;
        min-height: 600px;
    }

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

    .hero-content p {
        font-size: 1.1rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        padding: 0 25px;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: translateY(-16px) scale(1.02);
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .process-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .calc-input-grid {
        grid-template-columns: 1fr;
    }

    .modal-content {
        padding: 35px 25px;
    }
}

@media (max-width: 480px) {
    .t-badge {
        font-size: 0.85rem;
        padding: 12px 20px;
    }

    .pkg-content {
        padding: 25px;
    }

    .docs-card {
        padding: 30px 20px;
    }
}