:root {
    --primary: #007bff;
    --primary-dark: #0056b3;
    --secondary: #00d2ff;
    --accent: #FF751F;
    --dark: #0f172a;
    --light: #f8fafc;
    --white: #ffffff;
    --gray: #64748b;
    --border: #e2e8f0;
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-small {
    max-width: 800px;
}

.section-padding {
    padding: 5rem 0;
}

h1,
h2,
h3,
h4,
h5 {
    line-height: 1.2;
    font-weight: 800;
}

a {
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

/* Header */
.header {
    background: var(--white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.hero-content {
    position: relative;
}

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

.logo {
    font-weight: 800;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.logo img {
    height: 54px;
    width: 171px;
}

.logo-subtext {
    color: var(--primary);
}

.btn {
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: 0 4px 14px 0 rgba(0, 118, 255, 0.39);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 118, 255, 0.45);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

/* Top Banner */
.top-banner {
    background: var(--primary);
    color: var(--white);
    padding: 0.8rem 0;
    text-align: center;
}

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

.timer-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.timer-item span {
    font-size: 1.5rem;
    font-weight: 800;
}

.timer-item small {
    text-transform: uppercase;
    font-size: 0.7rem;
    font-weight: 600;
    opacity: 0.8;
}

/* Hero */
.hero {
    position: relative;
    padding: 5rem 0 3rem;
    background: radial-gradient(circle at top right, rgba(0, 123, 255, 0.05), transparent);
}

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

.hero-badge {
    background: #ffe8d6;
    color: var(--accent);
    padding: 0.8rem 1.2rem;
    display: inline-block;
    font-weight: 800;
    margin-bottom: 1.5rem;
    border-left: 4px solid #FF751F;
    border-right: 4px solid #FF751F;
    font-size: 2rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 2rem;
    max-width: 700px;
    line-height: 2rem;
}

.hero-image-wrapper {
    position: relative;
    text-align: right;
}

.hero-img {
    width: 100%;
    max-width: 500px;
}

.instructor-info {
    display: flex;
    flex-direction: column;
    float: right;
    max-width: 300px;
    text-align: center;
}

.instructor-info strong {
    color: var(--primary);
    font-size: 1.1rem;
}

.instructor-info span {
    font-size: 0.9rem;
    color: var(--gray);
}

/* Why Learn */
.main-grid {
    display: grid;
    grid-template-columns: 1fr 600px;
    gap: 4rem;
    align-items: flex-start;
}

.sticky-side {
    position: sticky;
    top: 100px;
    z-index: 10;
}

.why-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.text-muted {
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.stat-card {
    background: var(--light);
    padding: 2rem 1.5rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: transform 0.3s ease;
    text-align: center;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-card p {
    font-size: 0.9rem;
    font-weight: 500;
}

.form-out {
    max-width: 310px;
    width: 100%;
}

/* Enrollment Card */
.enrollment-card {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 24px;
    border: 1px solid rgba(15, 123, 247, 0.2);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.enrollment-card img {
    width: 250px;
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header h3 {
    font-size: 1.2rem;
    letter-spacing: 2px;
    color: var(--dark);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.form-group input {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #f1f5f9;
}

.price-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 800;
}

.price {
    color: var(--gray);
    text-decoration: line-through;
    opacity: 0.5;
}

.free {
    color: var(--primary);
}

/* CTA Banner */
.cta-card {
    background: var(--dark);
    max-width: 873px;
    color: var(--white);
    padding: 4rem;
    border-radius: 32px;
    position: relative;
    overflow: hidden;
}

.cta-card h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-card p {
    opacity: 0.8;
    margin-bottom: 2rem;
}

.limited-badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

/* Features */

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 870px;
    padding: 3rem 0;
}

.mt-5 {
    margin-top: 3rem;
}

.mt-5 h2 {
    margin-top: 30px !important;
}

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

.feature-item h4 {
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Accordion */
.accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item {
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.accordion-header {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    transition: background 0.3s ease;
}

.accordion-item .accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 1.5rem;
}

.accordion-item.active .accordion-content {
    max-height: 200px;
    padding: 1.5rem;
    border-top: 1px solid var(--border);
}

.accordion-item.active .accordion-header {
    background: var(--light);
}

/* Updated Footer Styles */
.footer {
    background: #101828;
    color: var(--white);
    padding: 6rem 0 2.5rem;
    font-family: 'Inter', sans-serif;
}

.footer-top {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr 1fr;
    gap: 0;
    margin-bottom: 4rem;
}

.footer-brand {
    padding-right: 4rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.f-logo {
    height: 55px;
    width: auto;
    display: block;
    /* margin-left: -15px; */
    /* Adjust for image padding if needed */
}

.footer-tagline {
    font-size: 1.1rem;
    line-height: 1.4;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 400px;
}

.social-circles {
    display: flex;
    gap: 1rem;
}


.social-circles a img {
    width: 28px;
}

.footer-nav-col {
    padding-left: 2rem;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-top .f-nav-title {
    margin-top: 70px;
}

.f-nav-title {
    color: #0A7CFF;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
    text-decoration: underline;
}

.footer-nav-col ul {
    list-style: none;

}

.footer-nav-col li {
    margin-bottom: 0.5rem;
}

.footer-nav-col a {
    font-size: 0.9rem;
    opacity: 0.7;
    font-weight: 400;
}

.footer-nav-col a:hover {
    opacity: 1;
    color: #0A7CFF;
}

.footer-mid-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 4rem;
}

.footer-bottom-main {
    display: grid;
    grid-template-columns: 4fr 1fr 1fr;
    gap: 0;
    align-items: flex-start;
    margin-bottom: 4rem;
}

.f-jusst-collage img {
    width: 100%;
    max-width: 836px;
    display: block;
}

.f-jusst-collage p {
    font-size: 28px;
    color: #fff;
}

.f-address-col,
.f-contact-col {
    padding-left: 2rem;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.address-item,
.contact-sub-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.addr-icon {
    font-size: 1.2rem;
    opacity: 0.8;
}

.addr-text strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.addr-text span {
    font-size: 0.85rem;
    opacity: 0.6;
}

.address-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
    margin: 1rem 0 1.5rem;
    width: 80%;
}

.footer-last-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
    font-size: 14px;
    opacity: 0.6;
}

.legal-nav {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.f-sep {
    opacity: 0.3;
}

/* Responsive */
@media (max-width: 1240px) {
    .main-grid {
        grid-template-columns: 1fr;
    }

    .sticky-side {
        position: static;
    }

    .enrollment-card img {
        display: none;
    }

    .form-out {
        max-width: 100%;
    }
}

@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-grid,
    .why-grid {
        gap: 2rem;
    }

    .footer-top,
    .footer-bottom-main {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .enrollment-card img {
        display: none;
    }
}

@media (max-width: 768px) {

    .hero-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .hero-content {
        text-align: center;
    }

    .hero-desc {
        margin: 0 auto 2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-top,
    .footer-bottom-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-nav-col,
    .f-address-col,
    .f-contact-col {
        padding-left: 0;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 2rem;
    }

    .footer-brand {
        padding-right: 0;
    }

    .footer-last-line {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .legal-links {
        justify-content: center;
    }
}