:root {
    --bg: #f4f7fb;
    --surface: #ffffff;
    --surface-muted: #ecf2f8;
    --ink: #10233b;
    --ink-soft: #4a5a6f;
    --brand: #0f766e;
    --brand-strong: #0b5f59;
    --accent: #e56a2e;
    --line: #d8e1ec;
    --shadow-sm: 0 8px 24px rgba(16, 35, 59, 0.08);
    --shadow-md: 0 18px 40px rgba(16, 35, 59, 0.14);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
    line-height: 1.65;
    color: var(--ink);
    background:
        radial-gradient(circle at 90% 0%, rgba(15, 118, 110, 0.12), transparent 40%),
        radial-gradient(circle at 0% 25%, rgba(229, 106, 46, 0.1), transparent 35%),
        var(--bg);
    padding-top: 82px;
}

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

.container {
    width: min(1160px, 92%);
    margin: 0 auto;
}

.aligned-header {
    text-align: center;
    max-width: 860px;
    margin: 0 auto 2.5rem;
}

.section-header h2,
.contact-header h2 {
    font-family: "Sora", "Plus Jakarta Sans", sans-serif;
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    line-height: 1.15;
    letter-spacing: -0.015em;
    margin-bottom: 0.8rem;
}

.section-header {
    margin-bottom: 2rem;
}

.section-header p,
.contact-header p {
    color: var(--ink-soft);
    font-size: 1.05rem;
}

.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(216, 225, 236, 0.75);
}

.nav-wrapper {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.logo-image {
    height: 52px;
    width: auto;
}

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

.nav-desktop a {
    text-decoration: none;
    color: var(--ink);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    transition: color 0.2s ease;
}

.nav-desktop a:hover {
    color: var(--brand);
}

.mobile-menu-btn {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink);
    font-size: 1rem;
}

.nav-mobile {
    display: none;
}

.hero {
    position: relative;
    padding: 100px 0 90px;
    color: #ecf8f7;
    overflow: hidden;
    background:
        linear-gradient(118deg, rgba(11, 95, 89, 0.96), rgba(15, 118, 110, 0.92)),
        url("images/img01.jpg") center/cover;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(5, 31, 42, 0.72) 0%, rgba(5, 31, 42, 0.35) 55%, rgba(5, 31, 42, 0.15) 100%);
}

.hero-bg {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
    align-items: center;
}

.hero-text h1 {
    font-family: "Sora", "Plus Jakarta Sans", sans-serif;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.05;
    margin-bottom: 0.8rem;
    letter-spacing: -0.015em;
}

.hero-text h2 {
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: #ffd9c6;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 1.2rem;
}

.hero-text p {
    color: #d7ecea;
    font-size: 1.05rem;
    max-width: 60ch;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.btn {
    border: 0;
    cursor: pointer;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 0.015em;
    padding: 0.95rem 1.4rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 10px 24px rgba(229, 106, 46, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: #d45c22;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.28);
    transform: translateY(-2px);
}

.image-carousel {
    background: rgba(7, 39, 53, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 1.1rem;
    box-shadow: var(--shadow-md);
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 360px;
    overflow: hidden;
    border-radius: var(--radius-md);
}

.carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.45s ease;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-nav {
    position: absolute;
    inset: 50% 0 auto;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 0.8rem;
    pointer-events: none;
}

.carousel-btn {
    pointer-events: auto;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    background: rgba(7, 39, 53, 0.5);
    cursor: pointer;
}

.carousel-indicators {
    margin-top: 0.9rem;
    display: flex;
    justify-content: center;
    gap: 0.45rem;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
}

.indicator.active {
    background: var(--accent);
    transform: scale(1.1);
}

.services,
.laboratories,
.programs,
.partners,
.contact {
    padding: 90px 0;
}

.services {
    padding-top: 100px;
}

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

.service-card,
.program-card,
.contact-card,
.lab-section {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.service-header,
.program-header,
.lab-header {
    padding: 1rem 1.4rem;
    color: #fff;
    font-family: "Sora", "Plus Jakarta Sans", sans-serif;
    letter-spacing: 0.01em;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.service-header.industry,
.program-header.internship,
.lab-header.ev {
    background: linear-gradient(120deg, #ea7d45, #d45c22);
}

.service-header.education,
.program-header.placement,
.lab-header.automation,
.lab-header.programs {
    background: linear-gradient(120deg, var(--brand), var(--brand-strong));
}

.service-header h3,
.program-header h3,
.lab-header h2 {
    margin: 0;
    font-size: 1.2rem;
}

.lab-header h2 {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.service-list,
.program-content {
    padding: 1.5rem;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.75rem 0.8rem;
    border-radius: var(--radius-sm);
    transition: background 0.25s ease, transform 0.25s ease;
}

.service-item i {
    color: var(--brand);
}

.service-item span {
    color: var(--ink);
    font-weight: 600;
}

.service-item:hover {
    background: var(--surface-muted);
    transform: translateX(6px);
}

.laboratories {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(236, 242, 248, 0.95));
}

.laboratories .container {
    display: grid;
    gap: 1.6rem;
}

.lab-content {
    padding: 1.5rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4rem;
    align-items: start;
}

.lab-content.programs-content {
    grid-template-columns: 1fr;
}

.lab-text p,
.program-content p {
    color: var(--ink-soft);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    margin-top: 1rem;
}

.feature {
    padding: 0.6rem 0.75rem;
    border-radius: var(--radius-sm);
    background: var(--surface-muted);
    color: var(--ink);
    font-size: 0.9rem;
}

.lab-images .main-image,
.program-content img {
    border-radius: var(--radius-md);
    width: 100%;
    height: 240px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(16, 35, 59, 0.18);
}

.small-images {
    margin-top: 0.65rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
}

.small-images img {
    width: 100%;
    height: 84px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.8rem;
}

.program-item {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 0.85rem 0.95rem;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--ink);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.program-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 18px rgba(16, 35, 59, 0.12);
}

.program-highlights {
    margin-top: 1rem;
    background: linear-gradient(120deg, #10233b, #15395f);
    color: #e7f0ff;
    border-radius: var(--radius-md);
    padding: 1.4rem;
}

.program-highlights h3 {
    margin-bottom: 0.65rem;
    font-size: 1.15rem;
}

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

.highlight-column p {
    margin-bottom: 0.45rem;
    font-size: 0.92rem;
}

.programs {
    background: transparent;
}

.program-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.6rem;
}

.program-card {
    overflow: hidden;
    transition: transform 0.22s ease;
}

.program-card:hover {
    transform: translateY(-5px);
}

.program-header h3 {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.program-features {
    display: grid;
    gap: 0.55rem;
}

.program-features .feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
}

.program-features i {
    color: var(--brand);
}

.partners {
    background: linear-gradient(120deg, #0f2a45, #15395f 52%, #1d466f);
    color: #fff;
}

.partners .section-header h2,
.partners .section-header p {
    color: #fff;
}

.partners .section-header p {
    opacity: 0.82;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.8rem;
    align-items: stretch;
}

.partner-logo {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    padding: 0.8rem;
    min-height: 98px;
    display: grid;
    place-items: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.partner-logo img {
    width: 110px;
    height: 56px;
    object-fit: contain;
}

.partner-logo:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.14);
}

.contact {
    background: linear-gradient(180deg, #0b1f35, #0c2742);
    color: #e8f2ff;
}

.contact-header p {
    color: #bfd4ea;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.contact-card {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    padding: 1.5rem;
}

.contact-card h3 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-info {
    display: grid;
    gap: 0.95rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.info-item i {
    color: var(--accent);
    margin-top: 0.28rem;
}

.info-item strong {
    display: block;
    margin-bottom: 0.2rem;
    color: #fff;
}

.info-item p {
    color: #c7d8ea;
}

.cta-section {
    border-radius: var(--radius-lg);
    padding: 1.8rem;
    background: linear-gradient(120deg, rgba(229, 106, 46, 0.95), rgba(188, 80, 26, 0.98));
    box-shadow: 0 20px 36px rgba(188, 80, 26, 0.35);
}

.cta-section h3 {
    font-family: "Sora", "Plus Jakarta Sans", sans-serif;
    font-size: clamp(1.35rem, 2vw, 1.7rem);
    margin-bottom: 0.6rem;
    color: #fff;
}

.cta-section p {
    color: #ffe5d8;
    margin-bottom: 1.2rem;
}

.btn-cta {
    background: #fff;
    color: #8d3d16;
    border: none;
    padding: 0.88rem 1.15rem;
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: 0.01em;
    cursor: pointer;
}

.btn-cta:hover {
    transform: translateY(-2px);
}

.footer {
    background: #f6f9fe;
    color: var(--ink-soft);
    border-top: 1px solid var(--line);
    padding: 1.9rem 0;
}

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

.footer-logo {
    margin-bottom: 0.8rem;
    display: flex;
    justify-content: center;
}

.footer-logo-image {
    height: 42px;
}

.footer p {
    margin: 0.35rem 0;
}

.tagline {
    color: #71839a;
    font-size: 0.9rem;
}

.fade-in {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1100px) {
    .partners-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .program-cards-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    body {
        padding-top: 74px;
    }

    .nav-wrapper {
        min-height: 74px;
    }

    .nav-desktop {
        display: none;
    }

    .mobile-menu-btn {
        display: inline-grid;
        place-items: center;
    }

    .nav-mobile {
        padding: 0 4% 0.85rem;
        display: none;
    }

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

    .mobile-nav-wrapper {
        background: #fff;
        border: 1px solid var(--line);
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-sm);
        overflow: hidden;
    }

    .mobile-nav-wrapper .logo {
        display: none;
    }

    .mobile-links {
        display: grid;
    }

    .mobile-links a {
        padding: 0.95rem 1rem;
        text-decoration: none;
        color: var(--ink);
        font-weight: 700;
        border-top: 1px solid var(--line);
    }

    .mobile-links a:first-child {
        border-top: none;
    }

    .hero {
        padding: 88px 0 74px;
    }

    .hero-content,
    .services-grid,
    .lab-content,
    .contact-grid,
    .highlights-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .carousel-container {
        height: 280px;
    }

    .programs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .partners-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .logo-image {
        height: 44px;
    }

    .hero-text p,
    .section-header p,
    .contact-header p {
        font-size: 0.97rem;
    }

    .services,
    .laboratories,
    .programs,
    .partners,
    .contact {
        padding: 70px 0;
    }

    .carousel-container {
        height: 230px;
    }

    .programs-grid,
    .partners-grid,
    .small-images {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lab-images .main-image,
    .program-content img {
        height: 200px;
    }

    .btn,
    .btn-cta {
        width: 100%;
        justify-content: center;
    }
}
