/* General Body and Font Styles */
body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f4f7f6;
    color: #333;
    margin: 0;
    padding-top: 80px; /* Adjust if header height changes */
}

/* Hero Section */
.admission-hero {
    height: 40vh;
    background: url('../assets/images/contact_us.jpg') no-repeat center center/cover;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    max-width: 95%;
    margin: 0px auto 1rem;
    border-radius: 26px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.295);
    overflow: hidden;
}

.admission-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 700;
    color: #fff;
}

/* Main Layout */
.admission-main {
    display: flex;
    max-width: 1400px;
    margin: 2rem auto;
    background-color: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border-radius: 12px;
    overflow: hidden;
}

/* Sidebar Styling */
.sidebar {
    width: 280px;
    background-color: #1a2a38;
    padding: 2rem 0;
    color: #fff;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
}

.sidebar-nav .nav-link {
    padding: 1rem 1.5rem;
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 500;
    border-left: 4px solid transparent;
    transition: background-color 0.3s, color 0.3s, border-left 0.3s;
}

.sidebar-nav .nav-link:hover {
    background-color: #2c3e50;
    color: #fff;
}

.sidebar-nav .nav-link.active {
    background-color: #2c3e50;
    color: #3498db;
    border-left: 4px solid #3498db;
}

/* Content Area Styling */
.content-area {
    flex-grow: 1;
    padding: 2.5rem 3rem;
    background-color: #ffffff;
}

.content-section {
    display: none; /* Hidden by default */
}

.content-section.active {
    display: block; /* Show active section */
    animation: fadeIn 0.5s ease-in-out;
}

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

.content-section h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e0e0e0;
}

.content-section p, .content-section ul, .content-section ol {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 1rem;
}

.content-section ul, .content-section ol {
    list-style-position: inside;
    padding-left: 0;
}

.content-section li {
    margin-bottom: 0.75rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .admission-main {
        flex-direction: column;
        margin: 1rem;
    }

    .sidebar {
        width: 100%;
        border-bottom: 2px solid #2c3e50;
    }

    .content-area {
        padding: 2rem 1.5rem;
    }

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

.apply-now-btn {
    transition: background 0.2s;
}
.apply-now-btn:hover {
    background: #0056b3;
}

/* Vibrant Apply Now Button */
.vibrant-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 24px !important;
    padding: 18px 36px !important;
    background: linear-gradient(135deg, #1a6d5b 0%, #5D9C94 100%) !important;
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
    border-radius: 16px !important;
    text-decoration: none !important;
    box-shadow: 0 8px 25px rgba(26, 109, 91, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vibrant-button::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: left 0.5s;
}


.vibrant-button:hover {
    background: linear-gradient(135deg, #155a4a 0%, #4a8a7f 100%) !important;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(26, 109, 91, 0.4);
    animation: pulse-glow 2s ease-in-out infinite;
}

.vibrant-button:hover::before {
    left: 100%;
}

.vibrant-button:active {
    transform: translateY(-1px) scale(1.01);
    box-shadow: 0 8px 25px rgba(26, 109, 91, 0.3);
}

.vibrant-button i:first-child {
    font-size: 1.2rem;
    animation: bounce 2s ease-in-out infinite;
}

.vibrant-button i:last-child {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.vibrant-button:hover i:last-child {
    transform: translateX(4px);
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 12px 35px rgba(26, 109, 91, 0.4);
    }
    50% {
        box-shadow: 0 12px 35px rgba(26, 109, 91, 0.6), 0 0 20px rgba(26, 109, 91, 0.3);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-3px);
    }
    60% {
        transform: translateY(-2px);
    }
}

/* Mobile responsive for vibrant button */
@media (max-width: 768px) {
    .vibrant-button {
        padding: 16px 28px !important;
        font-size: 1rem !important;
        gap: 10px;
    }
    
    .vibrant-button i:first-child {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .vibrant-button {
        padding: 14px 24px !important;
        font-size: 0.95rem !important;
        width: 100%;
        margin-top: 20px !important;
    }
}