/* ===== VaxCert - Public Site Styles ===== */

:root {
    --primary: #4361a6;
    --primary-dark: #2d4373;
    --primary-light: #e8edf6;
    --secondary: #3a8d71;
    --secondary-light: #e3f3ed;
    --accent: #c0872a;
    --accent-light: #faf2e2;
    --dark: #1c2536;
    --gray: #6b7a8d;
    --gray-light: #9ca8b7;
    --light: #f5f7fa;
    --white: #ffffff;
    --border: #dfe4ea;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--dark);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

/* ===== NAVBAR ===== */
.navbar-top {
    background: var(--dark);
    padding: 8px 0;
    font-size: 0.82rem;
}
.navbar-top a { color: rgba(255,255,255,0.7); text-decoration: none; transition: color 0.2s; }
.navbar-top a:hover { color: #fff; }
.navbar-top .bi { margin-right: 5px; }

.navbar-main {
    background: var(--white);
    box-shadow: 0 1px 12px rgba(0,0,0,0.06);
    padding: 10px 0;
    transition: all 0.3s;
}
.navbar-main.scrolled {
    padding: 6px 0;
    box-shadow: 0 4px 24px rgba(0,0,0,0.1);
}
.navbar-brand img { height: 45px; }
.navbar-brand span {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.navbar-brand small {
    font-size: 0.68rem;
    color: var(--gray);
    display: block;
    margin-top: -3px;
    letter-spacing: 0.5px;
}
.navbar-main .nav-link {
    font-weight: 500;
    color: var(--dark);
    padding: 8px 16px !important;
    transition: color 0.2s;
    font-size: 0.92rem;
}
.navbar-main .nav-link:hover,
.navbar-main .nav-link.active { color: var(--primary); }

.btn-book {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff !important;
    border-radius: 50px;
    padding: 10px 26px !important;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    font-size: 0.9rem;
}
.btn-book:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(67,97,166,0.35);
}
.btn-staff-login {
    background: transparent;
    color: var(--primary) !important;
    border: 2px solid var(--primary);
    border-radius: 50px;
    padding: 8px 22px !important;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 0.9rem;
}
.btn-staff-login:hover {
    background: var(--primary);
    color: #fff !important;
    transform: translateY(-2px);
}

/* ===== HERO ===== */
.hero-section {
    background: linear-gradient(140deg, var(--dark) 0%, var(--primary-dark) 60%, var(--primary) 100%);
    min-height: 92vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: -40%; right: -15%;
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(58,141,113,0.15) 0%, transparent 70%);
    border-radius: 50%;
}
.hero-section::after {
    content: '';
    position: absolute;
    bottom: -25%; left: -8%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(67,97,166,0.1) 0%, transparent 70%);
    border-radius: 50%;
}
.hero-content { position: relative; z-index: 2; }
.hero-badge {
    display: inline-block;
    background: rgba(58,141,113,0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(58,141,113,0.3);
    color: #a8d8c4;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 20px;
}
.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.12;
    margin-bottom: 20px;
}
.hero-title span { color: #e8c06a; }
.hero-text {
    color: rgba(255,255,255,0.75);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 35px;
    max-width: 520px;
}
.hero-buttons .btn {
    padding: 14px 32px;
    font-weight: 600;
    border-radius: 50px;
    font-size: 0.95rem;
    transition: all 0.3s;
}
.btn-hero-primary {
    background: var(--secondary);
    color: #fff;
    border: none;
}
.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(58,141,113,0.3);
    background: #2d7a5f;
    color: #fff;
}
.btn-hero-outline {
    border: 2px solid rgba(255,255,255,0.25);
    color: #fff;
    background: transparent;
}
.btn-hero-outline:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.5);
    color: #fff;
}
.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 48px;
}
.hero-stat h3 {
    font-size: 2rem;
    color: #e8c06a;
    margin-bottom: 2px;
}
.hero-stat p {
    color: rgba(255,255,255,0.55);
    font-size: 0.82rem;
    margin: 0;
}
.hero-image { position: relative; z-index: 2; }
.hero-image-card {
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    color: #fff;
}
.hero-image-card .bi {
    font-size: 3.5rem;
    margin-bottom: 15px;
    color: var(--secondary);
}
.floating-card {
    position: absolute;
    background: #fff;
    border-radius: 14px;
    padding: 14px 18px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: float 3s ease-in-out infinite;
}
.floating-card.card-1 { top: 10%; right: -20px; animation-delay: 0s; }
.floating-card.card-2 { bottom: 15%; left: -20px; animation-delay: 1.5s; }
.floating-card .icon-circle {
    width: 40px; height: 40px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.floating-card h6 { margin: 0; font-size: 0.82rem; }
.floating-card p { margin: 0; font-size: 0.72rem; color: var(--gray); }

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

/* ===== SECTION STYLES ===== */
.section { padding: 100px 0; }
.section-light { background: var(--light); }
.section-title { font-size: 2.4rem; margin-bottom: 12px; color: var(--dark); }
.section-subtitle { color: var(--gray); font-size: 1.05rem; max-width: 580px; margin: 0 auto 48px; }
.section-badge {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

/* ===== SERVICE CARDS ===== */
.service-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.35s;
    border: 1px solid var(--border);
    height: 100%;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.08);
    border-color: transparent;
}
.service-icon {
    width: 72px; height: 72px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 18px; font-size: 1.8rem; transition: all 0.3s;
}
.service-card:hover .service-icon { transform: scale(1.08); }
.service-card h4 { font-size: 1.1rem; margin-bottom: 8px; }
.service-card p { color: var(--gray); font-size: 0.88rem; line-height: 1.6; margin: 0; }

/* ===== VACCINE TABLE ===== */
.vaccine-table { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.04); }
.vaccine-table table { margin: 0; }
.vaccine-table thead { background: var(--primary); color: #fff; }
.vaccine-table thead th { padding: 14px 18px; font-weight: 600; font-size: 0.85rem; border: none; }
.vaccine-table tbody td { padding: 12px 18px; vertical-align: middle; font-size: 0.88rem; border-bottom: 1px solid #f1f5f9; }
.vaccine-table tbody tr:hover { background: var(--primary-light); }
.badge-available { background: var(--secondary-light); color: #065f46; padding: 4px 12px; border-radius: 50px; font-size: 0.78rem; font-weight: 600; }
.badge-out-of-stock { background: #fee2e2; color: #991b1b; padding: 4px 12px; border-radius: 50px; font-size: 0.78rem; font-weight: 600; }

/* ===== FEATURES ===== */
.feature-item { display: flex; gap: 16px; margin-bottom: 24px; }
.feature-icon {
    width: 50px; height: 50px; min-width: 50px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}
.feature-item h5 { font-size: 0.98rem; margin-bottom: 4px; }
.feature-item p { color: var(--gray); font-size: 0.86rem; margin: 0; line-height: 1.5; }

/* ===== STATS ===== */
.stats-section {
    background: linear-gradient(135deg, var(--dark), var(--primary-dark));
    padding: 70px 0;
}
.stat-item { text-align: center; color: #fff; }
.stat-item h2 { font-size: 2.6rem; font-weight: 800; margin-bottom: 4px; }
.stat-item p { font-size: 0.9rem; opacity: 0.65; margin: 0; }

/* ===== CTA ===== */
.cta-section {
    background: linear-gradient(135deg, var(--secondary) 0%, #2d7a5f 100%);
    padding: 80px 0;
    text-align: center;
    color: #fff;
}
.cta-section h2 { font-size: 2.4rem; margin-bottom: 14px; }
.cta-section p { opacity: 0.8; font-size: 1.05rem; margin-bottom: 28px; }
.btn-cta {
    background: #e8c06a; color: var(--dark); border: none;
    padding: 14px 36px; border-radius: 50px; font-weight: 700; font-size: 0.95rem;
    transition: all 0.3s;
}
.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(232,192,106,0.35);
    color: var(--dark);
}

/* ===== FOOTER ===== */
.footer { background: var(--dark); color: rgba(255,255,255,0.6); padding: 80px 0 0; }
.footer h5 { color: #fff; font-size: 1.05rem; margin-bottom: 18px; }
.footer p { font-size: 0.88rem; line-height: 1.7; }
.footer a { color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s; font-size: 0.88rem; }
.footer a:hover { color: #a4b8d4; }
.footer-links li { margin-bottom: 10px; }
.footer-links li a .bi { margin-right: 6px; font-size: 0.7rem; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 14px; font-size: 0.88rem; }
.footer-contact .bi { color: var(--secondary); font-size: 1rem; margin-top: 2px; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 18px 0; margin-top: 50px; font-size: 0.82rem;
}

/* ===== PAGE HEADER ===== */
.page-header {
    background: linear-gradient(135deg, var(--dark), var(--primary-dark));
    padding: 120px 0 60px;
    text-align: center; color: #fff;
}
.page-header h1 { font-size: 2.6rem; margin-bottom: 10px; }
.page-header p { opacity: 0.7; font-size: 1rem; }
.breadcrumb-custom { justify-content: center; margin-top: 14px; }
.breadcrumb-custom .breadcrumb-item a { color: rgba(255,255,255,0.6); text-decoration: none; }
.breadcrumb-custom .breadcrumb-item.active { color: rgba(255,255,255,0.4); }
.breadcrumb-custom .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.3); }

/* ===== FORMS ===== */
.form-control, .form-select {
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 11px 16px;
    font-size: 0.92rem;
    transition: all 0.2s;
}
.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(67,97,166,0.1);
}
.form-label { font-weight: 500; font-size: 0.88rem; margin-bottom: 6px; }
.btn-submit {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff; border: none;
    padding: 13px 36px; border-radius: 50px; font-weight: 600; font-size: 0.95rem;
    transition: all 0.3s;
}
.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(67,97,166,0.3);
    color: #fff;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .hero-title { font-size: 2.5rem; }
    .hero-stats { gap: 24px; }
    .hero-stat h3 { font-size: 1.5rem; }
    .section { padding: 70px 0; }
    .section-title { font-size: 2rem; }
}
@media (max-width: 767px) {
    .hero-title { font-size: 2rem; }
    .hero-section { min-height: auto; padding: 100px 0 60px; }
    .hero-image { margin-top: 40px; }
    .hero-stats { flex-wrap: wrap; gap: 20px; }
    .stat-item h2 { font-size: 2rem; }
    .floating-card { display: none; }
}
