
:root {
    --background: hsl(240, 10%, 99%);
    --foreground: hsl(240, 6%, 10%);
    --card: hsl(0, 0%, 100%);
    --primary: hsl(171, 87%, 29%);
    --primary-foreground: hsl(0, 0%, 100%);
    --muted: hsl(220, 14%, 96%);
    --muted-foreground: hsl(220, 9%, 46%);
    --border: hsl(220, 13%, 91%);
    --radius: 0.5rem;
}

body {
    margin: 0;
    padding-bottom: 60px; /* For mobile nav */
    font-family: 'Inter', sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
}

.container {
    
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

h1, h2, h3, h4 {
    font-family: 'Georgia', serif;
    font-weight: 700;
    margin-top: 0;
}

h1 {
    font-size: 2.75rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

h4 {
    font-size: 1.2rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

a {
    color: var(--primary);
    text-decoration: none;
}

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

.button {
    display: inline-block;
    background-color: var(--primary);
    color: var(--primary-foreground);
    padding: 0.75rem 1.5rem;
   
    font-weight: 600;
    transition: all 0.2s ease-in-out;
    border: none;
    cursor: pointer;
    border-radius:50px !important;
}

.button:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

.button-outline {
    background-color: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.button-xl {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.card {
    background-color: var(--card);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border: 1px solid var(--border);
    text-align: left;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 50;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.header .logo img {
    display: block;
}

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

.header .nav-desktop a {
    color: var(--muted-foreground);
    font-weight: 600;
    transition: color 0.2s;
}
.header .nav-desktop a:hover {
    color: var(--foreground);
}

.nav-mobile-trigger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Mobile Nav */
.mobile-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    border-top: 1px solid var(--border);
    justify-content: space-around;
    align-items: center;
    z-index: 100;
    background-color: rgba(255,255,255,0.2) !important;
    backdrop-filter: blur(10px) !important;
}
.mobile-nav a {
    color: var(--muted-foreground);
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
}


/* Hero Section */
.hero {
    padding: 5rem 0;
    background: radial-gradient(circle at top left, hsl(200 80% 90% / 0.5), transparent 40%), radial-gradient(circle at bottom right, hsl(40 80% 90% / 0.5), transparent 40%);
}

.hero-subheading {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.associations {
    margin-bottom: 2.5rem;
}

.associations p {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

.association-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}

/* Placements Section */
.placements {
    background-color: var(--muted);
    padding: 3rem 0;
}

.scrolling-logos-container {
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
    mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
}

.scrolling-logos {
    display: flex;
    width: fit-content;
    animation: scroll 40s linear infinite;
}

.scrolling-logos img {
    height: 85px;
    margin: 0 2.5rem;
    object-fit: contain;

}

@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}


/* General Section */
.section {
    padding: 5rem 0;
    border-bottom: 1px solid var(--border);
}
#courses-home, #reviews-home, #enroll {
    background-color: var(--muted);
}
#trust {
    background-color: var(--background);
}
#faq {
    background-color: var(--background);
}
.section-tag {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
}
.section-subheading {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 700px;
    margin: 1rem auto 3rem;
}

/* Course Grid */
.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.learn-more {
    font-weight: 600;
}

/* Certificate Section */
.certificate-image {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

/* Review Grid */
.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}
.review-card {
    break-inside: avoid;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
}

.review-card h3 {
    color: var(--primary);
}

.review-card blockquote {
    color: var(--muted-foreground);
    margin: 0;
    padding: 0;
    border: none;
}

/* FAQ Section */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.faq-item {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
    padding-top: 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item p {
    color: var(--muted-foreground);
    margin-bottom: 0;
}


/* Enrollment Section */
#enroll {
    background-color: var(--muted);
}
.enroll-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.enroll-card {
    padding: 2.5rem;
}

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

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

.form-group input, .form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    background-color: var(--background);
}

.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px hsla(var(--primary), 0.2, 0.5);
}

/* Footer */
.footer {
    padding: 4rem 0 2rem;
    text-align: center;
    color: var(--muted-foreground);
    font-size: 0.875rem;
    background-color: var(--muted);
    margin-top: -1px;
}
.footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}


/* Responsive */
@media (max-width: 768px) {
    body {
        padding-bottom: 60px;
    }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    
    .header .nav-desktop, .header .header-actions {
        display: none;
    }

    .nav-mobile-trigger {
        display: block;
    }
    
    .mobile-nav.active {
        display: flex;
    }

    .hero, .section {
        padding: 3rem 0;
    }

    .enroll-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .review-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
     .review-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
}
