/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

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

body {
    background: #f0f7fc;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    padding-top: 74px;
}

/* ===== FIXED HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 80, 120, 0.08);
    border-bottom: 3px solid #0891b2;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 4px 30px rgba(0, 80, 120, 0.15);
    background: rgba(255, 255, 255, 0.98);
}

.logo-text {
    font-weight: 700;
    font-size: 1.5rem;
    background: linear-gradient(145deg, #0c4a6e, #0891b2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: opacity 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text::before {
    content: '⚕️';
    font-size: 1.8rem;
    -webkit-text-fill-color: initial;
}

.logo-text:hover {
    opacity: 0.8;
}

.nav-links .nav-link {
    font-weight: 500;
    color: #1e293b;
    position: relative;
    padding: 0.5rem 0;
    text-decoration: none;
}

.nav-links .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #0891b2;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.nav-links .nav-link:hover::after {
    width: 100%;
}

.nav-links .nav-link:hover {
    color: #0891b2;
}

.nav-links .nav-link.active {
    color: #0891b2;
}

.nav-links .nav-link.active::after {
    width: 100%;
}

.nav-links .nav-link i {
    margin-right: 6px;
    font-size: 0.85rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    border-radius: 10px;
    border: none;
    background: transparent;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: #0c4a6e;
    border-radius: 6px;
    transition: all 0.3s ease;
    transform-origin: center;
    display: block;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

.mobile-nav {
    display: none;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    padding: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 999;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.mobile-nav.open {
    display: block;
    animation: slideDown 0.3s ease forwards;
}

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

.mobile-nav ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.mobile-nav ul li {
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
}

.mobile-nav ul li:last-child {
    border-bottom: none;
}

.mobile-nav ul a {
    font-weight: 500;
    color: #0c4a6e;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 14px;
}

.mobile-nav ul a i {
    width: 26px;
    color: #0891b2;
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, #f0f7fc 0%, #e0f2fe 100%);
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 74px);
    display: flex;
    align-items: center;
}

.hero::before {
    content: '❤️';
    position: absolute;
    font-size: 300px;
    opacity: 0.04;
    right: -50px;
    top: -50px;
    transform: rotate(15deg);
}

.hero::after {
    content: '⚕️';
    position: absolute;
    font-size: 200px;
    opacity: 0.04;
    left: -30px;
    bottom: -30px;
    transform: rotate(-10deg);
}

.gradient-text {
    background: linear-gradient(135deg, #0c4a6e, #0891b2, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text {
    max-width: 480px;
}

.hero-text::before {
    content: '🏥 ';
    font-size: 1.2rem;
}

.avatar-circle {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(8, 145, 178, 0.25);
    border: 5px solid #ffffff;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    margin: 0 auto;
    position: relative;
}

.avatar-circle::after {
    content: '❤️';
    position: absolute;
    bottom: 5px;
    right: 5px;
    font-size: 24px;
    background: white;
    border-radius: 50%;
    padding: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.avatar-circle:hover {
    transform: scale(1.02);
}

.avatar-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #ffffff;
}

/* ===== BUTTONS ===== */
.btn-primary-custom {
    background: #0c4a6e;
    color: white;
    padding: 0.7rem 2.2rem;
    border-radius: 60px;
    font-weight: 600;
    border: none;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.btn-primary-custom::before {
    content: '💉';
    font-size: 1.1rem;
}

.btn-primary-custom:hover {
    background: #0891b2;
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(8, 145, 178, 0.3);
    color: white;
}

.btn-outline-custom {
    background: transparent;
    color: #0c4a6e;
    padding: 0.7rem 2.2rem;
    border-radius: 60px;
    font-weight: 600;
    border: 1.5px solid #0891b2;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.btn-outline-custom::before {
    content: '🩺';
    font-size: 1.1rem;
}

.btn-outline-custom:hover {
    border-color: #0c4a6e;
    color: #0c4a6e;
    background: rgba(8, 145, 178, 0.06);
    transform: translateY(-3px);
}

/* ===== SECTION TITLES ===== */
.section-title {
    font-weight: 700;
    letter-spacing: -0.4px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 2rem;
}

.section-title i {
    color: #0891b2;
    font-size: 1.8rem;
    opacity: 0.8;
}

.section-sub {
    color: #64748b;
    border-left: 3px solid #0891b2;
    padding-left: 18px;
    font-size: 1.1rem;
}

/* ===== HORIZONTAL SCROLL CARDS ===== */
.horizontal-scroll-section {
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
}

.horizontal-scroll-wrapper {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 1rem 0.5rem 2rem;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    cursor: grab;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.horizontal-scroll-wrapper::-webkit-scrollbar {
    display: none;
}

.horizontal-scroll-wrapper:active {
    cursor: grabbing;
}

.scroll-card {
    flex: 0 0 calc(33.333% - 1.4rem);
    scroll-snap-align: start;
    background: white;
    border-radius: 24px;
    padding: 1.8rem;
    border: 1px solid #e0f2fe;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 24px rgba(8, 145, 178, 0.06);
    position: relative;
    overflow: hidden;
    min-height: 380px;
    display: flex;
    flex-direction: column;
}

.scroll-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0891b2, #06b6d4, #22d3ee);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.scroll-card:hover::before {
    transform: scaleX(1);
}

.scroll-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 20px 48px rgba(8, 145, 178, 0.15);
    border-color: #a5f3fc;
}

.scroll-card .card-icon {
    width: 56px;
    height: 56px;
    background: #e0f2fe;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0891b2;
    font-size: 1.5rem;
    margin-bottom: 16px;
    flex-shrink: 0;
    transition: all 0.3s ease;
    position: relative;
}

.scroll-card:hover .card-icon {
    background: linear-gradient(135deg, #0891b2, #06b6d4);
    color: white;
    transform: rotate(-10deg) scale(1.1);
}

.scroll-card .card-image {
    width: 100%;
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 14px;
    background: #e0f2fe;
}

.scroll-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.scroll-card h5 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #0c4a6e;
    font-size: 1.1rem;
}

.scroll-card .card-subtitle {
    color: #64748b;
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.scroll-card .card-date {
    color: #0891b2;
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.scroll-card .card-date::before {
    content: '📅 ';
    font-size: 0.8rem;
}

.scroll-card p {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.6;
    flex-grow: 1;
}

.scroll-card .card-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    background: #e0f2fe;
    color: #0c4a6e;
    padding: 0.25rem 1rem;
    border-radius: 40px;
    letter-spacing: 0.3px;
    align-self: flex-start;
    margin-top: auto;
    transition: all 0.3s ease;
}

.scroll-card .card-tag::before {
    content: '🏷️';
    font-size: 0.7rem;
}

.scroll-card:hover .card-tag {
    background: linear-gradient(135deg, #0891b2, #06b6d4);
    color: white;
}

.scroll-nav {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.scroll-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1.5px solid #e0f2fe;
    background: white;
    color: #0c4a6e;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1.1rem;
}

.scroll-nav-btn:hover {
    background: #0891b2;
    border-color: #0891b2;
    color: white;
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(8, 145, 178, 0.25);
}

.scroll-nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none !important;
}

.scroll-indicators {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1rem;
}

.scroll-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
    transition: all 0.3s ease;
    cursor: pointer;
}

.scroll-dot.active {
    background: #0891b2;
    width: 24px;
    border-radius: 4px;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    background: #f0f7fc;
    min-height: calc(100vh - 74px);
    display: flex;
    align-items: center;
}

.contact-form-wrapper {
    background: white;
    border-radius: 24px;
    padding: 3rem;
    border: 1px solid #e0f2fe;
    box-shadow: 0 6px 24px rgba(8, 145, 178, 0.06);
    transition: all 0.3s ease;
}

.contact-form-wrapper:hover {
    box-shadow: 0 12px 48px rgba(8, 145, 178, 0.1);
}

.contact-form-wrapper .form-label {
    font-weight: 600;
    color: #0c4a6e;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.contact-form-wrapper .form-label i {
    font-size: 0.85rem;
    color: #0891b2;
}

.contact-form-wrapper .form-control {
    border: 1.5px solid #e0f2fe;
    border-radius: 12px;
    padding: 0.85rem 1.2rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: #fafcff;
}

.contact-form-wrapper .form-control::placeholder {
    color: #94a3b8;
    font-size: 0.9rem;
}

.contact-form-wrapper .form-control:focus {
    border-color: #0891b2;
    box-shadow: 0 0 0 4px rgba(8, 145, 178, 0.1);
    background: white;
}

.contact-form-wrapper .btn-submit {
    background: #0c4a6e;
    color: white;
    padding: 0.9rem 2.5rem;
    border-radius: 60px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    margin-top: 0.5rem;
    position: relative;
    overflow: hidden;
}

.contact-form-wrapper .btn-submit::before {
    content: '💉';
    font-size: 1.2rem;
}

.contact-form-wrapper .btn-submit::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.contact-form-wrapper .btn-submit:hover::after {
    left: 100%;
}

.contact-form-wrapper .btn-submit:hover {
    background: #0891b2;
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(8, 145, 178, 0.3);
    color: white;
}

.contact-form-wrapper .btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* ===== 404 ERROR PAGE ===== */
.error-section {
    min-height: calc(100vh - 74px);
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f0f7fc 0%, #ffffff 100%);
}

.error-number {
    font-size: 8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #0c4a6e, #0891b2, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.error-icon {
    font-size: 4rem;
    color: #0891b2;
    opacity: 0.3;
    margin-bottom: 1rem;
}

.error-icon::before {
    content: '🚑';
    font-size: 4rem;
}

.error-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0c4a6e;
    margin-bottom: 1rem;
}

.error-description {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 500px;
    margin: 0 auto 2rem;
}

.error-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.error-actions .btn-home {
    background: #0c4a6e;
    color: white;
    padding: 0.7rem 2.5rem;
    border-radius: 60px;
    font-weight: 600;
    border: none;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.error-actions .btn-home::before {
    content: '🏠';
    font-size: 1.1rem;
}

.error-actions .btn-home:hover {
    background: #0891b2;
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(8, 145, 178, 0.3);
    color: white;
}

.error-actions .btn-search {
    background: transparent;
    color: #0c4a6e;
    padding: 0.7rem 2.5rem;
    border-radius: 60px;
    font-weight: 600;
    border: 1.5px solid #0891b2;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.error-actions .btn-search::before {
    content: '🔍';
    font-size: 1.1rem;
}

.error-actions .btn-search:hover {
    border-color: #0c4a6e;
    color: #0c4a6e;
    background: rgba(8, 145, 178, 0.06);
    transform: translateY(-3px);
}

.suggested-links {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e0f2fe;
}

.suggested-links h6 {
    color: #94a3b8;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.suggested-links .suggest-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0c4a6e;
    text-decoration: none;
    padding: 0.4rem 1.2rem;
    border-radius: 40px;
    background: #f0f7fc;
    transition: all 0.25s ease;
    font-weight: 500;
}

.suggested-links .suggest-item:hover {
    background: #e0f2fe;
    color: #0891b2;
    transform: translateY(-2px);
}

.suggested-links .suggest-item i {
    color: #0891b2;
    font-size: 0.7rem;
}

/* ===== THANK YOU PAGE ===== */
.thank-you-section {
    min-height: calc(100vh - 74px);
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f0f7fc 0%, #ffffff 100%);
}

.thank-you-section .fa-check-circle {
    color: #10b981 !important;
}

.thank-you-section .fa-check-circle::before {
    content: '✅';
    font-size: 5rem;
}

/* ===== FOOTER ===== */
.footer {
    background: #0c4a6e;
    color: #cbd5e1;
    padding: 4rem 0 1.5rem;
    border-top: 3px solid #0891b2;
}

.footer-top {
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 2rem;
}

.footer-brand h3 {
    color: white;
    font-weight: 700;
    font-size: 1.8rem;
    letter-spacing: -0.3px;
    margin-bottom: 0.75rem;
}

.footer-brand h3::before {
    content: '⚕️';
    margin-right: 10px;
}

.footer-desc {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 400px;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    text-decoration: none;
}

.footer-social a:hover {
    background: #0891b2;
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(8, 145, 178, 0.35);
}

.footer-links h4 {
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    opacity: 0.7;
    margin-bottom: 1.25rem;
}

.footer-links ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul a {
    color: #94a3b8;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
}

.footer-links ul a::before {
    content: '›';
    color: #0891b2;
    margin-right: 6px;
    transition: margin-right 0.3s ease;
}

.footer-links ul a:hover {
    color: white;
    transform: translateX(4px);
}

.footer-links ul a:hover::before {
    margin-right: 10px;
}

.footer-contact h4 {
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    opacity: 0.7;
    margin-bottom: 1.25rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #94a3b8;
    font-size: 0.95rem;
    padding: 6px 0;
    transition: color 0.3s ease;
}

.contact-item:hover {
    color: white;
}

.contact-item i {
    width: 20px;
    color: #0891b2;
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-item a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: white;
}

.contact-item span {
    color: #94a3b8;
    transition: color 0.3s ease;
}

.contact-item:hover span {
    color: white;
}

.footer-bottom {
    padding-top: 1.5rem;
}

.footer-bottom p {
    color: #64748b;
    font-size: 0.9rem;
}

.footer-bottom p::before {
    content: '❤️ ';
}

/* ===== ANIMATIONS ===== */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.scroll-card {
    animation: slideInLeft 0.6s ease forwards;
    opacity: 0;
}

.scroll-card:nth-child(1) { animation-delay: 0s; }
.scroll-card:nth-child(2) { animation-delay: 0.1s; }
.scroll-card:nth-child(3) { animation-delay: 0.2s; }
.scroll-card:nth-child(4) { animation-delay: 0.3s; }
.scroll-card:nth-child(5) { animation-delay: 0.4s; }
.scroll-card:nth-child(6) { animation-delay: 0.5s; }

.card-icon .fa-heartbeat {
    animation: pulse 2s ease-in-out infinite;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .scroll-card {
        flex: 0 0 calc(50% - 1rem);
        min-height: 350px;
    }
}

@media (max-width: 992px) {
    .hero-text {
        max-width: 100%;
    }

    .scroll-card {
        flex: 0 0 calc(50% - 1rem);
        min-height: 330px;
        padding: 1.5rem;
    }

    .section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 64px;
    }

    .nav-links {
        display: none !important;
    }

    .hamburger {
        display: flex;
    }

    .mobile-nav {
        top: 64px;
    }

    .hero {
        min-height: calc(100vh - 64px);
    }

    .hero .display-3 {
        font-size: 2.5rem;
    }

    .hero::before,
    .hero::after {
        display: none;
    }

    .avatar-circle {
        width: 200px;
        height: 200px;
    }

    .section-title {
        font-size: 1.6rem;
        justify-content: center !important;
    }

    .section-title i {
        font-size: 1.4rem;
    }

    .section-sub {
        text-align: center !important;
        border-left: none !important;
        padding-left: 0 !important;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .contact-section {
        min-height: auto;
        padding: 3rem 0;
    }

    .error-section {
        min-height: calc(100vh - 64px);
    }

    .error-number {
        font-size: 5rem;
    }

    .error-title {
        font-size: 1.8rem;
    }

    .error-icon {
        font-size: 3rem;
    }

    .scroll-card {
        flex: 0 0 calc(100% - 1rem);
        min-height: 300px;
        padding: 1.5rem;
    }

    .scroll-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .footer {
        text-align: center;
        padding: 3rem 0 1.5rem;
    }

    .footer-brand h3 {
        font-size: 1.5rem;
    }

    .footer-desc {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-links ul a {
        display: inline-block;
    }

    .contact-item {
        justify-content: center;
    }

    .footer-top {
        padding-bottom: 2rem;
        margin-bottom: 1.5rem;
    }

    .thank-you-section {
        min-height: calc(100vh - 64px);
    }
}

@media (max-width: 576px) {
    .scroll-card {
        flex: 0 0 calc(100% - 0.5rem);
        min-height: 280px;
        padding: 1.2rem;
    }

    .scroll-card .card-image {
        height: 140px;
    }

    .scroll-card h5 {
        font-size: 0.95rem;
    }

    .scroll-card .card-subtitle {
        font-size: 0.8rem;
    }

    .scroll-card .card-date {
        font-size: 0.7rem;
    }

    .scroll-card p {
        font-size: 0.8rem;
    }

    .scroll-nav {
        gap: 0.75rem;
    }

    .scroll-nav-btn {
        width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }

    .scroll-indicators {
        gap: 0.4rem;
    }

    .scroll-dot {
        width: 6px;
        height: 6px;
    }

    .scroll-dot.active {
        width: 18px;
    }

    .hero .display-3 {
        font-size: 2rem;
    }

    .avatar-circle {
        width: 160px;
        height: 160px;
    }

    .btn-primary-custom,
    .btn-outline-custom {
        padding: 0.5rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (min-width: 769px) {
    .mobile-nav {
        display: none !important;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 60px;
    }

    .mobile-nav {
        top: 60px;
    }

    .hero {
        min-height: calc(100vh - 60px);
    }

    .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .scroll-card {
        flex: 0 0 calc(100% - 0.5rem);
        min-height: 260px;
        padding: 1rem;
        border-radius: 18px;
    }

    .scroll-card .card-icon {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
        border-radius: 12px;
        margin-bottom: 10px;
    }

    .scroll-card .card-image {
        height: 120px;
    }

    .scroll-card h5 {
        font-size: 0.9rem;
        margin-bottom: 0.3rem;
    }

    .scroll-card .card-subtitle {
        font-size: 0.75rem;
    }

    .scroll-card .card-date {
        font-size: 0.65rem;
        margin-bottom: 0.5rem;
    }

    .scroll-card p {
        font-size: 0.75rem;
        line-height: 1.5;
    }

    .scroll-card .card-tag {
        font-size: 0.6rem;
        padding: 0.15rem 0.7rem;
    }

    .horizontal-scroll-wrapper {
        gap: 1rem;
        padding: 0.5rem 0.25rem 1rem;
    }

    .horizontal-scroll-section {
        padding: 1rem 0;
    }

    .section-title {
        font-size: 1.3rem;
        gap: 8px;
    }

    .section-title i {
        font-size: 1.2rem;
    }

    .section-sub {
        font-size: 0.9rem;
    }

    .error-section {
        min-height: calc(100vh - 60px);
    }

    .thank-you-section {
        min-height: calc(100vh - 60px);
    }
}