/* ================================================================
   HEALTHCARE HMS - PUBLIC WEBSITE CSS
   Modern, Responsive, Medical Theme
   ================================================================ */

/* ===== CSS Variables ===== */
:root {
    --ws-primary: var(--primary, #2563EB);
    --ws-secondary: var(--secondary, #10B981);
    --ws-dark: #0f172a;
    --ws-light: #f8fafc;
    --ws-gray: #64748b;
    --ws-border: #e2e8f0;
    --ws-shadow: 0 4px 24px rgba(0,0,0,0.06);
    --ws-shadow-lg: 0 12px 40px rgba(0,0,0,0.1);
    --ws-radius: 16px;
    --ws-radius-sm: 10px;
    --ws-transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ===== Base ===== */
* { box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; margin: 0; padding: 0; color: var(--ws-dark); background: #fff; overflow-x: hidden; }
img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; transition: var(--ws-transition); }

/* ===== Top Bar ===== */
.ws-top-bar { background: var(--ws-dark); color: #fff; padding: 8px 0; font-size: 0.8rem; }
.ws-top-link { color: rgba(255,255,255,0.85); margin-right: 16px; display: inline-flex; align-items: center; gap: 6px; }
.ws-top-link:hover { color: #fff; }
.ws-social-link { color: rgba(255,255,255,0.7); width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; transition: var(--ws-transition); }
.ws-social-link:hover { background: rgba(255,255,255,0.15); color: #fff; }

/* ===== Navbar ===== */
.ws-navbar { position: sticky; top: 0; z-index: 1000; background: #fff; padding: 14px 0; transition: var(--ws-transition); border-bottom: 1px solid transparent; }
.ws-navbar.ws-scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); border-bottom-color: var(--ws-border); background: rgba(255,255,255,0.97); backdrop-filter: blur(12px); }
.ws-navbar .container { display: flex; align-items: center; justify-content: space-between; }
.ws-navbar-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.ws-logo { height: 40px; width: auto; }
.ws-logo-icon { width: 40px; height: 40px; background: linear-gradient(135deg, var(--ws-primary), #1d4ed8); color: #fff; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.ws-brand-text { font-size: 1.2rem; font-weight: 800; color: var(--ws-dark); letter-spacing: -0.5px; }
.ws-navbar-collapse { display: flex; align-items: center; gap: 8px; }
.ws-nav { display: flex; list-style: none; margin: 0; padding: 0; gap: 4px; }
.ws-nav-link { padding: 8px 16px; border-radius: 8px; font-weight: 500; font-size: 0.9rem; color: var(--ws-dark); transition: var(--ws-transition); }
.ws-nav-link:hover, .ws-nav-link.active { background: var(--ws-primary); color: #fff; }
.ws-nav-cta { margin-left: 12px; }

/* Hamburger Toggle Button */
.ws-navbar-toggle { display: none; background: none; border: none; cursor: pointer; padding: 12px; z-index: 1002; position: relative; -webkit-tap-highlight-color: transparent; }
.ws-hamburger { display: block; width: 24px; height: 2px; background: var(--ws-dark); position: relative; transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), background 0.3s ease; border-radius: 2px; }
.ws-hamburger::before, .ws-hamburger::after { content: ''; position: absolute; width: 24px; height: 2px; background: var(--ws-dark); border-radius: 2px; transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), background 0.3s ease; left: 0; }
.ws-hamburger::before { top: -7px; }
.ws-hamburger::after { top: 7px; }
.nav-open .ws-hamburger { background: transparent; }
.nav-open .ws-hamburger::before { top: 0; transform: rotate(45deg); }
.nav-open .ws-hamburger::after { top: 0; transform: rotate(-45deg); }

/* Mobile Nav Overlay */
.ws-nav-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.4); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); z-index: 1000; opacity: 0; transition: opacity 0.35s ease; }
.ws-nav-overlay.show { display: block; opacity: 1; }

/* Mobile Nav Close Button */
.ws-nav-close {
    display: none;
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--ws-light);
    border: 1px solid var(--ws-border);
    color: var(--ws-dark);
    font-size: 1rem;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: var(--ws-transition);
    z-index: 10;
    -webkit-tap-highlight-color: transparent;
}
.ws-nav-close:hover {
    background: var(--ws-primary);
    color: #fff;
    border-color: var(--ws-primary);
}

/* ===== Page Header (Inner Pages) ===== */
.ws-page-header {
    background: linear-gradient(135deg, var(--ws-dark) 0%, #1e40af 100%);
    color: #fff;
    padding: 100px 0 48px;
    text-align: center;
}
.ws-page-header h1 {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 12px;
}
.ws-page-header .breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
    justify-content: center;
}
.ws-page-header .breadcrumb-item a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
}
.ws-page-header .breadcrumb-item a:hover {
    color: #fff;
}
.ws-page-header .breadcrumb-item.active {
    color: rgba(255,255,255,0.9);
}
.ws-page-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.5);
}
@media (max-width: 575.98px) {
    .ws-page-header { padding: 80px 0 32px; }
    .ws-page-header h1 { font-size: 1.8rem; }
}

/* ===== Buttons ===== */
.ws-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 24px; border-radius: 10px; font-weight: 600; font-size: 0.9rem; border: 2px solid transparent; cursor: pointer; transition: var(--ws-transition); text-decoration: none; }
.ws-btn-primary { background: var(--ws-primary); color: #fff; border-color: var(--ws-primary); }
.ws-btn-primary:hover { background: #1d4ed8; border-color: #1d4ed8; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,99,235,0.3); color: #fff; }
.ws-btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.ws-btn-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; color: #fff; }
.ws-btn-lg { padding: 14px 32px; font-size: 1rem; }
.ws-btn-sm { padding: 6px 16px; font-size: 0.8rem; border-radius: 8px; }
.ws-link { color: var(--ws-primary); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; font-size: 0.9rem; }
.ws-link:hover { gap: 10px; color: #1d4ed8; }

/* ===== Alerts ===== */
.ws-messages { padding: 16px 0 0; }
.ws-alert { padding: 12px 20px; border-radius: 10px; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; font-size: 0.9rem; animation: slideDown 0.3s ease; }
.ws-alert-success { background: #ecfdf5; color: #059669; border: 1px solid #d1fae5; }
.ws-alert-error, .ws-alert-danger { background: #fef2f2; color: #dc2626; border: 1px solid #fee2e2; }
.ws-alert-warning { background: #fffbeb; color: #d97706; border: 1px solid #fef3c7; }
.ws-alert-info { background: #eff6ff; color: #2563eb; border: 1px solid #dbeafe; }
.ws-alert-close { background: none; border: none; font-size: 1.2rem; cursor: pointer; margin-left: auto; opacity: 0.5; }
.ws-alert-close:hover { opacity: 1; }

/* ===== Hero Section ===== */
.ws-hero { position: relative; height: 85vh; min-height: 500px; max-height: 800px; overflow: hidden; }
.ws-hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 0.8s ease; }
.ws-hero-slide.active { opacity: 1; }
.ws-hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(15,23,42,0.85) 0%, rgba(30,64,175,0.7) 100%); }
.ws-hero-content { position: relative; z-index: 2; color: #fff; max-width: 650px; padding-top: 10vh; }
.ws-hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.15); backdrop-filter: blur(8px); padding: 8px 20px; border-radius: 30px; font-size: 0.8rem; font-weight: 500; margin-bottom: 24px; border: 1px solid rgba(255,255,255,0.2); }
.ws-hero h1 { font-size: 3.2rem; font-weight: 900; line-height: 1.15; margin-bottom: 20px; letter-spacing: -1px; }
.ws-hero p { font-size: 1.15rem; opacity: 0.9; margin-bottom: 32px; line-height: 1.7; }
.ws-hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.ws-hero-nav { position: absolute; bottom: 32px; right: 32px; z-index: 3; display: flex; gap: 8px; }
.ws-hero-prev, .ws-hero-next { width: 48px; height: 48px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.4); background: rgba(255,255,255,0.1); color: #fff; font-size: 1rem; cursor: pointer; transition: var(--ws-transition); display: flex; align-items: center; justify-content: center; backdrop-filter: blur(8px); }
.ws-hero-prev:hover, .ws-hero-next:hover { background: #fff; color: var(--ws-primary); border-color: #fff; }

/* ===== Info Bar ===== */
.ws-info-bar { background: #fff; margin-top: -40px; position: relative; z-index: 5; border-radius: var(--ws-radius); box-shadow: var(--ws-shadow-lg); }
.ws-info-item { display: flex; align-items: center; gap: 16px; padding: 24px 20px; border-right: 1px solid var(--ws-border); }
.ws-info-item:last-child { border-right: none; }
.ws-info-icon { width: 52px; height: 52px; border-radius: 12px; background: linear-gradient(135deg, var(--ws-primary), #1d4ed8); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.ws-info-item h6 { margin: 0; font-size: 0.85rem; font-weight: 700; color: var(--ws-dark); }
.ws-info-item p { margin: 0; font-size: 0.8rem; color: var(--ws-gray); }

/* ===== Sections ===== */
.ws-section { padding: 80px 0; }
.ws-section-header { text-align: center; margin-bottom: 48px; }
.ws-section-badge { display: inline-block; background: linear-gradient(135deg, var(--ws-primary), #1d4ed8); color: #fff; padding: 6px 20px; border-radius: 30px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 16px; }
.ws-section-header h2 { font-size: 2.2rem; font-weight: 800; color: var(--ws-dark); margin-bottom: 12px; letter-spacing: -0.5px; }
.ws-section-header p { color: var(--ws-gray); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }
.ws-section-footer { text-align: center; margin-top: 40px; }

/* ===== Service Cards ===== */
.ws-services-section { background: var(--ws-light); }
.ws-service-card { background: #fff; border-radius: var(--ws-radius); padding: 36px 28px; height: 100%; transition: var(--ws-transition); border: 1px solid var(--ws-border); text-align: center; }
.ws-service-card:hover { transform: translateY(-8px); box-shadow: var(--ws-shadow-lg); border-color: var(--ws-primary); }
.ws-service-icon { width: 72px; height: 72px; border-radius: 16px; background: linear-gradient(135deg, var(--ws-primary), #1d4ed8); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; margin: 0 auto 20px; transition: var(--ws-transition); }
.ws-service-card:hover .ws-service-icon { transform: scale(1.1) rotate(5deg); }
.ws-service-card h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.ws-service-card p { color: var(--ws-gray); font-size: 0.88rem; margin-bottom: 16px; }

/* ===== About Section ===== */
.ws-about-content h2 { font-size: 2rem; font-weight: 800; margin-bottom: 16px; }
.ws-about-content > p { color: var(--ws-gray); font-size: 1rem; margin-bottom: 28px; }
.ws-features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ws-feature-item { display: flex; gap: 14px; align-items: flex-start; }
.ws-feature-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--ws-primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.ws-feature-item h6 { margin: 0; font-size: 0.9rem; font-weight: 700; }
.ws-feature-item p { margin: 0; font-size: 0.8rem; color: var(--ws-gray); }
.ws-about-image { position: relative; }
.ws-about-img-main { border-radius: var(--ws-radius); overflow: hidden; }
.ws-about-stats { display: flex; gap: 16px; margin-top: -40px; position: relative; z-index: 2; }
.ws-stat-box { background: #fff; border-radius: var(--ws-radius-sm); padding: 20px 24px; box-shadow: var(--ws-shadow-lg); text-align: center; flex: 1; }
.ws-stat-number { display: block; font-size: 1.8rem; font-weight: 900; color: var(--ws-primary); }
.ws-stat-label { font-size: 0.75rem; color: var(--ws-gray); font-weight: 500; }

/* ===== Doctor Cards ===== */
.ws-doctors-section { background: var(--ws-light); }
.ws-doctor-card { background: #fff; border-radius: var(--ws-radius); overflow: hidden; transition: var(--ws-transition); border: 1px solid var(--ws-border); text-align: center; }
.ws-doctor-card:hover { transform: translateY(-8px); box-shadow: var(--ws-shadow-lg); }
.ws-doctor-img { height: 220px; overflow: hidden; background: linear-gradient(135deg, #e2e8f0, #f1f5f9); }
.ws-doctor-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--ws-transition); }
.ws-doctor-card:hover .ws-doctor-img img { transform: scale(1.05); }
.ws-doctor-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 3rem; color: #cbd5e1; }
.ws-doctor-info { padding: 20px; }
.ws-doctor-info h5 { margin: 0 0 4px; font-size: 1rem; font-weight: 700; }
.ws-doctor-spec { color: var(--ws-primary); font-size: 0.8rem; font-weight: 600; }
.ws-doctor-meta { display: flex; justify-content: center; gap: 12px; margin: 10px 0 14px; font-size: 0.75rem; color: var(--ws-gray); }

/* ===== CTA Section ===== */
.ws-cta-section { padding: 60px 0; background: var(--ws-light); }
.ws-cta-box { background: linear-gradient(135deg, var(--ws-primary) 0%, #1d4ed8 50%, #1e40af 100%); border-radius: var(--ws-radius); padding: 48px; display: flex; align-items: center; justify-content: space-between; gap: 32px; color: #fff; flex-wrap: wrap; }
.ws-cta-content h2 { margin: 0 0 8px; font-size: 1.8rem; font-weight: 800; }
.ws-cta-content p { margin: 0; opacity: 0.9; font-size: 1rem; }
.ws-cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ===== Testimonials ===== */
.ws-testimonial-card { background: #fff; border-radius: var(--ws-radius); padding: 32px; height: 100%; border: 1px solid var(--ws-border); transition: var(--ws-transition); }
.ws-testimonial-card:hover { box-shadow: var(--ws-shadow-lg); }
.ws-testimonial-stars { margin-bottom: 12px; }
.ws-testimonial-text { color: var(--ws-gray); font-size: 0.95rem; font-style: italic; line-height: 1.7; margin-bottom: 20px; }
.ws-testimonial-author { display: flex; align-items: center; gap: 12px; }
.ws-testimonial-avatar { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; background: var(--ws-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ws-testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ws-testimonial-avatar i { color: #cbd5e1; font-size: 1.2rem; }
.ws-testimonial-author h6 { margin: 0; font-size: 0.9rem; }
.ws-testimonial-author span { font-size: 0.75rem; color: var(--ws-gray); }

/* ===== FAQ Section ===== */
.ws-faq-section { background: var(--ws-light); }
.ws-faq-item { background: #fff; border-radius: var(--ws-radius-sm); margin-bottom: 10px; border: 1px solid var(--ws-border); overflow: hidden; }
.ws-faq-question { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; background: none; border: none; cursor: pointer; font-size: 0.95rem; font-weight: 600; color: var(--ws-dark); text-align: left; transition: var(--ws-transition); }
.ws-faq-question:hover { background: var(--ws-light); }
.ws-faq-question i { transition: var(--ws-transition); font-size: 0.8rem; }
.ws-faq-item.open .ws-faq-question i { transform: rotate(180deg); }
.ws-faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.ws-faq-item.open .ws-faq-answer { max-height: 200px; }
.ws-faq-answer p { padding: 0 24px 18px; color: var(--ws-gray); font-size: 0.9rem; line-height: 1.7; margin: 0; }

/* ===== Gallery ===== */
.ws-gallery-item { border-radius: var(--ws-radius-sm); overflow: hidden; position: relative; aspect-ratio: 1; cursor: pointer; }
.ws-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: var(--ws-transition); }
.ws-gallery-item:hover img { transform: scale(1.1); }
.ws-gallery-overlay { position: absolute; inset: 0; background: rgba(37,99,235,0.6); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.5rem; opacity: 0; transition: var(--ws-transition); }
.ws-gallery-item:hover .ws-gallery-overlay { opacity: 1; }

/* ===== Blog Cards ===== */
.ws-blog-section { background: var(--ws-light); }
.ws-blog-card { background: #fff; border-radius: var(--ws-radius); overflow: hidden; transition: var(--ws-transition); border: 1px solid var(--ws-border); height: 100%; display: flex; flex-direction: column; }
.ws-blog-card:hover { transform: translateY(-6px); box-shadow: var(--ws-shadow-lg); }
.ws-blog-img { height: 200px; overflow: hidden; position: relative; }
.ws-blog-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--ws-transition); }
.ws-blog-card:hover .ws-blog-img img { transform: scale(1.05); }
.ws-blog-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, #e2e8f0, #f1f5f9); display: flex; align-items: center; justify-content: center; color: #94a3b8; font-size: 2.5rem; }
.ws-blog-category { position: absolute; top: 12px; left: 12px; background: var(--ws-primary); color: #fff; padding: 4px 14px; border-radius: 20px; font-size: 0.7rem; font-weight: 600; }
.ws-blog-content { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.ws-blog-meta { display: flex; gap: 16px; font-size: 0.75rem; color: var(--ws-gray); margin-bottom: 10px; }
.ws-blog-meta span { display: inline-flex; align-items: center; gap: 4px; }
.ws-blog-content h5 { margin: 0 0 8px; font-size: 1.05rem; }
.ws-blog-content h5 a { color: var(--ws-dark); }
.ws-blog-content h5 a:hover { color: var(--ws-primary); }
.ws-blog-content p { color: var(--ws-gray); font-size: 0.85rem; flex: 1; }

/* ===== Contact ===== */
.ws-contact-info { padding-right: 32px; }
.ws-contact-info h2 { font-size: 2rem; font-weight: 800; margin: 12px 0 12px; }
.ws-contact-info > p { color: var(--ws-gray); font-size: 0.95rem; margin-bottom: 28px; }
.ws-contact-items { display: flex; flex-direction: column; gap: 20px; }
.ws-contact-item { display: flex; gap: 16px; align-items: flex-start; }
.ws-contact-icon { width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg, var(--ws-primary), #1d4ed8); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.ws-contact-item h6 { margin: 0; font-size: 0.9rem; }
.ws-contact-item p { margin: 2px 0 0; font-size: 0.85rem; color: var(--ws-gray); }
.ws-contact-form-card { background: #fff; border-radius: var(--ws-radius); padding: 36px; box-shadow: var(--ws-shadow-lg); border: 1px solid var(--ws-border); }
.ws-contact-form-card h4 { margin: 0 0 24px; font-weight: 700; }
.ws-form-control { width: 100%; padding: 12px 16px; border: 1.5px solid var(--ws-border); border-radius: var(--ws-radius-sm); font-size: 0.9rem; font-family: inherit; transition: var(--ws-transition); background: var(--ws-light); }
.ws-form-control:focus { outline: none; border-color: var(--ws-primary); box-shadow: 0 0 0 3px rgba(37,99,235,0.1); background: #fff; }
textarea.ws-form-control { resize: vertical; }

/* ===== Footer ===== */
.ws-footer { background: var(--ws-dark); color: #fff; padding: 60px 0 0; }
.ws-footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.ws-footer-logo { height: 40px; }
.ws-footer-logo-icon { width: 40px; height: 40px; background: var(--ws-primary); border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.ws-footer-brand h4 { margin: 0; font-weight: 700; font-size: 1.1rem; }
.ws-footer-desc { color: rgba(255,255,255,0.6); font-size: 0.88rem; line-height: 1.7; margin-bottom: 20px; }
.ws-footer-social { display: flex; gap: 10px; }
.ws-footer-social a { width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.7); display: flex; align-items: center; justify-content: center; transition: var(--ws-transition); }
.ws-footer-social a:hover { background: var(--ws-primary); color: #fff; }
.ws-footer-title { font-size: 1rem; font-weight: 700; margin-bottom: 20px; position: relative; padding-bottom: 10px; }
.ws-footer-title::after { content: ''; position: absolute; bottom: 0; left: 0; width: 40px; height: 3px; background: var(--ws-primary); border-radius: 2px; }
.ws-footer-links { list-style: none; padding: 0; margin: 0; }
.ws-footer-links li { margin-bottom: 10px; }
.ws-footer-links a { color: rgba(255,255,255,0.6); font-size: 0.88rem; transition: var(--ws-transition); }
.ws-footer-links a:hover { color: #fff; padding-left: 6px; }
.ws-footer-contact { list-style: none; padding: 0; margin: 0; }
.ws-footer-contact li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; color: rgba(255,255,255,0.6); font-size: 0.88rem; }
.ws-footer-contact i { color: var(--ws-primary); margin-top: 3px; }
.ws-footer-contact a { color: rgba(255,255,255,0.6); }
.ws-footer-contact a:hover { color: #fff; }
.ws-footer-bottom { margin-top: 40px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.08); font-size: 0.78rem; color: rgba(255,255,255,0.6); font-weight: 500; }

/* ===== Back to Top ===== */
.ws-back-to-top { position: fixed; bottom: 24px; right: 24px; width: 48px; height: 48px; border-radius: 50%; background: var(--ws-primary); color: #fff; border: none; font-size: 1rem; cursor: pointer; box-shadow: var(--ws-shadow-lg); opacity: 0; visibility: hidden; transition: var(--ws-transition); z-index: 999; display: flex; align-items: center; justify-content: center; }
.ws-back-to-top.show { opacity: 1; visibility: visible; }
.ws-back-to-top:hover { transform: translateY(-4px); background: #1d4ed8; }

/* ===== Animations ===== */
@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

/* ===== Mobile Responsive ===== */
@media (max-width: 991.98px) {
    .ws-navbar-toggle { display: flex; }
    .ws-navbar-collapse {
        position: fixed;
        top: 0;
        right: 0;
        width: min(300px, 85vw);
        height: 100vh;
        height: 100dvh;
        background: #fff;
        box-shadow: -8px 0 32px rgba(0,0,0,0.12);
        flex-direction: column;
        padding: 80px 24px 32px;
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
        z-index: 1001;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }
    .ws-navbar-collapse.show {
        transform: translateX(0);
    }
    .ws-nav {
        flex-direction: column;
        gap: 0;
    }
    .ws-nav-item {
        opacity: 0;
        transform: translateX(20px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }
    .ws-navbar-collapse.show .ws-nav-item {
        opacity: 1;
        transform: translateX(0);
    }
    .ws-navbar-collapse.show .ws-nav-item:nth-child(1) { transition-delay: 0.05s; }
    .ws-navbar-collapse.show .ws-nav-item:nth-child(2) { transition-delay: 0.1s; }
    .ws-navbar-collapse.show .ws-nav-item:nth-child(3) { transition-delay: 0.15s; }
    .ws-navbar-collapse.show .ws-nav-item:nth-child(4) { transition-delay: 0.2s; }
    .ws-navbar-collapse.show .ws-nav-item:nth-child(5) { transition-delay: 0.25s; }
    .ws-navbar-collapse.show .ws-nav-item:nth-child(6) { transition-delay: 0.3s; }
    .ws-nav-link {
        padding: 14px 16px;
        border-radius: 10px;
        width: 100%;
        min-height: 48px;
        display: flex;
        align-items: center;
        font-size: 0.95rem;
    }
    .ws-nav-close { display: flex; }
    .ws-nav-cta { margin: 16px 0 0; width: 100%; text-align: center; justify-content: center; }
    body.nav-open { overflow: hidden; touch-action: none; }
    .ws-hero { height: 70vh; min-height: 400px; }
    .ws-hero h1 { font-size: 2rem; line-height: 1.2; }
    .ws-hero p { font-size: 1rem; }
    .ws-hero-content { max-width: 100%; padding-right: 16px; }
    .ws-hero-nav { bottom: 20px; right: 16px; }
    .ws-hero-prev, .ws-hero-next { width: 40px; height: 40px; font-size: 0.85rem; }
    .ws-info-bar { margin-top: -30px; position: relative; z-index: 5; }
    .ws-info-item { border-right: none; border-bottom: 1px solid var(--ws-border); padding: 16px; }
    .ws-info-item:last-child { border-bottom: none; }
    .ws-info-bar .row { display: grid; grid-template-columns: 1fr 1fr; }
    .ws-features-grid { grid-template-columns: 1fr; }
    .ws-about-content { padding-right: 0 !important; margin-bottom: 40px; }
    .ws-about-image { margin-top: 20px; }
    .ws-cta-box { flex-direction: column; text-align: center; padding: 32px 24px; }
    .ws-cta-btns { justify-content: center; }
    .ws-contact-info { padding-right: 0; margin-bottom: 32px; }
    .ws-section { padding: 48px 0; }
    .ws-section-header h2 { font-size: 1.6rem; }
    .ws-contact-form-card { padding: 24px; }
}

@media (max-width: 575.98px) {
    .ws-top-bar { display: none; }
    .ws-hero { height: 65vh; min-height: 380px; }
    .ws-hero-content { padding-top: 40px; }
    .ws-hero h1 { font-size: 1.7rem; line-height: 1.2; word-wrap: break-word; }
    .ws-hero-badge { font-size: 0.7rem; padding: 6px 14px; }
    .ws-hero-btns { flex-direction: column; gap: 10px; }
    .ws-hero-btns .ws-btn { width: 100%; justify-content: center; }
    .ws-hero-nav { bottom: 16px; right: 12px; gap: 6px; }
    .ws-hero-prev, .ws-hero-next { width: 36px; height: 36px; font-size: 0.8rem; }
    .ws-info-bar { margin-top: -20px; }
    .ws-info-bar .row { grid-template-columns: 1fr; }
    .ws-info-item { padding: 12px 16px; gap: 12px; }
    .ws-info-icon { width: 40px; height: 40px; font-size: 1rem; }
    .ws-info-item h6 { font-size: 0.8rem; }
    .ws-info-item p { font-size: 0.75rem; }
    .ws-section { padding: 36px 0; }
    .ws-section-header { margin-bottom: 32px; }
    .ws-cta-box { padding: 24px 16px; }
    .ws-contact-form-card { padding: 20px; }
    .ws-form-control { padding: 10px 14px; font-size: 0.85rem; }
    .ws-footer { padding: 40px 0 0; }
    .ws-footer .row { gap: 32px !important; }
    .ws-stat-box { padding: 16px 12px; }
    .ws-stat-number { font-size: 1.4rem; }
}
