:root {
    --color-9a442b: #9a442b;
    --color-be8770: #be8770;
    --color-4a84ca: #4a84ca;
    --color-6cd5bf: #6cd5bf;
    --color-375c56: #375c56;
    --color-c35308: #c35308;
    --color-817b2e: #817b2e;
    --color-41322c: #41322c;
    --color-a4cecd: #a4cecd;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
}

header {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: white;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.07);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font: medium;
    text-decoration: none;
    color: black;
    white-space: nowrap;
}

.linksContainer {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.navLinks {
    display: flex;
    gap: 0.5rem;
}

.navLinks a {
    text-decoration: none;
    color: black;
    border: 1px solid white;
    border-radius: 50px;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.navLinks a:hover {
    background: white;
    color: var(--color-375c56);
}

.admissionbtn {
    background: var(--color-375c56);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.admissionbtn:hover {
    background: #2f4e47;
}

footer {
    background: var(--color-a4cecd);
}

footer {
    padding: 60px 40px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    border-top: 1px solid #ccc;
}

.logoContainer .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logoContainer h3 {
    font-size: 1.2rem;
    line-height: 1.3;
}

.logoContainer p {
    margin-top: 20px;
    line-height: 1.6;
    max-width: 350px;
}

footer h1 {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

footer a {
    display: block;
    margin-bottom: 10px;
    text-decoration: none;
    font-size: 0.95rem;
    color: black;
}

.column3 p {
    margin-bottom: 15px;
    line-height: 1.5;
}

.column3 form {
    display: flex;
    gap: 10px;
}

.column3 input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ccc;
    outline: none;
}

.column3 button {
    padding: 10px 16px;
    border: 1px solid #000;
    background: transparent;
    cursor: pointer;
}

@media (max-width: 900px) {
    footer {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    footer {
        grid-template-columns: 1fr;
    }
}


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

.courses-hero {
    background: #f8fafc; /* Soft off-white */
    padding: 6rem 0;
    overflow: hidden;
}

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

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--color-41322c);
    margin: 0;
    letter-spacing: -1px;
}

.hero-description {
    font-size: 1.25rem;
    color: #64748b;
    line-height: 1.6;
    max-width: 580px;
    margin: 0;
}

.hero-cta {
    width: fit-content;
    background: var(--color-375c56);
    color: white;
    text-decoration: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(55, 92, 86, 0.25);
}

.hero-cta:hover {
    background: #2f4e47;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(55, 92, 86, 0.35);
}

.hero-info-row {
    display: flex;
    gap: 2.5rem;
    margin-top: 1rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.info-label {
    font-size: 0.85rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.info-value {
    font-size: 1.1rem;
    color: var(--color-41322c);
    font-weight: 700;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
    display: block;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

@media (max-width: 1024px) {
    .hero-wrapper {
        gap: 2rem;
        grid-template-columns: 1fr 1fr;
    }

    .hero-content h1 {
        font-size: 2.75rem;
    }
}

@media (max-width: 768px) {
    .courses-hero {
        padding: 4rem 0;
    }

    .hero-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .hero-description {
        margin: 0 auto;
    }

    .hero-cta {
        width: 100%;
        max-width: 320px;
    }

    .hero-info-row {
        flex-wrap: wrap;
        justify-content: center;
        gap: 2rem;
        width: 100%;
    }

    .info-item {
        min-width: 100px;
    }

    .hero-image {
        order: -1;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-info-row {
        gap: 1.5rem;
    }
}

.categories {
    background: #f9f5f2;
    padding: 4rem 2rem;
    text-align: center;
}

.categories h2 {
    font-size: 2rem;
    color: var(--color-41322c);
    margin-bottom: 2rem;
    font-weight: 700;
}

.category-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.category {
    background: white;
    border: 2px solid var(--color-a4cecd);
    color: var(--color-375c56);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category:hover {
    background: var(--color-375c56);
    color: white;
    border-color: var(--color-375c56);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(55, 92, 86, 0.25);
}

.featured-courses {
    background: white;
    padding: 5rem 2rem;
}

.featured-courses h2 {
    font-size: 2rem;
    color: var(--color-41322c);
    margin-bottom: 2.5rem;
    font-weight: 700;
    text-align: center;
}

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

.course-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--color-6cd5bf);
}

.course-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(55, 92, 86, 0.18);
}

.course-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.course-card h3 {
    font-size: 1.1rem;
    color: var(--color-41322c);
    margin: 1.2rem 1.2rem 0.4rem;
    font-weight: 600;
}

.course-card p {
    font-size: 0.92rem;
    color: #666;
    margin: 0 1.2rem 1.4rem;
    line-height: 1.6;
}

.all-courses {
    background: var(--color-a4cecd);
    padding: 5rem 2rem;
}

.all-courses h2 {
    font-size: 2rem;
    color: var(--color-41322c);
    margin-bottom: 2rem;
    font-weight: 700;
    text-align: center;
}

.course-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.2rem;
}

.course-item {
    background: white;
    border-radius: 10px;
    padding: 1.4rem 1.6rem;
    border-left: 5px solid var(--color-9a442b);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.course-item:hover {
    transform: translateX(4px);
    box-shadow: 0 6px 20px rgba(154, 68, 43, 0.15);
}

.course-item h3 {
    font-size: 1rem;
    color: var(--color-41322c);
    margin: 0 0 0.4rem;
    font-weight: 600;
}

.course-item p {
    font-size: 0.88rem;
    color: var(--color-9a442b);
    margin: 0;
    font-weight: 500;
}

.why-courses {
    background: var(--color-375c56);
    padding: 5rem 2rem;
    color: white;
    text-align: center;
}

.why-courses h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--color-6cd5bf);
}

.why-courses ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

.why-courses li {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(108, 213, 191, 0.3);
    border-radius: 10px;
    padding: 1rem 1.4rem;
    font-size: 0.97rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: background 0.3s ease;
}

.why-courses li::before {
    content: '✓';
    background: var(--color-6cd5bf);
    color: var(--color-41322c);
    font-weight: 700;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.why-courses li:hover {
    background: rgba(255, 255, 255, 0.18);
}

.courses-cta {
    background: var(--color-41322c);
    padding: 5rem 2rem;
    text-align: center;
    color: white;
}

.courses-cta h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.courses-cta p {
    font-size: 1.05rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.courses-cta .btn {
    display: inline-block;
    background: white;
    color: var(--color-c35308);
    font-weight: 700;
    font-size: 1rem;
    padding: 0.85rem 2.4rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.courses-cta .btn:hover {
    background: var(--color-41322c);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .courses-hero h1 {
        font-size: 2.2rem;
    }

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

    .why-courses ul {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .courses-hero {
        padding: 3.5rem 1.5rem;
    }

    .courses-cta h2 {
        font-size: 1.7rem;
    }
}

@media (max-width: 720px) {
    nav {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .linksContainer {
        flex-direction: column;
        width: 100%;
        gap: 1.5rem;
    }

    .navLinks {
        flex-wrap: wrap;
        justify-content: center;
    }

    .admissionbtn {
        width: 100%;
    }
}