/* ========== THEME & FONT DEFINITIONS ========== */
:root {
    --dark-bg: #212529;
    --dark-secondary: #343a40;
    --gold-primary: #ffc107;
    --light-text: #f8f9fa;
    --grey-text: #adb5bd;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    --font-urdu: 'Noto Nastaliq Urdu', serif;
    --transition: all 0.3s ease-in-out;
}
body {
    font-family: var(--font-body);
    background-color: #f0f2f5;
    padding-bottom: 100px;
}
h1,h2,h3,h4,h5,h6 {
    font-family: var(--font-heading);
    color: var(--dark-bg);
}
/* For pages with Urdu content */
.urdu-lang {
    direction: rtl;
    font-family: var(--font-urdu);
}
.urdu-lang h1, .urdu-lang h2, .urdu-lang h3 {
    font-family: var(--font-urdu);
}

/* ========== HEADER & NAVBAR STYLES ========== */
.top-header {
    background-color: var(--dark-bg);
    color: var(--grey-text);
    padding: 10px 0;
    border-bottom: 1px solid var(--dark-secondary);
    font-size: 0.9rem;
}
.top-header .logo-wrapper img {
    height: 50px;
}
.top-header .brand-text h5 {
    color: var(--light-text);
    font-size: 1.2rem;
    margin-bottom: 0;
}
.top-header .brand-text p {
    font-size: 0.8rem;
    margin-bottom: 0;
    color: var(--grey-text);
}
.top-header .social-icons a {
    font-size: 1rem;
    color: var(--grey-text);
    text-decoration: none;
    transition: var(--transition);
}
.top-header .social-icons a:hover {
    color: var(--gold-primary);
    transform: scale(1.1);
}
.navbar-main {
    background: var(--dark-bg);
    padding: 8px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.navbar-main .nav-link {
    color: var(--grey-text);
    padding: 8px 15px;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}
.navbar-main .nav-link:hover,
.navbar-main .nav-item.active .nav-link {
    color: var(--gold-primary);
    border-bottom-color: var(--gold-primary);
}
.navbar-main .dropdown-menu {
    background-color: var(--dark-secondary);
    border: 1px solid #495057;
}
.navbar-main .dropdown-item {
    color: var(--grey-text);
}
.navbar-main .dropdown-item:hover {
    background-color: #495057;
    color: var(--gold-primary);
}
.auth-buttons .btn {
    border-radius: 50px;
    padding: 8px 22px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}
.auth-buttons .login-btn {
    border: 1px solid var(--grey-text);
    color: var(--light-text);
}
.auth-buttons .register-btn {
    background-color: var(--gold-primary);
    color: var(--dark-bg);
    border: 1px solid var(--gold-primary);
}

/* ========== SLIDER STYLES ========== */
.slider-container {
    margin-top: 1.5rem;
}
.slider-container .carousel-item {
    height: 500px;
}
.slider-container .carousel-item img {
    border-radius: 12px;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}
.slider-container .carousel-caption {
    background: rgba(0,0,0,0.45);
    border-radius: 0 0 10px 10px;
}
.slider-container .carousel-caption h5,
.slider-container .carousel-caption p {
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* ========== GENERAL CONTENT STYLES ========== */
.page-content-container {
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    padding: 40px;
}
.section-title {
    font-size: 2.5rem;
    text-align: center;
}
.section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem auto;
}

/* ========== FOOTER STYLES ========== */
.site-footer {
    background-color: var(--dark-bg);
    color: var(--grey-text);
    padding: 5rem 0 0 0;
    font-size: 0.95rem;
}
.site-footer .footer-heading {
    color: var(--gold-primary);
    border-bottom: 2px solid var(--dark-secondary);
    padding-bottom: 10px;
    margin-bottom: 20px;
}
.site-footer .footer-links a,
.site-footer .contact-list li {
    color: var(--grey-text);
    text-decoration: none;
    transition: var(--transition);
}
.site-footer .footer-links a:hover,
.site-footer .contact-list li a:hover {
    color: var(--gold-primary);
    text-decoration: underline;
}
.site-footer .contact-list i {
    color: var(--gold-primary);
    margin-right: 10px;
}
.site-footer .copyright-wrapper {
    border-top: 1px solid var(--dark-secondary);
    padding: 1.5rem 0;
    margin-top: 4rem;
}
.site-footer .copyright-text {
    text-align: center;
    margin: 0;
}

/* ========== FLOATING BUTTONS STYLES ========== */
.floating-buttons-container {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 1030;
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-end;
    gap: 15px;
}
.appointment-float {
    background-color: var(--gold-primary);
    color: var(--dark-bg);
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.4);
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
}
.whatsapp-float {
    background-color: #25d366;
    color: #fff;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
}
.appointment-float:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.6);
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* === ANIMATED WELCOME STRIP STYLES === */
.welcome-strip {
    background-color: var(--dark-secondary);
    color: var(--light-text);
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.welcome-text {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 30s linear infinite;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1rem;
}
.welcome-text span {
    margin: 0 20px;
}
.welcome-text .fa-star {
    color: var(--gold-primary);
    font-size: 0.8rem;
}
@keyframes marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* =====================
   Page Header Styles
===================== */ 
.page-header {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-secondary) 100%);
    text-align: center;
}
.page-header h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    color: var(--gold-primary);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
    font-weight: 700;
}