:root {
    --primary-color: #f4f4f4;
    --primary-light-color: #FFE769;
    --secondary-color: #FFE4BA;
    --secondary-light-color: #FFF6E8;
    --post-color: #62EEA8;
    --delete-color: #FF9F9F;
    --light-color: #FFFEFC;
    --grey-color: #747E79;
    --dark-color: #000000;

    --primary-font: 'Poppins', sans-serif;
    --secondary-font: 'Poppins', sans-serif;
    
    --border-width: 3px;
    --element-border-radius: 5px;
    
    --button-height: 40px;
    --small-button-height: 30px;
    
    --element-padding: 0.8em;
    
    --maximum-width: 320px;
}
a {
    text-decoration: none;
}
html, body {
    margin: 0;
    padding: 0;
    font-size: 16px;
    scroll-behavior: smooth;
}

/* === Custom Scrollbar === */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--primary-color);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, var(--primary-light-color), var(--secondary-color));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-light-color));
}

/* === Selection Styling === */
::selection {
    background: var(--primary-light-color);
    color: var(--dark-color);
}

::-moz-selection {
    background: var(--primary-light-color);
    color: var(--dark-color);
}

body {
    padding-top: 70px; /* Updated for new navbar height */
    color: var(--dark-color);
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    font-family: var(--primary-font);
    height: 100vh;
    scroll-behavior: smooth;
}

/* === Accessibility === */
.skip-nav {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--dark-color);
    color: var(--light-color);
    padding: 8px;
    text-decoration: none;
    border-radius: var(--element-border-radius);
    z-index: 1002; /* Higher than navbar */
    font-weight: 600;
}

.skip-nav:focus {
    top: 6px;
    outline: 2px solid var(--primary-light-color);
    outline-offset: 2px;
}

/* === Loading Animation === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.feature-card,
.audio-card,
.documents-content {
    animation: fadeInUp 0.8s ease-out;
}

.feature-card:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.4s;
}

main {
    padding: 1rem;
    margin-top: 20px;
    min-height: calc(100vh - 140px);
    width: auto;
}

/* === Structure === */
.container {
    max-width: var(--maximum-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* === Modern Navbar === */
.modern-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    height: 70px;
    transition: all 0.3s ease;
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo Section */
.navbar-brand {
    display: flex;
    align-items: center;
}

.logo-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
}

.logo-tagline {
    font-size: 0.75rem;
    color: var(--grey-color);
    font-weight: 500;
}

/* Desktop Navigation */
.navbar-menu {
    display: flex;
    align-items: center;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

.nav-link:hover {
    background: rgba(255, 231, 105, 0.2);
    color: var(--dark-color);
    transform: translateY(-1px);
}

.nav-link.active {
    background: var(--primary-light-color);
    color: var(--dark-color);
}

.nav-icon {
    font-size: 1rem;
}

.nav-text {
    font-weight: 500;
}

/* Dropdown */
.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.dropdown-toggle[aria-expanded="true"] .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.dropdown-item:hover {
    background: rgba(255, 231, 105, 0.1);
}

.dropdown-icon {
    font-size: 0.95rem;
}

/* Login Button */
.navbar-actions {
    display: flex;
    align-items: center;
}

.login-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-light-color), var(--secondary-color));
    color: var(--dark-color);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(255, 231, 105, 0.3);
}

.login-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 231, 105, 0.4);
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-light-color));
}

.login-icon {
    font-size: 1rem;
}

.login-text {
    font-weight: 600;
}

/* Mobile Menu Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background: var(--dark-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1002;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    max-width: 80vw;
    height: 100vh;
    background: white;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.mobile-menu-overlay.active .mobile-menu-content {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.mobile-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mobile-logo img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.mobile-logo span {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--dark-color);
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--grey-color);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.mobile-menu-close:hover {
    background: rgba(0, 0, 0, 0.1);
}

.mobile-menu-nav {
    padding: 1rem 0;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.mobile-nav-link:hover {
    background: rgba(255, 231, 105, 0.1);
}

.mobile-nav-link.login-mobile {
    margin: 1rem;
    background: linear-gradient(135deg, var(--primary-light-color), var(--secondary-color));
    border-radius: 8px;
    font-weight: 600;
}

.mobile-nav-link.login-mobile:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-light-color));
}

.mobile-nav-icon {
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
}

.mobile-menu-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
    margin: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar-menu,
    .navbar-actions {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .logo-name {
        font-size: 1.3rem;
    }
    
    .logo-tagline {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .navbar-container {
        padding: 0 0.5rem;
    }
    
    .logo-name {
        font-size: 1.2rem;
    }
    
    .mobile-menu-content {
        width: 280px;
    }
}

/* Style the dropdown button */
.dropdown {
    position: relative; /* This makes the positioning of the dropdown content relative to this container */
    display: inline-block;
}

.dropdown .dropbtn {
    cursor: pointer;
}

/* Dropdown content (hidden by default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    margin-top: 1.5rem;
    right: 0; 
    left: auto;
    white-space: nowrap;
}

/* Links inside the dropdown */
.dropdown-content a {
    color: black;
    padding: 1rem 1rem;
    text-decoration: none;
    display: block;
    text-align: left; /* Ensure text is aligned to the left */
}

/* Show the dropdown content on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* === Hamburger Menu === */
.hamburger {
    display: none;
    font-size: 30px;
    cursor: pointer;
}

.closebtn {
    display: none;
}

.hide {
    display: none;
}

/* === Buttons === */
button {
    font-weight: 600;
    width: 100%;
}

button:hover {
    cursor: pointer;
}

/* === Forms === */
input, button {
    padding: var(--element-padding);
    border-radius: var(--element-border-radius);
    width: 100%;
    font-size: 1.1em;
    text-align: center;
}

/* Auth page styles - Login, Signup, Forgot Password */
.auth-page_container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login-form-container {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 400px;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
}

.login-form {
    display: flex;
    flex-direction: column;
    align-items: center; 
    width: 100%;
}
  
.login-form h2 {
    text-align: center;
    margin-bottom: 20px;
}
  
.input-group {
    margin-bottom: 20px;
}
  
.input-group label {
    display: block;
    margin-bottom: 5px;
}
  
.input-group input {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: calc(100% - 20px);
}
  
.input-group, .login-btn, .google-login-btn {
    width: 100%; 
    display: flex;
    justify-content: center;
    align-items: center;
}

.input-group {
    flex-direction: column;
}

.login-btn {
    background-color: #007bff;
    border: 1px solid rgba(0, 0, 0, 0.25);
    font-weight: 500;
    color: white;
    cursor: pointer;
    height: 2.5rem;
    font-size: 1.2rem;
}

.login-btn:hover {
    transition: all 0.2s ease;
    transform: scale(1.05);
}

.google-login-btn {
    color: var(--dark-color);
    background-color: var(--light-color);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5em;
    border: 1px solid rgba(0, 0, 0, 0.25);  
}

.google-login-btn:hover {
    transition: all 0.2s ease;
    transform: scale(1.05);
}

.google-btn-logo {
    width: 1.375em;
}

.alt-signin-divider {
    margin: 1em 0;
    text-align: center;
    font-size: 0.875em;
    color: var(--dark-color);
}

.signup-link-container {
    text-align: center;
    margin-top: 1em;
}

.error-msg {
    color: red;
    font-size: 1rem;
    margin-top: 0.5em;
    text-align: center;
}

.login-link-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 500;
    max-width: 10rem;
    margin-top: 1rem;
    height: 2.5rem;
    cursor: pointer;
    background-color: rgb(202, 195, 195);
    border: none;
}

.login-link-btn:hover {
    background-color: var(--grey-color);
    border: none;
    color: white;
}

/* Footer Styles */
footer {
    background-color: var(--grey-color); /* Light grey background */
    color: white; /* Dark grey text */
    font-family: var(--primary-font);
    text-align: center; /* Centering the content */
    padding: 10px 0; /* Padding above and below */
    font-size: 14px; /* Standard font size */
    bottom: 0;
}

.simple-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem; /* Padding on the sides */
}

.simple-footer a {
    color: white; /* Standard link color */
    text-decoration: none; /* No underlines on links */
    margin: 0 5px; /* Margins for spacing */
}

.simple-footer a:hover {
    text-decoration: underline; /* Underline on hover for better user interaction */
}

/* Responsive */
@media screen and (max-width: 600px) {
    .navbar a:hover {
        background-color: inherit;
    }

    .dropdown {
        width: 100%;
    }

    .dropdown-content {
        position: relative;
        width: 100%;
        right: auto;
        text-align: center;
        padding: 0;
        margin-top: 0;
        box-shadow: none;
        overflow-y: auto;
    }

    .dropdown-content a {
        padding: auto;
        text-align: center;
        font-size: 1.6rem;
        color: gray;
    }

    .hamburger {
        display: block;
        position: absolute;
        right: 1rem;
        top: 1rem;
        font-size: 2.2rem;
    }

    .closebtn {
        display: block;
        position: absolute;
        top: 0;
        right: 1rem;
        font-size: 3rem;
        cursor: pointer;
        color: black;
    }

    .simple-footer {
        flex-direction: column;
        padding: 0;
    }
}

/* Common class style to use */
.center-grid {
    display: grid;
    place-items: center;
    height: 100vh; /* Adjust as needed */
    text-align: center;
}

/* Upload Form */
.upload_form {
    display: flex;
    flex-direction: column;
    padding: 60px;
}

.theam-song{
    width: max-content;
    height: fit-content;
}

/* Audio Player Styles */
audio {
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
    display: block;
}

/* Section Styles */
.sections-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    flex-direction: column;
    width: 100%;
}

.sections-container a{
    width: fit-content;
}

.section {
    border: 1px solid var(--grey-color);
    padding: 1rem;
    margin-bottom: 2rem;
    border-radius: var(--element-border-radius);
    flex: 1;
    margin-right: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.section:last-child {
    margin-right: 0;
}

/* === Dashboard Specific Styles === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* === Hero Section === */
.hero-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4rem;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        var(--primary-light-color) 0%, 
        var(--secondary-color) 50%, 
        var(--secondary-light-color) 100%);
    z-index: -2;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    background-size: 400px 400px;
    animation: patternMove 20s ease-in-out infinite;
    z-index: -1;
}

@keyframes patternMove {
    0%, 100% { transform: translateX(0) translateY(0); }
    50% { transform: translateX(-20px) translateY(-20px); }
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.badge-icon {
    font-size: 1.2rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.title-highlight {
    background: linear-gradient(45deg, var(--primary-light-color), var(--post-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--grey-color);
    margin-bottom: 3rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.institution-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.institution-card:hover {
    transform: translateY(-2px);
}

.institution-icon {
    font-size: 3rem;
    background: linear-gradient(45deg, var(--primary-light-color), var(--secondary-color));
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.institution-content {
    text-align: left;
    flex: 1;
}

.institution-title {
    font-size: 1rem;
    font-weight: 500;
    color: var(--grey-color);
    margin: 0 0 0.5rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.institution-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-color);
    margin: 0 0 0.3rem 0;
    line-height: 1.3;
}

.institution-code {
    font-size: 1rem;
    color: var(--grey-color);
    font-weight: 500;
}

.cta-section {
    margin-top: 3rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--dark-color);
    color: var(--light-color);
    padding: 1.2rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 3px solid var(--dark-color);
    position: relative;
    overflow: hidden;
}

.cta-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;
}

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

.cta-button:hover {
    background: var(--primary-light-color);
    color: var(--dark-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.cta-button:focus {
    outline: 3px solid var(--primary-light-color);
    outline-offset: 3px;
}

.button-icon, .button-arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.cta-button:hover .button-arrow {
    transform: translateX(5px);
}

.cta-subtitle {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--grey-color);
    font-weight: 500;
}

/* === Features Section === */
.features-section {
    padding: 4rem 0;
    background: var(--light-color);
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, var(--primary-light-color), var(--post-color));
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--grey-color);
    line-height: 1.6;
    font-size: 1rem;
}

/* === Audio Section === */
.audio-section {
    padding: 4rem 0;
    margin-bottom: 4rem;
}

.audio-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    border-radius: 25px;
    padding: 3rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    max-width: 600px;
    margin: 0 auto;
}

.audio-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.audio-icon {
    font-size: 3rem;
    background: linear-gradient(45deg, var(--primary-light-color), var(--post-color));
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

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

.audio-info {
    text-align: left;
    flex: 1;
}

.audio-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--dark-color);
    margin: 0 0 0.5rem 0;
}

.audio-subtitle {
    color: var(--grey-color);
    margin: 0;
    font-size: 1rem;
}

.audio-player-container {
    text-align: center;
}

.custom-audio-player {
    width: 100%;
    max-width: 400px;
    border-radius: 15px;
    outline: none;
    background: var(--light-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.custom-audio-player:focus {
    box-shadow: 0 0 0 3px var(--primary-light-color);
}

.audio-fallback {
    text-align: center;
    padding: 2rem;
}

.download-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-light-color);
    color: var(--dark-color);
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.download-button:hover {
    background: var(--dark-color);
    color: var(--light-color);
    transform: translateY(-2px);
}

/* === Documents Section === */
.documents-section {
    padding: 4rem 0;
    background: var(--secondary-light-color);
}

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

.section-subtitle {
    font-size: 1.1rem;
    color: var(--grey-color);
    margin-top: 1rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.title-icon {
    margin-right: 0.5rem;
}

.documents-content {
    background: white;
    border-radius: 25px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* === Responsive Design === */
@media (max-width: 768px) {
    .hero-section {
        min-height: 70vh;
        margin-bottom: 3rem;
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .institution-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .institution-content {
        text-align: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 2rem;
    }
    
    .audio-card {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .audio-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .documents-content {
        margin: 0 1rem;
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 0.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .institution-card {
        padding: 1rem;
    }
    
    .institution-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .audio-card {
        padding: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .features-section,
    .audio-section,
    .documents-section {
        padding: 2rem 0;
    }
}
