/*!
Theme Name: D-Smile Dental
Theme URI: https://dsmile.com.np
Author: D-Smile Dental
Author URI: https://dsmile.com.np
Description: A modern, professional dental clinic theme for D-Smile Dental Kathmandu. Features clean design, appointment booking, services showcase, and patient testimonials.
Version: 1.0.0
Requires PHP: 7.4
Tested up to: 6.4
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Text Domain: dsmile-dental
Tags: dental, medical, clinic, health, one-column, two-columns, custom-background, custom-colors, custom-logo, custom-menu, featured-images, footer-widgets, full-width-template, theme-options, threaded-comments, translation-ready
*/

/* ===== CSS Variables ===== */
:root {
    --primary-color: #04785a;
    --primary-dark: #035c45;
    --primary-light: #e8f5f1;
    --secondary-color: #223143;
    --accent-color: #04785a;
    --text-dark: #223143;
    --text-light: #5a6a7a;
    --text-white: #FFFFFF;
    --bg-light: #f8faf9;
    --bg-white: #FFFFFF;
    --bg-gray: #F5F5F5;
    --border-color: #E0E0E0;
    --shadow: 0 4px 15px rgba(4, 120, 90, 0.1);
    --shadow-hover: 0 8px 25px rgba(4, 120, 90, 0.2);
    --transition: all 0.3s ease;
    --font-primary: 'Poppins', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.4rem; }
h5 { font-size: 1.2rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

ul, ol {
    list-style: none;
}

/* ===== Utility Classes ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    color: var(--text-dark);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.section-title p {
    max-width: 600px;
    margin: 15px auto 0;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(0, 188, 212, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 188, 212, 0.4);
    color: var(--text-white);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-white);
}

.btn-white {
    background: var(--bg-white);
    color: var(--primary-color);
}

.btn-white:hover {
    background: var(--primary-light);
}

/* ===== Header ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--bg-white);
    box-shadow: var(--shadow);
}

.top-bar {
    background: var(--primary-color);
    color: var(--text-white);
    padding: 8px 0;
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.top-bar-left {
    display: flex;
    gap: 25px;
}

.top-bar-left a {
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-left a:hover {
    opacity: 0.9;
}

.top-bar-right {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--text-white);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--text-white);
    color: var(--primary-color);
}

.main-header {
    padding: 15px 0;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo img {
    max-height: 60px;
    width: auto;
}

.site-logo .site-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.site-logo .site-tagline {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
}

/* Navigation */
.main-nav ul {
    display: flex;
    align-items: center;
    gap: 35px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav > ul > li {
    position: relative;
    display: inline-block;
}

.main-nav a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 15px;
    padding: 10px 0;
    position: relative;
    display: inline-block;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-color);
}

/* Dropdown Menu - Parent item with children */
.main-nav .menu-item-has-children > a {
    padding-right: 18px;
}

.main-nav .menu-item-has-children > a::before {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 10px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: var(--transition);
}

.main-nav .menu-item-has-children.dropdown-open > a::before {
    transform: translateY(-50%) rotate(180deg);
}

/* Submenu Dropdown */
.main-nav .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--bg-white);
    box-shadow: var(--shadow-hover);
    border-radius: 10px;
    padding: 10px 0;
    flex-direction: column;
    gap: 0;
    z-index: 1000;
    margin-top: 10px;
}

.main-nav .sub-menu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 20px;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid var(--bg-white);
}

.main-nav .menu-item-has-children.dropdown-open > .sub-menu {
    display: flex;
}

.main-nav .sub-menu li {
    width: 100%;
}

.main-nav .sub-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--text-dark);
    font-size: 14px;
    transition: var(--transition);
}

.main-nav .sub-menu a::after {
    display: none;
}

.main-nav .sub-menu a:hover {
    background: var(--primary-light);
    color: var(--primary-color);
    padding-left: 25px;
}

.header-cta .btn {
    padding: 12px 25px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== Hero Video Section ===== */
.hero-video-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    padding-top: 70px;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Desktop video visible by default, mobile hidden */
.hero-video-desktop {
    display: block;
}

.hero-video-mobile {
    display: none;
}

.hero-video-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
}

/* D-Smile Hero Text - Clear Neon with Shimmer */
.shiny-text {
    position: relative;
    display: inline-block;
    font-weight: 900;
    font-size: clamp(2.5rem, 9vw, 5rem);
    text-transform: uppercase;
    font-family: var(--font-heading);
    letter-spacing: 4px;
    margin: 0;
    color: #fff;
    text-shadow: 
        0 1px 0 rgba(0, 0, 0, 0.3),
        0 0 10px rgba(4, 120, 90, 0.8),
        0 0 20px rgba(4, 120, 90, 0.5);
    animation: neonPulse 2s ease-in-out infinite alternate;
}

.shiny-text::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.6) 45%,
        rgba(255, 255, 255, 0.9) 50%,
        rgba(255, 255, 255, 0.6) 55%,
        transparent 100%
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s linear infinite;
}

@keyframes neonPulse {
    0% {
        text-shadow: 
            0 1px 0 rgba(0, 0, 0, 0.3),
            0 0 10px rgba(4, 120, 90, 0.8),
            0 0 20px rgba(4, 120, 90, 0.5);
    }
    100% {
        text-shadow: 
            0 1px 0 rgba(0, 0, 0, 0.3),
            0 0 15px rgba(6, 214, 160, 0.9),
            0 0 30px rgba(6, 214, 160, 0.6);
    }
}

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

/* Video aspect ratio handling - Desktop only */
@media (min-width: 769px) and (max-aspect-ratio: 16/9) {
    .hero-video {
        width: auto;
        height: 100%;
    }
}

@media (min-width: 769px) and (min-aspect-ratio: 16/9) {
    .hero-video {
        width: 100%;
        height: auto;
    }
}

/* ===== Hero Stats Section (Below Video) ===== */
.hero-stats-section {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--primary-light) 100%);
    padding: 60px 0;
}

.hero-stats-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.hero-stats {
    display: flex;
    gap: 60px;
    justify-content: center;
    flex-wrap: wrap;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

/* ===== Old Hero Section (kept for other pages) ===== */
.hero-section {
    padding: 180px 0 100px;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--primary-light) 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 188, 212, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.2rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.hero-text h1 span {
    color: var(--primary-color);
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-light);
}

.hero-image {
    position: relative;
}

.hero-image-placeholder {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: 20px;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.2rem;
    text-align: center;
    padding: 20px;
    box-shadow: var(--shadow-hover);
}

/* ===== Services Section ===== */
.services-section {
    background: var(--bg-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-white);
    border-radius: 15px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--text-white);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.service-card .btn {
    padding: 10px 20px;
    font-size: 13px;
}

/* ===== About Section ===== */
.about-section {
    background: var(--bg-gray);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image-placeholder {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 20px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.1rem;
    text-align: center;
    padding: 20px;
}

.about-text h2 {
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 15px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 30px 0;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-feature-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    flex-shrink: 0;
}

.about-feature span {
    font-weight: 500;
    color: var(--text-dark);
}

/* ===== Why Choose Us ===== */
.why-choose-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--text-white);
}

.why-choose-section .section-title h2 {
    color: var(--text-white);
}

.why-choose-section .section-title h2::after {
    background: var(--text-white);
}

.why-choose-section .section-title p {
    color: rgba(255, 255, 255, 0.9);
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.why-choose-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: var(--transition);
}

.why-choose-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.why-choose-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.why-choose-card h4 {
    color: var(--text-white);
    margin-bottom: 10px;
}

.why-choose-card p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}

/* ===== Testimonials ===== */
.testimonials-section {
    background: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--bg-white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-hover);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
}

.testimonial-info h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.testimonial-info span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.testimonial-rating {
    color: #FFD700;
    margin-bottom: 15px;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== CTA Section ===== */
.cta-section {
    background: var(--bg-gray);
    text-align: center;
}

.cta-content h2 {
    margin-bottom: 15px;
}

.cta-content p {
    max-width: 600px;
    margin: 0 auto 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* ===== Contact Section ===== */
.contact-section {
    background: var(--bg-white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-details h4 {
    margin-bottom: 5px;
    font-size: 1rem;
}

.contact-details p, 
.contact-details a {
    color: var(--text-light);
    font-size: 0.95rem;
}

.contact-details a:hover {
    color: var(--primary-color);
}

.contact-form h3 {
    margin-bottom: 30px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-family: var(--font-primary);
    font-size: 15px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 188, 212, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* ===== Footer ===== */
.site-footer {
    background: var(--text-dark);
    color: var(--text-white);
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-about img {
    max-height: 50px;
    margin-bottom: 20px;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary-color);
}

.footer-links h4,
.footer-services h4,
.footer-hours h4 {
    color: var(--text-white);
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.footer-links ul li,
.footer-services ul li {
    margin-bottom: 12px;
}

.footer-links ul li a,
.footer-services ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links ul li a:hover,
.footer-services ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-hours p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
}

.footer-hours p span {
    color: var(--primary-color);
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin: 0;
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .hero-content,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    /* Hero Video Section Mobile */
    .hero-video-section {
        height: auto;
        min-height: 0;
        max-height: none;
        padding-top: 60px;
        aspect-ratio: 9 / 16;
        max-height: 70vh;
    }
    
    .hero-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
    }
    
    .hero-video-desktop {
        display: none !important;
    }
    
    .hero-video-mobile {
        display: block !important;
    }
    
    .shiny-text {
        font-size: clamp(1.5rem, 7vw, 2.8rem);
        letter-spacing: 2px;
        text-shadow: 
            0 1px 0 rgba(0, 0, 0, 0.3),
            0 0 8px rgba(4, 120, 90, 0.7),
            0 0 15px rgba(4, 120, 90, 0.4);
    }
    
    .hero-video-content {
        padding: 0 15px;
    }
    
    .hero-stats-section {
        padding: 40px 0;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .hero-stats-content .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 280px;
    }
    
    .hero-stats-content .hero-buttons .btn {
        width: 100%;
    }
    
    .top-bar .container {
        flex-direction: column;
        gap: 10px;
    }
    
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-white);
        box-shadow: var(--shadow);
        padding: 20px;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 15px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header-cta {
        display: none;
    }
    
    /* Mobile Dropdown Styles */
    .main-nav .sub-menu {
        position: static;
        box-shadow: none;
        margin-top: 10px;
        padding-left: 15px;
        border-left: 2px solid var(--primary-color);
        border-radius: 0;
    }
    
    .main-nav .sub-menu::before {
        display: none;
    }
    
    .main-nav .sub-menu a {
        padding: 8px 15px;
    }
    
    .hero-section {
        padding: 140px 0 60px;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .section {
        padding: 60px 0;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-hours p {
        justify-content: center;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    /* Hero Video Section Extra Small */
    .hero-video-section {
        height: 50vh;
        min-height: calc(100vw * 9 / 16);
        max-height: 45vh;
    }
    
    .shiny-text {
        font-size: clamp(1.1rem, 6vw, 1.8rem);
        letter-spacing: 1px;
        text-shadow: 
            0 1px 0 rgba(0, 0, 0, 0.3),
            0 0 6px rgba(4, 120, 90, 0.6),
            0 0 12px rgba(4, 120, 90, 0.3);
    }
    
    .hero-stats {
        gap: 15px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Hero Video Section Mobile ===== */
@media (max-width: 768px) {
    .hero-video-section {
        height: auto;
        min-height: 0;
        max-height: 70vh;
        aspect-ratio: 9 / 16;
    }
    
    .hero-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
    }
    
    /* Switch videos on mobile */
    .hero-video-desktop {
        display: none;
    }
    
    .hero-video-mobile {
        display: block;
    }
    
    .shiny-text {
        font-size: clamp(1.2rem, 6vw, 2.5rem);
        letter-spacing: 1px;
    }
    
    .hero-video-content {
        padding: 0 15px;
    }
    
    .hero-stats-section {
        padding: 40px 0;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 280px;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-video-section {
        height: auto;
        min-height: 0;
        max-height: 60vh;
        aspect-ratio: 9 / 16;
    }
    
    .shiny-text {
        font-size: clamp(1rem, 5vw, 2rem);
        letter-spacing: 0.5px;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
}

/* Landscape mobile orientation */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-video-section {
        height: 100vh;
        max-height: 100vh;
        aspect-ratio: auto;
    }
}

/* ===== Page Header Mobile ===== */
.page-header {
    padding: 130px 0 40px !important;
}

@media (max-width: 768px) {
    .page-header {
        padding: 120px 0 30px !important;
    }
    
    .page-header h1 {
        font-size: 1.8rem !important;
    }
    
    .page-header p {
        font-size: 0.95rem;
    }
}

/* ===== Top Bar Mobile ===== */
@media (max-width: 768px) {
    .top-bar {
        padding: 6px 0;
        font-size: 12px;
    }
    
    .top-bar-left {
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }
    
    .top-bar-left span {
        display: none;
    }
    
    .top-bar-right {
        margin-top: 5px;
    }
}

/* ===== Services Grid Mobile ===== */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 25px 20px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .service-card h3 {
        font-size: 1.1rem;
    }
    
    .service-card p {
        font-size: 0.9rem;
    }
    
    .service-category {
        margin-bottom: 40px !important;
    }
    
    .service-category h2 {
        font-size: 1.4rem !important;
    }
}

/* ===== Why Choose Grid Mobile ===== */
@media (max-width: 768px) {
    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .why-choose-card {
        padding: 25px 20px;
    }
    
    .why-choose-icon {
        font-size: 2.5rem;
    }
    
    .why-choose-card h4 {
        font-size: 1.1rem;
    }
}

/* ===== Contact Section Mobile ===== */
@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .contact-icon {
        margin: 0 auto;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px 15px;
        font-size: 14px;
    }
}

/* ===== CTA Section Mobile ===== */
@media (max-width: 768px) {
    .cta-section {
        padding: 50px 0;
    }
    
    .cta-content h2 {
        font-size: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
}

/* ===== About Page Mobile ===== */
@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image-placeholder {
        height: 250px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .about-feature {
        padding: 10px;
        background: var(--bg-light);
        border-radius: 10px;
    }
}

/* ===== Testimonials Page Mobile ===== */
@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr !important;
    }
    
    .testimonial-card {
        padding: 20px;
    }
    
    .testimonial-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .testimonial-text {
        font-size: 0.95rem;
        padding-left: 15px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px;
    }
    
    .stat-box .number {
        font-size: 2rem !important;
    }
    
    .video-placeholder {
        height: 180px;
    }
}

/* ===== FAQ Page Mobile ===== */
@media (max-width: 768px) {
    .faq-category-title h2 {
        font-size: 1.2rem !important;
    }
    
    .faq-question {
        padding: 15px;
    }
    
    .faq-question h3 {
        font-size: 0.95rem !important;
        padding-right: 30px;
    }
    
    .faq-answer {
        font-size: 0.9rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 15px;
    }
}

/* ===== Price List Page Mobile ===== */
@media (max-width: 768px) {
    .price-table {
        font-size: 13px !important;
        display: block;
        overflow-x: auto;
    }
    
    .price-table th,
    .price-table td {
        padding: 10px 12px !important;
        white-space: nowrap;
    }
    
    .price-category-title {
        flex-wrap: wrap;
    }
    
    .price-category-title h2 {
        font-size: 1.2rem !important;
    }
    
    .price-subcategory h3 {
        font-size: 1rem !important;
    }
    
    .price-note {
        padding: 15px;
        font-size: 0.9rem;
    }
}

/* ===== Why Choose Us Page Mobile ===== */
@media (max-width: 768px) {
    .why-feature {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    
    .why-feature.reverse {
        direction: ltr !important;
    }
    
    .why-feature-image img {
        height: 250px !important;
    }
    
    .why-feature-content h2 {
        font-size: 1.4rem !important;
    }
    
    .why-feature-content ul li {
        padding: 8px 0 8px 30px;
        font-size: 0.95rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .stat-item .number {
        font-size: 2rem !important;
    }
    
    .feature-badge {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}

/* ===== Article Templates Mobile ===== */
@media (max-width: 768px) {
    .article-page {
        padding-top: 110px !important;
    }
    
    .article-header {
        padding: 40px 0 !important;
    }
    
    .article-header h1 {
        font-size: 1.5rem !important;
        line-height: 1.4;
    }
    
    .article-meta {
        font-size: 0.85rem !important;
        gap: 12px !important;
    }
    
    .article-content {
        padding: 40px 0 !important;
    }
    
    .article-content h2 {
        font-size: 1.3rem !important;
        margin: 30px 0 15px !important;
    }
    
    .article-content h3 {
        font-size: 1.1rem !important;
        margin: 25px 0 12px !important;
    }
    
    .article-content p {
        font-size: 0.95rem;
        line-height: 1.8;
    }
    
    .article-content ul,
    .article-content ol {
        margin-left: 15px !important;
    }
    
    .article-content li {
        font-size: 0.95rem;
        margin-bottom: 10px !important;
    }
    
    .featured-image {
        margin: -20px 0 30px !important;
    }
    
    .image-placeholder {
        height: 220px !important;
        font-size: 0.95rem !important;
    }
    
    .highlight-box,
    .price-box {
        padding: 20px !important;
        margin: 25px 0 !important;
    }
    
    .price-box li {
        flex-direction: column;
        gap: 5px;
        padding: 12px 0 !important;
    }
    
    .faq-section {
        padding: 40px 0 !important;
    }
    
    .faq-section h2 {
        font-size: 1.4rem !important;
    }
    
    .faq-item .faq-question {
        padding: 15px !important;
        font-size: 0.95rem !important;
    }
    
    .faq-item .faq-answer {
        padding: 0 15px 15px !important;
        font-size: 0.9rem !important;
    }
    
    .article-cta {
        padding: 40px 0 !important;
    }
    
    .article-cta h2 {
        font-size: 1.4rem !important;
    }
    
    .article-cta p {
        font-size: 0.95rem;
    }
    
    .article-sidebar {
        margin-top: 30px;
    }
    
    .article-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ===== General Mobile Improvements ===== */
@media (max-width: 768px) {
    /* Reduce section padding on mobile */
    .section {
        padding: 50px 0;
    }
    
    /* Section titles */
    .section-title {
        margin-bottom: 30px;
    }
    
    .section-title h2 {
        font-size: 1.5rem;
    }
    
    .section-title p {
        font-size: 0.95rem;
    }
    
    /* Buttons */
    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    /* Inline grids */
    [style*="grid-template-columns: repeat(auto-fit"] {
        grid-template-columns: 1fr !important;
    }
    
    /* Inline flex with gap */
    [style*="display: flex"][style*="gap"] {
        flex-wrap: wrap;
    }
    
    /* Cards with inline styles */
    [style*="padding: 40px"] {
        padding: 25px !important;
    }
    
    [style*="padding: 30px"] {
        padding: 20px !important;
    }
    
    /* Font sizes for inline h2, h3, h4 */
    [style*="font-size: 1.8rem"],
    [style*="font-size: 1.6rem"] {
        font-size: 1.3rem !important;
    }
    
    [style*="font-size: 1.5rem"] {
        font-size: 1.2rem !important;
    }
    
    /* Images */
    [style*="height: 350px"],
    [style*="height: 400px"] {
        height: 220px !important;
    }
    
    [style*="height: 280px"] {
        height: 200px !important;
    }
}

/* ===== Footer Mobile ===== */
@media (max-width: 768px) {
    .site-footer {
        padding: 40px 0 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 30px;
        text-align: center;
    }
    
    .footer-about p {
        font-size: 0.9rem;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-links h4,
    .footer-services h4,
    .footer-hours h4 {
        margin-bottom: 15px;
        font-size: 1rem;
    }
    
    .footer-links ul li,
    .footer-services ul li {
        margin-bottom: 8px;
    }
    
    .footer-hours p {
        justify-content: center;
        gap: 10px;
        font-size: 0.9rem;
    }
    
    .footer-bottom {
        padding: 15px 0;
    }
    
    .footer-bottom p {
        font-size: 0.8rem;
        line-height: 1.6;
    }
}

/* ===== Mobile Sticky Call Button ===== */
.mobile-call-btn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 1.5rem;
    box-shadow: 0 4px 20px rgba(4, 120, 90, 0.4);
    z-index: 999;
    transition: var(--transition);
    text-decoration: none;
}

.mobile-call-btn:hover {
    transform: scale(1.1);
    color: #fff;
}

@media (max-width: 768px) {
    .mobile-call-btn {
        display: flex;
    }
    
    /* Add padding at bottom for sticky button */
    .site-footer {
        padding-bottom: 80px;
    }
}

/* ===== Extra Small Devices ===== */
@media (max-width: 380px) {
    .container {
        padding: 0 12px;
    }
    
    h1 { font-size: 1.6rem; }
    h2 { font-size: 1.4rem; }
    h3 { font-size: 1.2rem; }
    
    .btn {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .hero-section {
        padding: 120px 0 50px;
    }
    
    .hero-text h1 {
        font-size: 1.6rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .service-card,
    .testimonial-card,
    .why-choose-card {
        padding: 20px 15px;
    }
    
    .mobile-call-btn {
        width: 55px;
        height: 55px;
        bottom: 15px;
        right: 15px;
        font-size: 1.3rem;
    }
}


/* ===== Sticky Floating Action Buttons ===== */
.sticky-action-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.sticky-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 50px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.sticky-btn i {
    font-size: 16px;
}

.sticky-btn span {
    display: inline-block;
}

.sticky-btn:hover {
    transform: translateX(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    color: #fff;
}

/* Appointment Button - Primary Green */
.sticky-btn-appointment {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.sticky-btn-appointment:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

/* Call Button - Blue */
.sticky-btn-call {
    background: linear-gradient(135deg, #2196F3, #1976D2);
}

.sticky-btn-call:hover {
    background: linear-gradient(135deg, #1976D2, #2196F3);
}

/* Location Button - Orange/Red */
.sticky-btn-location {
    background: linear-gradient(135deg, #FF5722, #E64A19);
}

.sticky-btn-location:hover {
    background: linear-gradient(135deg, #E64A19, #FF5722);
}

/* Mobile Responsive - Show icons only on small screens */
@media (max-width: 768px) {
    .sticky-action-buttons {
        bottom: 15px;
        right: 15px;
        gap: 10px;
    }
    
    .sticky-btn {
        padding: 14px;
        border-radius: 50%;
        width: 55px;
        height: 55px;
        justify-content: center;
    }
    
    .sticky-btn span {
        display: none;
    }
    
    .sticky-btn i {
        font-size: 20px;
    }
    
    .sticky-btn:hover {
        transform: scale(1.1);
    }
}

@media (max-width: 480px) {
    .sticky-action-buttons {
        bottom: 12px;
        right: 12px;
        gap: 8px;
    }
    
    .sticky-btn {
        width: 50px;
        height: 50px;
        padding: 12px;
    }
    
    .sticky-btn i {
        font-size: 18px;
    }
}


/* ===== Sticky Floating Action Buttons ===== */
.sticky-action-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.sticky-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 50px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.sticky-btn i {
    font-size: 16px;
}

.sticky-btn span {
    display: inline-block;
}

.sticky-btn:hover {
    transform: translateX(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    color: #fff;
}

.sticky-btn-appointment {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.sticky-btn-call {
    background: linear-gradient(135deg, #2196F3, #1976D2);
}

.sticky-btn-location {
    background: linear-gradient(135deg, #FF5722, #E64A19);
}

@media (max-width: 768px) {
    .sticky-action-buttons {
        bottom: 15px;
        right: 15px;
        gap: 10px;
    }
    
    .sticky-btn {
        padding: 14px;
        border-radius: 50%;
        width: 55px;
        height: 55px;
        justify-content: center;
    }
    
    .sticky-btn span {
        display: none;
    }
    
    .sticky-btn i {
        font-size: 20px;
    }
    
    .sticky-btn:hover {
        transform: scale(1.1);
    }
}


/* ===== Hide Top Bar ===== */
.top-bar {
    display: none !important;
}


/* ===== Service Icon Images ===== */
.service-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.service-icon-img {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
}

/* White filter for icons that need it */
.service-icon-img img {
    filter: brightness(0) invert(1);
}

/* Services CTA Button */
.services-cta {
    text-align: center;
    margin-top: 40px;
}

@media (max-width: 768px) {
    .service-icon img {
        width: 40px;
        height: 40px;
    }
    
    .services-cta {
        margin-top: 30px;
    }
}


/* ===== Appointment Booking Page ===== */
.appointment-section {
    padding: 60px 0;
}

.booking-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Why Book Section */
.why-book-section {
    padding: 80px 0;
}

.why-book-section .section-title {
    text-align: center;
    margin-bottom: 20px;
}

.why-book-section .section-title h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 0;
}

.why-book-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 30px !important;
    margin-top: 40px;
    width: 100%;
}

.why-book-item {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.why-book-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.why-book-icon {
    width: 70px;
    height: 70px;
    min-width: 70px;
    min-height: 70px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: #fff;
}

.why-book-item h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-dark);
    font-weight: 600;
}

.why-book-item p {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin: 0;
    line-height: 1.5;
}

/* Contact Options */
.appointment-contact {
    padding: 80px 0;
}

.contact-options {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.contact-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 40px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 200px;
}

.contact-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.contact-option i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-option span {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 5px;
}

.contact-option strong {
    font-size: 1rem;
    color: var(--text-dark);
}

/* BookingPress Form Styling Override */
.booking-wrapper .bpa-front-module--main-container {
    font-family: var(--font-body) !important;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .why-book-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .booking-wrapper {
        padding: 20px;
        margin: 0 15px;
    }
    
    .why-book-section {
        padding: 60px 0;
    }
    
    .why-book-section .section-title h2 {
        font-size: 1.6rem;
    }
    
    .why-book-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .why-book-item {
        padding: 25px 20px;
    }
    
    .why-book-icon {
        width: 60px;
        height: 60px;
        min-width: 60px;
        min-height: 60px;
        font-size: 1.5rem;
    }
    
    .contact-options {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .contact-option {
        width: 100%;
        max-width: 300px;
        padding: 25px 30px;
    }
}
