/* ============================================
   Base Styles - 全站公共样式
   继承自 variables.css 的设计 Token
   ============================================ */

body {
    font-family: var(--font-family-base);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.7;
}

/* --- Urgent Announcements --- */
.urgent-announcements {
    background-color: var(--primary-color);
    color: white;
    padding: 0.375rem 0;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    animation: slideDown 0.5s ease-out;
    z-index: var(--z-navbar);
    top: 0;
    left: 0;
    width: 100%;
    line-height: 1;
}

.urgent-announcement-slider {
    position: relative;
    overflow: hidden;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.urgent-announcement-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0 1rem;
    margin: 0;
    white-space: nowrap;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    opacity: 0;
    animation: slideAnimation 12s ease-in-out infinite;
    width: 100%;
    justify-content: flex-start;
    z-index: 1;
}

.urgent-announcement-item:nth-child(1) { animation-delay: 0s; z-index: 3; }
.urgent-announcement-item:nth-child(2) { animation-delay: 6s; z-index: 2; }
.urgent-announcement-item:nth-child(3) { animation-delay: 12s; z-index: 1; }

.single-announcement .urgent-announcement-item {
    position: relative;
    top: 0;
    opacity: 1;
    animation: none;
    z-index: 1;
}

.urgent-announcement-item i { font-size: 1.25rem; flex-shrink: 0; }
.urgent-announcement-item strong { font-weight: 700; flex-shrink: 0; }
.announcement-time { font-size: 0.85rem; opacity: 0.8; flex-shrink: 0; }

.urgent-announcement-item a {
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-left: auto;
    flex-shrink: 0;
}
.urgent-announcement-item a:hover { text-decoration: underline; opacity: 0.9; }

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

@keyframes slideAnimation {
    0% { opacity: 0; transform: translateY(-20px); }
    20% { opacity: 1; transform: translateY(0); }
    40% { opacity: 1; transform: translateY(0); }
    60% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 0; transform: translateY(20px); }
}

/* --- Navbar --- */
.navbar {
    background-color: var(--card-bg);
    box-shadow: var(--shadow-md);
    padding: 0.25rem 0;
    transition: all 0.3s ease;
    z-index: var(--z-navbar);
}

.navbar-brand {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.navbar-brand:hover { color: var(--primary-dark); }

.nav-link {
    color: var(--text-color);
    margin-right: 1.5rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}
.nav-link:hover { color: var(--primary-color); }

.navbar-nav .nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
}
.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

/* --- Buttons --- */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: var(--btn-border-radius);
    padding: var(--btn-padding-base);
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-primary);
}
.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 136, 204, 0.35);
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
    border-radius: var(--btn-border-radius);
    padding: var(--btn-padding-base);
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}

/* --- Cards --- */
.card {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
    border: none;
    background-color: var(--card-bg);
}
.card:not(.training-plan-card):hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card-body { color: var(--text-color); padding: 2rem; }
.card-title { color: var(--text-color); }
.card-text { color: var(--text-light); }

.card-header {
    background-color: transparent;
    color: var(--text-color);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    border-bottom: none;
    padding: 1.5rem 1.75rem 0;
}
/* Compact card-header (used by front dashboard quick actions, stat cards) */
.card-header.bg-light,
.card-header.compact,
.card-sm .card-header,
.card.compact .card-header {
    padding: 0.875rem 1.25rem;
}
.card-header.bg-light h5,
.card-header.bg-light h4,
.card-header.bg-light h3,
.card-header.bg-light h2,
.card-header.compact h1,
.card-header.compact h2,
.card-header.compact h3,
.card-header.compact h4,
.card-header.compact h5 {
    padding-bottom: 0 !important;
    font-weight: 700;
}
.card-header.bg-light h1::after,
.card-header.bg-light h2::after,
.card-header.bg-light h3::after,
.card-header.bg-light h4::after,
.card-header.bg-light h5::after,
.card-header.bg-light .card-title::after,
.card-header.compact h1::after,
.card-header.compact h2::after,
.card-header.compact h3::after,
.card-header.compact h4::after,
.card-header.compact h5::after,
.card-header.compact .card-title::after {
    display: none !important;
}
/* -------- Card Header Title with Blue Accent Underline -------- */
body .card-header h1,
body .card-header h2,
body .card-header h3,
body .card-header h4,
body .card-header h5,
body .card-header h6,
body .card-header .card-title,
body .card-header .admin-card-title {
    color: var(--text-color) !important;
    margin: 0 !important;
    position: relative !important;
    display: inline-block !important;
    width: fit-content !important;
    max-width: 100%;
    padding: 0 0 0.875rem 0 !important;
    font-weight: 700 !important;
}
body .card-header h1::after,
body .card-header h2::after,
body .card-header h3::after,
body .card-header h4::after,
body .card-header h5::after,
body .card-header h6::after,
body .card-header .card-title::after,
body .card-header .admin-card-title::after {
    content: '' !important;
    display: block !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 3rem !important;
    height: 4px !important;
    min-width: 3rem !important;
    min-height: 4px !important;
    background-color: var(--primary-color) !important;
    border-radius: 4px !important;
    box-sizing: content-box !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: none !important;
}

/* Standalone section titles (with blue underline accent) */
.section-title,
.page-section-title,
.form-section-title,
.content-title {
    color: var(--text-color);
    font-weight: 700;
    position: relative;
    display: inline-block;
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
}
.section-title::after,
.page-section-title::after,
.form-section-title::after,
.content-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 3rem;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 4px;
}

/* --- Links --- */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover { color: var(--primary-dark); text-decoration: underline; }

/* --- Lists --- */
.list-unstyled li { color: var(--text-light); margin-bottom: 0.8rem; }
.list-unstyled li:hover { transform: translateX(4px); }

/* --- Divider --- */
.divider {
    height: 1px;
    background-color: var(--divider-color);
    margin: 1.5rem 0;
}

/* --- Footer --- */
footer {
    background-color: var(--bg-dark);
    padding: 3rem 0;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}
footer h5 { color: white; margin-bottom: 1.5rem; }
footer a { color: rgba(255, 255, 255, 0.8); }
footer a:hover { color: white; text-decoration: underline; }
footer hr {
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    height: 1px;
    margin: 2rem 0;
}
footer .footer-description {
    line-height: 1.6;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.5rem;
}
footer .footer-btn-outline {
    background-color: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-full);
    padding: 0.3rem 1rem;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}
footer .footer-btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
}
footer .footer-btn-primary {
    background-color: white;
    color: var(--bg-dark);
    border: none;
    border-radius: var(--radius-full);
    padding: 0.3rem 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}
footer .footer-btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
footer .footer-nav-container { margin-top: 1rem; }
footer .footer-nav { padding: 0; margin: 0; }
footer .footer-nav li { margin-bottom: 0.75rem; }
footer .footer-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}
footer .footer-link:hover { color: white; text-decoration: none; padding-left: 4px; }
footer .footer-link i { color: var(--primary-color); }

/* Footer package/course items */
footer .recommended-packages,
footer .popular-courses { margin-top: 1rem; }
footer .package-item,
footer .course-item {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}
footer .package-item:hover,
footer .course-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}
footer .course-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
footer .package-info { flex: 1; min-width: 0; }
footer .course-title {
    font-weight: 600;
    color: white;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
footer .course-subtitle { color: rgba(255, 255, 255, 0.7); font-size: 0.8rem; margin-bottom: 0; }
footer .course-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-size: 0.9rem;
    font-weight: 600;
}
footer .original-price {
    text-decoration: line-through;
    color: rgba(255, 255, 255, 0.5);
    font-weight: normal;
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
}
footer .current-price { color: var(--primary-color); font-weight: 600; font-size: 1rem; }
footer .contact-list li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.85);
}
footer .contact-list i { color: var(--primary-color); font-size: 0.9rem; }
footer .social-links { margin-top: 1.5rem; }
footer .social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.05);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    position: relative;
}
footer .social-link:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}
footer .wechat-container:hover .wechat-qr,
footer .weibo-container:hover .weibo-qr,
footer .linkedin-container:hover .linkedin-qr {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%);
}
footer .wechat-qr,
footer .weibo-qr,
footer .linkedin-qr {
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

/* --- Main Content --- */
.main-content {
    min-height: calc(100vh - 220px);
    padding: 0;
}

/* --- News & Events --- */
.news-events-section { margin-bottom: 3rem; }
.news-card { transition: all 0.3s ease; overflow: hidden; }
.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}
.news-card-img { transition: transform 0.5s ease; }
.news-card:hover .news-card-img { transform: scale(1.05); }
.news-no-image {
    background: linear-gradient(135deg, #e6f5fb, #eef2ff) !important;
    transition: transform 0.5s ease;
}
.news-card:hover .news-no-image { transform: scale(1.05); }

/* Course placeholder */
.course-placeholder {
    background: linear-gradient(135deg, #e6f5fb, #eef2ff) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--primary-color);
}
.news-card .news-meta { margin-bottom: 0.75rem; }
.news-card .news-card-title { font-size: 1.1rem; font-weight: 600; line-height: 1.4; }
.news-card .news-card-excerpt { font-size: 0.95rem; line-height: 1.5; }
.news-card-title { transition: color 0.3s ease; }
.news-card-title a:hover { color: var(--primary-color); }
.event-item { transition: all 0.3s ease; }
.event-item:hover { transform: translateX(5px); }
.event-date { transition: all 0.3s ease; }
.event-item:hover .event-date { transform: scale(1.05); }

/* --- Buttons Extra --- */
.btn-sm { font-size: 0.875rem; padding: 0.375rem 0.75rem; }
.badge { font-weight: 500; font-size: 0.75rem; padding: 0.35em 0.75em; border-radius: 20px; transition: all 0.2s ease; }
.badge:hover { transform: translateY(-1px); }

/* --- Text Utilities --- */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-title-container { overflow: hidden; height: 3.5rem; margin-bottom: 0.75rem; }
.news-excerpt-container { overflow: hidden; height: 5rem; margin-bottom: 1rem; }
.news-card-title { line-height: 1.4; word-break: break-word; font-size: 1rem; font-weight: 600; }

/* --- Utility Classes --- */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-title-container { overflow: hidden; height: 3.5rem; margin-bottom: 0.75rem; }
.news-excerpt-container { overflow: hidden; height: 5rem; margin-bottom: 1rem; }
.news-card-title { line-height: 1.4; word-break: break-word; font-size: 1rem; font-weight: 600; }

/* Gradient backgrounds */
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops)); }
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)); }
.from-blue-50 { --tw-gradient-from: var(--primary-50); --tw-gradient-to: rgba(239, 246, 255, 0); }
.to-indigo-50 { --tw-gradient-to: #eef2ff; }
.from-primary { --tw-gradient-from: var(--primary-color); }
.to-indigo-500 { --tw-gradient-to: #6366f1; }

.bg-clip-text {
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-image: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    color: var(--primary-color);
}
.text-gradient {
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Sizing */
.text-3xl { font-size: 2rem; }
.text-2xl { font-size: 1.5rem; }
.text-lg { font-size: 1.125rem; }
.fw-bold { font-weight: 700; }

/* Colors */
.text-primary { color: var(--primary-color); }
.text-gray-500 { color: var(--text-muted); opacity: 1; }
.text-green-700 { color: #15803d; }
.text-accent { color: var(--accent-color); }
.bg-green-100 { background-color: #dcfce7; }

/* Gradient utilities - direct implementations */
.bg-gradient-to-r.from-blue-50.to-indigo-50,
.gradient-blue-indigo {
    background: linear-gradient(90deg, var(--primary-50, #eff6ff), #eef2ff);
}
.bg-gradient-to-br.from-blue-50.to-indigo-50,
.gradient-blue-indigo-diag {
    background: linear-gradient(135deg, var(--primary-50, #eff6ff), #eef2ff);
}
.bg-gradient-to-r.from-primary.to-indigo-500,
.gradient-primary-indigo {
    background-image: linear-gradient(90deg, var(--primary-color), #6366f1);
}
.bg-gradient-to-r.from-amber-50.to-orange-50,
.gradient-amber-orange {
    background: linear-gradient(90deg, #fffbeb, #fff7ed);
}
.bg-gradient-to-r.from-blue-400.to-indigo-600,
.gradient-blue-indigo-bright {
    background: linear-gradient(90deg, #60a5fa, #4f46e5);
}

/* Shadows */
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
.shadow-primary-20 { box-shadow: 0 10px 15px -3px rgba(0, 136, 204, 0.2), 0 4px 6px -2px rgba(0, 136, 204, 0.1); }

/* Other utilities */
.text-decoration-line-through { text-decoration: line-through; color: var(--text-muted); opacity: 0.8; }
.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.border-gray-100 { border-color: #f3f4f6; }

/* --- Typography --- */
h1 { color: var(--text-color); font-weight: 700; margin-bottom: 1rem; font-size: 2.5rem; }
h2 { color: var(--text-color); font-weight: 700; margin-bottom: 1rem; font-size: 2rem; margin-bottom: 1.5rem; }
h3 { color: var(--text-color); font-weight: 700; margin-bottom: 1rem; font-size: 1.5rem; }
h4, h5, h6 { color: var(--text-color); font-weight: 700; margin-bottom: 1rem; }
p { margin-bottom: 1.2rem; }

/* --- Forms --- */
.form-control {
    border-radius: var(--form-control-border-radius);
    border: 1px solid var(--border-color);
    padding: var(--form-control-padding);
    height: var(--form-control-height);
    transition: all 0.3s ease;
    color: var(--text-color);
    background-color: var(--card-bg);
}
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: var(--form-control-focus-ring);
    background-color: var(--card-bg);
}
.form-select {
    border-radius: var(--form-control-border-radius);
    border: 1px solid var(--border-color);
    padding: var(--form-control-padding);
    height: var(--form-control-height);
    transition: all 0.3s ease;
    color: var(--text-color);
    background-color: var(--card-bg);
}
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: var(--form-control-focus-ring);
}
.input-group .form-control,
.input-group .btn {
    height: var(--form-control-height);
}
.form-label {
    font-weight: var(--form-label-weight);
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

textarea.form-control {
    height: auto;
    min-height: 6rem;
    line-height: 1.6;
}

/* --- Dropdown --- */
.dropdown-menu {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 0.25rem 0;
    margin-top: 0.25rem;
    min-width: 160px;
}
.dropdown-item {
    padding: 0.6rem 1rem;
    margin: 0;
    border-radius: 0;
    transition: background-color 0.2s ease;
    color: var(--text-color);
    font-weight: normal;
    text-align: left;
    width: 100%;
    line-height: 1.4;
}
.dropdown-item:hover {
    background-color: var(--primary-color);
    color: white;
    border-radius: 0;
}
.dropdown-item:active { background-color: var(--primary-dark); }
.dropdown-divider { margin: 0.25rem 0; border-color: var(--border-color); opacity: 0.8; }
.navbar-nav .dropdown-menu { right: 0; left: auto; }
.dropdown-item form { margin: 0; padding: 0; }
.dropdown-item button {
    text-align: left;
    width: 100%;
    padding: 0.6rem 1rem;
    margin: 0;
    border: none;
    background: transparent;
    color: var(--text-color);
    line-height: 1.4;
    font-size: inherit;
    font-family: inherit;
    transition: all 0.2s ease;
}
.dropdown-item:hover button { color: white; background: transparent; }
.dropdown-item button:hover { color: white; }

/* --- Scroll Animations --- */
html { scroll-behavior: smooth; }
img { border-radius: var(--radius-lg); }
.page-transition { animation: fadeIn 0.5s ease-in; }
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}
.scroll-animate.animate { opacity: 1; transform: translateY(0); }
.scroll-animate.fade-in { transform: none; }
.scroll-animate.slide-left { transform: translateX(-30px); }
.scroll-animate.slide-right { transform: translateX(30px); }
.scroll-animate.zoom-in { transform: scale(0.95); }

/* --- Bootstrap Icons --- */
.bi {
    font-family: bootstrap-icons !important;
    font-style: normal;
    font-weight: normal !important;
    font-variant: normal !important;
    text-transform: none !important;
    line-height: 1;
    vertical-align: -0.125em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- Section Spacing --- */
section { margin-bottom: 4rem; }
.course-list-spacing { margin-top: 2rem; }

/* --- Package Cards --- */
.package-image-container { overflow: hidden; border-radius: 4px 4px 0 0; }
.package-list-container { position: relative; }
.package-card-wrapper { transition: all 0.3s ease; }
.package-featured { transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }

/* --- Button Shine Animation --- */
.btn { position: relative; overflow: hidden; }
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: all 0.5s;
}
.btn:hover::before { left: 100%; }

/* --- Card Hover Image --- */
.card:not(.training-plan-card) .card-img-top:hover { transform: scale(1.1); }

.card-body > *:last-child { margin-bottom: 0; }

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1200px) {
    .package-image-container { height: 180px; }
}

@media (max-width: 992px) {
    .nav-link { margin-right: 1rem; }
}

@media (max-width: 768px) {
    .package-image-container { height: 120px; }
    .navbar { padding: 0.75rem 0; }
    .navbar-collapse { margin-top: 1rem; }
    .nav-link { margin-right: 0; padding: 0.5rem 0; }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.3rem; }
    section { margin-bottom: 3rem; }
    .carousel-inner { height: 300px !important; }
    .carousel-caption h5 { font-size: 1.5rem !important; }
    .carousel-caption p { font-size: 1rem !important; }
    .card { margin-bottom: 1.5rem; }
    .py-8 { padding: 4rem 0; }
    .display-4 { font-size: 2rem; }
    .form-select,
    .form-control { font-size: 1rem; height: var(--form-control-height); }
    .input-group .form-control,
    .input-group .btn { height: var(--form-control-height); }
    footer { padding: 2rem 0; }
    .news-events-section { margin-bottom: 2rem; }
    .news-section,
    .events-section { margin-bottom: 2rem; }
    .package-featured { transform: none; }
    .card-body { padding: 1.5rem; }
}

@media (max-width: 576px) {
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    .carousel-inner { height: 250px !important; }
    .carousel-caption { padding: 1rem !important; }
    .carousel-caption h5 { font-size: 1.25rem !important; }
    .carousel-caption p { font-size: 0.9rem !important; }
    .btn { padding: 0.4rem 1rem; font-size: 0.9rem; }
    .btn-lg { padding: 0.5rem 1.25rem; font-size: 1rem; }
    .package-image-container { height: 100px; }
}
