/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Announcements Section */
.announcement-section {
    background: linear-gradient(135deg, #ffb7b7 0%, #ff7878 100%);
    border-bottom: 3px solid #a12929;
    padding: 1rem 0;
    position: relative;
}

.announcement-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #b61919, #a70606, #9e0101);
    background-size: 200% 100%;
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.announcement-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.announcement-header {
    text-align: center;
    margin-bottom: 0.75rem;
}

.announcement-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #7a1b1b;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.announcement-header i {
    font-size: 1.8rem;
    color: #960c0c;
}

.announcement-content {
    background: rgba(255, 255, 255, 0.9);
    padding: 1rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #a02020;
}

.announcement-content h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #830e0e;
    margin-bottom: 1rem;
    margin-top: 0;
}

.announcement-content p {
    color: #374151;
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.announcement-content strong {
    color: #7a1515;
    font-weight: 600;
}

/* Responsive Announcements */
@media (max-width: 768px) {
    .announcement-section {
        padding: 1rem 0;
    }

    .announcement-container {
        padding: 0 1rem;
    }

    .announcement-header h2 {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    .announcement-content {
        padding: 1.5rem;
    }

    .announcement-content h1 {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .announcement-header h2 {
        font-size: 1.25rem;
    }

    .announcement-content {
        padding: 1rem;
    }

    .announcement-content h1 {
        font-size: 1.1rem;
    }
}

/* Hero Container - Split Screen */
.hero-container {
    display: flex;
    height: 100vh;
    width: 100vw;
    position: relative;
}

/* Hero Sections */
.hero-section {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.hero-section:hover {
    transform: scale(1.02);
}

.hero-section:hover .hero-overlay {
    background-color: rgba(0, 0, 0, 0.3);
}

/* Background No Images */
/* .trail-life {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.ahg {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
} */

/* Background With Images */
.trail-life {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.8) 0%, rgba(59, 130, 246, 0.7) 100%),
                url('/assets/images/trail-life-bg.jpg');
    background-size: cover;
    background-position: center;
}

.ahg {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.7) 0%, rgba(168, 85, 247, 0.6) 100%),
                url('/assets/images/ahg-bg.jpg');
    background-size: cover;
    background-position: center;
}

/* Hero Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    transition: background-color 0.3s ease;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 2rem;
    max-width: 400px;
}

.hero-logo {
    margin-bottom: 1.5rem;
    opacity: 0.9;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo-img {
    max-width: 300px;
    width: 100%;
    height: auto;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.hero-logo-img:hover {
    transform: scale(1.05);
}

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content h2 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.8;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Hero Button */
.hero-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background-color: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.hero-button:hover {
    background-color: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Info Section */
.info-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 4rem 2rem;
    position: relative;
}

.info-container {
    max-width: 1200px;
    margin: 0 auto;
}

.info-header {
    text-align: center;
    margin-bottom: 3rem;
}

.info-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.info-header p {
    font-size: 1.2rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
}

.info-icon {
    font-size: 2.5rem;
    color: #3b82f6;
    margin-bottom: 1rem;
}

.info-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.info-card p {
    color: #64748b;
    line-height: 1.6;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.location-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #3b82f6;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: rgba(59, 130, 246, 0.05);
}

.location-link:hover {
    color: #2563eb;
    background: rgba(59, 130, 246, 0.1);
    border-color: #3b82f6;
    transform: translateY(-1px);
}

.location-link i {
    font-size: 0.8rem;
}

/* Info CTA */
.info-cta {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.info-cta p {
    font-size: 1.1rem;
    color: #1e293b;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        height: auto;
    }

    .hero-section {
        height: 50vh;
        min-height: 300px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content h2 {
        font-size: 1.25rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-logo-img {
        max-width: 250px;
    }

    .info-header h2 {
        font-size: 2rem;
    }

    .info-header p {
        font-size: 1.1rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .info-section {
        padding: 3rem 1rem;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 1.5rem;
    }

    .hero-content h1 {
        font-size: 1.75rem;
    }

    .hero-content h2 {
        font-size: 1.1rem;
    }

    .hero-logo-img {
        max-width: 200px;
    }

    .hero-button {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .info-header h2 {
        font-size: 1.75rem;
    }

    .info-card {
        padding: 1.5rem;
    }

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

/* Tablet Landscape */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-content h1 {
        font-size: 2.25rem;
    }

    .hero-content h2 {
        font-size: 1.35rem;
    }

    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Large Desktop */
@media (min-width: 1200px) {
    .hero-content {
        max-width: 500px;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content h2 {
        font-size: 1.75rem;
    }

    .hero-logo-img {
        max-width: 350px;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-section {
        background-attachment: fixed;
    }
}

/* Print Styles */
@media print {
    .hero-container {
        height: auto;
        flex-direction: column;
    }

    .hero-section {
        height: auto;
        min-height: 200px;
        page-break-inside: avoid;
    }

    .info-section {
        page-break-before: always;
    }
}