/* 
  Theme Name: Dr. Bendale's Premium Dental Care 
  Description: Premium styling for dental clinic landing page
  Typography: 'Outfit', sans-serif
*/

:root {
    --primary-color: #0b4b72;
    /* Deep Trust Blue */
    --primary-light: #167ab7;
    --accent-color: #ff8c00;
    /* Vibrant Orange for CTAs */
    --accent-hover: #e07b00;
    --text-main: #334155;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
}

/* Typography Utilities */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.text-accent {
    color: var(--accent-color) !important;
}

.bg-accent {
    background-color: var(--accent-color) !important;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--primary-light);
    border-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(11, 75, 114, 0.2) !important;
}

.btn-accent {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.btn-accent:hover,
.btn-accent:focus {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 140, 0, 0.2) !important;
}

.btn {
    transition: all 0.3s ease;
}

/* Layout Utilities */
.section-padding {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.max-w-700 {
    max-width: 700px;
}

.tracking-wide {
    letter-spacing: 0.05em;
}

.fs-7 {
    font-size: 0.875rem;
}

/* Top Bar */
.top-bar {
    font-size: 0.9rem;
}

.top-bar a:hover {
    opacity: 0.8;
}

/* Navbar */
.navbar {
    transition: all 0.3s ease;
}

.navbar-nav .nav-link {
    color: var(--text-main);
    font-weight: 500;
    margin: 0 0.5rem;
    position: relative;
    padding-bottom: 0.25rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--accent-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

/* Hero Section */
.hero-section {
    min-height: 90vh;
    overflow: hidden;
}

@media (max-width: 991.98px) {
    .hero-section {
        min-height: auto;
        padding-top: 2rem;
        padding-bottom: 3rem;
    }

    .trust-cards {
        margin-top: 2rem !important;
    }
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(11, 75, 114, 0.95) 0%, rgba(11, 75, 114, 0.8) 50%, rgba(11, 75, 114, 0.4) 100%);
}

.glass-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.glass-card .form-control,
.glass-card .form-select {
    border-radius: 0.5rem;
}

.glass-card .form-control:focus,
.glass-card .form-select:focus {
    box-shadow: 0 0 0 0.25rem rgba(11, 75, 114, 0.1);
    background-color: var(--white) !important;
}

/* Trust Cards */
.hover-up {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-up:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08) !important;
}

/* Service Cards */
.service-card {
    transition: all 0.4s ease;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(11, 75, 114, 0.8) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-overlay {
    opacity: 1;
}

.group-hover {
    transition: all 0.3s;
}

.service-card:hover .group-hover {
    color: var(--accent-color) !important;
    padding-left: 5px !important;
}

/* Testimonials */
.diagonal-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--primary-color);
    transform: skewY(-5deg);
    transform-origin: top left;
    z-index: 0;
    padding-bottom: 5rem;
}

.transform-y-md {
    transform: translateY(20px);
}

@media (max-width: 768px) {
    .transform-y-md {
        transform: translateY(0);
    }
}

/* Floating WhatsApp */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    color: white;
    background-color: #20BA56;
}

/* Floating Call Button */
.floating-call {
    position: fixed;
    bottom: 105px;
    /* Above WhatsApp */
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 10px 20px rgba(11, 75, 114, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.floating-call:hover {
    transform: scale(1.1);
    color: white;
    background-color: var(--primary-light);
}

/* Appointment Section overlay pattern */
.pattern-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 2px 2px, white 1px, transparent 0);
    background-size: 20px 20px;
    z-index: 0;
}

/* Form Styles */
.form-control:focus,
.form-select:focus {
    border-color: var(--accent-color) !important;
    box-shadow: 0 0 0 0.25rem rgba(255, 140, 0, 0.1);
}

/* Footer Links */
.footer-links a {
    transition: opacity 0.2s, padding-left 0.2s;
}

.footer-links a:hover {
    opacity: 1 !important;
    padding-left: 5px;
    color: var(--accent-color) !important;
}

.social-btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-btn:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
}

/* Blur Utilities & Doctor Section */
.blur-xl {
    filter: blur(40px);
}

.doctor-img {
    border: 8px solid white;
    border-radius: 1.5rem;
}

.experience-badge {
    padding: 1.5rem 1rem !important;
    min-width: 120px;
    text-align: center;
}

/* FAQ Accordion */
.custom-accordion .accordion-button:not(.collapsed) {
    color: var(--primary-color) !important;
    background-color: transparent !important;
    box-shadow: none;
}

.custom-accordion .accordion-button:focus {
    border-color: transparent;
    box-shadow: none;
}

.custom-accordion .accordion-button::after {
    transition: transform 0.3s ease;
}

.custom-accordion .accordion-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.custom-accordion .accordion-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05) !important;
}

/* Mobile Sticky Action Bar Margin */
@media (max-width: 991.98px) {
    body {
        padding-bottom: 70px;
    }
}

#services p {
    font-size: 17px !important;
}