: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;
}

.home {
    display: flex;
    gap: 2rem;
    padding-left: 4rem;
    padding-right: 4rem;
    height: 80vh;
    align-items: center;
}

.left {
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@keyframes glow {
    0%, 100% { opacity: 1; box-shadow: 0 0 4px var(--color-375c56); }
    50% { opacity: 0.4; box-shadow: 0 0 10px var(--color-375c56); }
}

.badge {
    border-radius: 50px;
    border: 1px solid var(--color-375c56);
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
}

.activeGlow {
    width: 0.5rem;
    height: 0.5rem;
    background: var(--color-375c56);
    border-radius: 50%;
    animation: glow 1.5s infinite;
}

.badge p {
    margin: 0;
    color: var(--color-375c56);
    font-size: 0.8rem;
    position: relative;
    font-weight: 500;
}

.content h1 {
    font-size: 3.5rem;
    margin: 1rem 0;
    line-height: 1.1;
    color: #111827;
}

.content p {
    font-size: 1.1rem;
    color: #475569;
    line-height: 1.6;
    margin: 0;
    max-width: 90%;
}

.content h1 span {
    color: var(--color-375c56);
    font-family: serif;
    font-style: italic;
}

.actionBtn {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.actionBtn button {
    border-radius: 50px;
    padding: 0.8rem 1.75rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.applyBtn {
    background: var(--color-375c56);
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
}

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

.learnBtn {
    color: var(--color-375c56);
    background: transparent;
    border: 1px solid var(--color-375c56);
}

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

.footer {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    align-items: center;
}

.stats {
    text-align: left;
    display: flex;
}

.stats h1 {
    margin: 0;
    font-size: 2.2rem;
    color: var(--color-375c56);
    line-height: 1;
}

.stats p {
    margin: 0.2rem 0 0 0;
    font-size: 0.9rem;
    color: #475569;
}

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

.banner img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid white;
    margin-left: -15px;
}

.banner img:first-child {
    margin-left: 0;
}

.banner div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
    margin-left: 0.5rem;
}

.banner div span {
    color: var(--color-375c56);
    font-size: 1.1rem;
    font-weight: 600;
}

.banner div p {
    margin: 0;
    color: #475569;
    font-size: 0.8rem;
}

.right {
    width: 60%;
    height: 100%;
}

.mainImg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.feature {
    display: flex;
    gap: 4rem;
    padding: 6rem 4rem;
    background-color: var(--color-375c56);
    margin-top: 4rem;
    align-items: center;
}

.feature .left,
.feature .right {
    flex: 1;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature img {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
}

.feature .left img,
.feature .right img {
    height: auto;
    aspect-ratio: 4 / 3;
}

.feature .left .stats {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.feature .stats > div {
    flex: 1;
}

.feature .stats h1 {
    font-size: 2.5rem;
    margin: 0 0 0.5rem 0;
    line-height: 1;
    color: white;
}

.feature .stats p {
    font-size: 0.95rem;
    opacity: 0.8;
    margin: 0;
    line-height: 1.4;
    color: white;
}

.feature .progress {
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    margin-top: 1.25rem;
    position: relative;
    overflow: hidden;
}

.feature .progress::after {
    content: "";
    position: absolute;
    height: 100%;
    width: 70%;
    background: white;
    border-radius: 10px;
}

/* vertical divider */
.feature hr {
    width: 1px;
    height: 80px;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    margin: 0;
}

/* badge */
.feature .right .badge {
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 50px;
    width: fit-content;
    padding: 0.5rem 1.25rem;
    letter-spacing: 0.5px;
}

.feature .right .badge h2 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 500;
}

/* heading */
.feature .right h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin: 0;
}

/* paragraph */
.feature .right p {
    font-size: 1.05rem;
    opacity: 0.85;
    line-height: 1.6;
    margin: 0;
}

.why {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 6rem 4rem;
    background: #f8fafc;
}

.why .badge {
    border-color: var(--color-375c56);
    padding: 0.5rem 1.25rem;
}

.why h1 {
    font-size: 3rem;
    max-width: 900px;
    text-align: center;
    line-height: 1.1;
    margin: 0;
    color: #1e293b;
    font-weight: 700;
}

.why p {
    max-width: 700px;
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #64748b;
    text-align: center;
}

.cardContainer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
    margin-top: 2rem;
}

.card {
    background: white;
    border-radius: 24px;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    text-align: center;
    box-shadow: 0 10px 30px -10px rgba(55, 92, 86, 0.1);
    border: 1px solid rgba(55, 92, 86, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px -15px rgba(55, 92, 86, 0.2);
    border-color: var(--color-375c56);
}

.card div {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(108, 213, 191, 0.1);
    border-radius: 20px;
    width: 80px;
    height: 80px;
    margin-bottom: 0.5rem;
    transition: transform 0.3s ease;
}

.card:hover div {
    transform: scale(1.1) rotate(5deg);
    background: rgba(108, 213, 191, 0.2);
}

.card img {
    width: 200px;
    height: 200px;
    object-fit: contain;
}

.card h1 {
    font-size: 1.5rem;
    margin: 0;
    color: #0f172a;
    font-weight: 600;
}

.card p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: #64748b;
}

.card button {
    margin-top: auto;
    border-radius: 50px;
    padding: 0.75rem 1.75rem;
    border: 1.5px solid var(--color-375c56);
    background: transparent;
    color: var(--color-375c56);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.card button:hover {
    background: var(--color-375c56);
    color: white;
    transform: none;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bannerSection {
    height: 80vh;
    background: url("https://images.pexels.com/photos/1454360/pexels-photo-1454360.jpeg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    color: white;
    position: relative;
}

.bannerSection::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.bannerSection h1,
.bannerSection p,
.bannerSection button {
    position: relative;
    z-index: 2;
}

.bannerSection h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.bannerSection p {
    max-width: 600px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.bannerSection button {
    border-radius: 50px;
    padding: 12px 28px;
    border: 1px solid white;
    background: transparent;
    cursor: pointer;
    color: white;
    font: 1rem "Inter", sans-serif;
}

footer {
    background: var(--color-a4cecd);
    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 Queries ─────────────────────────────── */

@media (max-width: 1080px) {
    .home {
        flex-direction: column;
        padding-left: 2rem;
        padding-right: 2rem;
        height: auto;
        padding-top: 3rem;
        padding-bottom: 3rem;
        gap: 3rem;
    }

    .home .left {
        width: 100%;
    }

    .home .right {
        width: 100%;
        height: 480px;
        overflow: hidden;
        border-radius: 12px;
    }

    .feature {
        flex-direction: column;
        padding-left: 2rem;
        padding-right: 2rem;
        padding-top: 4rem;
        padding-bottom: 4rem;
        gap: 3rem;
    }

    .feature .left,
    .feature .right {
        width: 100%;
    }

    .feature .left img,
    .feature .right img {
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .cardContainer {
        gap: 1rem;
    }
}

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

@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%;
    }

    .home,
    .feature,
    .why {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .home {
        gap: 1.5rem;
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }

    .content h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    .content p {
        font-size: 1rem;
        max-width: 100%;
    }

    .footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .actionBtn {
        flex-wrap: wrap;
    }

    .actionBtn button {
        flex: 1 1 140px;
        text-align: center;
        justify-content: center;
    }

    .home .right {
        height: 350px;
    }

    .feature .left img,
    .feature .right img {
        aspect-ratio: 3 / 2;
    }

    .feature .left .stats {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
        width: 100%;
    }

    .feature .stats > div {
        width: 100%;
    }

    .feature hr {
        width: 100%;
        height: 1px;
        margin: 0;
        background: rgba(255, 255, 255, 0.2);
    }

    .feature .right h1 {
        font-size: 1.8rem;
    }

    .why {
        padding: 4rem 1.25rem;
    }

    .why h1 {
        font-size: 2.25rem;
    }

    .why p {
        font-size: 1rem;
    }

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

    .card {
        padding: 2rem 1.5rem;
    }

    .bannerSection {
        height: auto;
        min-height: 60vh;
        padding: 3rem 1.5rem;
    }

    .bannerSection h1 {
        font-size: 2rem;
    }
}

@media (max-width: 600px) {
    footer {
        grid-template-columns: 1fr;
        padding: 32px 1.25rem;
        gap: 24px;
    }

    .column3 form {
        flex-direction: column;
    }

    .column3 input,
    .column3 button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    nav {
        padding: 0.75rem 1rem;
    }

    .content h1 {
        font-size: 1.85rem;
    }

    .badge p {
        font-size: 0.75rem;
    }

    .why h1 {
        font-size: 1.7rem;
    }

    .bannerSection h1 {
        font-size: 1.6rem;
    }

    .bannerSection p {
        font-size: 0.9rem;
    }

    .feature .right h1 {
        font-size: 1.5rem;
    }

    .stats h1 {
        font-size: 1.5rem;
    }
}