.hero {
    width: 100%;
    position: relative;
    padding: 5rem 2rem 1.5rem 2rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 450px;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 1rem;
    animation: fadeUp 0.8s ease-out forwards;
}

.hero h1 {
    font-size: clamp(2.6rem, 8vw, 5rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--accent-light);
    letter-spacing: -0.02em;
    font-family: var(--font-family-Oxygen);
}

.hero h1 span {
    color: var(--accent-color);
    font-weight: 800;
    font-family: var(--font-family-Geom);
}

.hero p {
    font-size: clamp(1rem, 4vw, 1.25rem);
    line-height: 1.55;
    font-family: var(--font-family-Geom);
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
    max-width: 850px;
    margin: 0 auto;
}



/* SUB HEADER */
.sub-header {
    background: var(--light-color);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 78px;
    z-index: 1;
    border-bottom: 1px solid rgba(31, 110, 150, 0.15);
    padding: 0;
}

.sub-header-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    position: relative;
    gap: 20px;
    padding: 20px 0;
}

.sub-header-container a {
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    color: var(--text-color);
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    position: relative;
    font-family: inherit;
    display: inline-block;
}

.sub-header-container a:hover {
    font-weight: 700;
    color: var(--primary-accent, var(--text-color));
    transform: translateY(-1px);
}

.btn-cred {
    border: none;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    padding: 0.75rem 1.8rem;
    border-radius: 40px;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.btn-cred.register {
    background: linear-gradient(135deg, #e76555, #e53e2e);
    color: white;
    box-shadow: 0 8px 18px rgba(231,101,85,0.35);
    animation: softPulse 1.8s infinite ease-in-out;
}

.btn-cred.login {
    background: rgba(255,255,240,0.95);
    color: #e76555;
    border: 1.5px solid #e76555;
}

.btn-cred.register:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 25px -8px rgba(231,101,85,0.6);
    background: linear-gradient(135deg, #ff7a5c, #d93a28);
}

.btn-cred.login:hover {
    background: #e76555;
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
}

.btn-cred.register::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 70%);
    opacity: 0;
    transition: opacity 0.4s;
}

.btn-cred.register:hover::after {
    opacity: 1;
    animation: shineFlash 0.5s forwards;
}

@keyframes softPulse {
    0% { box-shadow: 0 8px 18px rgba(231,101,85,0.35); transform: scale(1); }
    50% { box-shadow: 0 0 0 8px rgba(231,101,85,0.25); transform: scale(1.02); }
    100% { box-shadow: 0 8px 18px rgba(231,101,85,0.35); transform: scale(1); }
}

@keyframes shineFlash {
    0% { left: -60%; opacity: 0.5; }
    80% { left: 100%; opacity: 0.8; }
    100% { left: 100%; opacity: 0; }
}

@media (max-width: 500px){
    .sub-header-container{ 
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        justify-content: flex-start;
        padding: 15px 10px;
        gap: 16px;
    }

    .sub-header-container a { flex: 0 0 auto; }
    .sub-header-container::-webkit-scrollbar { display: none; }
}



/* USER FORM */
/* .user {
    padding: 40px 30px;
    background: linear-gradient(
        to bottom,
        #ffffff 0%,
        #ffffff 60%,
        rgba(231, 101, 85, 0.08) 80%,
        rgba(231, 101, 85, 0.12) 100%
    );
}

.user-form-container{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: start;
    justify-content: center;
    gap: 20px;
}

.user-form-container h3 {
    font-size: 25px;
    color: #fa6400;
    margin-bottom: 10px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
}

.form-description {
    color: #adb5bd;
    font-size: 18px;
    margin-bottom: 25px;
    line-height: 1.5;
}

.form-box {
    border-radius: 20px;
    margin-top: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 30px;
    box-shadow: inset 2px 2px 6px rgba(0, 0, 0, 0.15), inset -2px -2px 6px rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    background: var(--logo-yellow);
}





.loginBtn{
    padding: 6px 25px;
    background: #6c5ce7;
    border-radius: 8px;
    border: none;
    color: white;
    cursor: pointer;
}

.form-note a:hover { text-decoration: underline; }


@media (max-width: 992px) {
    .form-row{ flex-direction: column; }
    .form-info{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        gap: 5px;
        margin-top: 15px;
    }
}

@media (max-width: 800px) {
    .user-form-container {
        display: flex;
        flex-direction: column;
    }
}

@keyframes formSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
} */


/* FEATURES */
.features {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.features::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 180%;
    height: 60%;
    background: radial-gradient(circle at center top,
        rgba(231, 101, 85, 0.15) 0%,
        rgba(231, 101, 85, 0.10) 40%,
        rgba(231, 101, 85, 0.00) 70%);
    z-index: 0;
}

.section-header {
    text-align: center;
    margin: 20px 0;
}

.section-title {
    font-size: 25px;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--dark-color);
}

.section-description {
    color: var(--gray-color);
    font-size: 16px;
    font-family: var(--font-family-Oxygen);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.feature-card.first-feature {
    grid-column: span 3;
}

.feature-card {
    background: var(--white-color);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--light-gray);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--main-color);
}

.feature-icon {
    width: 55px;
    height: 55px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    font-size: 20px;
    transition: var(--transition);
}

.feature-card h3 {
    font-size: 22px;
    text-align: center;
    font-weight: 700;
    margin: 15px 0;
    color: var(--accent-color);
    font-family: var(--font-family-Geom);
}

.feature-card p {
    color: var(--text-color);
    font-size: 15px;
    line-height: 1.6;
    text-align: center;
}

@media (max-width: 992px) {
    .section-title { font-size: 2.2rem; }
    .features-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
    .feature-card.first-feature { grid-column: span 2; }
}

@media (max-width: 600px) {
    .section-title { font-size: 1.9rem; }
    .features-grid { grid-template-columns: 1fr; }
    .feature-card.first-feature { grid-column: span 1; }
}



/* DASHBOARD */
.dashboard{
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fbff 0%, #eef5ff 35%, #ffffff 70%,#f5f8fc 100%);
}

.dashboard::before{
    content:'';
    position:absolute;
    width:500px;
    height:500px;
    border-radius:50%;
    background:rgba(59,130,246,0.08);
    top:-150px;
    right:-150px;
    filter:blur(80px);
}

.dashboard::after{
    content:'';
    position:absolute;
    width:350px;
    height:350px;
    border-radius:50%;
    background:rgba(34,197,94,0.08);
    bottom:-100px;
    left:-100px;
    filter:blur(70px);
}

.dashboard-container {
    display:grid;
    grid-template-columns: 1fr 1.15fr;
    gap:5rem;
    align-items:center;
}

.dashboard-image{
    position:relative;
    height:auto;
    overflow:visible;
}

.dashboard-image img{
    width:100%;
    height:auto;
    object-fit:contain;
    filter: drop-shadow(0 25px 40px rgba(0,0,0,.18));
    transition:.4s ease;
}

.dashboard-image:hover img{ transform:translateY(-8px); }
.dashboard-content h2 {
    font-size:clamp(2rem,4vw,3rem);
    line-height:1.15;
    background:linear-gradient(90deg, #0f172a, #2563eb);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    font-family: var(--font-family-Geom);
}

.dashboard-content p {
    color: var(--dark-color);
    margin-bottom: 2rem;
    font-size: 16px;
    font-family: var(--font-family-Oxygen);
    line-height: 1.6;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 15px;
}

.stat-item {
    background:rgba(255,255,255,.85);
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    border: none;
    backdrop-filter:blur(12px);
    box-shadow: 0 10px 25px rgba(0,0,0,.08), 0 2px 8px rgba(0,0,0,.04);
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 15px;
    color: var(--dark-color);
    font-weight: 500;
}

@media (max-width: 999px){
    .dashboard{ padding: 5rem; }
    .dashboard-container{
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .dashboard-content h2,
    .dashboard-content p{
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 600px){
    .dashboard{ padding: 4rem 0; }
}

@media (max-width: 410px){
    .dashboard-stats{ grid-template-columns: 1fr; }
}


/* PARTNERS */
.partners {
    padding: 6rem 0;
    background-color: var(--white-color);
    overflow: hidden;
}

.partners-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin-top: 3rem;
}

.partners-track {
    display: flex;
    align-items: center;
    gap: 3rem;
    width: max-content;
    animation: scroll 30s linear infinite;
}

.partner-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 100px;
    padding: 0 1rem;
    transition: var(--transition);
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@media (max-width: 768px) {
    .partner-logo {
        width: 150px;
        height: 80px;
    }
}



/* ANNIMATIONS */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}



/* Overdiv */
.overdiv {
    position: fixed;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    z-index: 11;
    visibility: hidden; 
    opacity: 0;
    transition: visibility 0.2s, opacity 0.25s ease;
}
     
.overdiv.active {
    visibility: visible;
    opacity: 1;
}
     
.popup {
    background: var(--light-color);
    width: 500px;
    max-width: 90vw;
    border-radius: 24px 0 0 24px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    animation: slideFromRight 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    margin-right: 0;
    overflow: hidden;
    transform-origin: right;
    height: 100%;
}

@keyframes slideFromRight {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

.popup-head{
    padding: 35px 20px 15px 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.popup-head h1{
    font-size: 25px;
    font-family: var(--font-family-Geom);
    color: var(--accent-color);
}

.closeBtn{
    border: 1px solid var(--secondary-color);
    color: var(--accent-color);
    background: transparent;
    font-size: 20px;
    width: 35px;
    height: 35px;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.popup-body{ 
    padding: 15px 30px; 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.form-input {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
    font-family: 'Montserrat', sans-serif;
}

.form-group label::after {
    content: '';
    color: #e74c3c;
    margin-left: 3px;
}

.form-group label[for="students"]::after,
.form-group label[for="message"]::after,
.form-group label[for="newsletter"]::after {
    content: '';
    display: none;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 14px;
    font-family: 'Open Sans', sans-serif;
    transition: all 0.3s ease;
    color: var(--main-color);
    border: 1px solid var(--secondary-color);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(73, 62, 160, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #979c9e;
}

.password-wrapper { position: relative; }
.password-wrapper input { 
    width: 100%;
    padding-right: 40px;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
    user-select: none;
}

.btn-block {
    width: 100%;
    padding: 14px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 30px 0;
    background: #2d3436;
    border-radius: 10px;
    color: var(--light-color);
}

.btn-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(108, 92, 231, 0.3);
    border-color: #e9ecef;
}

.divider{
    height: 2px;
    background: var(--secondary-color);
    width: 30%;
    margin-bottom: 15px;
}

.form-note {
    width: 100%;
    font-size: 14px;
    color: #3f3f3f;
    text-align: center;
    margin: 10px 0;
}

.form-note a {
    color: #6c5ce7;
    text-decoration: underline;
    text-decoration-color: #6c5ce7;
    font-weight: 700;
    font-size: 16px;
}

@media (max-width: 500px) {
    .popup {
        width: 100%;
        max-width: 100%;
        border-radius: 0;
    }
}