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

body {
    font-family: 'Anek Latin', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Header Styles */
.header {
    background-color: #1A364D;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #66FF99;
}

.nav-link.active {
    color: #fff;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #66FF99;
}

.social-icons {
    display: flex;
    gap: 1rem;
    color: #fff;
    font-size: 18px;
}

.social-icons i {
    cursor: pointer;
    transition: color 0.3s ease;
}

.social-icons i:hover {
    color: #66FF99;
}

/* Instagram link styles to maintain original appearance */
.social-icons a {
    color: #fff;
    text-decoration: none;
}

.social-icons a:hover {
    color: #fff;
}

.social-icons a i {
    color: #fff;
    transition: color 0.3s ease;
}

.social-icons a:hover i {
    color: #66FF99;
}

/* Facebook link styles to maintain original appearance */
.social-icons a.facebook {
    color: #fff;
    text-decoration: none;
}

.social-icons a.facebook:hover {
    color: #fff;
}

.social-icons a.facebook i {
    color: #fff;
    transition: color 0.3s ease;
}

.social-icons a.facebook:hover i {
    color: #66FF99;
}

/* YouTube header link styles to maintain original appearance */
.social-icons a.youtube {
    color: #fff;
    text-decoration: none;
}

.social-icons a.youtube:hover {
    color: #fff;
}

.social-icons a.youtube i {
    color: #fff;
    transition: color 0.3s ease;
}

.social-icons a.youtube:hover i {
    color: #66FF99;
}

/* Spotify header link styles to maintain original appearance */
.social-icons a.spotify {
    color: #fff;
    text-decoration: none;
}

.social-icons a.spotify:hover {
    color: #fff;
}

.social-icons a.spotify i {
    color: #fff;
    transition: color 0.3s ease;
}

.social-icons a.spotify:hover i {
    color: #66FF99;
}

/* WhatsApp header link styles to maintain original appearance */
.social-icons a.whatsapp {
    color: #fff;
    text-decoration: none;
}

.social-icons a.whatsapp:hover {
    color: #fff;
}

.social-icons a.whatsapp i {
    color: #fff;
    transition: color 0.3s ease;
}

.social-icons a.whatsapp:hover i {
    color: #66FF99;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background-color: rgba(255,255,255,0.1);
}

.mobile-menu-toggle:active {
    transform: scale(0.95);
}

/* Hero Section */
.hero {
    background-image: url('img/hero.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    height: 70vh;
    display: flex;
    align-items: center;
    margin-top: 0;
    padding-top: 5rem;
}

/* Hero full height for main page only */
body:not(.quienes-somos-page):not(.oferta-academica-page) .hero {
    height: 100vh;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(to right, rgba(26, 54, 77, 0.8) 0%, rgba(26, 54, 77, 0.4) 70%, transparent 100%);
    z-index: 1;
}

.hero-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 4rem 0;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0 0 2rem;
}

.hero-text h1 {
    color: #fff;
    font-size: 2.8rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    max-width: 600px;
}

.hero-text p {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.5;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
    max-width: 500px;
}

.hero-text .cta-button {
    background-color: #66FF99;
    color: #1A364D;
    border: none;
    padding: 1.2rem 2.5rem;
    font-size: 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(102, 255, 153, 0.3);
    text-decoration: none;
    display: inline-block;
}

.hero-text .cta-button:hover {
    background-color: #55E085;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 255, 153, 0.4);
}

.hero-navigation {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.nav-arrow {
    background-color: #66FF99;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    pointer-events: all;
    transition: background-color 0.3s ease;
}

.nav-arrow:hover {
    background-color: #55E085;
}

/* Digital Content Section */
.digital-content {
    padding: 4rem 0;
    background-color: #fff;
}

.digital-content h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.digital-content .container p {
    text-align: center;
    font-size: 1.1rem;
    color: #666 !important;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.video-player {
    background-color: #2C2C2C;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    width: calc(100% - 200px);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.video-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background-color: #333;
    border-bottom: 1px solid #444;
}

.video-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
}

.video-logo-img {
    height: 25px;
    width: auto;
    object-fit: contain;
}

.share-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
}

.video-content {
    position: relative;
    background: #000;
    width: 100%;
    aspect-ratio: 16/9;
}

.video-content iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-overlay {
    text-align: center;
    color: #fff;
}

.video-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: normal;
}

.video-overlay h4 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 2rem;
    text-decoration: underline;
    text-decoration-color: #FF6B35;
    text-underline-offset: 5px;
}

.play-button {
    background: none;
    border: none;
    color: #FF0000;
    font-size: 4rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.play-button:hover {
    transform: scale(1.1);
}

.video-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background-color: #333;
}

.video-platform {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 14px;
}

.video-platform i {
    color: #FF0000;
    font-size: 20px;
}

/* Video platform YouTube link styles */
.video-platform a {
    color: inherit;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.video-platform a:hover {
    color: inherit;
}

.video-platform a i {
    color: #FF0000;
    font-size: 20px;
}

.premiere-time {
    color: #fff;
    font-size: 14px;
    font-weight: bold;
}

.digital-channels {
    text-align: center;
}

.digital-channels h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 2rem;
}

.channel-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.channel-icons i {
    font-size: 2.5rem;
    color: #66FF99;
    border: none;
    border-radius: 10px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.channel-icons i:hover {
    background-color: #66FF99;
    color: #fff;
}

/* Channel icons link styles to maintain original appearance */
.channel-icons a {
    color: inherit;
    text-decoration: none;
}

.channel-icons a:hover {
    color: inherit;
}

.channel-icons a i {
    color: #66FF99;
    transition: all 0.3s ease;
}

.channel-icons a:hover i {
    background-color: #66FF99;
    color: #fff;
}

/* Facebook channel icon link styles */
.channel-icons a.facebook {
    color: inherit;
    text-decoration: none;
}

.channel-icons a.facebook:hover {
    color: inherit;
}

.channel-icons a.facebook i {
    color: #66FF99;
    transition: all 0.3s ease;
}

.channel-icons a.facebook:hover i {
    background-color: #66FF99;
    color: #fff;
}

/* WhatsApp channel icon link styles */
.channel-icons a.whatsapp {
    color: inherit;
    text-decoration: none;
}

.channel-icons a.whatsapp:hover {
    color: inherit;
}

.channel-icons a.whatsapp i {
    color: #66FF99;
    transition: all 0.3s ease;
}

.channel-icons a.whatsapp:hover i {
    background-color: #66FF99;
    color: #fff;
}

/* YouTube channel icon link styles */
.channel-icons a.youtube {
    color: inherit;
    text-decoration: none;
}

.channel-icons a.youtube:hover {
    color: inherit;
}

.channel-icons a.youtube i {
    color: #66FF99;
    transition: all 0.3s ease;
}

.channel-icons a.youtube:hover i {
    background-color: #66FF99;
    color: #fff;
}

/* Spotify channel icon link styles */
.channel-icons a.spotify {
    color: inherit;
    text-decoration: none;
}

.channel-icons a.spotify:hover {
    color: inherit;
}

.channel-icons a.spotify i {
    color: #66FF99;
    transition: all 0.3s ease;
}

.channel-icons a.spotify:hover i {
    background-color: #66FF99;
    color: #fff;
}

/* Content Grid Section */
.content-grid-section {
    padding: 4rem 0;
    background-color: #fff;
}

.grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
}

.grid-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 400px;
}

.grid-item.image-item {
    padding: 0;
}

.grid-item.image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.grid-item.text-item {
    padding: 3rem;
    background-color: #fff;
}

.grid-item.text-item h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.grid-item.text-item p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.grid-item.text-item .cta-button {
    width: auto;
    display: inline-block;
    align-self: flex-start;
}

/* Content Grid Sections (legacy) */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin: 4rem 0;
}

.content-grid.reverse {
    direction: rtl;
}

.content-grid.reverse > * {
    direction: ltr;
}

.content-text h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.content-text p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-button {
    background-color: #66FF99;
    color: #1A364D;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    background-color: #55E085;
}

/* Tablet Mockup */
.tablet-mockup {
    position: relative;
    max-width: 300px;
    margin: 0 auto;
}

.tablet-screen {
    position: relative;
    background-color: #000;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.tablet-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay-small {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-btn-small {
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
}

.video-progress {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
}

.video-info {
    margin-top: 1rem;
    text-align: center;
}

.video-info h4 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.video-info p {
    font-size: 0.9rem;
    color: #666;
}

/* Mission Section */
.mission-section {
    background-color: #1A364D;
    padding: 4rem 0;
    color: #fff;
}

.mission-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.mission-text p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.statistics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #66FF99;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: #fff;
}

/* Footer */
.footer {
    background-color: #F5F5F5;
    padding: 3rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 2rem;
}

.footer-logo .logo {
    margin-bottom: 1rem;
}

.footer-logo .logo-image {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.footer-section h4 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
    font-size: 14px;
}

.contact-item i {
    color: #1A364D;
    width: 16px;
}

.quick-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.quick-links a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.quick-links a:hover {
    color: #1A364D;
}

.digital-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.digital-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
    font-size: 14px;
}

.digital-item i {
    color: #1A364D;
    width: 16px;
}

/* Footer digital links styles to maintain original appearance */
.digital-item a {
    color: inherit;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.digital-item a:hover {
    color: inherit;
}

.digital-item a i {
    color: #1A364D;
    width: 16px;
}

/* Contact WhatsApp link styles */
.contact-item a {
    color: inherit;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.contact-item a i {
    color: #1A364D;
    width: 16px;
}

/* Digital links Spotify styles */
.digital-item a.spotify {
    color: inherit;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.digital-item a.spotify:hover {
    color: inherit;
}

.digital-item a.spotify i {
    color: #1A364D;
    width: 16px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .grid-layout {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto auto auto auto;
    }
    
    .grid-item {
        min-height: 300px;
    }
    
    .grid-item.text-item {
        padding: 2rem;
    }
    
    .mission-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #1A364D;
        flex-direction: column;
        padding: 1rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        z-index: 999;
    }
    
    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .nav-link {
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        width: 100%;
        text-align: center;
        font-size: 1.1rem;
        font-weight: 500;
        transition: all 0.3s ease;
    }
    
    .nav-link:hover {
        background-color: rgba(102, 255, 153, 0.1);
        color: #66FF99;
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .social-icons {
        gap: 0.5rem;
    }
    
    .hero {
        height: 70vh;
        margin-top: 0;
        padding-top: 4rem;
    }
    
    /* Hero full height for main page only - tablet */
    body:not(.quienes-somos-page):not(.oferta-academica-page) .hero {
        height: 100vh;
    }
    
    .hero::before {
        width: 80%;
    }
    
    .hero-content {
        padding: 0 0 0 1rem;
    }
    
    .hero-text h1 {
        font-size: 2rem;
        max-width: 100%;
    }
    
    .hero-text p {
        font-size: 1.1rem;
        max-width: 100%;
    }
    
    .hero-text .cta-button {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
    
    .hero-navigation {
        display: none;
    }
    
    .digital-content h2 {
        font-size: 2rem;
    }
    
    .content-text h2 {
        font-size: 2rem;
    }
    
    .statistics {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }
    
    .footer-logo {
        text-align: center;
    }
    
    .footer-logo .logo {
        justify-content: center;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .contact-info {
        align-items: center;
    }
    
    .quick-links {
        align-items: center;
    }
    
    .digital-links {
        align-items: center;
    }
    
    .channel-icons {
        gap: 1rem;
    }
    
    .channel-icons i {
        font-size: 2rem;
        width: 50px;
        height: 50px;
    }
    
    /* Academic Offering Page Mobile Styles */
    .academic-banner {
        height: 60vh;
        margin-top: 0;
        padding-top: 4rem;
    }
    
    .academic-banner .container {
        max-width: none;
        padding: 0;
        margin: 0;
    }
    
    .academic-banner-content {
        padding: 0;
        flex-direction: column;
        text-align: left;
        max-width: none;
        margin: 0;
    }
    
    .academic-banner-text {
        max-width: 100%;
        width: 100%;
        flex: none;
        box-sizing: border-box;
        padding: 0;
        margin: 0;
    }
    
    .academic-banner-text h1 {
        color: #fff;
        font-size: 2.2rem;
        font-weight: bold;
        max-width: 100%;
        text-align: left;
        line-height: 1.2;
        word-spacing: 0.05em;
        letter-spacing: 0.01em;
        padding: 0 0.5rem;
        margin: 0;
        width: 100%;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    }
    
    .academic-banner-verse {
        margin-left: 0;
        transform: none;
    }
    
    .academic-banner-image {
        max-width: 80%;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .diploma-subtitle {
        font-size: 1.5rem;
        margin: 2rem 0 1.5rem 0;
    }
    
    .courses-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .course-image {
        height: 200px;
    }
    
    .course-overlay {
        padding: 1.5rem 1rem 1rem;
    }
    
    .course-instructor {
        font-size: 1rem;
    }
    
    .instructor-list {
        padding: 0.8rem;
    }
    
    .instructor-list p {
        font-family: 'Anek Latin', sans-serif;
        font-size: 0.9rem;
        margin: 0.25rem 0;
        color: #fff;
        text-align: left;
        line-height: 1.3;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        height: 70vh;
        padding: 2rem 0;
        margin-top: 0;
        padding-top: 3.5rem;
    }
    
    /* Hero full height for main page only - mobile */
    body:not(.quienes-somos-page):not(.oferta-academica-page) .hero {
        height: 100vh;
    }
    
    .hero::before {
        width: 90%;
    }
    
    .hero-overlay {
        padding: 2rem 0;
    }
    
    .hero-content {
        padding: 0 0 0 0.5rem;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
        max-width: 100%;
    }
    
    .hero-text p {
        font-size: 1rem;
        max-width: 100%;
    }
    
    .hero-text .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .digital-content {
        padding: 2rem 0;
    }
    
    .video-content {
        height: 250px;
    }
    
    .video-overlay h3 {
        font-size: 1.2rem;
    }
    
    .video-overlay h4 {
        font-size: 1.5rem;
    }
    
    .play-button {
        font-size: 3rem;
    }
    
    .channel-icons i {
        font-size: 1.5rem;
        width: 40px;
        height: 40px;
    }
    
    .statistics {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    /* Academic Offering Page Small Mobile Styles */
    .academic-banner {
        height: 50vh;
        margin-top: 0;
        padding-top: 3.5rem;
    }
    
    .academic-banner .container {
        max-width: none;
        padding: 0;
        margin: 0;
    }
    
    .academic-banner-content {
        padding: 0;
        flex-direction: column;
        text-align: left;
        max-width: none;
        margin: 0;
    }
    
    .academic-banner-text {
        max-width: 100%;
        width: 100%;
        flex: none;
        box-sizing: border-box;
        padding: 0;
        margin: 0;
    }
    
    .academic-banner-text h1 {
        color: #fff;
        font-size: 2rem;
        font-weight: bold;
        max-width: 100%;
        text-align: left;
        line-height: 1.2;
        word-spacing: 0.05em;
        letter-spacing: 0.01em;
        padding: 0 0.3rem;
        margin: 0;
        width: 100%;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    }
    
    .academic-banner-verse {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .diploma-subtitle {
        font-size: 1.3rem;
        margin: 1.5rem 0 1rem 0;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .course-image {
        height: 180px;
    }
    
    .course-overlay {
        padding: 1rem 0.8rem 0.8rem;
    }
    
    .course-instructor {
        font-size: 0.9rem;
    }
    
    .instructor-list {
        padding: 0.6rem;
    }
    
    .instructor-list p {
        font-family: 'Anek Latin', sans-serif;
        font-size: 0.8rem;
        margin: 0.2rem 0;
        color: #fff;
        text-align: left;
        line-height: 1.2;
    }
    
    /* Academic Banner Extra Small Mobile Styles */
    .academic-banner-text h1 {
        color: #fff;
        font-size: 1.8rem;
        font-weight: bold;
        line-height: 1.2;
        word-spacing: 0.03em;
        letter-spacing: 0.005em;
        padding: 0 0.2rem;
        margin: 0;
        width: 100%;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
        text-align: left;
    }
    
    /* Footer Mobile Styles for Small Screens */
    .footer-content {
        gap: 2rem;
    }
    
    .footer-logo {
        text-align: center;
    }
    
    .footer-logo .logo {
        justify-content: center;
    }
    
    .footer-logo .logo-image {
        height: 50px;
    }
    
    .footer-section h4 {
        font-size: 1.1rem;
    }
    
    .contact-item {
        font-size: 13px;
        justify-content: center;
    }
    
    .quick-links a {
        font-size: 13px;
    }
    
    .digital-item {
        font-size: 13px;
        justify-content: center;
    }
    
}

/* Academic Offering Page Styles */
.academic-banner {
    background-image: url('../img/banner-casa.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    height: calc(70vh - 3.125rem);
    display: flex;
    align-items: center;
    margin-top: 0;
    padding-top: 5rem;
}

.academic-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(26, 54, 77, 0.8) 0%, rgba(26, 54, 77, 0.4) 70%, transparent 100%);
    z-index: 1;
}

.academic-banner-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 4rem 0;
}

.academic-banner-content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.academic-banner-text {
    flex: 1;
    max-width: 60%;
    text-align: left;
}

/* Desktop styles for academic banner */
@media (min-width: 769px) {
    .academic-banner-text h1 {
        color: #fff;
        font-size: 2.8rem;
        font-weight: bold;
        margin-bottom: 1.5rem;
        line-height: 1.2;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
        max-width: 600px;
    }
}

.academic-banner-verse {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
    transform: rotate(-2deg);
    margin-left: 2rem;
}

.academic-banner-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.academic-banner-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Courses Section */
.courses-section, .new-testament-section {
    padding: 4rem 0;
    background-color: #fff;
}

.section-title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 3rem;
    font-weight: bold;
    text-align: left;
}

.diploma-subtitle {
    font-size: 1.8rem;
    color: #1A364D;
    margin: 3rem 0 2rem 0;
    font-weight: 600;
    text-align: left;
    border-bottom: 3px solid #66FF99;
    padding-bottom: 0.5rem;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.course-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    background: #fff;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.course-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.course-card:hover .course-image img {
    transform: scale(1.05);
}

.course-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #fff;
    padding: 1.5rem 1.5rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}


.course-instructor {
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 0;
    line-height: 1.2;
}

.instructor-list {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10;
    overflow-y: auto;
}

.instructor-list p {
    font-family: 'Anek Latin', sans-serif;
    font-size: 1rem;
    margin: 0.3rem 0;
    color: #fff;
    font-weight: 400;
    text-align: left;
    line-height: 1.4;
}

.multi-instructor:hover .instructor-list {
    opacity: 1;
    visibility: visible;
}

.multi-instructor:hover .course-instructor {
    opacity: 0;
}


/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* Identity Section Styles */

/* Hero with hero-manos.png for quienes-somos page */
.quienes-somos-page .hero {
    background-image: url('img/hero-manos.png');
}
.identity-hero {
    background: linear-gradient(135deg, #1A202C 0%, #2D3748 100%);
    padding: 8rem 0 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.identity-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.identity-hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #68D391;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.identity-section {
    padding: 6rem 0;
    background-color: #1A202C;
}

.identity-content {
    max-width: 1000px;
    margin: 0 auto;
}

.foundation-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
    border-bottom: 2px solid rgba(104, 211, 145, 0.3);
    padding-bottom: 0;
}

.foundation-tab {
    text-align: center;
    padding: 1.5rem 2rem;
    border: 2px solid transparent;
    border-bottom: none;
    border-radius: 12px 12px 0 0;
    background: rgba(104, 211, 145, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    margin-bottom: -2px;
}

.foundation-tab:hover {
    background: rgba(104, 211, 145, 0.2);
    transform: translateY(-3px);
}

.foundation-tab.active {
    background: rgba(104, 211, 145, 0.25);
    border-color: #68D391;
    border-bottom-color: #1A202C;
    z-index: 10;
}

.foundation-tab h2 {
    color: #68D391;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}

.identity-detail {
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
    display: none;
}

.identity-detail.active {
    opacity: 1;
    transform: translateY(0);
    display: block;
}

.identity-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 3rem;
    backdrop-filter: blur(10px);
}

.identity-box h3 {
    color: #68D391;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
}

.identity-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.identity-list li {
    color: #E2E8F0;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    position: relative;
}

.identity-list li::before {
    content: "•";
    color: #68D391;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -2px;
}

.identity-list li:last-child {
    margin-bottom: 0;
}

/* Responsive Design for Identity Section */
@media (max-width: 768px) {
    .identity-hero-text h1 {
        font-size: 2.2rem;
    }
    
    .foundation-tabs {
        flex-direction: column;
        gap: 0.5rem;
        border-bottom: none;
    }
    
    .foundation-tab {
        padding: 1rem 1.5rem;
        border-radius: 8px;
        border: 2px solid rgba(104, 211, 145, 0.3);
        margin-bottom: 0;
    }
    
    .foundation-tab.active {
        border-color: #68D391;
        border-bottom-color: #68D391;
    }
    
    .foundation-tab h2 {
        font-size: 1.1rem;
    }
    
    .identity-box {
        padding: 2rem 1.5rem;
    }
    
    .identity-box h3 {
        font-size: 1.5rem;
    }
    
    .identity-list li {
        font-size: 1rem;
        padding-left: 1.5rem;
    }
}

@media (max-width: 480px) {
    .identity-hero {
        padding: 6rem 0 4rem;
    }
    
    .identity-hero-text h1 {
        font-size: 1.8rem;
    }
    
    .identity-section {
        padding: 4rem 0;
    }
    
    .identity-box {
        padding: 1.5rem 1rem;
    }
    
    .identity-list li {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

