:root {
    --ttei-ink: #122432;
    --ttei-ocean: #0c6d7d;
    --ttei-sun: #f39b1f;
    --ttei-leaf: #18a77e;
    --ttei-fog: #f4f9fb;
    --ttei-white: #ffffff;
}

body {
    font-family: "Manrope", sans-serif;
    color: var(--ttei-ink);
    background:
        radial-gradient(circle at 8% 0%, #dbfbef 0, transparent 36%),
        radial-gradient(circle at 94% 10%, #d9efff 0, transparent 32%),
        linear-gradient(180deg, #faffff 0%, #eef8ff 100%);
}

h1,
h2,
h3,
h4,
h5,
.navbar-brand,
.section-kicker {
    font-family: "Space Grotesk", sans-serif;
}

.top-banner {
    background: linear-gradient(120deg, #0b3d53 0%, #0f8a8f 50%, #1fb47a 100%);
    color: #ecfffb;
    position: relative;
    overflow: hidden;
}

.top-banner::after {
    content: "";
    position: absolute;
    right: -60px;
    top: -45px;
    width: 210px;
    height: 210px;
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    pointer-events: none;
}

.identity-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.identity-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
    padding: 1px;
    background: #ffffff;
    border-radius: 50%;
    flex-shrink: 0;
}

.main-navbar {
    background: #0c1725;
}

.main-navbar .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.55);
}

.main-navbar .navbar-toggler:focus {
    box-shadow: none;
}

.main-navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28244,250,255,0.95%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.main-navbar .nav-link,
.main-navbar .navbar-brand {
    color: #f4faff;
}

.main-navbar .navbar-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 88px;
    height: 88px;
    min-width: 88px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    z-index: 1;
    transition: transform 180ms ease;
}

.main-navbar .navbar-brand:hover,
.main-navbar .navbar-brand:focus-visible {
    transform: scale(1.12);
}

.main-navbar {
    min-height: 88px;
    padding-top: 0;
    padding-bottom: 0;
}

.brand-logo {
    display: block;
    width: 88px;
    height: 88px;
    object-fit: contain;
    border-radius: 50%;
}

.main-navbar .nav-link:hover,
.main-navbar .nav-link:focus,
.main-navbar .nav-link.active,
.main-navbar .dropdown-item:hover {
    color: var(--ttei-sun);
}

@media (max-width: 576px) {
    .main-navbar {
        min-height: 64px;
    }

    .main-navbar .navbar-brand {
        width: 64px;
        height: 64px;
        min-width: 64px;
    }

    .brand-logo {
        width: 64px;
        height: 64px;
    }
}

.stat-card,
.soft-card,
.quick-panel,
.hero-card,
.content-card,
.sidebar-card,
.footer-card {
    border: 0;
    border-radius: 18px;
    box-shadow: 0 14px 35px rgba(16, 52, 73, 0.08);
    background: var(--ttei-white);
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--ttei-ocean);
}

.hero-panel,
.hero-card {
    background: linear-gradient(145deg, rgba(12, 109, 125, 0.96), rgba(20, 142, 113, 0.95));
    color: #effff8;
}

.hero-panel {
    border-radius: 24px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.hero-panel::before {
    content: "";
    position: absolute;
    left: -40px;
    bottom: -60px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
}

.btn-ttei-primary {
    background: var(--ttei-sun);
    border-color: var(--ttei-sun);
    color: #1b1b1b;
    font-weight: 700;
}

.btn-ttei-primary:hover {
    background: #d88715;
    border-color: #d88715;
    color: #101010;
}

.btn-outline-ttei {
    color: #f6fffd;
    border-color: rgba(255, 255, 255, 0.65);
}

.btn-outline-ttei:hover {
    background: #ffffff;
    color: var(--ttei-ocean);
}

.course-chip {
    background: var(--ttei-fog);
    border-radius: 14px;
    padding: 0.85rem 1rem;
    border: 1px solid #d9e8ee;
    font-weight: 600;
}

.map-wrap iframe {
    width: 100%;
    min-height: 430px;
    border: 0;
    border-radius: 16px;
}

.about-media {
    border-radius: 14px;
    border: 1px solid #dbeaf0;
    background: var(--ttei-fog);
}

.objective-list li {
    margin-bottom: 0.9rem;
}

.quick-link {
    font-weight: 700;
    color: #122432;
}

.quick-link:hover {
    color: var(--ttei-ocean);
}

.footer-main {
    background: #0b1521;
}

.footer-card-shell {
    background: #101f2f;
}

.footer-main a {
    color: #ffd68f;
    text-decoration: none;
}

.footer-main a:hover {
    color: #fff0d3;
}

.reveal {
    animation: rise 0.9s ease both;
}

.reveal-delay-1 {
    animation-delay: 0.15s;
}

.reveal-delay-2 {
    animation-delay: 0.3s;
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991.98px) {
    .hero-panel {
        padding: 1.5rem;
    }

    .main-navbar .navbar-nav {
        width: 100%;
    }

    .main-navbar .nav-item,
    .main-navbar .nav-link,
    .main-navbar .dropdown-menu,
    .main-navbar .dropdown-item {
        width: 100%;
    }

    .main-navbar .nav-link,
    .main-navbar .dropdown-item {
        display: block;
        padding-top: 0.7rem;
        padding-bottom: 0.7rem;
    }

    #centres #contact,
    #centres #contact .quick-panel,
    #centres #contact .list-group,
    #centres #contact .quick-link,
    #centres #contact .btn,
    #certificate-verification .btn {
        width: 100%;
    }
}

#home {
    width: 100%;
}