/* File: public/assets/css/style.css */

/* ========================================
   CSS Variables & Reset
   ======================================== */

:root {
    --primary: #064660;
    --secondary: #B6DBE5;
    --accent: #E87C45;
    --text-dark: #030C1E;
    --bg-light: #EFF6FC;
    --white: #FFFFFF;
    --gray-100: #F8F9FA;
    --gray-200: #E9ECEF;
    --gray-300: #DEE2E6;
    --gray-600: #6C757D;
    --gray-800: #343A40;
    --success: #28A745;
    --danger: #DC3545;
    --warning: #FFC107;
    
    --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

/* ========================================
   Typography
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

/* ========================================
   Container & Layout
   ======================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

section {
    padding: 80px 0;
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
}

/* ========================================
   Buttons
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 15px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    white-space: nowrap;
    user-select: none;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

.btn-primary:hover {
    background: #d16a38;
    border-color: #d16a38;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--primary);
    border-color: var(--secondary);
}

.btn-secondary:hover {
    background: #a0cad6;
    border-color: #a0cad6;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.125rem;
}

.btn-block {
    width: 100%;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* ========================================
   Header
   ======================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
    z-index: 999;      /* keep same or higher — never lower */

}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-list {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--accent);
}

.nav-link:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

@media (max-width: 992px) {
    .nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 280px;
        height: calc(100vh - 80px);
        background: var(--white);
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
        overflow-y: auto;
    }
    
    .nav.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 0;
        padding: 20px;
    }
    
    .nav-link {
        display: block;
        padding: 15px;
        border-bottom: 1px solid var(--gray-200);
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
}

@media (max-width: 768px) {
    .header-actions .btn-secondary {
        display: none;
    }
    
    .logo img {
        height: 40px;
    }
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    background: linear-gradient(135deg, var(--primary) 0%, #085a7a 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(6, 70, 96, 0.95) 0%, rgba(8, 90, 122, 0.9) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    max-width: 800px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-title .highlight {
    color: var(--accent);
    display: block;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.hero-description {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-features {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
}

.feature-icon {
    width: 24px;
    height: 24px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

/* Animations */
.animate-fade-in {
    animation: fadeIn 0.8s ease-out;
}

.animate-fade-in-delay {
    animation: fadeIn 0.8s ease-out 0.2s both;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 0.8s ease-out 0.4s both;
}

.animate-fade-in-delay-3 {
    animation: fadeIn 0.8s ease-out 0.6s both;
}

.animate-fade-in-delay-4 {
    animation: fadeIn 0.8s ease-out 0.8s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 120px 0 60px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
}

/* ========================================
   Trust Badges
   ======================================== */

.trust-badges {
    background: var(--bg-light);
    padding: 40px 0;
}

.badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.badge-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.badge-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.badge-text strong {
    display: block;
    font-size: 1.125rem;
    color: var(--primary);
    margin-bottom: 4px;
}

.badge-text span {
    font-size: 0.875rem;
    color: var(--gray-600);
}

@media (max-width: 768px) {
    .badges-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Section Header
   ======================================== */

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-title {
    color: var(--primary);
    margin-bottom: 15px;
}
.section-title {
    color: "#505050";
    margin-bottom: 15px;
}
.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
}

/* ========================================
   Services Section
   ======================================== */

.services {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.service-card {
    padding: 30px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
    background: var(--white);
}
a.service-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* Visual cue — linked cards get a subtle arrow */
.service-card--linked::after {
    content: 'Learn more →';
    display: block;
    margin-top: 12px;
    font-size: 0.85rem;
    color: #01696f;   /* your teal */
    font-weight: 500;
}
.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-title {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.service-description {
    color: var(--gray-600);
    line-height: 1.6;
}

.services-note {
    text-align: center;
    padding: 20px;
    background: var(--gray-100);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--accent);
}

.services-note p {
    margin: 0;
    color: var(--gray-600);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Doctor Section
   ======================================== */

.doctor {
    background: var(--bg-light);
}

.doctor-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
}

.doctor-image-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--primary) 0%, #0a5a7a 50%, var(--secondary) 100%);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transform: translateY(50px);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
    box-shadow: 
        0 20px 60px rgba(6, 70, 96, 0.35),
        0 10px 30px rgba(6, 70, 96, 0.25),
        0 5px 15px rgba(6, 70, 96, 0.15);
}

/* Gradient border glow effect */
.doctor-image-placeholder::before {
    content: "";
    position: absolute;
    inset: -4px;
    background: linear-gradient(
        135deg,
        var(--accent),
        var(--secondary),
        var(--primary),
        var(--accent)
    );
    background-size: 300% 300%;
    border-radius: 32px;
    z-index: -1;
    opacity: 0;
    filter: blur(20px);
    animation: gradientShift 6s ease infinite;
    transition: opacity 0.6s ease;
}

.doctor-image-placeholder:hover::before {
    opacity: 0.8;
}

/* Image styling */
.doctor-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 28px;
    position: relative;
    z-index: 1;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Hover effect */
.doctor-image-placeholder:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 30px 80px rgba(6, 70, 96, 0.4),
        0 15px 40px rgba(6, 70, 96, 0.3),
        0 8px 20px rgba(6, 70, 96, 0.2);
}

.doctor-image-placeholder:hover img {
    transform: scale(1.05);
}

/* Shine overlay effect */
.doctor-image-placeholder::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.15) 50%,
        transparent 70%
    );
    transform: rotate(45deg);
    animation: shine 4s ease-in-out infinite;
    z-index: 2;
    pointer-events: none;
}

/* Animations */
@keyframes fadeInUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes shine {
    0%, 100% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    50% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .doctor-image-placeholder {
        border-radius: 24px;
        box-shadow: 
            0 15px 45px rgba(6, 70, 96, 0.3),
            0 8px 25px rgba(6, 70, 96, 0.2);
    }
    
    .doctor-image-placeholder::before {
        border-radius: 26px;
    }
    
    .doctor-image-placeholder img {
        border-radius: 22px;
    }
    
    .doctor-image-placeholder:hover {
        transform: translateY(-5px) scale(1.01);
    }
}


.doctor-icon {
    font-size: 8rem;
}

.doctor-name {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.doctor-title {
    font-size: 1.25rem;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 30px;
}

.doctor-credentials {
    margin-bottom: 30px;
}

.doctor-credentials h4 {
    font-size: 1.125rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.credentials-list {
    list-style: none;
}

.credentials-list li {
    display: flex;
    align-items: start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-200);
}

.credentials-list li:last-child {
    border-bottom: none;
}

.credential-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.doctor-description {
    margin-bottom: 30px;
}

.doctor-description p {
    color: var(--gray-600);
    line-height: 1.8;
}

.doctor-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}
/* ========================================
   Certificates Gallery
   ======================================== */

.certificates-section {
    margin-top: 30px;
}

.certificates-section h4 {
    font-size: 1.125rem;
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 600;
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
}

.certificate-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--bg-light);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 500;
    width: 100%;
}

.certificate-link:hover {
    background: var(--white);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.cert-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* Certificate Lightbox */
.certificate-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.certificate-lightbox.active {
    display: flex;
    opacity: 1;
}

.certificate-lightbox-content {
    max-width: 95%;
    max-height: 95vh;
    position: relative;
    animation: zoomIn 0.3s ease;
    cursor: default;
}

.certificate-lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.certificate-lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: var(--white);
    color: var(--text-dark);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-weight: 300;
}

.certificate-lightbox-close:hover {
    background: var(--accent);
    color: var(--white);
    transform: rotate(90deg);
}

.certificate-lightbox-title {
    position: absolute;
    bottom: -60px;
    left: 0;
    right: 0;
    text-align: center;
    color: var(--white);
    font-size: 1.125rem;
    font-weight: 500;
    padding: 0 20px;
}

@keyframes zoomIn {
    from {
        transform: scale(0.85);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .certificates-grid {
        grid-template-columns: 1fr;
    }
    
    .certificate-link {
        padding: 12px 16px;
    }
    
    .certificate-lightbox-close {
        top: 10px;
        right: 10px;
        width: 36px;
        height: 36px;
        font-size: 1.5rem;
    }
    
    .certificate-lightbox-title {
        bottom: 10px;
        font-size: 1rem;
        background: rgba(0, 0, 0, 0.7);
        padding: 10px;
        border-radius: 6px;
    }
    
    .certificate-lightbox-content img {
        max-height: 80vh;
    }
}

@media (max-width: 992px) {
    .doctor-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .doctor-image-placeholder {
        max-width: 400px;
        margin: 0 auto;
    }
}

/* ========================================
   Laser Highlight
   ======================================== */

.laser-highlight {
    background: linear-gradient(135deg, var(--primary) 0%, #085a7a 100%);
    color: var(--white);
}

.laser-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;
}

.laser-description {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.laser-benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.benefit-icon {
    width: 28px;
    height: 28px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: bold;
}

.laser-disclaimer {
    opacity: 0.8;
}

.laser-visual {
    width: 100%;
    aspect-ratio: 1;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    overflow: hidden;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.1),
        0 5px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    transform: translateY(30px);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
    transition: all 0.4s ease;
}

.laser-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
    transition: transform 0.5s ease;
}

.laser-visual:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 15px 50px rgba(0, 0, 0, 0.15),
        0 8px 25px rgba(0, 0, 0, 0.08);
}

.laser-visual:hover img {
    transform: scale(1.05);
}

@keyframes fadeInUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .laser-visual {
        border-radius: 16px;
        box-shadow: 
            0 8px 30px rgba(0, 0, 0, 0.08),
            0 4px 15px rgba(0, 0, 0, 0.04);
    }
    
    .laser-visual img {
        border-radius: 14px;
    }
    
    .laser-visual:hover {
        transform: translateY(-3px);
    }
}


.laser-icon {
    font-size: 8rem;
}

@media (max-width: 992px) {
    .laser-content {
        grid-template-columns: 1fr;
    }
    
    .laser-benefits {
        grid-template-columns: 1fr;
    }
}

.view-link {
    color: var(--accent);
    font-size: 0.875rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .equipment-grid {
        grid-template-columns: 1fr;
    }
}


/* ========================================
   Testimonials
   ======================================== */

.testimonials {
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.testimonial-card {
    padding: 30px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.testimonial-rating {
    margin-bottom: 15px;
}

.star {
    font-size: 1.25rem;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.author-info strong {
    display: block;
    color: var(--primary);
    margin-bottom: 4px;
}

.author-info span {
    font-size: 0.875rem;
    color: var(--gray-600);
}

.testimonials-actions {
    text-align: center;
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   FAQ Section
   ======================================== */

.faq {
    background: var(--bg-light);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-md);
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: 300;
    transition: var(--transition);
    flex-shrink: 0;
    margin-left: 15px;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 25px 20px;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ========================================
   Appointment Section
   ======================================== */

.appointment {
    background: var(--white);
}

.appointment-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.appointment-description {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 30px;
    line-height: 1.7;
}

.appointment-benefits {
    margin-bottom: 30px;
}

.appointment-contact {
    padding: 25px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--accent);
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
    font-weight: 500;
    color: var(--primary);
    transition: var(--transition);
}

.contact-link:hover {
    color: var(--accent);
    padding-left: 10px;
}

.contact-link.whatsapp {
    color: #25D366;
}

.appointment-form-wrapper {
    background: var(--bg-light);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.appointment-form .form-group {
    margin-bottom: 20px;
}

.appointment-form label {
    display: block;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.required {
    color: var(--danger);
}

.appointment-form input,
.appointment-form select,
.appointment-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--white);
}

.appointment-form input:focus,
.appointment-form select:focus,
.appointment-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(232, 124, 69, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.checkbox-group {
    display: flex;
    align-items: start;
}

.checkbox-label {
    display: flex;
    align-items: start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9rem;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-top: 3px;
    cursor: pointer;
}

.form-message {
    padding: 15px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

.btn-loader {
    display: inline-block;
}

@media (max-width: 992px) {
    .appointment-content {
        grid-template-columns: 1fr;
    }
    
    .appointment-form-wrapper {
        padding: 30px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Contact Section
   ======================================== */

.contact {
    background: var(--bg-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.info-card {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: var(--white);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.info-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.info-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.info-details h3 {
    font-size: 1.125rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.info-details p {
    color: var(--gray-600);
    margin-bottom: 8px;
}

.info-link {
    display: inline-block;
    color: var(--accent);
    font-weight: 500;
    margin-top: 10px;
    transition: var(--transition);
}

.info-link:hover {
    color: var(--primary);
}

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 95%;
    min-height: 450px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 450px;
}

@media (max-width: 992px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Blog Preview
   ======================================== */

.blog-preview {
    background: var(--white);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.blog-card {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.blog-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: var(--gray-200);
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: 25px;
}

.blog-date {
    display: block;
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-bottom: 10px;
}

.blog-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.blog-title a {
    color: var(--primary);
    transition: var(--transition);
}

.blog-title a:hover {
    color: var(--accent);
}

.blog-excerpt {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 15px;
}

.blog-link {
    color: var(--accent);
    font-weight: 500;
    transition: var(--transition);
}

.blog-link:hover {
    color: var(--primary);
}

.blog-actions {
    text-align: center;
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Footer
   ======================================== */
/* ── Footer Base ─────────────────────────────────────────── */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 60px 0 20px;
}

/* ── Desktop: 4-column grid ──────────────────────────────── */
/* Brand takes more space, links cols are compact, contact+map is widest */
.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 40px;
    margin-bottom: 40px;
    align-items: start;
}

/* ── Brand Column ────────────────────────────────────────── */
.footer-title {
    color: var(--accent);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 1.25rem;
}

.social-link:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

/* ── Links Columns ───────────────────────────────────────── */
.footer-heading {
    color: var(--secondary);
    font-size: 1.125rem;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

/* ── Contact + Map Column ────────────────────────────────── */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact a:hover {
    color: var(--accent);
}

.contact-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* ── Map in Footer ───────────────────────────────────────── */
.footer-map {
    border-radius: var(--radius-md);
    overflow: hidden;
    opacity: 0.9;
}

.footer-map iframe {
    display: block;
    width: 100%;
    height: 180px;
    border: 0;
}

/* ── Footer Bottom ───────────────────────────────────────── */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.footer-disclaimer {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    font-size: 0.875rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
}

.footer-legal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--accent);
}

.footer-legal-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* ── Tablet: 2-column ────────────────────────────────────── */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    /* Brand spans full width on tablet */
    .footer-brand {
        grid-column: 1 / -1;
    }
}

/* ── Mobile: structured 3-row layout ────────────────────── */
@media (max-width: 640px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }

    /* Row 1: Brand full width */
    .footer-brand {
        grid-column: 1 / -1;
    }

    /* Row 2: Quick Links + Our Services side by side */
    .footer-links-col,
    .footer-services-col {
        grid-column: span 1;
    }

    /* Row 3: Contact + Map full width */
    .footer-contact-col {
        grid-column: 1 / -1;
    }

    .footer-map iframe {
        height: 200px; /* slightly taller on mobile for better visibility */
    }

    .footer-legal {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* ========================================
   WhatsApp Float Button
   ======================================== */

.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7);
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
    
    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}

/* ========================================
   Utility Classes
   ======================================== */

.text-center {
    text-align: center;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: 0.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mb-2 { margin-bottom: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-3 { margin-bottom: 1.5rem; }

.hidden {
    display: none;
}

/* ========================================
   Responsive Typography
   ======================================== */

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    h1 { font-size: 2.25rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    h4 { font-size: 1.25rem; }
}

/* ============================================
   AI Chatbot — The Urban Smile
   ============================================ */

#tus-chatbot {
    position: fixed;
    bottom: 90px;
    right: 24px;
    z-index: 9990;
    font-family: 'Poppins', sans-serif;
}

/* Bubble Button */
#tus-chat-bubble {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent, #E87C45), #d16a38);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(232, 124, 69, 0.5);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.3s ease;
    position: relative;
    z-index: 9991;
}

#tus-chat-bubble:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(232, 124, 69, 0.6);
}

#tus-chat-bubble.tus-bubble-pulse {
    animation: chatPulse 1.5s ease-in-out 3;
}

@keyframes chatPulse {
    0%, 100% { transform: scale(1);    box-shadow: 0 4px 20px rgba(232,124,69,0.5); }
    50%       { transform: scale(1.12); box-shadow: 0 8px 32px rgba(232,124,69,0.7); }
}

/* Unread Badge */
#tus-unread-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #e53e3e;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    animation: badgePop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes badgePop {
    from { transform: scale(0); }
    to   { transform: scale(1); }
}

/* Chat Window */
#tus-chat-window {
    position: absolute;
    bottom: 75px;
    right: 0;
    width: 360px;
    max-height: 540px;
    background: #fff;
    border-radius: 20px;
    box-shadow:
        0 20px 60px rgba(0,0,0,0.15),
        0 8px 25px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.85) translateY(20px);
    transform-origin: bottom right;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
                opacity 0.3s ease;
}

#tus-chat-window.tus-chat-open {
    transform: scale(1) translateY(0);
    opacity: 1;
    pointer-events: all;
}

/* Header */
#tus-chat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    background: linear-gradient(135deg, var(--primary, #064660), #0a5a7a);
    color: #fff;
    flex-shrink: 0;
}

.chat-header-avatar {
    width: 42px;
    height: 42px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.chat-header-info {
    flex: 1;
}

.chat-header-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.chat-header-status {
    font-size: 0.78rem;
    opacity: 0.85;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 2px;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #48bb78;
    display: inline-block;
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.4; }
}

#tus-chat-close {
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    flex-shrink: 0;
}

#tus-chat-close:hover {
    background: rgba(255,255,255,0.25);
}

/* Messages Area */
#tus-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #f8f9fa;
    scroll-behavior: smooth;
}

#tus-chat-messages::-webkit-scrollbar {
    width: 4px;
}

#tus-chat-messages::-webkit-scrollbar-track {
    background: transparent;
}

#tus-chat-messages::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 4px;
}

/* Message rows */
.tus-msg {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    max-width: 90%;
}

.tus-msg-bot {
    align-self: flex-start;
}

.tus-msg-user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.tus-msg-in {
    animation: msgIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes msgIn {
    from { opacity: 0; transform: translateY(10px) scale(0.95); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Avatar */
.tus-bot-avatar {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--primary, #064660), #0a5a7a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

/* Bubbles */
.tus-bubble {
    padding: 10px 14px;
    border-radius: 18px;
    font-size: 0.875rem;
    line-height: 1.55;
    max-width: 100%;
    word-break: break-word;
    white-space: pre-wrap;
}

.tus-msg-bot .tus-bubble {
    background: #fff;
    color: #2d3748;
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.tus-msg-user .tus-bubble {
    background: linear-gradient(135deg, var(--accent, #E87C45), #d16a38);
    color: #fff;
    border-bottom-right-radius: 4px;
}

/* Typing indicator */
.tus-typing {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 12px 16px;
    min-width: 60px;
}

.tus-typing span {
    width: 7px;
    height: 7px;
    background: #cbd5e0;
    border-radius: 50%;
    animation: typingDot 1.2s ease-in-out infinite;
}

.tus-typing span:nth-child(2) { animation-delay: 0.2s; }
.tus-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingDot {
    0%, 80%, 100% { transform: scale(1);    opacity: 0.4; }
    40%            { transform: scale(1.3);  opacity: 1;   }
}

/* Quick Replies */
#tus-quick-replies {
    padding: 6px 12px 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    background: #f8f9fa;
    border-top: 1px solid #eee;
    min-height: 0;
}

.tus-quick-btn {
    background: #fff;
    border: 1.5px solid var(--accent, #E87C45);
    color: var(--accent, #E87C45);
    border-radius: 20px;
    padding: 6px 13px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Poppins', sans-serif;
}

.tus-quick-btn:hover {
    background: var(--accent, #E87C45);
    color: #fff;
    transform: translateY(-1px);
}

/* Input Area */
#tus-chat-input-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    background: #fff;
    border-top: 1px solid #eee;
    flex-shrink: 0;
}

#tus-chat-input {
    flex: 1;
    border: 1.5px solid #e2e8f0;
    border-radius: 24px;
    padding: 9px 16px;
    font-size: 0.875rem;
    outline: none;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.2s ease;
    background: #f8f9fa;
    color: #2d3748;
}

#tus-chat-input:focus {
    border-color: var(--accent, #E87C45);
    background: #fff;
}

#tus-chat-input::placeholder {
    color: #a0aec0;
}

#tus-chat-send {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--accent, #E87C45), #d16a38);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    flex-shrink: 0;
}

#tus-chat-send:hover:not(:disabled) {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(232,124,69,0.4);
}

#tus-chat-send:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Footer */
#tus-chat-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 8px;
    background: #fff;
    border-top: 1px solid #eee;
    font-size: 0.78rem;
    color: #718096;
}

.chat-wa-link, .chat-call-link {
    color: #25D366;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: opacity 0.2s;
}

.chat-call-link {
    color: var(--primary, #064660);
}

.chat-wa-link:hover,
.chat-call-link:hover {
    opacity: 0.75;
}

/* Mobile */
@media (max-width: 480px) {
    #tus-chatbot {
        bottom: 75px;
        right: 20px;
    }

    #tus-chat-window {
        width: calc(100vw - 32px);
        right: 0;
        bottom: 70px;
        max-height: 70vh;
        border-radius: 16px;
    }
}
/* Chatbot Brand Footer */

#tus-chat-brand {
    text-align: center;
    padding: 6px 10px;
    font-size: 0.72rem;
    color: #a0aec0;
    background: #fff;
    border-top: 1px solid #f0f0f0;
    white-space: nowrap;        /* ← keeps everything on one line */
    overflow: hidden;
}

#tus-chat-brand a {
    color: var(--primary, #064660);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;       /* ← logo + text stay together */
    align-items: center;
    gap: 4px;
    transition: opacity 0.2s;
}

#tus-chat-brand a:hover {
    opacity: 0.75;
}
/* Dropdown — CLICK ONLY, no hover */
.nav-item.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    min-width: 220px;

    /* ✅ These are the missing styles */
    background-color: #ffffff;       /* solid white — change to match your header color */
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    padding: 8px 0;
    list-style: none;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 18px;
    color: #333333;
    text-decoration: none;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: background 0.15s ease;
}

.dropdown-menu li a:hover,
.dropdown-menu li a:active {
    background-color: #f3f4f6;
    color: #01696f;   /* your primary teal */
}

/* Mobile — dropdown stacks inside nav, not floating */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static;     /* flows in document, not floating */
        box-shadow: none;
        border: none;
        border-radius: 0;
        background-color: #f9f9f9;   /* slightly off-white to distinguish */
        padding: 0 0 0 16px;         /* indent under Services */
        border-left: 3px solid #01696f;
    }

    .dropdown-menu li a {
        padding: 10px 12px;
        font-size: 0.875rem;
    }
}
/* Only JS controls this — no :hover at all */
.nav-item.dropdown.open .dropdown-menu {
    display: block;
}

/* Arrow indicator */
.nav-item.dropdown > a::after {
    content: ' ▾';
    font-size: 0.75em;
    transition: transform 0.2s ease;
    display: inline-block;
}

.nav-item.dropdown.open > a::after {
    transform: rotate(180deg);
}

