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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #000;
    background: #fff;
    overflow-x: hidden;
}

/* Navigation */
nav {
    position: sticky;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 2rem 6rem;
    border-bottom: 1px solid #333;
}

.nav-container {
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: block;
    width: 170px;
    height: auto;
    text-decoration: none;
}

.logo img {
    width: 100%;
    height: auto;
    display: block;
}

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

.nav-links a {
    color: #fff;
    font-size: 0.75rem;
    text-decoration: none;
    font-weight: 300;
    transition: opacity 0.3s ease;
}

.nav-links a:hover {
    opacity: 0.6;
}

/* Hero Section */
.hero {
    height: 90svh;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
                url('assets/hero.webp');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    text-align: left;
    position: relative;
    padding: 2rem 2rem;
}

.hero-content {
    max-width: 1000px;
    color: #fff;
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-size: clamp(3rem, 6.5vw, 8rem);
    font-weight: 900;
    line-height: 0.9;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.hero h2 {
    font-size: clamp(1.25rem, 3vw, 1.25rem);
    font-weight: 400;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 800px;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    border: 2px solid;
    transition: all 0.3s ease;
    cursor: pointer;
    min-width: 200px;
}

.btn-primary {
    background: #fff;
    color: #000;
    border-color: #fff;
}

.btn-primary:hover {
    background: transparent;
    color: #fff;
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

.btn-secondary:hover {
    background: #fff;
    color: #000;
}

/* Promise Section */
.promise {
     height: 100vh;
    padding: 4rem 4rem;
    background: #000;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.promise-section {
     height: 100vh;
    padding: 4rem 4rem;
    color: #fff; 
    min-height: 50vh;
     display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    text-align: left;
}

/* Every promise sections */

.promise-background {
     background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
                url('assets/promise-1.webp');
    background-size: cover;
    background-position: center;
}

.promise-background-2 {
     background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
                url('assets/promise-2.webp');
    background-size: cover;
    background-position: center;
}

.promise-background-3 {
     background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
                url('assets/promise-3.webp');
    background-size: cover;
    background-position: center;
}

.promise-background-4 {
     background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
                url('assets/promise-4.webp');
    background-size: cover;
    background-position: center;
}

.container-promise {
    max-width: 50rem;
}

.promise-section h2 {
    font-size: clamp(3rem, 6vw, 8rem);
    font-weight: 900;
    text-align: left;
    margin-bottom: 1rem;
    line-height: 0.9;
    animation: fadeInUp 1s ease-out;
}

.promise h2 {
    font-size: clamp(3rem, 6vw, 6rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 1rem;
    line-height: 0.9;
}

.promise-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    text-align: center;
    margin-bottom: 4rem;
    opacity: 0.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.promise-subtitle-bullet {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    text-align: left;
    margin-bottom: 4rem;
    opacity: 0.8;
    max-width: 800px;
   
}

.promise-item p {
    opacity: 0.8;
    font-size: 1rem;
}

/* Services Preview */
.container {
    max-width: 1100px;
    margin: 0 auto;
}

.services-preview {
    padding: 8rem 2rem;
    background: #fff;
}

.services-preview h2 {
    font-size: clamp(3rem, 6vw, 6rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 4rem;
    line-height: 0.9;
}

/* Courses Covers Grid */
.courses-covers {
    padding: 6rem 2rem;
    background: #fff;
}

.courses-covers h2 {
    font-size: clamp(3rem, 4.5vw, 3rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 2.5rem;
}

.covers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}

.cover-card {
    display: block;
    position: relative;
    width: 100%;
    /* 2:3 ratio -> padding-bottom = 150% of width for height */
    padding-bottom: 150%;
    background-image: var(--bg);
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cover-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.45) 100%);
    transition: background 0.3s ease;
}

.cover-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 60px rgba(0,0,0,0.18);
}

.cover-title {
    position: absolute;
    left: 1.25rem;
    bottom: 1.25rem;
    z-index: 2;
    font-weight: 800;
    font-size: clamp(1.7rem, 2vw, 2rem);
    line-height: 1;
    text-shadow: 0 6px 18px rgba(0,0,0,0.6);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .covers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .covers-grid {
        grid-template-columns: 1fr;
    }
    .courses-covers {
        padding: 3rem 1.5rem;
    }
}

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

.service-card {
    padding: 3rem 2rem;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    background: #fff;
}

.service-card:hover {
    border-color: #000;
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.service-card p {
    opacity: 0.7;
    margin-bottom: 1.5rem;
}

.service-link {
    font-weight: 600;
    color: #000;
    text-decoration: none;
    border-bottom: 2px solid #000;
    transition: opacity 0.3s ease;
}

.service-link:hover {
    opacity: 0.6;
}

/* Impact Section */
.impact-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 12rem 2rem;
    background: #f8f8f8;
    text-align: center;
}

.impact-section h2 {
    font-size: clamp(3rem, 6vw, 6rem);
    font-weight: 900;
    margin-bottom: 2rem;
    line-height: 0.9;
}

.impact-content {
    max-width: 900px;
    margin: 0 auto;
}

.impact-content p {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.impact-subline {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 3rem;
}

/* Final CTA */
.final-cta {
    height: 80vh;
    padding: 8rem 2rem;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.8)), url('assets/final-cta.webp');
    color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.final-cta h2 {
    font-size: clamp(3rem, 6vw, 6rem);
    font-weight: 900;
    margin-bottom: 2rem;
    line-height: 0.9;
}

.final-cta p {
    font-size: clamp(1.1rem, 2.5vw, 1.8rem);
    margin-bottom: 3rem;
    opacity: 0.9;
}

.final-cta h2,
.final-cta p {
    text-shadow: 0 8px 30px rgba(0,0,0,0.6);
}

@media (max-width: 600px) {
    .final-cta {
        padding: 4rem 1.25rem;
        height: auto;
    }
}

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

/* Footer */
footer {
    background: #000;
    color: #fff;
    padding: 4rem 2rem;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.footer-logo {
    display: flex;
    justify-content: center;
}

.footer-logo img {
    width: 120px;
    height: auto;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.social-icon {
    color: #fff;
    font-size: 1.5rem;
    text-decoration: none;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.social-icon:hover {
    opacity: 0.7;
}

.social-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.footer-copyright {
    text-align: center;
    opacity: 0.7;
    font-size: 0.9rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}



/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

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

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

/* Tablet adjustments */
@media (max-width: 1024px) and (min-width: 769px) {
    nav {
        padding: 2rem 3rem;
    }
    
    .nav-links {
        gap: 1.5rem;
    }
    
    .nav-links a {
        font-size: 0.8rem;
    }
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.95);
        padding: 2rem;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: block;
    }
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 30px;
    height: 3px;
    background: #ffffff;
    border-radius: 10px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
}

/* Hamburger animation when menu is open */
.mobile-menu-toggle.open span:first-child {
    transform: rotate(45deg);
}

.mobile-menu-toggle.open span:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
}

.mobile-menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg);
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        backdrop-filter: blur(10px);
        padding: 2rem 0;
        gap: 0;
        height: calc(100vh - 80px);
        justify-content: flex-start;
        padding-top: 4rem;
        z-index: 1000;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 1.5rem 0;
    }
    
    .nav-links a {
        font-size: 1.2rem;
        font-weight: 400;
        padding: 1rem 2rem;
        display: block;
        transition: all 0.3s ease;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-links a:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: translateX(10px);
    }

    /* Adjust nav container for mobile */
    .nav-container {
        padding: 0 2rem;
    }
    
    nav {
        padding: 1rem 2rem;
    }
    
    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }

    /* Mobile responsive adjustments */
    .hero {
        padding: 2rem;
    }

    .hero-content {
        padding: 0;
    }

    .promise-section {
        padding: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

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

