@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
    --green: #51B249;
    --yellow: #FAD019;
    --orange: #FB8402;
    --violet: #A930A1;
    --blue: #0A88F6;
    --ink: #101114;
    --paper: #fffef9;
    --muted: #5e6370;
    --line: #e7e8ee;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', 'Trebuchet MS', sans-serif;
    color: var(--ink);
    line-height: 1.65;
    background: radial-gradient(circle at 15% 0%, #fff4d6 0%, rgba(255, 244, 214, 0) 50%),
        radial-gradient(circle at 85% 12%, #e1f3ff 0%, rgba(225, 243, 255, 0) 55%),
        linear-gradient(165deg, #ffffff 0%, #f8fafc 45%, #f6f7fb 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Keep cursor behavior consistent: default on text, pointer on interactive controls. */
body,
p,
li,
h1,
h2,
h3,
h4,
h5,
h6,
span,
strong,
small {
    cursor: default;
}

a,
button,
[role="button"],
input[type="submit"],
input[type="button"] {
    cursor: pointer;
}

input,
textarea,
select {
    cursor: text;
}

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

.bg-orbs {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 999px;
    opacity: 0.18;
    filter: blur(2px);
    animation: float 14s ease-in-out infinite;
}

.orb-green { background: var(--green); width: 280px; height: 280px; top: 12%; left: -120px; }
.orb-yellow { background: var(--yellow); width: 220px; height: 220px; top: 68%; left: 8%; animation-delay: 1.8s; }
.orb-orange { background: var(--orange); width: 300px; height: 300px; top: -90px; right: 14%; animation-delay: 2.4s; }
.orb-violet { background: var(--violet); width: 200px; height: 200px; top: 48%; right: -80px; animation-delay: 0.7s; }
.orb-blue { background: var(--blue); width: 260px; height: 260px; top: 76%; right: 20%; animation-delay: 3s; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, 0.86);
    border-bottom: 1px solid rgba(16, 17, 20, 0.08);
}

.nav-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.2rem;
    padding: 0.8rem 0;
}

.brand {
    text-decoration: none;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    letter-spacing: 0.03em;
}

.brand img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    transition: transform 260ms ease, filter 260ms ease;
}

.brand:hover img {
    transform: rotate(-6deg) scale(1.07);
    filter: drop-shadow(0 8px 12px rgba(10, 136, 246, 0.28));
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

nav a {
    text-decoration: none;
    color: #2b2f39;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transition: 220ms ease;
}

nav a::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 6px;
    height: 2px;
    background: linear-gradient(90deg, var(--blue), var(--violet));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 240ms ease;
}

nav a:hover {
    color: #000;
    background: #f0f2f8;
}

nav a:hover::after {
    transform: scaleX(1);
}

main {
    padding: 1.4rem 0 0;
}

.hero {
    display: grid;
    grid-template-columns: 1.25fr 0.9fr;
    gap: 1.5rem;
    align-items: stretch;
    margin-top: 1rem;
}

.hero-copy,
.hero-panel,
.section-card {
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(16, 17, 20, 0.08);
    box-shadow: 0 18px 50px rgba(12, 17, 35, 0.08);
}

.hero-copy {
    padding: clamp(1.35rem, 2vw, 2rem);
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.78rem;
    color: var(--muted);
    margin: 0 0 0.65rem;
}

.hero h1 {
    margin: 0;
    font-family: 'Sora', sans-serif;
    line-height: 1.08;
    font-size: clamp(2rem, 4.3vw, 3.8rem);
}

.hero h1 span {
    color: var(--blue);
    text-shadow: 0 0 16px rgba(10, 136, 246, 0.25);
}

.hero p {
    color: #313641;
    margin: 1rem 0 0;
    max-width: 62ch;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.35rem;
}

.btn {
    text-decoration: none;
    font-weight: 700;
    padding: 0.78rem 1.15rem;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    transition: 220ms ease;
}

.btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -130%;
    width: 120%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: skewX(-18deg);
    transition: left 360ms ease;
}

.btn-primary {
    background: linear-gradient(140deg, var(--ink), #293043);
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(16, 17, 20, 0.25);
}

.btn:hover::after {
    left: 120%;
}

.btn-ghost {
    border: 1px solid #ccd0da;
    color: #1f2430;
    background: #fff;
}

.btn-ghost:hover {
    border-color: #99a2b7;
}

.hero-panel {
    padding: 1.3rem;
    background: linear-gradient(155deg, #ffffff 0%, #f8f9fd 65%, #f1f6ff 100%);
}

.hero-panel h2 {
    margin: 0;
    font-family: 'Sora', sans-serif;
}

.hero-panel ul {
    margin: 0.9rem 0 0;
    padding-left: 1.2rem;
}

.hero-panel li {
    margin-bottom: 0.5rem;
}

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

.stats article {
    background: #fff;
    border: 1px solid #e8eaf2;
    border-radius: 14px;
    padding: 0.8rem 0.5rem;
    text-align: center;
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.stats article:hover {
    transform: translateY(-3px);
    border-color: #d5dbeb;
    box-shadow: 0 10px 18px rgba(18, 29, 58, 0.1);
}

.stats strong {
    display: block;
    font-size: 1.45rem;
    font-family: 'Sora', sans-serif;
}

.stats span {
    font-size: 0.82rem;
    color: var(--muted);
}

.section-card {
    margin-top: 1rem;
    padding: clamp(1.1rem, 2vw, 1.9rem);
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    margin-bottom: 1rem;
}

h2 {
    margin: 0;
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.45rem, 2.5vw, 2.05rem);
}

.section-head p,
.section-card > p {
    margin: 0;
    color: var(--muted);
}

.formations-grid,
.services-grid {
    display: grid;
    gap: 0.8rem;
}

.formations-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.formation {
    border-radius: 18px;
    padding: 1rem;
    background: #fff;
    border: 1px solid var(--line);
    position: relative;
    overflow: hidden;
    transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.formation::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 5px;
}

.dep-mp::before { background: var(--yellow); }
.dep-info::before { background: var(--blue); }
.dep-mmi::before { background: var(--violet); }
.dep-rt::before { background: var(--orange); }
.dep-infocom::before { background: var(--green); }
.dep-soon::before { background: linear-gradient(90deg, var(--yellow), var(--green)); }

.formation h3 {
    margin: 0 0 0.4rem;
    font-family: 'Sora', sans-serif;
    transition: color 220ms ease;
}

.formation p {
    margin: 0;
    color: #3f4553;
}

.formation:hover {
    transform: translateY(-4px);
    border-color: #d6dbee;
    box-shadow: 0 14px 24px rgba(22, 30, 50, 0.11);
}

.formation:hover h3 {
    color: #111a35;
}

.services-grid {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.service {
    border-radius: 18px;
    padding: 1rem;
    background: linear-gradient(160deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid var(--line);
    position: relative;
    overflow: hidden;
    transition: 260ms ease;
}

.service::after {
    content: "";
    position: absolute;
    inset: auto -18% -65% auto;
    width: 160px;
    height: 160px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(10, 136, 246, 0.14) 0%, rgba(10, 136, 246, 0) 70%);
    transition: transform 280ms ease;
}

.service:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 25px rgba(31, 35, 49, 0.12);
}

.service:hover::after {
    transform: scale(1.18);
}

.service h3 {
    margin: 0;
    font-family: 'Sora', sans-serif;
    font-size: 1.08rem;
}

.service p {
    margin: 0.5rem 0 0;
    color: #3c4250;
}

.process ol {
    margin: 1rem 0 0;
    padding-left: 1.2rem;
}

.process li {
    padding: 0.35rem 0;
}

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

.contact-card ul {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
}

.contact-card li {
    margin-bottom: 0.5rem;
}

.contact-card a {
    color: var(--blue);
    text-decoration: none;
    position: relative;
}

.contact-card a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 1.5px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 220ms ease;
}

.contact-card a:hover::after {
    transform: scaleX(1);
}

#contact-form {
    display: grid;
    gap: 0.5rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 0.9rem;
}

#contact-form label {
    font-weight: 700;
    font-size: 0.9rem;
}

#contact-form input,
#contact-form textarea {
    width: 100%;
    border-radius: 10px;
    border: 1px solid #cdd3df;
    padding: 0.65rem 0.75rem;
    font: inherit;
    transition: border-color 200ms ease, box-shadow 200ms ease;
}

#contact-form input:hover,
#contact-form textarea:hover {
    border-color: #aeb8d0;
}

#contact-form input:focus,
#contact-form textarea:focus {
    outline: 0;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(10, 136, 246, 0.16);
}

#contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

#contact-form button {
    border: 0;
    border-radius: 10px;
    padding: 0.8rem 1rem;
    font-weight: 700;
    cursor: pointer;
    background: linear-gradient(135deg, var(--blue), #2f56f5);
    color: white;
    transition: 200ms ease;
}

#contact-form button:hover {
    filter: brightness(1.08);
}

footer {
    margin-top: 1.2rem;
    padding: 1.2rem 0 1.8rem;
    text-align: center;
    color: #5f6573;
    font-size: 0.92rem;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-24px) scale(1.04);
    }
}

@media (max-width: 980px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .contact-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .site-header {
        position: static;
    }

    .nav-wrap {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul {
        flex-wrap: wrap;
    }

    .section-head {
        display: block;
    }

    .section-head p {
        margin-top: 0.4rem;
    }

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

@media (max-width: 480px) {
    .hero-copy,
    .hero-panel,
    .section-card {
        border-radius: 18px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        text-align: center;
    }

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