/* ===================================================
   DentaCare – Premium Dental Clinic Website
   Styles by Appetenza Technologies
   =================================================== */

/* ---------- CSS Variables ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
}
:root {
    --primary: #1a6fc4;
    --primary-dark: #0f4c8a;
    --primary-light: #e8f2fc;
    --gold: #c5a355;
    --gold-light: #f5ecd7;
    --dark: #1a1a2e;
    --dark-2: #2d2d44;
    --text: #4a4a6a;
    --text-light: #7a7a9a;
    --white: #ffffff;
    --off-white: #f8f9fd;
    --border: #e8e8f0;
    --success: #22c55e;
    --whatsapp: #25d366;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --glass-bg: rgba(255,255,255,0.7);
    --glass-border: rgba(255,255,255,0.3);
    --transition: all 0.3s ease;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.gold {
    color: var(--gold);
}

/* ---------- Section Header ---------- */
.section-label {
    display: inline-block;
    padding: 6px 18px;
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 50px;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
    text-align: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transition: width 0.6s, height 0.6s, top 0.6s, left 0.6s;
    transform: translate(-50%, -50%);
}

.btn:active::after {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    box-shadow: 0 4px 20px rgba(26,111,196,0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(26,111,196,0.45);
}

.btn-whatsapp {
    background: linear-gradient(135deg, var(--whatsapp), #128c7e);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(37,211,102,0.35);
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(37,211,102,0.45);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.05rem;
}

.btn-block {
    width: 100%;
}

/* ---------- Top Bar ---------- */
.top-bar {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--white);
    padding: 10px 0;
    font-size: 0.88rem;
    position: relative;
    z-index: 1001;
}

.top-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-bar-text {
    display: flex;
    align-items: center;
    gap: 8px;
    animation: pulse-text 2s ease-in-out infinite;
}

@keyframes pulse-text {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.top-bar-cta {
    color: var(--white);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-cta:hover {
    color: var(--gold-light);
}

/* ---------- Navbar ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
    padding: 0;
    transform: translateY(42px);
}

.navbar.scrolled {
    transform: translateY(0);
    box-shadow: var(--shadow-md);
}

.navbar.scrolled + .top-bar,
.top-bar.hidden {
    display: none;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--dark);
}

.nav-logo i {
    color: var(--primary);
    font-size: 1.4rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 8px 16px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text);
    border-radius: 8px;
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
    background: var(--primary-light);
}

.nav-cta-btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
    color: var(--white) !important;
    border-radius: 50px !important;
    padding: 10px 24px !important;
}

.nav-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(26,111,196,0.4);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.nav-toggle span {
    width: 28px;
    height: 3px;
    background: var(--dark);
    border-radius: 4px;
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ---------- Hero Section ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, rgba(10,39,68,0.82) 0%, rgba(26,111,196,0.75) 50%, rgba(15,76,138,0.85) 100%),
                url('https://images.unsplash.com/photo-1629909613654-28e377c37b09?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    overflow: hidden;
    padding-top: 114px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(197,163,85,0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(26,111,196,0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(15,76,138,0.4) 0%, transparent 50%);
    z-index: 1;
}

.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

.hero-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    animation: float-particle linear infinite;
}

@keyframes float-particle {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-10vh) rotate(720deg); opacity: 0; }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50px;
    color: var(--gold);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: -1px;
    line-height: 1.15;
}

.gradient-text {
    background: linear-gradient(135deg, var(--gold), #e8d5a0, var(--gold));
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
    0% { background-position: 0% center; }
    50% { background-position: 100% center; }
    100% { background-position: 0% center; }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 36px;
    font-weight: 400;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
    color: var(--white);
}

.hero-stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    color: var(--gold);
}

.hero-stat-label {
    display: block;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    margin-top: 4px;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.5);
    font-size: 0.8rem;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 13px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: rgba(255,255,255,0.6);
    border-radius: 4px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 2s ease-in-out infinite;
}

@keyframes scroll-wheel {
    0% { transform: translateX(-50%) translateY(0); opacity: 1; }
    100% { transform: translateX(-50%) translateY(16px); opacity: 0; }
}

/* ---------- About Section ---------- */
.about {
    background: var(--off-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.about-img-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: visible;
}

.about-img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: block;
}

.about-experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--gold), #e8d5a0);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.exp-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
    font-family: 'Poppins', sans-serif;
    line-height: 1;
}

.exp-text {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--dark);
    text-align: center;
    line-height: 1.2;
}

.about-signature {
    margin-top: 30px;
    text-align: center;
}

.signature-svg {
    width: 180px;
    height: 50px;
    margin: 0 auto 8px;
}

.signature-path {
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    animation: draw-signature 3s ease forwards;
}

@keyframes draw-signature {
    to { stroke-dashoffset: 0; }
}

.about-signature p {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}

.about-text {
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 30px 0;
}

.about-highlight-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.about-highlight-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.highlight-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--primary-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
}

.about-highlight-item strong {
    display: block;
    font-size: 0.95rem;
    color: var(--dark);
}

.about-highlight-item span {
    font-size: 0.82rem;
    color: var(--text-light);
}

.about-awards {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.award-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--gold-light), #fff);
    border: 1px solid var(--gold);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold);
}

/* ---------- Services Section ---------- */
.services {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    padding: 40px 30px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--primary-light), #dce9fa);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.6;
}

.service-price {
    font-weight: 700;
    color: var(--gold);
    font-size: 1rem;
    margin-bottom: 16px;
}

.service-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.service-link:hover {
    gap: 12px;
    color: var(--primary-dark);
}

.emi-badge {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 36px;
    margin-top: 50px;
    background: linear-gradient(135deg, var(--gold-light), #fff);
    border: 2px solid var(--gold);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.emi-badge > i {
    font-size: 2.5rem;
    color: var(--gold);
}

.emi-badge strong {
    display: block;
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 4px;
}

.emi-badge span {
    font-size: 0.92rem;
    color: var(--text-light);
}

/* ---------- Why Choose Us ---------- */
.why-choose {
    background: linear-gradient(135deg, #0a2744, #1a3a5c);
    color: var(--white);
}

.why-choose .section-label {
    background: rgba(255,255,255,0.1);
    color: var(--gold);
}

.why-choose .section-title {
    color: var(--white);
}

.why-choose .section-desc {
    color: rgba(255,255,255,0.7);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    padding: 40px 30px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--gold), #e8d5a0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--dark);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.15) rotate(-5deg);
}

.feature-card h3 {
    color: var(--white);
    margin-bottom: 12px;
    font-size: 1.15rem;
}

.feature-card p {
    color: rgba(255,255,255,0.7);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* ---------- Gallery Section ---------- */
.gallery {
    background: var(--off-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.gallery-item {
    text-align: center;
}

.gallery-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.gallery-card:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-xl);
}

.gallery-before, .gallery-after {
    position: relative;
    overflow: hidden;
}

.gallery-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
}

.gallery-label {
    position: absolute;
    bottom: 10px;
    left: 10px;
    padding: 4px 12px;
    background: rgba(0,0,0,0.6);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gallery-caption {
    margin-top: 14px;
    font-weight: 600;
    color: var(--dark);
    font-size: 1rem;
}

/* ---------- Testimonials ---------- */
.testimonials {
    background: var(--white);
}

.testimonials-slider {
    padding-bottom: 60px;
}

.testimonial-card {
    padding: 40px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
}

.testimonial-stars {
    margin-bottom: 16px;
}

.testimonial-stars i {
    color: #ffc107;
    font-size: 1rem;
    margin-right: 2px;
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-author strong {
    display: block;
    color: var(--dark);
    font-size: 1rem;
}

.testimonial-author span {
    font-size: 0.85rem;
    color: var(--text-light);
}

.swiper-button-next, .swiper-button-prev {
    color: var(--primary) !important;
    width: 44px !important;
    height: 44px !important;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
}

.swiper-button-next::after, .swiper-button-prev::after {
    font-size: 1rem !important;
    font-weight: 700;
}

.swiper-pagination-bullet {
    background: var(--primary) !important;
}

.swiper-pagination-bullet-active {
    width: 24px !important;
    border-radius: 12px !important;
}

/* ---------- Cost Calculator ---------- */
.calculator {
    background: var(--off-white);
}

.calculator-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.calc-form {
    padding: 40px;
}

.calc-group {
    margin-bottom: 24px;
}

.calc-group label {
    display: block;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--dark);
    margin-bottom: 8px;
}

.calc-group select, .calc-group input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    color: var(--dark);
    background: var(--off-white);
    transition: var(--transition);
    appearance: auto;
}

.calc-group select:focus, .calc-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(26,111,196,0.1);
}

.calc-result {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.calc-result-inner {
    text-align: center;
    color: var(--white);
}

.calc-total span, .calc-emi-display span {
    display: block;
    font-size: 0.95rem;
    opacity: 0.8;
    margin-bottom: 8px;
}

.calc-total strong {
    font-size: 3rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    display: block;
    margin-bottom: 16px;
}

.calc-emi-display {
    margin-bottom: 20px;
    padding: 16px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
}

.calc-emi-display strong {
    font-size: 2rem;
    font-family: 'Poppins', sans-serif;
}

.calc-note {
    font-size: 0.82rem;
    opacity: 0.7;
    margin: 16px 0;
}

.calc-result .btn {
    background: var(--white);
    color: var(--primary);
    margin-top: 10px;
}

.calc-result .btn:hover {
    background: var(--gold-light);
    color: var(--dark);
}

/* ---------- Appointment Section ---------- */
.appointment {
    background: var(--white);
}

.appointment-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: start;
}

.appointment-info p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: var(--text);
}

.appointment-features {
    margin-bottom: 30px;
}

.appt-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-weight: 500;
}

.appt-feature i {
    color: var(--success);
    font-size: 1.1rem;
}

.appointment-contact {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--off-white);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.contact-item:hover {
    box-shadow: var(--shadow-sm);
}

.contact-item > i {
    width: 46px;
    height: 46px;
    min-width: 46px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
}

.contact-item strong {
    display: block;
    color: var(--dark);
    font-size: 0.9rem;
}

.contact-item a {
    color: var(--primary);
    font-weight: 500;
}

/* Appointment Form */
.appointment-form-wrapper {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.appointment-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.appointment-form h3 {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 28px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark);
    margin-bottom: 8px;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    color: var(--dark);
    background: var(--off-white);
    transition: var(--transition);
    resize: vertical;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(26,111,196,0.1);
    background: var(--white);
}

.form-group input.error, .form-group select.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 4px rgba(239,68,68,0.1);
}

.form-error {
    display: block;
    color: #ef4444;
    font-size: 0.82rem;
    margin-top: 4px;
    min-height: 18px;
}

.form-disclaimer {
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-light);
    margin-top: 14px;
}

.form-disclaimer i {
    color: var(--success);
}

/* ---------- Map Section ---------- */
.map-section {
    background: var(--off-white);
}

.map-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: start;
}

.map-embed iframe {
    box-shadow: var(--shadow-lg);
}

.map-info-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.info-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--primary-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
}

.info-item strong {
    display: block;
    color: var(--dark);
    margin-bottom: 4px;
}

.info-item p {
    font-size: 0.92rem;
    color: var(--text);
    line-height: 1.6;
}

.info-item a {
    color: var(--primary);
}

.info-item a:hover {
    color: var(--primary-dark);
}

.map-social {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.social-link {
    width: 44px;
    height: 44px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1rem;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

/* ---------- Footer ---------- */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-logo i {
    color: var(--primary);
}

.footer-col p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gold);
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 0.92rem;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--gold);
    padding-left: 8px;
}

.footer-contact li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.92rem;
}

.footer-contact li i {
    color: var(--primary);
    margin-top: 4px;
    min-width: 16px;
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 0.88rem;
}

.footer-bottom p {
    margin-bottom: 4px;
}

.footer-bottom a {
    color: var(--gold);
    font-weight: 600;
}

.footer-bottom a:hover {
    color: #e8d5a0;
    text-decoration: underline;
}

/* ---------- Floating WhatsApp ---------- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--whatsapp);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    z-index: 999;
    transition: var(--transition);
    animation: whatsapp-pulse 2s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 30px rgba(37,211,102,0.5);
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: var(--dark);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
}

@keyframes whatsapp-pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
    50% { box-shadow: 0 4px 30px rgba(37,211,102,0.6), 0 0 0 15px rgba(37,211,102,0.1); }
}

/* ---------- Live Chat ---------- */
.live-chat-btn {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 52px;
    height: 52px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    z-index: 998;
    transition: var(--transition);
}

.live-chat-btn:hover {
    transform: scale(1.1);
    background: var(--primary-dark);
}

.live-chat-box {
    position: fixed;
    bottom: 160px;
    right: 30px;
    width: 350px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    z-index: 997;
    overflow: hidden;
    display: none;
    animation: slideUp 0.3s ease;
}

.live-chat-box.active {
    display: block;
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.chat-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h4 {
    color: var(--white);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chat-close {
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    font-size: 1rem;
    padding: 4px;
}

.chat-body {
    padding: 20px;
    min-height: 200px;
    max-height: 300px;
    overflow-y: auto;
}

.chat-message {
    margin-bottom: 12px;
}

.chat-message.bot p {
    background: var(--primary-light);
    color: var(--dark);
    padding: 12px 16px;
    border-radius: 12px 12px 12px 0;
    font-size: 0.9rem;
    display: inline-block;
    max-width: 85%;
}

.chat-message.user p {
    background: var(--primary);
    color: var(--white);
    padding: 12px 16px;
    border-radius: 12px 12px 0 12px;
    font-size: 0.9rem;
    display: inline-block;
    max-width: 85%;
    margin-left: auto;
    text-align: right;
}

.chat-message.user {
    text-align: right;
}

.chat-input {
    display: flex;
    border-top: 1px solid var(--border);
    padding: 12px;
    gap: 8px;
}

.chat-input input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.9rem;
    font-family: inherit;
    outline: none;
}

.chat-input input:focus {
    border-color: var(--primary);
}

.chat-input button {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.chat-input button:hover {
    background: var(--primary-dark);
}

/* ---------- Success Popup ---------- */
.success-popup {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.success-popup.active {
    display: flex;
}

.popup-content {
    background: var(--white);
    padding: 50px;
    border-radius: var(--radius-xl);
    text-align: center;
    max-width: 420px;
    width: 90%;
    animation: popupBounce 0.5s ease;
}

@keyframes popupBounce {
    0% { transform: scale(0.5); opacity: 0; }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); opacity: 1; }
}

.popup-icon {
    font-size: 4rem;
    color: var(--success);
    margin-bottom: 20px;
    animation: checkmark 0.8s ease;
}

@keyframes checkmark {
    0% { transform: scale(0) rotate(-45deg); }
    50% { transform: scale(1.2) rotate(10deg); }
    100% { transform: scale(1) rotate(0); }
}

.popup-content h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.popup-content p {
    color: var(--text-light);
    margin-bottom: 24px;
}

/* ---------- Exit Intent Popup ---------- */
.exit-popup {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10001;
}

.exit-popup.active {
    display: flex;
}

.exit-popup-content {
    background: var(--white);
    padding: 50px;
    border-radius: var(--radius-xl);
    text-align: center;
    max-width: 480px;
    width: 90%;
    position: relative;
    animation: popupBounce 0.5s ease;
}

.exit-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--text-light);
    cursor: pointer;
    padding: 4px;
}

.exit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--gold-light), #fff);
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--gold);
}

.exit-popup-content h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.exit-popup-content p {
    color: var(--text);
    font-size: 1.05rem;
    margin-bottom: 20px;
}

.exit-timer {
    padding: 12px 24px;
    background: #fef2f2;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    color: #ef4444;
    font-size: 0.95rem;
}

.exit-timer strong {
    font-size: 1.2rem;
    font-family: 'Poppins', monospace;
}

.exit-popup-content small {
    display: block;
    margin-top: 12px;
    color: var(--text-light);
    font-size: 0.82rem;
}

/* ---------- Back to Top ---------- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 998;
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* =======================================
   RESPONSIVE DESIGN
   ======================================= */

@media (max-width: 1024px) {
    .section-title {
        font-size: 2.1rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-img-wrapper {
        max-width: 400px;
        margin: 0 auto;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .appointment-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .calculator-card {
        grid-template-columns: 1fr;
    }

    .map-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .top-bar-inner {
        justify-content: center;
        text-align: center;
        flex-direction: column;
        gap: 4px;
        font-size: 0.82rem;
    }

    .navbar {
        transform: translateY(52px);
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 360px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 30px 30px;
        box-shadow: var(--shadow-xl);
        transition: right 0.4s ease;
        z-index: 999;
        gap: 4px;
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        width: 100%;
        padding: 14px 16px;
        font-size: 1.05rem;
    }

    .nav-cta-btn {
        width: 100%;
        text-align: center;
        margin-top: 12px;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding-top: 130px;
        min-height: auto;
        padding-bottom: 60px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-stats {
        gap: 20px;
    }

    .hero-stat-number {
        font-size: 1.6rem;
    }

    .hero-scroll-indicator {
        display: none;
    }

    .section {
        padding: 70px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .about-highlights {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .appointment-form-wrapper {
        padding: 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .emi-badge {
        flex-direction: column;
        text-align: center;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 54px;
        height: 54px;
        font-size: 1.5rem;
    }

    .live-chat-btn {
        bottom: 84px;
        right: 20px;
        width: 46px;
        height: 46px;
    }

    .live-chat-box {
        right: 10px;
        left: 10px;
        width: auto;
        bottom: 140px;
    }

    .back-to-top {
        left: 20px;
        bottom: 20px;
        width: 42px;
        height: 42px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-cta .btn {
        width: 100%;
        max-width: 280px;
    }

    .swiper-button-next, .swiper-button-prev {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-badge {
        font-size: 0.78rem;
        padding: 6px 14px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .about-awards {
        flex-direction: column;
    }

    .popup-content, .exit-popup-content {
        padding: 30px 20px;
    }

    .calc-form {
        padding: 24px;
    }

    .calc-result {
        padding: 30px;
    }

    .calc-total strong {
        font-size: 2.2rem;
    }
}

/* ---------- Utility: Glassmorphism ---------- */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
}

/* ---------- Preloader (Optional Enhancement) ---------- */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s, visibility 0.5s;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-icon {
    font-size: 3rem;
    color: var(--primary);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ---------- Scroll animations fallback ---------- */
[data-aos] {
    transition-property: transform, opacity;
}

/* ---------- Selection Highlight ---------- */
::selection {
    background: var(--primary);
    color: var(--white);
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--off-white);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}
