/* ============================================
   PREMIUM HERO SECTION
   Modern with animated gradients, floating dental
   icons, glassmorphism and wave divider
============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    padding-top: var(--navbar-height);
    overflow: hidden;
    background: var(--hero-gradient);
}

/* Animated gradient overlay */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(0, 212, 170, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(0, 167, 225, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 60% 60%, rgba(124, 58, 237, 0.1) 0%, transparent 40%);
    animation: gradientFlow 15s ease infinite;
    background-size: 200% 200%;
}

/* Floating particles effect */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(2px 2px at 20% 30%, rgba(255, 255, 255, 0.3) 1px, transparent 0),
        radial-gradient(2px 2px at 40% 50%, rgba(255, 255, 255, 0.2) 1px, transparent 0),
        radial-gradient(2px 2px at 60% 20%, rgba(255, 255, 255, 0.4) 1px, transparent 0),
        radial-gradient(2px 2px at 80% 70%, rgba(255, 255, 255, 0.2) 1px, transparent 0),
        radial-gradient(1.5px 1.5px at 10% 60%, rgba(0, 212, 170, 0.3) 1px, transparent 0),
        radial-gradient(1.5px 1.5px at 90% 40%, rgba(0, 167, 225, 0.3) 1px, transparent 0);
    background-size: 200px 200px;
    opacity: 0.5;
    animation: float 20s linear infinite;
}

/* Background dental tools silhouette */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-tools-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background:
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.12) 0, transparent 20%),
        radial-gradient(circle at 70% 65%, rgba(0, 212, 170, 0.2) 0, transparent 24%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 60%);
    opacity: 0.08;
    filter: blur(1px);
}

/* ============================================
   FLOATING DENTAL ICONS
============================================ */
.hero-floating-icons {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.floating-icon {
    position: absolute;
    color: rgba(255, 255, 255, 0.6);
    animation: dentalFloat 8s ease-in-out infinite;
}

.floating-icon svg {
    width: 100%;
    height: 100%;
}

.fi-1 {
    width: 60px;
    top: 18%;
    left: 5%;
    animation-delay: 0s;
    animation-duration: 7s;
}

.fi-2 {
    width: 45px;
    top: 65%;
    right: 8%;
    animation-delay: 1.5s;
    animation-duration: 9s;
}

.fi-3 {
    width: 35px;
    top: 25%;
    right: 18%;
    animation-delay: 3s;
    animation-duration: 8s;
}

.fi-4 {
    width: 40px;
    bottom: 22%;
    left: 12%;
    animation-delay: 2s;
    animation-duration: 10s;
}

.fi-5 {
    width: 50px;
    top: 45%;
    left: 35%;
    animation-delay: 4s;
    animation-duration: 11s;
}

.fi-6 {
    width: 30px;
    bottom: 35%;
    right: 30%;
    animation-delay: 0.5s;
    animation-duration: 6s;
}

@keyframes dentalFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 0.6;
    }

    25% {
        transform: translateY(-20px) rotate(5deg) scale(1.05);
        opacity: 0.8;
    }

    50% {
        transform: translateY(-35px) rotate(-3deg) scale(1);
        opacity: 0.5;
    }

    75% {
        transform: translateY(-15px) rotate(8deg) scale(1.08);
        opacity: 0.7;
    }
}

/* ============================================
   HERO CONTAINER
============================================ */
.hero-container {
    position: relative;
    z-index: 3;
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: calc(100vh - var(--navbar-height));
}

/* ============================================
   HERO CONTENT
============================================ */
.hero-content {
    flex: 1;
    max-width: 650px;
}

/* Hero badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(0, 212, 170, 0.12);
    border: 1px solid rgba(0, 212, 170, 0.25);
    border-radius: var(--radius-full);
    color: #00d4aa;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
    animation: fadeInDown 0.8s ease forwards;
}

.hero-badge i {
    font-size: 14px;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {

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

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

/* Title */
.hero-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 24px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: fadeInLeft 1s ease forwards;
}

.hero-title .highlight-cyan {
    background: linear-gradient(135deg, #00d4aa 0%, #00a7e1 50%, #00d4aa 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientText 4s ease infinite;
}

@keyframes gradientText {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Subtitle */
.hero-subtitle {
    font-size: clamp(1.15rem, 2vw, 1.4rem);
    color: rgba(255, 255, 255, 0.85);
    font-style: italic;
    margin-bottom: 36px;
    font-weight: 400;
    opacity: 0;
    animation: fadeInLeft 1s ease 0.3s forwards;
}

/* ============================================
   CTA BUTTONS GROUP
============================================ */
.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 50px;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.5s forwards;
}

/* Primary CTA Button */
.hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #00a7e1 0%, #00d4aa 100%);
    border: none;
    border-radius: var(--radius-full);
    color: var(--white);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.3px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 167, 225, 0.4);
}

.hero-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: var(--transition-slow);
}

.hero-cta:hover::before {
    left: 100%;
}

.hero-cta:hover {
    color: var(--white);
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 15px 35px rgba(0, 167, 225, 0.6);
}

.hero-cta .fa-tooth {
    font-size: 16px;
}

.hero-cta .fa-chevron-right {
    font-size: 12px;
    transition: var(--transition-fast);
}

.hero-cta:hover .fa-chevron-right {
    transform: translateX(4px);
}

/* Secondary CTA */
.hero-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 28px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
    backdrop-filter: blur(10px);
    transition: var(--transition-normal);
}

.hero-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.18);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.hero-cta-secondary i {
    font-size: 13px;
    transition: var(--transition-fast);
}

.hero-cta-secondary:hover i {
    transform: translateX(4px);
}

/* ============================================
   HERO STATS MINI BAR
============================================ */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 20px 28px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.7s forwards;
}

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

.hero-stat-number {
    font-size: 28px;
    font-weight: 800;
    color: #00d4aa;
    line-height: 1;
}

.hero-stat-plus {
    font-size: 20px;
    font-weight: 700;
    color: #00a7e1;
}

.hero-stat-label {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-top: 4px;
    text-transform: uppercase;
}

.hero-stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.15);
}

/* ============================================
   HERO IMAGE SECTION
============================================ */
.hero-image {
    position: relative;
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    animation: fadeInRight 1s ease 0.3s forwards;
    opacity: 0;
}

.dentist-image {
    max-height: 520px;
    object-fit: contain;
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.4));
    transition: var(--transition-normal);
}

.dentist-image:hover {
    transform: scale(1.02);
    filter: drop-shadow(0 25px 60px rgba(0, 0, 0, 0.5));
}

/* Decorative circle behind image */
.hero-image::before {
    content: '';
    position: absolute;
    right: 50px;
    bottom: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 212, 170, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    animation: glowBreath 4s ease-in-out infinite;
}

@keyframes glowBreath {

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

    50% {
        transform: scale(1.15);
        opacity: 1;
    }
}

/* Premium Navigation Arrow */
.hero-nav-arrow {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition-normal);
}

.hero-nav-arrow:hover {
    background: var(--white);
    color: var(--primary-navy);
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* ============================================
   WAVE DIVIDER
============================================ */
.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    z-index: 4;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: 100px;
    display: block;
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .dentist-image {
        max-height: 450px;
    }

    .fi-3,
    .fi-5,
    .fi-6 {
        display: none;
    }
}

@media (max-width: 992px) {
    .hero {
        min-height: auto;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
        padding: 60px 30px 100px;
        min-height: auto;
    }

    .hero-content {
        max-width: 100%;
        margin-bottom: 50px;
    }

    .hero-badge {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: center;
    }

    .hero-cta {
        width: 100%;
        max-width: 320px;
    }

    .hero-cta-secondary {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
        max-width: 400px;
        margin: 0 auto;
    }

    .hero-image {
        justify-content: center;
    }

    .hero-image::before {
        right: 50%;
        transform: translateX(50%);
    }

    .dentist-image {
        max-height: 380px;
    }

    .hero-nav-arrow {
        display: none;
    }

    .floating-icon {
        display: none;
    }

    .hero-wave svg {
        height: 60px;
    }
}

@media (max-width: 576px) {
    .hero-container {
        padding: 40px 20px 80px;
        justify-content: flex-start;
    }

    .hero-title {
        font-size: 1.9rem;
        line-height: 1.35;
        margin-bottom: 18px;
    }

    .hero-subtitle {
        font-size: 1.05rem;
        margin-bottom: 28px;
    }

    .hero-cta {
        padding: 14px 24px;
        font-size: 14px;
        max-width: 100%;
    }

    .hero-cta-secondary {
        max-width: 100%;
        padding: 14px 24px;
        font-size: 14px;
    }

    .hero-stats {
        gap: 18px;
        padding: 16px 20px;
        max-width: 100%;
    }

    .hero-stat-number {
        font-size: 22px;
    }

    .hero-stat-label {
        font-size: 10px;
    }

    .dentist-image {
        max-height: 280px;
        margin-top: 15px;
    }

    .hero-wave svg {
        height: 40px;
    }
}