/**
 * Landing Pages - Google Ads Optimized Styles
 * Siddhant Dental Clinic
 * Mobile-first responsive design for high conversion rates
 */

/* ==========================================================================
   CSS Variables
   ========================================================================== */
:root {
    --primary-blue: #0066cc;
    --primary-blue-dark: #004d99;
    --primary-green: #4caf50;
    --primary-green-dark: #388e3c;
    --whatsapp-green: #25d366;
    --warning-orange: #ff9800;
    --text-dark: #333333;
    --text-muted: #666666;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.2);
    --border-radius: 10px;
    --border-radius-lg: 50px;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

/* ==========================================================================
   Base Styles & Typography
   ========================================================================== */
.landing-page {
    font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI",
        Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

.landing-page h1,
.landing-page h2,
.landing-page h3,
.landing-page h4 {
    font-weight: 700;
    line-height: 1.3;
}

/* ==========================================================================
   Mobile Hero Section - Above the Fold
   ========================================================================== */
.mobile-hero-cta {
    background: linear-gradient(
        135deg,
        #00b4d8 0%,    /* Vibrant teal */
        #0077b6 50%,   /* Ocean blue */
        #023e8a 100%   /* Deep navy */
    );
    padding: 35px 20px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

/* Subtle pattern overlay for premium feel */
.mobile-hero-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

.mobile-hero-cta h1 {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 12px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.25);
    position: relative;
    z-index: 1;
}

.mobile-hero-cta h2 {
    font-size: 18px;
    font-weight: 600;
    color: #90e0ef;    /* Lighter cyan for contrast */
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

/* Trust Badge - More prominent */
.trust-badge-mobile {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.15) 100%);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 18px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.trust-badge-mobile .fa-star {
    color: #ffc107;    /* Warmer gold */
}

/* Benefits Box - Glass effect */
.benefits-box-mobile {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.08) 100%);
    padding: 18px;
    border-radius: 15px;
    margin-bottom: 22px;
    text-align: left;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    position: relative;
    z-index: 1;
}

.benefits-box-mobile .benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 500;
}

.benefits-box-mobile .benefit-item:last-child {
    margin-bottom: 0;
}

.benefits-box-mobile .fa-check-circle {
    color: #00ff88;    /* Bright green for visibility */
    font-size: 18px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Urgency Message - More eye-catching */
.urgency-message {
    font-size: 15px;
    font-weight: 700;
    color: #ffe066;    /* Softer gold-yellow */
    margin-bottom: 22px;
    animation: pulse-text 2s infinite;
    position: relative;
    z-index: 1;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.urgency-message i {
    margin-right: 6px;
}

@keyframes pulse-text {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.85;
        transform: scale(1.02);
    }
}

/* ==========================================================================
   CTA Buttons - High Visibility
   ========================================================================== */
.cta-btn {
    display: block;
    width: 100%;
    padding: 16px 24px;
    border-radius: var(--border-radius-lg);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    margin-bottom: 10px;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
    border: none;
    cursor: pointer;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    text-decoration: none;
}

.cta-btn:active {
    transform: translateY(0);
}

/* Call Button - Green with Pulse */
.cta-btn-call {
    background: linear-gradient(
        135deg,
        var(--primary-green) 0%,
        var(--primary-green-dark) 100%
    );
    color: white;
    animation: pulse-button 2s infinite;
}

.cta-btn-call:hover {
    background: linear-gradient(
        135deg,
        var(--primary-green-dark) 0%,
        var(--primary-green) 100%
    );
    color: white;
}

@keyframes pulse-button {
    0% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(76, 175, 80, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
    }
}

/* WhatsApp Button */
.cta-btn-whatsapp {
    background: linear-gradient(135deg, var(--whatsapp-green) 0%, #128c7e 100%);
    color: white;
}

.cta-btn-whatsapp:hover {
    background: linear-gradient(135deg, #128c7e 0%, var(--whatsapp-green) 100%);
    color: white;
}

/* Book Online Button */
.cta-btn-book {
    background: white;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.cta-btn-book:hover {
    background: var(--primary-blue);
    color: white;
}

/* Desktop CTA Buttons Row */
.cta-buttons-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 25px;
}

.cta-buttons-row .cta-btn {
    width: auto;
    min-width: 200px;
    flex: 1;
}

@media (max-width: 768px) {
    .cta-buttons-row {
        flex-direction: column;
    }
    .cta-buttons-row .cta-btn {
        width: 100%;
    }
}

/* ==========================================================================
   Sticky Mobile CTA Bar
   ========================================================================== */
.sticky-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 10px 15px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    display: none;
}

@media (max-width: 768px) {
    .sticky-cta-bar {
        display: flex;
        gap: 10px;
    }
}

.sticky-cta-bar .cta-btn {
    flex: 1;
    margin-bottom: 0;
    padding: 14px 16px;
    font-size: 14px;
}

/* Add padding to body to prevent content from being hidden behind sticky bar */
@media (max-width: 768px) {
    body.has-sticky-cta {
        padding-bottom: 80px;
    }
}

/* ==========================================================================
   Desktop Hero Section
   ========================================================================== */
.contact-hero1 {
    padding: 60px 0;
    background: var(--bg-white);
}

.contact-hero1 .hero-title {
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.contact-hero1 .hero-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

@media (max-width: 992px) {
    .contact-hero1 .hero-title {
        font-size: 1.8rem;
    }
}

/* Doctor Card */
.doc---set {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: var(--border-radius);
    padding: 25px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal);
}

.doc---set:hover {
    transform: translateY(-5px);
}

.doc---set img {
    max-width: 200px;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 4px solid white;
    box-shadow: var(--shadow-sm);
}

.doc---set h2 {
    font-size: 20px;
    color: var(--primary-blue);
    margin-bottom: 8px;
}

.doc---set p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

/* ==========================================================================
   Trust Signals Section
   ========================================================================== */
.trust-signals-section {
    background: var(--bg-light);
    padding: 40px 0;
}

.trust-item {
    text-align: center;
    padding: 20px 15px;
    transition: transform var(--transition-normal);
}

.trust-item:hover {
    transform: translateY(-5px);
}

.trust-item i {
    font-size: 40px;
    color: var(--primary-blue);
    margin-bottom: 12px;
}

.trust-item .fa-star {
    color: #ffd700;
}

.trust-item h3 {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.trust-item p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

@media (max-width: 768px) {
    .trust-item {
        padding: 15px 10px;
    }
    .trust-item i {
        font-size: 32px;
    }
    .trust-item h3 {
        font-size: 22px;
    }
    .trust-item p {
        font-size: 12px;
    }
}

/* ==========================================================================
   Service Cards - Modern Design
   ========================================================================== */
.service-row-modern {
    margin-bottom: 40px;
    padding: 30px;
    background: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition-normal);
}

.service-row-modern:hover {
    box-shadow: var(--shadow-md);
}

.service-image-left img {
    border-radius: var(--border-radius);
    width: 100%;
    object-fit: cover;
    box-shadow: var(--shadow-sm);
}

.service-title-modern {
    font-size: 24px;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.service-divider {
    width: 60px;
    height: 3px;
    background: var(--primary-blue);
    margin-bottom: 20px;
}

.service-list-modern {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-list-modern li {
    padding: 8px 0;
    font-size: 15px;
}

.service-list-modern li a {
    color: var(--text-dark);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color var(--transition-fast);
}

.service-list-modern li a:hover {
    color: var(--primary-blue);
}

.service-list-modern .fa-check-circle {
    color: var(--primary-green);
    font-size: 16px;
}

@media (max-width: 768px) {
    .service-row-modern {
        padding: 20px;
        margin-bottom: 20px;
    }
    .service-title-modern {
        font-size: 20px;
        margin-top: 15px;
    }
}

/* ==========================================================================
   Benefits Carousel
   ========================================================================== */
.best-care-section {
    padding: 50px 0;
    background: var(--bg-white);
}

.best-care-div {
    background: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 25px 20px;
    text-align: center;
    height: 100%;
    transition: all var(--transition-normal);
    border: 1px solid transparent;
}

.best-care-div:hover {
    background: var(--bg-white);
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-md);
}

.best-care-div img {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

.best-care-div h4 {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.best-care-div p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

/* ==========================================================================
   CTA Section Between Content
   ========================================================================== */
.cta-section-benefits {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    padding: 40px 20px;
    text-align: center;
}

.cta-section-benefits h3 {
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.cta-section-benefits p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 25px;
}

@media (max-width: 768px) {
    .cta-section-benefits h3 {
        font-size: 20px;
    }
    .cta-section-benefits .cta-buttons-row {
        flex-direction: column;
    }
}

/* ==========================================================================
   Location Section
   ========================================================================== */
.location-section {
    padding: 50px 0;
    background: var(--bg-white);
}

.location-info {
    padding: 30px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    height: 100%;
}

.location-info h3 {
    color: var(--primary-blue);
    font-size: 18px;
    margin-bottom: 15px;
}

.location-info h3 i {
    margin-right: 8px;
}

.open-now-badge {
    background: var(--primary-green);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    display: inline-block;
    font-weight: 600;
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 100%;
    min-height: 350px;
    box-shadow: var(--shadow-sm);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 350px;
    border: none;
}

@media (max-width: 768px) {
    .location-info {
        margin-bottom: 20px;
    }
    .map-container {
        min-height: 300px;
    }
}

/* ==========================================================================
   Why Choose Section
   ========================================================================== */
.modern-why-choose {
    padding: 50px 0;
    background: var(--bg-light);
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.why-choose-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 25px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.why-choose-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.card-icon-modern img {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
}

.card-content-modern h3 {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.card-content-modern p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

@media (max-width: 992px) {
    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .why-choose-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */
.sec-testimonials {
    padding: 50px 0;
    background: var(--bg-white);
}

.slider-item {
    margin: 0 10px;
}

.slider-content {
    background: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 25px;
    height: 100%;
}

.quote-icon-landing img {
    width: 40px;
    margin-bottom: 15px;
}

.author-content-landing h3 {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.rating-landing .fa-star {
    color: #ddd;
    font-size: 14px;
}

.rating-landing .fa-star.checked {
    color: #ffd700;
}

.slider-content-landing {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 15px;
    line-height: 1.7;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
    padding: 50px 0;
    background: var(--bg-light);
}

.faq-item {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-item h4 {
    padding: 20px;
    margin: 0;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background var(--transition-fast);
}

.faq-item h4:hover {
    background: var(--bg-light);
}

.faq-item p {
    padding: 0 20px 20px;
    margin: 0;
    font-size: 14px;
    color: var(--text-muted);
}

/* ==========================================================================
   Floating WhatsApp Button
   ========================================================================== */
.floating-whatsapp {
    position: fixed;
    bottom: 100px;
    right: 20px;
    z-index: 9998;
}

@media (max-width: 768px) {
    .floating-whatsapp {
        bottom: 90px;
    }
}

.floating-whatsapp a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    background: var(--whatsapp-green);
    border-radius: 50%;
    color: white;
    font-size: 28px;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal);
    animation: bounce 2s infinite;
}

.floating-whatsapp a:hover {
    transform: scale(1.1);
    color: white;
}

@keyframes bounce {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section-title-modern {
    font-size: 28px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(
        90deg,
        var(--primary-blue) 0%,
        var(--primary-green) 100%
    );
    margin: 0 auto;
    border-radius: 2px;
}

.dental-care-txt h2 {
    font-size: 28px;
    color: var(--text-dark);
}

@media (max-width: 768px) {
    .section-title-modern,
    .dental-care-txt h2 {
        font-size: 22px;
    }
}

/* ==========================================================================
   Gallery Section
   ========================================================================== */
.single-gallery-item {
    margin-bottom: 20px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal);
}

.single-gallery-item:hover {
    transform: scale(1.02);
}

.single-gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   Utilities
   ========================================================================== */
.mar-bottom-30 {
    margin-bottom: 30px;
}

.padding-bottom-30 {
    padding-bottom: 30px;
}

.bg_color {
    background-color: var(--bg-light);
}

.pad-bottom-0 {
    padding-bottom: 0;
}

/* Hide on mobile */
@media (max-width: 767px) {
    .d-md-none-custom {
        display: none !important;
    }
}

/* Hide on desktop */
@media (min-width: 768px) {
    .d-desktop-none {
        display: none !important;
    }
}

/* ==========================================================================
   Page-specific Overrides
   ========================================================================== */
/* Carousel landing overrides */
.carousel-landing .carousel-inner img {
    width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .carousel-landing {
        display: none;
    }
}

/* Breadcrumb */
.breadcrumb-nav {
    background: var(--bg-light);
    padding: 12px 0;
    font-size: 13px;
}

.breadcrumb-nav a {
    color: var(--primary-blue);
    text-decoration: none;
}

.breadcrumb-nav a:hover {
    text-decoration: underline;
}
