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

:root {
    --primary: #0d9488;
    --primary-dark: #0f766e;
    --primary-light: #14b8a6;
    --primary-darker: #134e4a;
    --secondary: #3b82f6;
    --accent: #f59e0b;
    --danger: #ef4444;
    --success: #22c55e;
    --warning: #f59e0b;
    --dark: #1e293b;
    --darker: #0f172a;
    --gray: #64748b;
    --light-gray: #f1f5f9;
    --white: #ffffff;
    --bg: #f8fafc;
    --shadow: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg);
    color: var(--dark);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

/* ===== Top Info Bar ===== */
.top-bar {
    background: var(--primary-darker);
    color: #cbd5e1;
    font-size: 0.8rem;
    padding: 8px 0;
}

.top-bar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-bar-left {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.top-bar-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.top-bar-item strong {
    color: white;
}

.tb-icon {
    font-size: 0.85rem;
}

.top-bar-right a {
    color: #cbd5e1;
    transition: var(--transition);
}

.top-bar-right a:hover {
    color: white;
}

/* ===== Navbar ===== */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    gap: 15px;
}

.nav-logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-text small {
    font-size: 0.65rem;
    font-weight: 400;
    color: var(--gray);
    letter-spacing: 1px;
}

.logo-icon {
    background: var(--primary);
    color: white;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
    flex-shrink: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3px;
    align-items: center;
}

.nav-menu > li > a {
    padding: 10px 14px;
    color: var(--dark);
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: 8px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 3px;
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
    color: var(--primary);
    background: #f0fdfa;
}

.caret {
    font-size: 0.7rem;
    opacity: 0.6;
}

.btn-nav-cta {
    background: var(--primary);
    color: white !important;
    padding: 10px 22px !important;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: var(--transition);
}

.btn-nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.nav-dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: white;
    min-width: 180px;
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    overflow: hidden;
    top: 100%;
    left: 0;
}

.nav-dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    padding: 12px 16px;
    color: var(--dark);
    display: block;
    transition: var(--transition);
    border-bottom: 1px solid var(--light-gray);
    font-size: 0.9rem;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background: var(--light-gray);
    color: var(--primary);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    border-radius: 3px;
    transition: var(--transition);
}

/* ===== Main Content ===== */
.main-content {
    flex: 1;
    width: 100%;
}

.page-padding {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    padding: 80px 20px;
    margin-bottom: 0;
    overflow: hidden;
    min-height: 600px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5), 0 4px 12px rgba(0, 0, 0, 0.4);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: #ffffff;
    line-height: 1.2;
    opacity: 0;
    animation: fadeInUp 0.6s ease 0.1s forwards;
}

.hero h1 .highlight {
    color: var(--primary-light);
}

.hero-subtitle {
    font-size: 1.05rem;
    color: #e2e8f0;
    margin-bottom: 25px;
    line-height: 1.7;
    max-width: 500px;
    opacity: 0;
    animation: fadeInUp 0.6s ease 0.2s forwards;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
    opacity: 0;
    animation: fadeInUp 0.6s ease 0.3s forwards;
}

.hero-trust {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 0.6s ease 0.4s forwards;
}

.hero-trust-item {
    display: flex;
    flex-direction: column;
}

.hero-trust-item .number {
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
}

.hero-trust-item .label {
    font-size: 0.8rem;
    color: #e2e8f0;
}

.hero-image {
    position: relative;
    text-align: center;
    min-height: 300px;
}

.hero-floating-card {
    position: absolute;
    background: white;
    border-radius: 12px;
    padding: 12px 18px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    z-index: 3;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.hero-floating-card .fc-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: white;
}

.hfc-top {
    top: 15%;
    left: 5%;
    animation-delay: 0.5s;
}

.hfc-bottom {
    bottom: 15%;
    right: 5%;
    animation-delay: 0.6s;
}

/* ===== Hero Stats Bar ===== */
.hero-stats-bar {
    background: var(--primary-darker);
    padding: 30px 20px;
}

.hero-stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.hero-stat {
    text-align: center;
    color: white;
}

.hero-stat .hs-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-light);
}

.hero-stat .hs-label {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-top: 2px;
}

/* ===== Section Spacing ===== */
.section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header .eyebrow {
    display: inline-block;
    background: #f0fdfa;
    color: var(--primary);
    padding: 5px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.section-header p {
    color: var(--gray);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Specialty Cards ===== */
.specialty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.specialty-card {
    background: white;
    border-radius: var(--radius);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
}

.specialty-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.specialty-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #f0fdfa, #ccfbf1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.8rem;
    transition: var(--transition);
}

.specialty-card:hover .specialty-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    transform: scale(1.1);
}

.specialty-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--dark);
}

.specialty-card p {
    font-size: 0.8rem;
    color: var(--gray);
}

/* ===== Why Choose Us (Dark Banner) ===== */
.why-section {
    background: var(--darker);
    color: white;
    padding: 70px 20px;
    position: relative;
    overflow: hidden;
}

.why-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(13,148,136,0.08);
    border-radius: 50%;
}

.why-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.why-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.why-content h2 .highlight {
    color: var(--primary-light);
}

.why-content > p {
    color: #94a3b8;
    margin-bottom: 25px;
    line-height: 1.7;
}

.why-features {
    display: grid;
    gap: 20px;
}

.why-feature {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.why-feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(13,148,136,0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.why-feature h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.why-feature p {
    font-size: 0.85rem;
    color: #94a3b8;
    line-height: 1.6;
}

.why-image {
    text-align: center;
}

.why-image-circle {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10rem;
    color: rgba(255,255,255,0.9);
    position: relative;
    overflow: hidden;
}

.why-image-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
}

.why-image-circle::before {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 60%;
    height: 60%;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
}

/* ===== Process Steps ===== */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    position: relative;
}

.process-step {
    text-align: center;
    position: relative;
}

.process-step-number {
    width: 70px;
    height: 70px;
    background: white;
    border: 3px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    margin: 0 auto 15px;
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.process-step:hover .process-step-number {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.process-step h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark);
}

.process-step p {
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 1.6;
}

/* ===== CTA Banner ===== */
.cta-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 50px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -5%;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.cta-banner h2 {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.cta-banner p {
    color: rgba(255,255,255,0.85);
    margin-bottom: 25px;
    font-size: 1.05rem;
    position: relative;
    z-index: 1;
}

.cta-banner .btn-secondary {
    background: white;
    color: var(--primary);
}

.cta-banner .btn-secondary:hover {
    background: var(--light-gray);
    transform: translateY(-2px);
}

.cta-banner .btn-outline {
    border-color: white;
}

/* ===== Newsletter Bar ===== */
.newsletter-bar {
    background: var(--primary-darker);
    padding: 30px 20px;
}

.newsletter-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

.newsletter-text {
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
}

.nl-icon {
    font-size: 2rem;
}

.newsletter-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.newsletter-text p {
    font-size: 0.85rem;
    color: #94a3b8;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    padding: 12px 18px;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: 'Poppins', sans-serif;
    min-width: 250px;
}

.newsletter-form .btn-secondary {
    background: var(--primary);
    color: white;
}

.newsletter-form .btn-secondary:hover {
    background: var(--primary-light);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background: var(--light-gray);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

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

.btn-danger:hover {
    background: #dc2626;
}

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

.btn-success:hover {
    background: #16a34a;
}

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

.btn-warning:hover {
    background: #d97706;
}

.btn-block {
    width: 100%;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

/* ===== Cards ===== */
.card {
    background: white;
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

/* ===== Feature Cards ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.feature-card {
    background: white;
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

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

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.feature-card p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ===== Doctors Grid ===== */
.section-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 25px;
    text-align: center;
    color: var(--dark);
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 40px;
}

.doctor-card {
    background: white;
    border-radius: var(--radius);
    padding: 0;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: left;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 0;
    align-items: stretch;
    overflow: hidden;
    min-height: 185px;
}

.doctor-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.doctor-avatar {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    border: none;
    box-shadow: none;
}

.doctor-avatar img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    z-index: 1;
}

.doctor-info {
    padding: 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.doctor-card h3 {
    font-size: 1.05rem;
    margin-bottom: 6px;
    line-height: 1.2;
}

.doctor-card .specialization {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 6px;
    font-size: 0.86rem;
}

.doctor-card .fee {
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 12px;
}

.doctor-card .btn-sm {
    padding: 5px 10px;
    font-size: 0.72rem;
    align-self: flex-start;
    white-space: nowrap;
}

/* ===== Forms ===== */
.form-container {
    max-width: 500px;
    margin: 30px auto;
    background: white;
    border-radius: var(--radius);
    padding: 35px;
    box-shadow: var(--shadow-lg);
}

.form-container.wide {
    max-width: 700px;
}

.form-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 5px;
    text-align: center;
}

.form-subtitle {
    color: var(--gray);
    text-align: center;
    margin-bottom: 25px;
    font-size: 0.9rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-text {
    text-align: center;
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--gray);
}

.form-text a {
    color: var(--primary);
    font-weight: 500;
}

/* ===== Alerts ===== */
.alert {
    padding: 14px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}

.alert-danger {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.alert-warning {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fcd34d;
}

.alert-info {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #93c5fd;
}

/* ===== Dashboard ===== */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.dashboard-header h2 {
    font-size: 1.6rem;
}

.dashboard-header .user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.stat-icon.blue { background: var(--secondary); }
.stat-icon.green { background: var(--success); }
.stat-icon.orange { background: var(--accent); }
.stat-icon.red { background: var(--danger); }
.stat-icon.teal { background: var(--primary); }

.stat-info h3 {
    font-size: 1.8rem;
    font-weight: 700;
}

.stat-info p {
    color: var(--gray);
    font-size: 0.85rem;
}

/* ===== Tables ===== */
.table-container {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 30px;
}

.table-header {
    padding: 20px 25px;
    border-bottom: 1px solid var(--light-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.table-header h3 {
    font-size: 1.2rem;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table th {
    padding: 14px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--bg);
}

table td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--light-gray);
    font-size: 0.9rem;
}

table tr:last-child td {
    border-bottom: none;
}

table tr:hover {
    background: var(--bg);
}

/* ===== Status Badges ===== */
.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-pending { background: #fef3c7; color: #92400e; }
.badge-confirmed { background: #dbeafe; color: #1e40af; }
.badge-completed { background: #dcfce7; color: #166534; }
.badge-cancelled { background: #fef2f2; color: #991b1b; }
.badge-transferred { background: #f3e8ff; color: #6b21a8; }

/* ===== Prescription ===== */
.prescription-paper {
    background: white;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--light-gray);
}

.prescription-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 3px solid var(--primary);
    padding-bottom: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.prescription-header .clinic-info h2 {
    color: var(--primary);
    font-size: 1.5rem;
}

.prescription-header .clinic-info p {
    color: var(--gray);
    font-size: 0.85rem;
}

.prescription-header .rx-symbol {
    font-size: 3rem;
    color: var(--primary);
    font-weight: 700;
    font-style: italic;
}

.prescription-patient {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
    padding: 15px;
    background: var(--bg);
    border-radius: 8px;
}

.prescription-patient .field {
    font-size: 0.9rem;
}

.prescription-patient .field strong {
    color: var(--gray);
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.prescription-section {
    margin-bottom: 25px;
}

.prescription-section h4 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1rem;
    border-bottom: 1px dashed var(--light-gray);
    padding-bottom: 5px;
}

.prescription-section p {
    font-size: 0.95rem;
    line-height: 1.8;
    white-space: pre-wrap;
}

.prescription-footer {
    border-top: 2px solid var(--light-gray);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 15px;
}

.signature-area {
    text-align: center;
}

.signature-area .line {
    border-top: 1px solid var(--dark);
    width: 200px;
    margin-bottom: 5px;
}

.signature-area p {
    font-size: 0.85rem;
    color: var(--gray);
}

/* ===== Notifications ===== */
.notification-dropdown {
    position: relative;
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--danger);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.notification-list {
    position: absolute;
    top: 100%;
    right: 0;
    width: 350px;
    max-height: 400px;
    overflow-y: auto;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    display: none;
    z-index: 100;
}

.notification-list.show {
    display: block;
}

.notification-item {
    padding: 15px;
    border-bottom: 1px solid var(--light-gray);
    cursor: pointer;
    transition: var(--transition);
}

.notification-item:hover {
    background: var(--bg);
}

.notification-item.unread {
    background: #eff6ff;
}

.notification-item h5 {
    font-size: 0.9rem;
    margin-bottom: 3px;
}

.notification-item p {
    font-size: 0.8rem;
    color: var(--gray);
}

.notification-item .time {
    font-size: 0.7rem;
    color: var(--gray);
    margin-top: 5px;
}

/* ===== Search Box ===== */
.search-box {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    max-width: 500px;
}

.search-box input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary);
}

/* ===== Modal ===== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal-overlay.show {
    display: flex;
}

.modal {
    background: white;
    border-radius: var(--radius);
    padding: 30px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-header h3 {
    font-size: 1.3rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray);
}

/* ===== Confirmation Indicators ===== */
.confirmation-status {
    display: flex;
    gap: 10px;
    align-items: center;
}

.confirm-dot {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
}

.confirm-dot .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.pending { background: var(--gray); }
.dot.confirmed { background: var(--success); }

/* ===== Empty State ===== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray);
}

.empty-state .icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.empty-state h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--dark);
}

/* ===== Footer ===== */
.footer {
    background: var(--darker);
    color: #cbd5e1;
    padding: 50px 20px 0;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 30px;
}

.footer-section h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-section h4 {
    color: white;
    margin-bottom: 15px;
    font-size: 1rem;
}

.footer-section p {
    font-size: 0.85rem;
    line-height: 1.7;
    margin-bottom: 8px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #cbd5e1;
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-light);
    padding-left: 4px;
}

.footer-badge {
    display: inline-block;
    margin-top: 10px;
    padding: 6px 14px;
    background: rgba(13,148,136,0.15);
    border-radius: 8px;
    font-size: 0.78rem;
    color: var(--primary-light);
}

.footer-bottom {
    text-align: center;
    padding: 20px;
    margin-top: 30px;
    border-top: 1px solid #1e293b;
    font-size: 0.85rem;
    color: #64748b;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .hero-container,
    .why-container {
        grid-template-columns: 1fr;
    }
    .hero-image {
        display: none;
    }
    .why-image {
        display: none;
    }
    .hero-stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .top-bar-left {
        gap: 12px;
    }
    .top-bar-item:nth-child(3) {
        display: none;
    }
    .btn-nav-cta {
        display: none;
    }
    .nav-menu {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 15px;
        box-shadow: var(--shadow-lg);
        gap: 0;
    }
    .nav-menu.show {
        display: flex;
    }
    .nav-dropdown .dropdown-content {
        position: static;
        display: block;
        box-shadow: none;
        padding-left: 15px;
    }
    .hamburger {
        display: flex;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 0.95rem;
    }
    .hero-stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .hero-stat .hs-number {
        font-size: 1.5rem;
    }
    .section {
        padding: 40px 20px;
    }
    .section-header h2 {
        font-size: 1.5rem;
    }
    .why-section {
        padding: 40px 20px;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .table-container {
        overflow-x: auto;
    }
    table {
        min-width: 600px;
    }
    .prescription-paper {
        padding: 20px;
    }
    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .newsletter-container {
        flex-direction: column;
        text-align: center;
    }
    .newsletter-form {
        width: 100%;
    }
    .newsletter-form input {
        flex: 1;
        min-width: 0;
    }
    .footer-container {
        grid-template-columns: 1fr;
    }
    .cta-banner h2 {
        font-size: 1.5rem;
    }
}

/* ===== Floating WhatsApp Button ===== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.5);
    z-index: 9999;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.5), 0 0 0 0 rgba(37, 211, 102, 0.4);
    }
    70% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.5), 0 0 0 12px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.5), 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 48px;
        height: 48px;
        bottom: 16px;
        right: 16px;
    }
    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }
}

@media (max-width: 992px) {
    .doctors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .doctors-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Inner Pages ===== */
.page-hero {
    position: relative;
    padding: 120px 20px 80px;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
}

.page-hero .hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 1;
    animation: heroZoom 20s infinite alternate;
}

.page-hero .hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.85), rgba(6, 95, 70, 0.75));
    z-index: 1;
}

.page-hero .hero-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.page-hero .hero-content {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    max-width: 700px;
    margin: 0 auto;
}

.page-hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: #ffffff;
}

.page-hero p {
    font-size: 1.1rem;
    color: #e2e8f0;
}

@media (max-width: 768px) {
    .page-hero {
        min-height: 280px;
        padding: 80px 20px 50px;
    }
    .page-hero h1 {
        font-size: 2rem;
    }
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.about-card {
    background: white;
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.about-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.about-card h3 {
    margin-bottom: 10px;
    color: var(--dark);
}

.about-card p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.6;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    margin-top: 30px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: white;
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    font-size: 1.6rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

.contact-item:hover .contact-icon {
    transform: scale(1.2) rotate(10deg);
}

.contact-item h4 {
    margin-bottom: 5px;
    color: var(--dark);
}

.contact-item p {
    color: var(--gray);
    font-size: 0.9rem;
}

.contact-form-wrap {
    background: white;
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease 0.2s forwards;
    transition: box-shadow 0.3s ease;
}

.contact-form-wrap:hover {
    box-shadow: var(--shadow-lg);
}

.contact-form .form-group {
    margin-bottom: 18px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .page-header h1 {
        font-size: 1.8rem;
    }
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }
    .hero-trust {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    .form-container,
    .form-container.wide {
        width: 100%;
        max-width: 100%;
        padding: 20px;
    }
    .cta-banner {
        padding: 50px 20px;
    }
    .cta-banner h2 {
        font-size: 1.5rem;
    }
    .nav-menu {
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    .hero-subtitle {
        font-size: 0.9rem;
    }
    .hero-trust-item .number {
        font-size: 1.4rem;
    }
    .hero-stats-container {
        grid-template-columns: 1fr;
    }
    .specialty-grid,
    .features-grid,
    .about-grid,
    .doctors-grid {
        grid-template-columns: 1fr;
    }
    .section-header h2 {
        font-size: 1.4rem;
    }
    .section-header p {
        font-size: 0.95rem;
    }
    .footer-bottom p {
        font-size: 0.8rem;
    }
}

/* ===== Public Page Animations ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes popIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.animate {
    opacity: 0;
}

.animate.fade-in-up {
    animation: fadeInUp 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

.animate.fade-in {
    animation: fadeIn 0.7s ease-out forwards;
}

.animate.pop-in {
    animation: popIn 0.5s ease-out forwards;
}

.animate.slide-left {
    animation: slideInLeft 0.7s ease-out forwards;
}

.animate.slide-right {
    animation: slideInRight 0.7s ease-out forwards;
}

.hero-content,
.section-header,
.service-card,
.specialty-card,
.doctor-card,
.stat-card,
.feature-card,
.about-content,
.testimonial-card,
.cta-banner,
.footer-section,
.form-container,
.step-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal {
    opacity: 1;
    transform: translateY(0);
}

.reveal.pop {
    animation: popIn 0.5s ease-out forwards;
}

.btn, .nav-menu a, .footer-section a, .service-card, .doctor-card, .specialty-card, .feature-card, .stat-card, .testimonial-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(13, 148, 136, 0.25);
}

.nav-menu a:hover {
    transform: translateX(4px);
}

.service-card:hover,
.doctor-card:hover,
.specialty-card:hover,
.feature-card:hover,
.stat-card:hover,
.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.logo-icon,
.nl-icon {
    animation: float 3s ease-in-out infinite;
}
