:root {
    --ink: #12131f;
    --ink-soft: #202235;
    --mint: #20c997;
    --mint-deep: #0f9f79;
    --coral: #ff6b6b;
    --lavender: #8e7dff;
    --paper: #fbfaf7;
    --surface: #ffffff;
    --muted: #697080;
    --border: #e6e1d8;
    --shadow: 0 18px 46px rgba(18, 19, 31, 0.11);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", Arial, sans-serif;
    color: var(--ink);
    background:
        linear-gradient(135deg, rgba(32, 201, 151, 0.11), transparent 32%),
        linear-gradient(315deg, rgba(142, 125, 255, 0.12), transparent 34%),
        var(--paper);
}

body.menu-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

h1,
h2,
h3,
.brand {
    font-family: "Sora", Arial, sans-serif;
    letter-spacing: 0;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

.container {
    width: min(1140px, calc(100% - 32px));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(251, 250, 247, 0.9);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(14px);
}

.header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.4rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--ink);
    text-decoration: none;
    font-weight: 800;
}

.brand img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.nav-links a {
    padding: 0.68rem 0.82rem;
    border-radius: 8px;
    color: var(--ink);
    font-size: 0.94rem;
    font-weight: 800;
    text-decoration: none;
}

.nav-links a:hover {
    background: rgba(32, 201, 151, 0.13);
    color: var(--mint-deep);
}

.nav-links .admin-link {
    color: #fff;
    background: var(--ink);
}

.nav-links .admin-link:hover {
    color: #fff;
    background: var(--mint-deep);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    color: var(--ink);
    font-size: 1.35rem;
}

.hero,
.section {
    padding: 86px 0;
}

.hero {
    min-height: calc(100vh - 78px);
    display: grid;
    align-items: center;
    background:
        linear-gradient(135deg, rgba(18, 19, 31, 0.96), rgba(32, 34, 53, 0.92)),
        radial-gradient(circle at 75% 20%, rgba(255, 107, 107, 0.3), transparent 28%);
    color: #fff;
}

.hero-grid,
.process-grid,
.apply-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.86fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    border: 1px solid rgba(32, 201, 151, 0.32);
    border-radius: 999px;
    color: var(--mint-deep);
    background: rgba(32, 201, 151, 0.12);
    padding: 0.43rem 0.78rem;
    margin-bottom: 1rem;
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.hero .eyebrow,
.apply-section .eyebrow {
    color: #dffcf3;
    background: rgba(32, 201, 151, 0.18);
    border-color: rgba(32, 201, 151, 0.42);
}

.hero h1 {
    max-width: 790px;
    margin-bottom: 1.1rem;
    font-size: clamp(2.4rem, 6vw, 5.1rem);
    line-height: 1.02;
}

.hero p,
.lead,
.section-head p {
    color: var(--muted);
    line-height: 1.72;
    font-size: 1.05rem;
}

.hero p {
    max-width: 680px;
    color: #d9deea;
}

.hero-actions,
.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.btn {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 0.48rem;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 0.78rem 1rem;
    font: inherit;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
}

.btn-primary {
    color: var(--ink);
    background: var(--mint);
    border-color: var(--mint);
}

.btn-primary:hover {
    background: #64e1bd;
}

.btn-secondary {
    color: #fff;
    background: transparent;
    border-color: rgba(255, 255, 255, 0.28);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
    margin-top: 2rem;
}

.hero-stats div {
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
}

.hero-stats strong {
    display: block;
    color: var(--mint);
    font-size: 2rem;
}

.hero-stats span {
    display: block;
    color: #bac2d3;
    font-size: 0.86rem;
    font-weight: 800;
}

.hero-board {
    display: grid;
    gap: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 8px;
    padding: 1.1rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06)),
        rgba(255, 255, 255, 0.06);
    box-shadow: 0 22px 56px rgba(0, 0, 0, 0.25);
}

.board-top,
.hero-board article {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.board-top {
    color: #dffcf3;
    font-weight: 900;
}

.hero-board article {
    border-radius: 8px;
    padding: 1rem;
    background: #fff;
    color: var(--ink);
}

.hero-board article strong,
.hero-board article span,
.hero-board article small {
    display: block;
}

.hero-board article span {
    margin-top: 0.25rem;
    color: var(--muted);
    font-size: 0.88rem;
}

.hero-board article small {
    flex: 0 0 auto;
    border-radius: 999px;
    color: var(--ink);
    background: rgba(255, 107, 107, 0.18);
    padding: 0.35rem 0.62rem;
    font-weight: 900;
}

.section-head {
    max-width: 760px;
    margin-bottom: 2rem;
}

.section-head h2,
.process-grid h2,
.apply-grid h2,
.blog-reader h1 {
    margin-bottom: 0.75rem;
    font-size: clamp(1.8rem, 3.4vw, 3rem);
    line-height: 1.08;
}

.category-grid,
.review-grid,
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.category-card,
.internship-card,
.review-card,
.blog-card,
.contact-panel,
.enquiry-form,
.blog-reader {
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.category-card,
.review-card,
.blog-card {
    padding: 1.2rem;
}

.category-card i {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    color: var(--ink);
    background: var(--mint);
    font-size: 1.4rem;
}

.category-card h3,
.blog-card h3,
.review-card strong {
    margin: 1rem 0 0.55rem;
}

.category-card p,
.review-card p,
.blog-card p {
    color: var(--muted);
    line-height: 1.65;
}

.internships-section,
.reviews-section {
    background: rgba(255, 255, 255, 0.48);
    border-block: 1px solid rgba(230, 225, 216, 0.75);
}

.filter-tabs {
    margin-bottom: 1.2rem;
}

.filter-tabs button {
    min-height: 40px;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.55rem 0.9rem;
    color: var(--ink);
    background: var(--surface);
    font-weight: 900;
    cursor: pointer;
}

.filter-tabs button.active,
.filter-tabs button:hover {
    color: #fff;
    background: var(--ink);
    border-color: var(--ink);
}

.internship-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.internship-card {
    display: flex;
    min-height: 285px;
    flex-direction: column;
    padding: 1.2rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.internship-card:hover {
    transform: translateY(-4px);
}

.internship-card.is-hidden {
    display: none;
}

.tag {
    width: fit-content;
    border-radius: 999px;
    color: #fff;
    background: var(--lavender);
    padding: 0.35rem 0.65rem;
    font-size: 0.76rem;
    font-weight: 900;
}

.internship-card h3 {
    margin: 1rem 0 0.55rem;
    font-size: 1.18rem;
}

.internship-card p {
    color: var(--muted);
    line-height: 1.65;
}

.internship-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
}

.internship-meta span {
    display: inline-flex;
    gap: 0.35rem;
    align-items: center;
    border-radius: 999px;
    color: var(--ink);
    background: rgba(32, 201, 151, 0.12);
    padding: 0.4rem 0.62rem;
    font-size: 0.8rem;
    font-weight: 900;
}

.process-section {
    background: var(--ink);
    color: #fff;
}

.process-section p {
    color: #c7cedd;
}

.steps {
    display: grid;
    gap: 0.8rem;
}

.steps div {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.12rem 0.8rem;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.07);
}

.steps span {
    grid-row: span 2;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--ink);
    background: var(--coral);
    font-weight: 900;
}

.steps small {
    color: #c7cedd;
}

.stars {
    color: var(--coral);
}

.review-card strong,
.review-card span {
    display: block;
}

.student-photo {
    width: 74px;
    height: 74px;
    border: 4px solid rgba(32, 201, 151, 0.2);
    border-radius: 50%;
    margin-bottom: 0.9rem;
    object-fit: cover;
}

.student-photo.fallback {
    display: grid;
    place-items: center;
    color: var(--ink);
    background: var(--mint);
    font-family: "Sora", Arial, sans-serif;
    font-size: 1.45rem;
    font-weight: 900;
}

.review-card span {
    color: var(--muted);
    font-size: 0.9rem;
}

.blog-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    margin-bottom: 1rem;
    object-fit: cover;
    background: #ece7df;
}

.blog-card span {
    color: var(--mint-deep);
    font-size: 0.82rem;
    font-weight: 900;
}

.blog-card a {
    display: inline-flex;
    gap: 0.4rem;
    align-items: center;
    color: var(--ink);
    font-weight: 900;
    text-decoration: none;
}

.blog-card a:hover {
    color: var(--mint-deep);
}

.apply-section {
    background:
        linear-gradient(135deg, rgba(18, 19, 31, 0.97), rgba(34, 36, 58, 0.96)),
        radial-gradient(circle at 70% 30%, rgba(32, 201, 151, 0.22), transparent 30%);
    color: #fff;
}

.apply-section p {
    color: #d7dde9;
}

.contact-panel {
    display: grid;
    gap: 0.65rem;
    margin-top: 1.3rem;
    padding: 1rem;
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

.contact-panel span {
    display: flex;
    gap: 0.55rem;
    color: #d7dde9;
}

.enquiry-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    padding: 1.2rem;
    color: var(--ink);
}

.enquiry-form label {
    display: grid;
    gap: 0.42rem;
    font-weight: 900;
}

.enquiry-form .wide {
    grid-column: 1 / -1;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.78rem 0.82rem;
    color: var(--ink);
    background: #fff;
    font: inherit;
}

textarea {
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    outline: 3px solid rgba(32, 201, 151, 0.2);
    border-color: var(--mint);
}

.form-status {
    grid-column: 1 / -1;
    min-height: 1.45rem;
    margin: 0;
    color: var(--mint-deep);
    font-weight: 900;
}

.footer {
    background: #090a12;
    color: #d5dbea;
    padding: 38px 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.footer p {
    max-width: 660px;
    margin: 0.45rem 0 0;
    color: #aeb7c8;
}

.footer a {
    color: var(--mint);
    font-weight: 900;
    text-decoration: none;
}

.blog-reader {
    max-width: 860px;
    padding: clamp(1.2rem, 4vw, 2.2rem);
}

.reader-content {
    color: var(--ink);
    font-size: 1.05rem;
    line-height: 1.9;
}

.reader-image {
    width: 100%;
    max-height: 460px;
    border-radius: 8px;
    margin: 1.2rem 0 1.6rem;
    object-fit: cover;
}

@media (max-width: 980px) {
    .nav-toggle {
        display: grid;
        place-items: center;
    }

    .nav-links:not(.static) {
        position: fixed;
        inset: 92px 16px auto;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
        border: 1px solid var(--border);
        border-radius: 8px;
        background: var(--surface);
        box-shadow: var(--shadow);
    }

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

    .nav-links a {
        text-align: center;
    }

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

    .hero {
        min-height: auto;
    }

    .category-grid,
    .internship-grid,
    .review-grid,
    .blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 24px, 1140px);
    }

    .header-inner {
        min-height: 70px;
    }

    .brand span {
        max-width: 170px;
        font-size: 0.9rem;
        line-height: 1.15;
    }

    .brand img {
        width: 42px;
        height: 42px;
    }

    .nav-links:not(.static) {
        inset: 82px 12px auto;
    }

    .hero,
    .section {
        padding: 62px 0;
    }

    .hero h1 {
        font-size: 2.35rem;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-stats,
    .category-grid,
    .internship-grid,
    .review-grid,
    .blog-grid,
    .enquiry-form {
        grid-template-columns: 1fr;
    }

    .hero-board article {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}
