/* Modern Design - Animal Bite Monitoring System */

/* CSS Variables for Modern Theme */
:root {
    --primary-color: #3b7ba6;
    --primary-dark: #2b6b96;
    --primary-light: #4a90c0;
    --accent-color: #7dd4c7;
    --accent-light: #9ee6dc;
    --text-dark: #1a202c;
    --text-gray: #4a5568;
    --text-light: #718096;
    --bg-light: #f7fafc;
    --bg-white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.2);
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--text-dark);
    background: linear-gradient(135deg, #f7fafc 0%, #e6f4f3 100%);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 40px);
}

/* Modern Navigation Bar with Glassmorphism */
.navbar {
    background: rgba(59, 123, 166, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 10px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    min-height: 82px;
}

.navbar:hover {
    background: rgba(59, 123, 166, 0.98);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.2);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    transition: var(--transition);
    flex-shrink: 0;
    max-width: min(520px, 44vw);
}

.nav-brand:hover {
    transform: scale(1.02);
}

.logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
    object-position: center;
    display: block;
    padding: 2px;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.08);
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.brand-title {
    color: white;
    font-size: clamp(13px, 1.05vw, 16px);
    font-weight: 800;
    letter-spacing: 0.8px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    line-height: 1.25;
}

.brand-subtitle {
    color: var(--accent-color);
    font-size: 13px;
    letter-spacing: 2px;
    font-weight: 600;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.15);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: clamp(18px, 3vw, 36px);
    align-items: center;
    flex: 1;
    justify-content: center;
}

.nav-menu a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: var(--transition);
    position: relative;
    padding: 8px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--accent-color);
    transform: translateY(-2px);
}

.btn-login {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    border: none;
    color: var(--text-dark);
    padding: 12px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(125, 212, 199, 0.4);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.btn-login::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.btn-login:hover::before {
    width: 300px;
    height: 300px;
}

.btn-login:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(125, 212, 199, 0.6);
}

/* Modern Hero Section */
.hero-slider {
    position: relative;
    height: min(700px, calc(100vh - 82px));
    min-height: 560px;
    margin-top: 82px;
    overflow: hidden;
    border-radius: 0 0 50px 50px;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    display: none;
}

.slide.active {
    display: block;
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85) blur(2px);
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(43, 107, 150, 0.5) 0%, rgba(59, 123, 166, 0.45) 50%, rgba(125, 212, 199, 0.35) 100%);
    z-index: 1;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    color: white;
    max-width: 900px;
    padding: 0 20px;
}

.slide-content h2 {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 15px;
    letter-spacing: 4px;
    opacity: 0.95;
    animation: slideDown 0.8s ease-out;
}

.slide-content h1 {
    font-size: clamp(44px, 5vw, 72px);
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: 3px;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: slideUp 1s ease-out;
}

.slide-content h1 .highlight {
    color: white;
    text-shadow: 0 0 30px rgba(125, 212, 199, 0.8), 0 0 60px rgba(125, 212, 199, 0.4);
}

.slide-content p {
    font-size: 24px;
    margin-bottom: 40px;
    letter-spacing: 6px;
    font-weight: 600;
    animation: slideDown 1.2s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeIn 1.5s ease-out;
}

.btn {
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 1px;
    transition: var(--transition);
    display: inline-block;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid white;
    color: white;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
    padding: 14px 35px;
    font-size: 14px;
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    border: none;
    color: var(--text-dark);
    box-shadow: 0 6px 20px rgba(125, 212, 199, 0.5);
    padding: 18px 50px;
    font-size: 16px;
    font-weight: 800;
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 35px rgba(125, 212, 199, 0.7);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
    z-index: 3;
    padding: 20px;
    transition: opacity 0.3s;
    display: none; /* Hidden - static hero section */
}

.slider-arrow:hover {
    opacity: 0.7;
}

.slider-arrow.prev {
    left: 20px;
}

.slider-arrow.next {
    right: 20px;
}

/* Modern Feature Cards with 3D Effect */
.features {
    padding: 80px 0 100px;
    margin-top: -100px;
    position: relative;
    z-index: 10;
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 45px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12), 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.9);
    position: relative;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.feature-card:nth-child(1) {
    animation-delay: 0.1s;
}

.feature-card:nth-child(2) {
    animation-delay: 0.3s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.5s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(125, 212, 199, 0.1), rgba(59, 123, 166, 0.1));
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-20px);
    box-shadow: 0 20px 60px rgba(59, 123, 166, 0.25), 0 10px 30px rgba(0, 0, 0, 0.15);
}

.card-icon-bg {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
    padding: 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.card-icon-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
    z-index: 0;
}

.card-icon-bg::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 210px;
    height: 210px;
    background: url('../images/animal_logo.png') no-repeat center / contain;
    opacity: 0.28;
    z-index: 0;
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.feature-card:hover .card-icon-bg::after {
    opacity: 0.45;
    transform: translate(-50%, -50%) scale(1.07);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.card-icon {
    background: white;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 45px;
    color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.feature-card:hover .card-icon {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    transform: scale(1.1);
}

.card-icon i {
    font-size: 50px;
    color: var(--primary-color);
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.card-content {
    padding: 35px 30px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.card-icon-small {
    font-size: 35px;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: var(--transition);
}

.feature-card:hover .card-icon-small {
    transform: scale(1.2);
}

.card-icon-small i {
    font-size: 35px;
    color: var(--primary-color);
    transition: var(--transition);
}

.feature-card:hover .card-icon-small i {
    animation: bounce 0.6s ease;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.card-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 25px;
    letter-spacing: 0.5px;
}

.btn-success {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 12px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    display: inline-block;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(59, 123, 166, 0.3);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-success::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.btn-success:hover::after {
    width: 300px;
    height: 300px;
}

.btn-success:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 30px rgba(59, 123, 166, 0.5);
}

/* Modern What to Do Section */
.what-to-do {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.5), rgba(230, 244, 243, 0.5));
    position: relative;
}

.what-to-do::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%237dd4c7" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,208C1248,224,1344,192,1392,176L1440,160L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z"></path></svg>') no-repeat top;
    background-size: cover;
    z-index: 0;
}

.what-to-do .container {
    position: relative;
    z-index: 1;
}

/* Scroll Reveal Animations */
.reveal-hidden {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

.what-to-do-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.what-to-do-steps h2 {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 40px;
    position: relative;
    padding-left: 25px;
}

.what-to-do-steps h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent-color), var(--primary-color));
    border-radius: 10px;
}

.step-item {
    display: flex;
    gap: 25px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.step-item:hover {
    transform: translateX(15px);
    box-shadow: 0 8px 30px rgba(59, 123, 166, 0.2);
    background: rgba(255, 255, 255, 0.98);
}

.step-icon {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    box-shadow: 0 4px 15px rgba(59, 123, 166, 0.3);
    transition: var(--transition);
}

.step-item:hover .step-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(59, 123, 166, 0.5);
}

.step-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.step-content p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.8;
    margin: 0;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    padding: 30px;
    border-radius: var(--radius-md);
    text-align: center;
    color: white;
    margin-top: 30px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.cta-box p {
    position: relative;
    z-index: 1;
    margin-bottom: 10px;
    font-size: 15px;
}

.cta-box .phone-number {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 2px;
    margin: 0;
}

.what-to-do-image {
    position: relative;
}

.what-to-do-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    border: 8px solid white;
}

.what-to-do-image:hover img {
    transform: scale(1.02);
    box-shadow: var(--shadow-xl);
}

/* Modern Announcements Section */
.announcements {
    padding: 100px 0;
    background: var(--bg-white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-dark);
    display: inline-flex;
    align-items: center;
    gap: 15px;
}

.section-header .line {
    width: 6px;
    height: 50px;
    background: linear-gradient(180deg, var(--accent-color), var(--primary-color));
    border-radius: 10px;
    display: inline-block;
}

.section-header strong {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 17px;
    color: var(--text-gray);
    margin-top: 15px;
}

/* Announcement Slider */
.ann-slider-wrapper {
    position: relative;
    margin-bottom: 24px;
    padding: 0 64px;
}

.ann-slider-viewport {
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius-md);
}

.announcement-cards {
    display: flex;
    flex-wrap: nowrap;
    gap: 40px;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    margin-bottom: 0;
}

.announcement-card {
    flex: 0 0 calc((100% - 80px) / 3);
    min-width: calc((100% - 80px) / 3);
}

.ann-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: #fff;
    color: var(--primary-color);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(59, 123, 166, 0.22), 0 2px 6px rgba(0,0,0,0.10);
    transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
    outline: none;
}

.ann-prev {
    left: 6px;
}

.ann-next {
    right: 6px;
}

.ann-nav:hover:not(:disabled) {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 8px 24px rgba(59, 123, 166, 0.40);
    transform: translateY(-50%) scale(1.08);
}

.ann-nav:active:not(:disabled) {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-50%) scale(0.97);
}

.ann-nav::after {
    display: none;
}

.ann-nav:disabled {
    opacity: 0.30;
    cursor: not-allowed;
    box-shadow: none;
}

.ann-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
}

.ann-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: var(--transition);
}

.ann-dot.active {
    background: var(--primary-color);
    transform: scale(1.3);
}

.announcement-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12), 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: 1px solid rgba(59, 123, 166, 0.1);
    position: relative;
}

.announcement-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 60px rgba(59, 123, 166, 0.25), 0 10px 30px rgba(0, 0, 0, 0.15);
}

.announcement-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.announcement-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.announcement-card:hover .announcement-image img {
    transform: scale(1.15);
    filter: brightness(1.1);
}

.date-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    text-align: center;
    color: white;
    box-shadow: var(--shadow-md);
    z-index: 2;
}

.date-badge.green {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
}

.date-badge .day {
    display: block;
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
}

.date-badge .month {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

.ribbon {
    position: absolute;
    top: 20px;
    right: -35px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 8px 45px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    transform: rotate(45deg);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.announcement-content {
    padding: 30px;
}

.announcement-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.4;
    transition: var(--transition);
}

.announcement-card:hover .announcement-content h3 {
    color: var(--primary-color);
}

.announcement-content .meta {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.announcement-content .meta i {
    color: var(--primary-color);
}

.announcement-content p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.8;
}

.announcement-content a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.announcement-content a:hover {
    color: var(--accent-color);
}

.view-all {
    display: none;
}

/* Modern About Us Section */
.about-us {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(230, 244, 243, 0.5), rgba(255, 255, 255, 0.5));
    position: relative;
    overflow: hidden;
}

.about-us::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(125, 212, 199, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.about-content {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-text h2 {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.about-text .line {
    width: 6px;
    height: 50px;
    background: linear-gradient(180deg, var(--accent-color), var(--primary-color));
    border-radius: 10px;
}

.about-text .lead {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 25px;
    line-height: 1.7;
}

.about-text > p {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.9;
    margin-bottom: 40px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.about-feature {
    display: flex;
    gap: 25px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.about-feature:hover {
    transform: translateX(20px);
    box-shadow: 0 8px 30px rgba(59, 123, 166, 0.2);
    background: white;
}

.about-feature i {
    font-size: 40px;
    color: var(--primary-color);
    flex-shrink: 0;
    transition: var(--transition);
}

.about-feature:hover i {
    transform: scale(1.2);
}

.about-feature h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.about-feature p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.8;
    margin: 0;
}

.about-image {
    position: relative;
    min-height: 400px;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 8px solid white;
    display: block;
    object-fit: cover;
}

.about-stats-box {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    padding: 30px 50px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    display: flex;
    gap: 50px;
    z-index: 2;
}

.about-stat {
    text-align: center;
    color: white;
}

.about-stat h3 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 5px;
    margin: 0 0 5px 0;
}

.about-stat p {
    font-size: 14px;
    font-weight: 600;
    opacity: 0.9;
    margin: 0;
}

/* Modern Contact Section */
.contact {
    padding: 100px 0;
    background: var(--bg-white);
}

.section-header.center {
    text-align: center;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    margin-top: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
    min-width: 0;
}

.contact-content > .contact-info,
.branches-box {
    width: 100%;
}

.branches-box {
    background: linear-gradient(135deg, rgba(230, 244, 243, 0.5), rgba(255, 255, 255, 0.8));
    backdrop-filter: blur(10px);
    padding: 35px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(59, 123, 166, 0.1);
    transition: var(--transition);
}

.branches-box:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.branches-box h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.branch-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.branch-item {
    padding: 25px;
    background: white;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-left: 4px solid var(--accent-color);
}

.branch-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.branch-item:last-child {
    margin-bottom: 0;
}

.branch-item h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    margin: 0 0 15px 0;
}

.branch-item p {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 8px 0;
}

.branch-item p:last-child {
    margin-bottom: 0;
}

.branch-item i {
    color: var(--primary-color);
    width: 18px;
}

.map-container {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 350px;
    transition: var(--transition);
}

.map-container:hover {
    box-shadow: var(--shadow-lg);
    transform: scale(1.02);
}

.contact-right {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.emergency-box {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    padding: 35px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    color: white;
    position: relative;
    overflow: hidden;
}

.emergency-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

.emergency-box h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
    margin: 0 0 25px 0;
}

.emergency-box h3 i {
    font-size: 24px;
}

.emergency-item {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 15px;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.emergency-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateX(10px);
}

.emergency-item:last-child {
    margin-bottom: 0;
}

.emergency-item strong {
    display: block;
    font-size: 14px;
    margin-bottom: 8px;
    opacity: 0.9;
}

.emergency-item p {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.emergency-item .hotline {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: 2px;
}

.contact-form-box {
    background: linear-gradient(135deg, rgba(230, 244, 243, 0.5), rgba(255, 255, 255, 0.8));
    backdrop-filter: blur(10px);
    padding: 35px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(59, 123, 166, 0.1);
    transition: var(--transition);
}

.contact-form-box:hover {
    box-shadow: var(--shadow-lg);
}

.contact-form-box h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 25px;
    margin: 0 0 25px 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid rgba(59, 123, 166, 0.2);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(59, 123, 166, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-send {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.btn-send:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* Modern Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    padding: 40px 0;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

.footer p {
    font-size: 14px;
    letter-spacing: 0.5px;
    opacity: 0.9;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    .feature-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .announcement-card {
        flex: 0 0 calc((100% - 40px) / 2);
        min-width: calc((100% - 40px) / 2);
    }

    .announcement-cards {
        gap: 40px;
    }

    .ann-slider-wrapper {
        padding: 0 52px;
    }

    .what-to-do-content,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-stats-box {
        position: static;
        transform: none;
        margin-top: 30px;
    }

    .slide-content h1 {
        font-size: 56px;
    }

    .section-header h2,
    .what-to-do-steps h2,
    .about-text h2 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .nav-menu {
        display: none;
    }

    .nav-brand {
        max-width: calc(100% - 104px);
    }

    .hero-slider {
        height: 500px;
        margin-top: 82px;
    }

    .slide-content h2 {
        font-size: 16px;
    }

    .slide-content h1 {
        font-size: 36px;
        letter-spacing: 1px;
    }

    .slide-content p {
        font-size: 16px;
        letter-spacing: 3px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .btn-primary,
    .btn-outline {
        width: 100%;
    }

    .feature-cards {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .announcement-card {
        flex: 0 0 100%;
        min-width: 100%;
    }

    .announcement-cards {
        gap: 20px;
    }

    .ann-nav {
        width: 36px;
        height: 36px;
        font-size: 15px;
    }

    .ann-slider-wrapper {
        padding: 0 44px;
    }

    .features {
        padding: 60px 0;
        margin-top: -80px;
    }

    .what-to-do,
    .announcements,
    .about-us,
    .contact {
        padding: 60px 0;
    }

    .section-header h2,
    .what-to-do-steps h2,
    .about-text h2 {
        font-size: 30px;
    }

    .step-item {
        padding: 20px;
    }

    .step-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }

    .about-stats-box {
        flex-direction: column;
        gap: 20px;
        padding: 25px 30px;
    }

    .contact-content {
        gap: 30px;
    }

    .branch-list {
        grid-template-columns: 1fr;
    }

    .branches-box,
    .emergency-box,
    .contact-form-box {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .logo {
        width: 54px;
        height: 54px;
    }

    /* allow navbar to size naturally on small screens */
    .navbar {
        height: auto;
        padding: 12px 0;
    }

    .brand-title {
        font-size: 11px;
        line-height: 1.2;
    }

    .brand-subtitle {
        font-size: 11px;
    }

    .btn-login {
        padding: 10px 20px;
        font-size: 12px;
    }

    .slide-content h1 {
        font-size: 28px;
    }

    .btn {
        padding: 12px 25px;
        font-size: 13px;
    }

    .card-icon {
        width: 90px;
        height: 90px;
        font-size: 35px;
    }

    .section-header h2,
    .what-to-do-steps h2,
    .about-text h2 {
        font-size: 26px;
    }

    .emergency-item .hotline {
        font-size: 36px;
    }
}

/* Modern Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-content {
    background: white;
    border-radius: var(--radius-lg);
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-xl);
    animation: modalSlideIn 0.4s ease;
}

.modal-close {
    position: absolute;
    right: 25px;
    top: 25px;
    font-size: 32px;
    font-weight: 300;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
}

.modal-close:hover {
    color: var(--primary-color);
    background: rgba(59, 123, 166, 0.1);
    transform: rotate(90deg);
}

.modal-header {
    text-align: center;
    padding: 50px 40px 30px;
    background: linear-gradient(135deg, rgba(230, 244, 243, 0.5), rgba(255, 255, 255, 0.8));
    border-bottom: 1px solid rgba(59, 123, 166, 0.1);
}

.modal-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 40px;
    color: white;
    box-shadow: var(--shadow-md);
}

.modal-header h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.modal-header p {
    font-size: 16px;
    color: var(--text-gray);
}

.modal-body {
    padding: 40px;
}

/* Prevention Tips Styles */
.tip-section {
    margin-bottom: 30px;
}

.tip-item {
    display: flex;
    gap: 25px;
    padding: 25px;
    background: rgba(230, 244, 243, 0.3);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    transition: var(--transition);
    border-left: 4px solid var(--accent-color);
}

.tip-item:hover {
    background: rgba(230, 244, 243, 0.5);
    transform: translateX(5px);
    box-shadow: var(--shadow-sm);
}

.tip-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    color: white;
    box-shadow: var(--shadow-sm);
}

.tip-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.tip-content p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.7;
    margin: 0;
}

.tip-highlight {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(251, 191, 36, 0.1));
    border-radius: var(--radius-md);
    border: 2px solid rgba(245, 158, 11, 0.3);
    align-items: center;
}

.tip-highlight i {
    font-size: 32px;
    color: #f59e0b;
    flex-shrink: 0;
}

.tip-highlight strong {
    color: var(--text-dark);
}

.tip-highlight div {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.7;
}

/* Vaccination Info Styles */
.vaccine-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 30px;
}

.vaccine-card {
    background: linear-gradient(135deg, rgba(230, 244, 243, 0.3), rgba(255, 255, 255, 0.5));
    padding: 30px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(59, 123, 166, 0.1);
    transition: var(--transition);
}

.vaccine-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.vaccine-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.vaccine-card h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.vaccine-timeline {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    background: white;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.timeline-item:hover {
    background: rgba(125, 212, 199, 0.1);
}

.timeline-item .day {
    flex-shrink: 0;
    padding: 8px 12px;
    background: var(--primary-color);
    color: white;
    border-radius: 6px;
    font-weight: 700;
    font-size: 13px;
}

.timeline-item .desc {
    font-size: 14px;
    color: var(--text-gray);
}

.bullet-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.bullet-list li {
    padding: 8px 0 8px 30px;
    position: relative;
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.7;
}

.bullet-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 700;
    font-size: 18px;
}

.schedule-note {
    margin-top: 15px;
    padding: 12px;
    background: rgba(125, 212, 199, 0.1);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--text-gray);
}

.info-boxes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.info-box {
    display: flex;
    gap: 15px;
    padding: 20px;
    border-radius: var(--radius-md);
    align-items: flex-start;
}

.info-box.success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.05));
    border: 2px solid rgba(16, 185, 129, 0.2);
}

.info-box.warning {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.05));
    border: 2px solid rgba(245, 158, 11, 0.2);
}

.info-box i {
    font-size: 28px;
    flex-shrink: 0;
}

.info-box.success i {
    color: #10b981;
}

.info-box.warning i {
    color: #f59e0b;
}

.info-box h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.info-box p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.7;
    margin: 0;
}

.contact-cta {
    text-align: center;
    padding: 35px;
    background: linear-gradient(135deg, rgba(59, 123, 166, 0.1), rgba(125, 212, 199, 0.1));
    border-radius: var(--radius-md);
    border: 2px dashed var(--primary-color);
}

.contact-cta h4 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.contact-cta p {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 25px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Modal Responsive */
@media (max-width: 768px) {
    .modal-content {
        max-width: 100%;
        margin: 10px;
        max-height: 95vh;
    }

    .modal-header {
        padding: 40px 25px 25px;
    }

    .modal-body {
        padding: 25px;
    }

    .vaccine-grid,
    .info-boxes {
        grid-template-columns: 1fr;
    }

    .tip-item {
        flex-direction: column;
        padding: 20px;
    }

    .tip-highlight {
        flex-direction: column;
        text-align: center;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}
