/* ============================================
   DENTALPRO - MAIN STYLESHEET
   Professional Dental Practice Management
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Plus Jakarta Sans", sans-serif;
    background-color: #ffffff;
    color: #334155;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

/* Gradient Text Effect */
.gradient-text {
    background: linear-gradient(135deg, #1e40af 0%, #7c3aed 50%, #be185d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   NAVBAR STYLES
   ============================================ */

/* Floating Navbar Animation */
.nav-floating {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   ANIMATIONS & KEYFRAMES
   ============================================ */

/* Pulse Animation for CTA Buttons */
@keyframes pulse-soft {
    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4);
    }
    50% {
        transform: scale(1.03);
        box-shadow: 0 0 20px 5px rgba(37, 99, 235, 0.2);
    }
}

.animate-cta {
    animation: pulse-soft 3s infinite ease-in-out;
}

/* Shimmer Animation for Gradient Text */
@keyframes shimmer {
    to {
        background-position: 200% center;
    }
}

.gradient-text-animated {
    background: linear-gradient(
        to right,
        #334155 0%,
        #00f2fe 25%,
        #4facfe 50%,
        #00f2fe 75%,
        #334155 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
}

/* Slide In Up Animation */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-to-top-btn.show {
    animation: slideInUp 0.4s ease;
}

/* ============================================
   BACKGROUND & DECORATIVE ELEMENTS
   ============================================ */

.blob {
    filter: blur(100px);
    opacity: 0.2;
    position: absolute;
    z-index: -1;
}

/* Glass Morphism Card */
.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ============================================
   CTA & HERO SECTION STYLES
   ============================================ */

/* Trial Section Custom Gradient Background */
.trial-gradient-bg {
    background: radial-gradient(circle at top right, #2563eb, #1e40af);
}

/* Mockup Card Shadow */
.mockup-shadow {
    box-shadow:
        0 50px 100px -20px rgba(0, 0, 0, 0.3),
        0 30px 60px -30px rgba(0, 0, 0, 0.4);
}

/* ============================================
   PRICING CARD STYLES
   ============================================ */

.pricing-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pricing-card:hover {
    transform: translateY(-10px);
}

/* ============================================
   FULLSCREEN HERO SLIDER STYLES
   ============================================ */

.modern-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    background: #000;
    font-family: "Plus Jakarta Sans", sans-serif;
    overflow: hidden;
}

.m-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    z-index: 1;
}

.m-slide.active {
    opacity: 1;
    z-index: 2;
}

.m-slide-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    transition: transform 6s ease-out;
}

.m-slide.active .m-slide-image {
    transform: scale(1);
}

.m-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.9) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        transparent 100%
    );
    z-index: 2;
}

/* Content Container - Centered */
.m-content-container {
    position: absolute;
    top: 70%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: center;
    text-align: center;
    z-index: 3;
    padding: 0 20px;
}

.m-content-wrapper {
    max-width: 900px;
}

/* Badge Styling */
.m-badge {
    display: inline-block;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease forwards 0.2s;
}

.m-slide.active .m-badge {
    opacity: 1;
    transform: translateY(0);
}

/* Title Styling */
.m-title {
    font-size: 72px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: -2px;
    line-height: 1.1;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease forwards 0.4s;
}

.m-gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline;
}

/* Description Styling */
.m-description {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease forwards 0.6s;
}

.m-slide.active .m-title,
.m-slide.active .m-description {
    opacity: 1;
    transform: translateY(0);
}

/* Button Styling */
.btn-main {
    display: inline-block;
    padding: 16px 40px;
    background: #ffffff;
    color: #000;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.15);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease forwards 0.8s;
    cursor: pointer;
    border: none;
    display: inline-block;
}

.btn-main:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.25);
}

.m-slide.active .btn-main {
    opacity: 1;
    transform: translateY(0);
}

/* Slider Dots Navigation */
.m-dots {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 12px;
}

.m-dot {
    width: 12px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.4s ease;
}

.m-dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

.m-dot.active {
    width: 30px;
    background: #00f2fe;
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.5);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    /* Hero Slider Mobile */
    .m-title {
        font-size: 42px;
    }

    .m-description {
        font-size: 16px;
    }

    .btn-main {
        padding: 14px 32px;
        font-size: 14px;
    }

    .m-badge {
        font-size: 11px;
        padding: 8px 20px;
    }

    .m-content-container {
        top: 50%;
        padding: 0 15px;
    }

    .m-dots {
        bottom: 40px;
        gap: 10px;
    }

    /* Gradient Animation Mobile */
    .gradient-text-animated {
        animation: none;
        background: linear-gradient(to right, #334155 0%, #00f2fe 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
}

/* ============================================
   UTILITY TRANSITIONS
   ============================================ */

/* Smooth transitions for all interactive elements */
a,
button,
.group {
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Hover state utilities */
.hover-lift {
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

/* ============================================
   FOOTER GRADIENT TEXT ANIMATION
   ============================================ */

.footer-gradient-text {
    /* Gradient Colors */
    background: linear-gradient(
        to right,
        #64748b 10%,
        /* Slate 500 (Base color) */ #3b82f6 30%,
        /* Royal Blue */ #818cf8 50%,
        /* Indigo Light */ #3b82f6 70%,
        /* Royal Blue */ #64748b 90% /* Back to Slate */
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: footerShine 4s linear infinite;
    display: inline-block; /* Animation smooth chalne ke liye */
}

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

/* innovation with purpose  */
/* Tab Content Reveal Animation */
.story-content-panel.block {
    display: block;
    animation: clipReveal 0.8s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

@keyframes clipReveal {
    from {
        clip-path: inset(0 100% 0 0);
        opacity: 0;
    }

    to {
        clip-path: inset(0 0 0 0);
        opacity: 1;
    }
}

/* Staggered Content Animation */
.slide-up-item {
    opacity: 0;
    transform: translateY(30px);
}

.story-content-panel.block .slide-up-item {
    animation: slideUpFade 0.6s ease-out forwards;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

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

/* Sample Particle Styles Adapted for Story Section */
.story-p {
    position: absolute;
    bottom: 0;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: radial-gradient(circle, #3b82f6, #1e40af);
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.4);
    pointer-events: none;
}

@keyframes story-float {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0.5);
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 0;
        transform: translateY(-400px) scale(1.5);
    }
}

/* Leaf Particle Styles (Search Pages) */
.leaf-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.leaf-p {
    position: absolute;
    bottom: -20px;
    width: 12px;
    height: 18px;
    border-radius: 70% 0 70% 0;
    background: linear-gradient(135deg, var(--leaf-a, #60a5fa), var(--leaf-b, #c7d2fe));
    opacity: 0.7;
    filter: drop-shadow(0 6px 12px rgba(37, 99, 235, 0.2));
}

@keyframes leaf-float {
    0% {
        opacity: 0;
        transform: translateY(0) rotate(var(--leaf-rot, 0deg)) scale(0.6);
    }

    50% {
        opacity: 0.75;
    }

    100% {
        opacity: 0;
        transform: translateY(-420px) rotate(calc(var(--leaf-rot, 0deg) + 180deg)) scale(1.1);
    }
}

/* innovation with purpose  */
