/* --- RESET & CORE STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
    overflow-x: hidden;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
}

p {
    color: #555;
    margin-bottom: 15px;
    font-size: 15px;
}

a {
    text-decoration: none;
    transition: 0.3s;
}

ul,
ol {
    margin-bottom: 15px;
    padding-left: 20px;
    color: #555;
}

li {
    margin-bottom: 8px;
}

/* --- BACKGROUND ANIMATION --- */
.background-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.bg-shape {
    position: absolute;
    opacity: 0.05;
    animation: floatFullPage linear infinite;
    color: #53C3B1;
    font-size: 30px;
}

.bg-shape:nth-child(1) {
    top: 15%;
    left: 8%;
    animation-duration: 25s;
    content: '🎓';
    font-size: 24px;
}

.bg-shape:nth-child(2) {
    top: 25%;
    right: 12%;
    font-size: 60px;
    animation-duration: 35s;
    animation-delay: -5s;
    color: #333;
    opacity: 0.03;
}

.bg-shape:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-duration: 28s;
    animation-delay: -10s;
    color: #FF6A00;
}

.bg-shape:nth-child(4) {
    bottom: 35%;
    right: 8%;
    animation-duration: 32s;
    color: #1E88E5;
    opacity: 0.04;
}

@keyframes floatFullPage {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(30px, -50px) rotate(10deg);
    }

    66% {
        transform: translate(-20px, 40px) rotate(-10deg);
    }

    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

/* --- HEADER STYLES --- */
.header {
    background: #F8EBD6;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 100;
    min-height: 72px;
    animation: slideDown 0.8s ease forwards;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 55px;
    display: block;
}



.auth-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.auth-buttons .btn-login {
    padding: 8px 24px;
    border: 1px solid #ccc;
    background: transparent;
    border-radius: 30px;
    color: #333;
    font-weight: 500;
}

.auth-buttons .btn-login:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: #bbb;
}

.auth-buttons .btn-signup {
    background: #FF6A00;
    color: white;
    padding: 8px 24px;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(255, 106, 0, 0.2);
}

.auth-buttons .btn-signup:hover {
    background: #e05c00;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(255, 106, 0, 0.3);
}

.hamburger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 101;
    margin-left: 10px;
}

.hamburger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background: #333;
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

/* --- HERO --- */
.edu-hero {
    position: relative;
    padding: 250px 0 250px;
    background-color: #2c3e50;
    color: white;
    overflow: hidden;
    text-align: center;
}

.edu-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.2;
    background-image: url('assets/images/hero-bgx.jpg');
    background-size: cover;
    background-position: top;
}

.edu-hero h1 {
    font-size: 52px;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.edu-hero p {
    font-size: 20px;
    color: #bdc3c7;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* --- FAQ SECTION --- */
.faq-sections {
    padding: 80px 0;
    background: #fff;
}

.faq-block {
    margin-bottom: 60px;
}

.faq-block h3 {
    font-size: 28px;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
    color: #53C3B1;
    text-transform: uppercase;
}

.faq-block h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: #FF6A00;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media(min-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

.accordion {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #eee;
}

.accordion-header {
    width: 100%;
    text-align: left;
    background: #f8f9fa;
    border: none;
    padding: 18px 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    transition: 0.3s;
    color: #333;
    line-height: 1.4;
    gap: 15px;
}

.accordion-header:hover {
    background: #f1f3f5;
    color: #FF6A00;
}

.accordion-header .plus {
    font-size: 20px;
    font-weight: bold;
    color: #53C3B1;
    transition: 0.3s;
    flex-shrink: 0;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    background: #fff;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.accordion-content-inner {
    padding: 25px;
    color: #555;
    font-size: 15px;
    line-height: 1.7;
    border-top: 1px solid #f1f1f1;
}

.accordion-content ul,
.accordion-content ol {
    padding-left: 20px;
    margin-top: 10px;
}

.accordion-content li {
    margin-bottom: 8px;
}

.accordion-content strong {
    color: #333;
    font-weight: 700;
}

.accordion.active .accordion-header {
    background: #53C3B1;
    color: white;
}

.accordion.active .accordion-header .plus {
    color: white;
    transform: rotate(45deg);
}

.accordion.active .accordion-content {
    max-height: 5000px;
    /* Large enough to fit full content */
}

/* --- ANIMATION UTILS --- */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-hidden {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.animate-hidden {
    transform: translateY(40px);
}

.animate-active {
    opacity: 1 !important;
    transform: translate(0) scale(1) !important;
}

.stagger-children>* {
    opacity: 0;
    transform: translateY(20px);
    transition: 0.6s ease;
}

.stagger-children.animate-active>* {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile */
@media (max-width: 992px) {
    .header-container {
        padding: 0 20px;
    }

    .nav {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-out;
        align-items: stretch;
        border-bottom: 1px solid #eee;
    }

    .nav.active {
        max-height: 600px;
    }

    .nav a {
        justify-content: center;
        padding: 15px;
    }

    .nav .auth-buttons {
        flex-direction: column;
        padding: 20px;
        margin: 0;
    }

    .hamburger-menu {
        display: block;
    }

    .nav-dropdown {
        flex-direction: column;
        width: 100%;
    }

    .nav-dropdown-content {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        box-shadow: none;
        border: none;
        background: #fafafa;
        display: none;
    }

    .nav-dropdown:hover .nav-dropdown-content {
        display: block;
    }

    .nav .nav-dropdown-content a {
        justify-content: center;
        border-bottom: 1px solid #eee;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* --- FOOTER --- */
.footer {
    background: #f9f9f9;
    padding: 60px 0 30px;
    text-align: center;
    border-top: 1px solid #eee;
    position: relative;
    z-index: 2;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo img {
    height: 80px;
    margin-bottom: 15px;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

.footer-logo h3 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
}

.footer-logo h3 span {
    display: block;
    font-size: 14px;
    color: #FF6A00;
    font-weight: 500;
}

.footer-logo p {
    color: #777;
    margin: 10px 0;
}

.tagline {
    font-weight: 600;
    color: #FF6A00 !important;
    font-size: 18px;
    margin: 15px 0 30px;
}

.footer-links a {
    margin: 0 15px;
    color: #666;
    font-size: 14px;
}

.footer-links a:hover {
    color: #FF6A00;
}

.footer-copyright {
    margin-top: 30px;
    color: #999;
    font-size: 13px;
}