/* =========================================
   ByCENEIMA - Design System Variables
========================================= */
:root {
    /* Palette strict adherence */
    --pure-white: #FFFFFF;
    --indigo-black: #0C102C;
    --slate-navy: #384D6C;
    --steel-grey: #8D949D;
    
    /* Specific text branding */
    --byceneima-grey: #5A6068; /* Discretely readable dark grey */
    
    /* Typography */
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s ease-in-out;
    --transition-smooth: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* =========================================
   Global Reset & Defaults
========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--steel-grey);
    background-color: var(--pure-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    color: var(--indigo-black);
    font-weight: 700;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
}

/* =========================================
   Buttons
========================================= */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    font-family: var(--font-sans);
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    transition: all var(--transition-fast);
}

.btn-primary {
    background-color: var(--slate-navy);
    color: var(--pure-white);
    border: 2px solid var(--slate-navy);
}

.btn-primary:hover {
    background-color: var(--indigo-black);
    border-color: var(--indigo-black);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(12, 16, 44, 0.2);
}

.btn-primary-solid {
    background-color: var(--slate-navy);
    color: var(--pure-white);
    border: 2px solid var(--slate-navy);
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-primary-solid:hover {
    background-color: var(--pure-white);
    color: var(--slate-navy);
    transform: translateY(-2px);
}

.btn-primary-outline {
    background-color: transparent;
    color: var(--pure-white);
    border: 2px solid var(--pure-white);
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-primary-outline:hover {
    background-color: var(--pure-white);
    color: var(--slate-navy);
    transform: translateY(-2px);
}

.btn-card {
    background-color: var(--slate-navy);
    color: var(--pure-white);
    width: 100%;
    margin-top: auto;
}

.btn-card:hover {
    background-color: var(--indigo-black);
}

/* =========================================
   Navbar
========================================= */
.navbar {
    background-color: var(--pure-white);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    transition: all var(--transition-fast);
}

.navbar.scrolled {
    padding: 0.5rem 0;
}

.nav-container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-text {
    font-family: var(--font-serif);
    color: var(--indigo-black);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.byceneima-attribution {
    font-size: 0.75rem;
    color: var(--byceneima-grey);
    font-weight: 600;
    letter-spacing: 1px;
    margin-top: 2px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--indigo-black);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--slate-navy);
    transition: width var(--transition-fast);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-icon {
    font-size: 0.7rem;
    margin-left: 2px;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 280px;
    background-color: var(--pure-white);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-top: 3px solid var(--slate-navy);
    border-radius: 0 0 4px 4px;
    z-index: 1000;
    padding: 0.5rem 0;
}

.dropdown:hover .dropdown-menu {
    display: block;
    animation: fadeIn 0.2s ease-in-out;
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu li a {
    display: block;
    padding: 0.8rem 1.5rem;
    color: var(--steel-grey);
    font-size: 0.9rem;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.dropdown-menu li a::after {
    display: none;
}

.dropdown-menu li a:hover {
    background-color: #FAFAFA;
    color: var(--slate-navy);
    padding-left: 1.8rem;
}

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

.menu-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--indigo-black);
    transition: all 0.3s;
}

/* =========================================
   Hero Slider
========================================= */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    margin-top: 0; /* Nav overlaps or starts top */
    overflow: hidden;
}

.slider-container {
    height: 100%;
    width: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(12, 16, 44, 0.6), rgba(12, 16, 44, 0.8));
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: var(--pure-white);
    max-width: 800px;
    padding: 2rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.8s ease-in-out 0.3s;
}

.slide.active .hero-content {
    transform: translateY(0);
    opacity: 1;
}

.hero-content h1 {
    color: var(--pure-white);
    font-size: 4rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 10;
}

.slider-btn {
    background: rgba(255,255,255,0.2);
    border: none;
    color: var(--pure-white);
    font-size: 2rem;
    cursor: pointer;
    padding: 1rem;
    border-radius: 50%;
    transition: background var(--transition-fast);
    backdrop-filter: blur(5px);
}

.slider-btn:hover {
    background: rgba(255,255,255,0.4);
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--pure-white);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.dot.active, .dot:hover {
    background: var(--pure-white);
}

/* =========================================
   Metrics Banner
========================================= */
.metrics-banner {
    background-color: var(--pure-white);
    border-top: 1px solid var(--steel-grey);
    border-bottom: 1px solid var(--steel-grey);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 4rem 10%;
    position: relative;
    z-index: 20;
    margin-top: -1px;
}

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

.metric-number {
    font-size: 3.5rem;
    color: var(--slate-navy);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 1.1rem;
    color: var(--steel-grey);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.metric-divider {
    width: 1px;
    height: 80px;
    background-color: rgba(141, 148, 157, 0.4);
}

/* =========================================
   Inspirational Split Section & Slider
========================================= */
.inspirational-slider-section {
    background-color: var(--pure-white);
    padding: 6rem 0;
    overflow: hidden;
    position: relative;
}

.insp-slider-container {
    position: relative;
    width: 100%;
}

.insp-slide {
    display: none;
    animation: fadeInsp 0.8s;
}

.insp-slide.active {
    display: block;
}

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

.insp-slider-controls {
    text-align: center;
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    gap: 12px;
}

.insp-dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    background-color: rgba(56, 77, 108, 0.2); 
    border-radius: 50%;
    display: inline-block;
    transition: all 0.4s ease;
}

.insp-dot.active, .insp-dot:hover {
    background-color: var(--slate-navy);
    transform: scale(1.2);
}

.inspirational-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 0;
    margin-bottom: 0;
}

.split-image-left img, .split-image-right img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(12, 16, 44, 0.15);
    object-fit: cover;
    max-height: 550px;
    transition: transform var(--transition-smooth);
}

.split-image-left img:hover, .split-image-right img:hover {
    transform: scale(1.02);
}

/* Base text styling */
.split-text h2 {
    font-family: var(--font-serif);
    color: var(--slate-navy);
    font-size: 2.2rem;
    line-height: 1.35;
    margin-bottom: 1.5rem;
}

.split-text .divider-accent {
    width: 60px;
    height: 4px;
    background-color: var(--slate-navy);
    margin-bottom: 1.5rem;
}

.split-text .lead-text {
    font-size: 1.15rem;
    color: var(--indigo-black);
    margin-bottom: 1.2rem;
    font-weight: 500;
}

.split-text p {
    color: var(--steel-grey);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.split-text p strong {
    color: var(--slate-navy);
}

/* Specific left/right padding adjustments if needed */
.split-text-right h2 { font-family: var(--font-serif); color: var(--slate-navy); font-size: 2.2rem; line-height: 1.35; margin-bottom: 1.5rem; }
.split-text-right .divider-accent { width: 60px; height: 4px; background-color: var(--slate-navy); margin-bottom: 1.5rem; }
.split-text-right .lead-text { font-size: 1.15rem; color: var(--indigo-black); margin-bottom: 1.2rem; font-weight: 500; }
.split-text-right p { color: var(--steel-grey); line-height: 1.8; margin-bottom: 1.5rem; font-size: 1.05rem; }
.split-text-right p strong { color: var(--slate-navy); }

@media (max-width: 900px) {
    .inspirational-split {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 4rem;
        margin-bottom: 3rem;
    }
}


/* =========================================
   Oferta Educativa Grid
========================================= */
.oferta-section {
    padding: 6rem 0;
    background-color: #FAFAFA; /* Very subtle off-white to contrast Pure White cards */
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--slate-navy);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

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

.oferta-card {
    background-color: var(--pure-white);
    border: 1px solid rgba(141, 148, 157, 0.3); /* Subtle Steel Grey border */
    border-radius: 8px;
    padding: 2.5rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.oferta-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(12, 16, 44, 0.08);border-color: var(--slate-navy);
}

.oferta-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.oferta-card p {
    font-size: 0.95rem;
    margin-bottom: 2rem;
    flex-grow: 1;
}

/* =========================================
   Vision 2028 Section
========================================= */
.vision-section {
    padding: 6rem 0;
    background-color: var(--pure-white);
}

.vision-container {
    display: flex;
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
    align-items: center;
    gap: 4rem;
}

.vision-text {
    flex: 1;
}

.vision-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.vision-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.btn-vision {
    margin-top: 1rem;
}

.vision-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(12, 16, 44, 0.1);
}

.vision-image img {
    width: 100%;
    height: auto;
    transition: transform var(--transition-smooth);
}

.vision-image:hover img {
    transform: scale(1.03);
}

/* =========================================
   Footer
========================================= */
.footer {
    background-color: var(--indigo-black);
    color: var(--pure-white);
    padding: 4rem 0 0 0;
}

.footer-container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    height: 70px; /* logo height in footer */
    width: auto;
    margin-bottom: 1.5rem;
    display: block;
}

.header-logo {
    height: 75px; /* Arganda el logo */
    width: auto;
    display: block;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.nav-identity {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-identity-left {
    text-align: right;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.65rem;
    line-height: 1.3;
    color: var(--indigo-black);
    letter-spacing: 0.5px;
}

.nav-identity-divider {
    width: 2px;
    height: 45px;
    background: linear-gradient(to bottom, rgba(56, 77, 108, 0.1), var(--slate-navy), rgba(56, 77, 108, 0.1));
}

.nav-identity-right {
    text-align: left;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.8rem;
    line-height: 1.4;
    color: var(--slate-navy);
    letter-spacing: 1px;
}

@media (max-width: 1024px) {
    .nav-identity {
        display: none;
    }
}

.footer-title {
    color: var(--pure-white);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.footer-heading {
    color: var(--pure-white);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-sans);
}

.footer-text {
    color: rgba(255,255,255,0.7);
    margin-bottom: 0.5rem;
}

.links-col ul li {
    margin-bottom: 0.8rem;
}

.links-col ul li a {
    color: rgba(255,255,255,0.7);
}

.links-col ul li a:hover {
    color: var(--pure-white);
    padding-left: 5px;
}

.footer-bottom {
    background-color: #080B1E; /* Darker than indigo for bottom strip */
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom-content {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom-content p {
    margin: 0;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

.byceneima-attribution-footer {
    color: var(--byceneima-grey);
    font-family: var(--font-sans);
    font-weight: 700;
    letter-spacing: 2px;
}

/* =========================================
   Responsive Design
========================================= */
@media (max-width: 992px) {
    .metrics-banner {
        flex-direction: column;
        gap: 3rem;
        padding: 4rem 0;
    }
    
    .metric-divider {
        width: 100px;
        height: 1px;
    }
    
    .vision-container {
        flex-direction: column;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-cta {
        display: none; /* simple mobile hide for now */
    }
    .menu-toggle {
        display: flex;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* =========================================
   Organigram Tree Layout
========================================= */
.organigram {
    display: flex;
    justify-content: center;
    overflow-x: auto;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.organigram ul {
    position: relative;
    padding-top: 20px; 
    transition: all 0.5s;
    display: flex;
    justify-content: center;
    padding-left: 0;
}

.organigram li {
    float: left; 
    text-align: center;
    list-style-type: none;
    position: relative;
    padding: 20px 10px 0 10px;
    transition: all 0.5s;
}

/* Pseudo-elements for lines */
.organigram li::before, .organigram li::after {
    content: '';
    position: absolute; top: 0; right: 50%;
    border-top: 2px solid rgba(56, 77, 108, 0.5); /* Slate navy subtle */
    width: 50%; height: 20px;
}
.organigram li::after {
    right: auto; left: 50%;
    border-left: 2px solid rgba(56, 77, 108, 0.5);
}

/* Remove side lines for only children */
.organigram li:only-child::after, .organigram li:only-child::before {
    display: none;
}

.organigram li:only-child { 
    padding-top: 0;
}

/* First and last child adjustments */
.organigram li:first-child::before, .organigram li:last-child::after {
    border: 0 none;
}
.organigram li:last-child::before {
    border-right: 2px solid rgba(56, 77, 108, 0.5);
    border-radius: 0 5px 0 0;
}
.organigram li:first-child::after {
    border-radius: 5px 0 0 0;
}

/* Connect parent downward */
.organigram ul ul::before {
    content: '';
    position: absolute; top: 0; left: 50%;
    border-left: 2px solid rgba(56, 77, 108, 0.5);
    width: 0; height: 20px;
    margin-left: -1px;
}

.organigram .dir-card {
    min-width: 250px;
    margin: 0;
}

/* For photos */
.organigram .dir-avatar img {
    border-radius: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =========================================
   Directorio Dinámico
========================================= */
.directory-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    border: 2px solid var(--slate-navy);
    background: transparent;
    color: var(--slate-navy);
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition-fast);
}

.filter-btn.active, .filter-btn:hover {
    background: var(--slate-navy);
    color: var(--pure-white);
}

.directory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.dir-card {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.4s ease, opacity 0.4s ease, visibility 0.4s ease;
}

.dir-card:hover {
    transform: translateY(-8px);
}

.dir-card.hide {
    display: none;
}

.dir-avatar {
    width: 130px;
    height: 130px;
    background: var(--pure-white);
    color: var(--slate-navy);
    border: 3px solid var(--slate-navy);
    outline: 2px dashed rgba(56, 77, 108, 0.4); /* Simulated brush/artistic border */
    outline-offset: 4px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: bold;
    margin: 0 auto;
    font-family: var(--font-serif);
    transition: transform var(--transition-fast);
    order: 1;
}

.dir-card:hover .dir-avatar {
    transform: scale(1.05);
}

.dir-role {
    color: var(--slate-navy);
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 1.5rem;
    margin-bottom: 0.3rem;
    order: 2;
}

.dir-card h4 {
    color: var(--indigo-black);
    margin-bottom: 0;
    font-size: 1.15rem;
    font-weight: 500;
    font-family: var(--font-sans);
    order: 3;
}

/* =========================================
   Timeline (Conócenos)
========================================= */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--slate-navy);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--pure-white);
    border: 4px solid var(--slate-navy);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even)::after {
    left: -10px;
}

.timeline-content {
    padding: 1.5rem;
    background-color: var(--pure-white);
    position: relative;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid rgba(141, 148, 157, 0.2);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(12, 16, 44, 0.1);
    border-color: var(--slate-navy);
}

.timeline-content img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-top: 1rem;
    transition: transform 0.4s ease;
}

.timeline-content:hover img {
    transform: scale(1.02);
}

.mision-vision-container {
    display: flex;
    gap: 4rem;
    align-items: center;
    flex-wrap: wrap;
}

.mision-vision-text {
    flex: 1;
    min-width: 300px;
}

.mision-vision-image {
    flex: 1;
    min-width: 300px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(12, 16, 44, 0.1);
}

.mision-vision-image img {
    width: 100%;
    transition: transform 0.5s ease;
}

.mision-vision-image:hover img {
    transform: scale(1.05);
}

.timeline-content h3 {
    margin-top: 0;
    color: var(--indigo-black);
    font-size: 1.3rem;
}

@media screen and (max-width: 600px) {
    .timeline::after { left: 31px; }
    .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; }
    .timeline-item::after { left: 21px; }
    .timeline-item:nth-child(even) { left: 0%; }
}

/* =========================================
   Modal & Profiles (Maestría)
========================================= */
.download-menu {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

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

.profile-card {
    background: var(--pure-white);
    border: 1px solid rgba(141, 148, 157, 0.3);
    padding: 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-fast);
    border-left: 4px solid var(--slate-navy);
}

.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(12, 16, 44, 0.1);
}

.profile-card h4 {
    color: var(--indigo-black);
    margin-bottom: 0.5rem;
    font-family: var(--font-sans);
}

.profile-card p {
    font-size: 0.9rem;
    margin: 0;
}

/* Modal Core */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(12, 16, 44, 0.6);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--pure-white);
    margin: 10% auto;
    padding: 2.5rem;
    border: 1px solid var(--steel-grey);
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    position: relative;
    animation: fadeIn 0.3s;
}

.close-btn {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    color: var(--steel-grey);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
}

.close-btn:hover {
    color: var(--indigo-black);
}

.modal-title {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.modal-subtitle {
    color: var(--slate-navy);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/* =========================================
   Internal Pages (Maestría)
========================================= */
.page-hero {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 0;
    color: var(--pure-white);
}

.page-hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.page-hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(12, 16, 44, 0.7), rgba(12, 16, 44, 0.9));
    z-index: -1;
}

.page-hero h1 {
    font-size: 3rem;
    color: var(--pure-white);
    margin-bottom: 0.5rem;
}

.program-meta {
    display: flex;
    justify-content: center;
    gap: 3rem;
    padding: 2rem 0;
    background-color: #FAFAFA;
    margin-top: -30px;
    position: relative;
    z-index: 10;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.meta-item {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--slate-navy);
}

.content-section {
    padding: 4rem 0;
}

.content-section h2 {
    font-size: 2.2rem;
    color: var(--slate-navy);
    border-bottom: 2px solid var(--steel-grey);
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
}

.content-section h3 {
    font-size: 1.5rem;
    color: var(--indigo-black);
    margin-top: 2rem;
}

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

.list-grid li {
    background: #f9f9f9;
    padding: 1rem;
    border-left: 4px solid var(--slate-navy);
    border-radius: 4px;
}

/* =========================================
   Promo Popup Convocatoria 2026
========================================= */
.promo-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(12, 16, 44, 0.6); /* Use indigo black with higher opacity */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease-in-out;
}

.promo-popup.show {
    opacity: 1;
    visibility: visible;
}

.popup-glass-content {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    padding: 3rem;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.2);
    transform: translateY(30px) scale(0.95);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.promo-popup.show .popup-glass-content {
    transform: translateY(0) scale(1);
}

.close-popup {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--pure-white);
    font-size: 1.8rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all var(--transition-fast);
}

.close-popup:hover {
    background: rgba(255, 255, 255, 0.8);
    color: var(--slate-navy);
    transform: rotate(90deg);
}

.popup-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.popup-badge {
    display: inline-block;
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(255, 107, 107, 0.4);
}

.popup-header h2 {
    color: var(--pure-white);
    font-size: 2.8rem;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    font-family: var(--font-serif);
}

.popup-body p {
    color: rgba(255, 255, 255, 0.95);
    text-align: center;
    font-size: 1.15rem;
    margin-bottom: 2rem;
    font-weight: 400;
    line-height: 1.6;
}

.popup-points {
    display: flex;
    justify-content: space-around;
    margin-bottom: 2.5rem;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.point-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--pure-white);
    font-weight: 500;
    font-size: 1.05rem;
}

.point-icon {
    font-size: 1.6rem;
}

.popup-footer {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-popup-primary {
    background: var(--pure-white);
    color: var(--indigo-black);
    padding: 1.2rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.btn-popup-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(255, 255, 255, 0.3);
    background: #f8f9fa;
}

.btn-popup-outline {
    background: transparent;
    color: var(--pure-white);
    border: 2px solid rgba(255, 255, 255, 0.6);
    padding: 1.1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.btn-popup-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--pure-white);
}

/* =========================================
   Convocatoria View 
========================================= */
.convocatoria-hero {
    position: relative;
    height: 45vh;
    min-height: 400px;
    background: url('images/Banner1.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 80px; 
}

.conv-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(12, 16, 44, 0.7), rgba(12, 16, 44, 0.8));
}

.conv-hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    max-width: 800px;
}

.conv-badge {
    display: inline-block;
    background: var(--pure-white);
    color: var(--slate-navy);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.conv-hero-content h1 {
    color: var(--pure-white);
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.conv-hero-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    font-weight: 300;
}

.convocatoria-main {
    padding: 4rem 0 6rem 0;
    background-color: #FAFAFA;
}

/* Glass Download Card */
.conv-download-card {
    background: linear-gradient(135deg, var(--slate-navy), var(--indigo-black));
    border-radius: 12px;
    padding: 2.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
    margin-top: -8rem;
    position: relative;
    z-index: 10;
    box-shadow: 0 20px 40px rgba(12, 16, 44, 0.2);
}

.conv-download-content {
    flex: 1;
}

.conv-download-content h3 {
    color: var(--pure-white);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.conv-download-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin: 0;
}

.conv-download-action {
    margin-left: 2rem;
}

.btn-download {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    padding: 1.2rem 2.5rem;
    background-color: var(--pure-white);
    color: var(--slate-navy);
    border: none;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.btn-download:hover {
    background-color: #f0f0f0;
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(0,0,0,0.15);
}

/* Grid Layout */
.convocatoria-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.section-header-left h2 {
    font-size: 2.2rem;
    color: var(--slate-navy);
    margin-bottom: 1rem;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 30px;
    margin-top: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 14px;
    height: 100%;
    width: 2px;
    background-color: rgba(56, 77, 108, 0.2);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -30px;
    top: 0;
    width: 30px;
    height: 30px;
    background-color: var(--slate-navy);
    color: var(--pure-white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 0.9rem;
    z-index: 2;
    box-shadow: 0 0 0 5px #FAFAFA;
}

.timeline-content {
    background-color: var(--pure-white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid rgba(141, 148, 157, 0.1);
    transition: transform var(--transition-fast);
}

.timeline-content:hover {
    transform: translateX(5px);
    border-color: var(--slate-navy);
}

.timeline-content h4 {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
    color: var(--indigo-black);
}

.timeline-date {
    color: #FF6B6B;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem !important;
}

/* Requirements Grid */
.req-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.req-card {
    background-color: var(--pure-white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid rgba(141, 148, 157, 0.1);
    transition: all var(--transition-fast);
}

.req-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.req-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 1rem;
}

.req-card h4 {
    font-size: 1.1rem;
    color: var(--slate-navy);
    margin-bottom: 0.5rem;
}

.req-card p {
    font-size: 0.95rem;
    margin: 0;
}

/* CTA Box */
.conv-cta-box {
    margin-top: 3rem;
    background-color: rgba(56, 77, 108, 0.05);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    border: 2px dashed rgba(56, 77, 108, 0.2);
}

.conv-cta-box h3 {
    color: var(--slate-navy);
    margin-bottom: 1rem;
}

.conv-cta-box p {
    margin-bottom: 1.5rem;
}

/* Responsive Convocatoria */
@media (max-width: 900px) {
    .convocatoria-grid {
        grid-template-columns: 1fr;
    }
    .conv-download-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }
    .conv-download-action {
        margin-left: 0;
        margin-top: 1.5rem;
    }
}

@media (max-width: 600px) {
    .req-grid {
        grid-template-columns: 1fr;
    }
    .conv-hero-content h1 {
        font-size: 2.5rem;
    }
}

/* =========================================
   Modal Teacher Profiles Update
========================================= */
.modal-body-split {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.modal-img-container {
    flex: 0 0 150px;
}

.modal-img-container img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 10px 20px rgba(12, 16, 44, 0.15);
    border: 4px solid var(--pure-white);
}

.modal-text-content {
    flex: 1;
}

@media (max-width: 600px) {
    .modal-body-split {
        flex-direction: column;
        text-align: center;
    }
}

/* =========================================
   News & Blog Sections
========================================= */
.news-hero {
    background: linear-gradient(135deg, var(--indigo-black) 0%, var(--slate-navy) 100%);
    padding: 8rem 0 4rem;
    text-align: center;
    color: var(--pure-white);
}

.news-hero h1 {
    color: var(--pure-white);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    padding: 4rem 0;
}

.news-card {
    background: var(--pure-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(12, 16, 44, 0.08);
    transition: transform var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(12, 16, 44, 0.12);
}

.news-card-img {
    height: 220px;
    overflow: hidden;
}

.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

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

.news-card-body {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-date {
    font-size: 0.85rem;
    color: var(--steel-grey);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.news-card-body h3 {
    font-size: 1.4rem;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.news-card-body p {
    color: var(--steel-grey);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* Blog Article Styles */
.article-header {
    padding: 8rem 0 4rem;
}

.article-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    color: var(--steel-grey);
    font-weight: 500;
    font-size: 0.9rem;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 6rem;
}

.article-content p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--byceneima-grey);
    margin-bottom: 2rem;
}

.article-lead {
    font-size: 1.4rem !important;
    color: var(--indigo-black) !important;
    font-weight: 500;
    border-left: 4px solid var(--slate-navy);
    padding-left: 1.5rem;
    margin: 3rem 0;
}

.article-image {
    width: 100%;
    border-radius: 12px;
    margin: 2rem 0 3rem;
    box-shadow: 0 20px 50px rgba(12, 16, 44, 0.15);
}

.participants-list {
    background: #FAFAFA;
    padding: 3rem;
    border-radius: 12px;
    margin: 4rem 0;
    border-left: 6px solid var(--slate-navy);
}

.participants-list h4 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.participants-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.participant-item {
    font-weight: 500;
    color: var(--slate-navy);
}

.fb-link-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #1877F2;
    color: white;
    padding: 1rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    margin-top: 2rem;
    width: fit-content;
    transition: transform 0.2s;
    text-decoration: none;
}

.fb-link-btn:hover {
    background: #166fe5;
    transform: translateY(-2px);
    color: white;
}

/* Article Gallery */
.article-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform var(--transition-smooth);
    aspect-ratio: 4 / 3;
}

.gallery-item:hover {
    transform: scale(1.03);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
    .article-content {
        padding: 0 5%;
    }
    .article-lead {
        font-size: 1.2rem !important;
    }
    .article-gallery {
        grid-template-columns: 1fr;
    }
}


/* =========================================
   Convocatoria Prominent Registration CTA
======================================== */
.conv-registration-cta {
    background: linear-gradient(135deg, var(--indigo-black), var(--slate-navy));
    border-radius: 16px;
    padding: 4rem 3rem;
    text-align: center;
    color: var(--pure-white);
    box-shadow: 0 20px 40px rgba(12, 16, 44, 0.25);
    margin: -3rem auto 4rem auto; /* Overlaps hero section */
    position: relative;
    z-index: 10;
    max-width: 1000px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.conv-registration-cta .cta-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    color: var(--pure-white);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.conv-registration-cta h2 {
    color: var(--pure-white);
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    font-family: var(--font-serif);
}

.conv-registration-cta h2 span {
    color: #A9C6FF; /* Highlighted color */
}

.conv-registration-cta p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto 2.5rem auto;
    line-height: 1.6;
}

.cta-action-group {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-register-pulse {
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    color: var(--pure-white) !important;
    padding: 1.2rem 2.5rem;
    font-size: 1.3rem;
    font-weight: 700;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 20px rgba(255, 107, 107, 0.4);
    animation: pulse 2s infinite;
    transition: all var(--transition-fast);
    display: inline-block;
}

.btn-register-pulse:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(255, 107, 107, 0.6);
    color: var(--pure-white);
}

.cta-download {
    padding: 1.2rem 2rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    border-color: rgba(255, 255, 255, 0.5);
}

.cta-download:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--pure-white);
    color: var(--pure-white);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(255, 107, 107, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 107, 0);
    }
}

@media (max-width: 768px) {
    .conv-registration-cta {
        padding: 3rem 1.5rem;
        margin: -2rem 1rem 3rem 1rem;
    }
    .conv-registration-cta h2 {
        font-size: 2.2rem;
    }
    .cta-action-group {
        flex-direction: column;
    }
    .btn-register-pulse {
        width: 100%;
        text-align: center;
    }
    .cta-download {
        width: 100%;
        justify-content: center;
    }
}

/* Ultra Attractive Register Button */
.btn-register-ultra {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(90deg, #FF416C, #FF4B2B, #FF416C);
    background-size: 200% auto;
    color: var(--pure-white) !important;
    padding: 1rem 2.5rem;
    font-size: 1.4rem;
    font-weight: 800;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: none;
    cursor: pointer;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 10px 25px rgba(255, 75, 43, 0.4);
    animation: gradientShift 3s linear infinite, pulse 2s infinite;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-register-ultra:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 35px rgba(255, 75, 43, 0.6);
    color: var(--pure-white);
}

.btn-text {
    position: relative;
    z-index: 2;
}

.btn-icon-wrapper {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.btn-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.btn-register-ultra:hover .btn-icon-wrapper {
    background: rgba(255, 255, 255, 0.35);
}

.btn-register-ultra:hover .btn-icon {
    transform: translateX(3px);
}

.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    z-index: -1;
    transform: skewX(-25deg);
    animation: shine 4s infinite;
}

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

@keyframes shine {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}
