/**
 * ICTECH Solutions - Main Stylesheet
 * Professional corporate training website
 */

:root {
    --primary: #001a4d;
    --secondary: #ff9800;
    --success: #4caf50;
    --danger: #f44336;
    --warning: #ffc107;
    --info: #2196f3;
    --light: #f5f5f5;
    --dark: #333;
    --gray: #999;
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background-color: #fafafa;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: #555;
}

.courses-page-header h1,
.courses-page-header p {
    color: #ffffff;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary);
    text-decoration: none;
}

:focus-visible {
    outline: 3px solid var(--secondary);
    outline-offset: 3px;
}

/* Navigation */
.site-header {
    background: #ffffff;
    position: relative;
    z-index: 10;
}

.header-topbar {
    border-bottom: 1px solid #edf0f5;
    color: #18356d;
    font-size: 0.78rem;
}

.header-topbar-inner {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1.5rem;
    min-height: 34px;
}

.header-contact,
.header-socials {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-contact i,
.header-socials a {
    color: var(--primary);
}

.header-contact i {
    color: var(--secondary);
    margin-right: 0.3rem;
}

.header-socials a {
    font-size: 0.85rem;
}

.header-socials a:hover {
    color: var(--secondary);
}

.navbar {
    background: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0, 26, 77, 0.08);
    padding: 0.2rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.site-logo {
    display: block;
    width: 245px;
    height: 72px;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
}

.site-logo-sidebar {
    width: 220px;
    height: 74px;
    max-width: 100%;
    object-fit: cover;
    object-position: center 46%;
    background: #ffffff;
    border-radius: 4px;
}

.navbar-brand i {
    margin-right: 0.5rem;
    color: var(--secondary);
}

.navbar-dark .navbar-toggler {
    border-color: var(--primary);
}

.navbar-dark .navbar-toggler-icon {
    filter: invert(18%) sepia(40%) saturate(1200%) hue-rotate(180deg);
}

.nav-link {
    margin: 0 0.5rem;
    transition: var(--transition);
    position: relative;
}

.navbar-dark .navbar-nav .nav-link {
    color: var(--primary);
}

.nav-link:hover {
    color: var(--secondary) !important;
}

.nav-link.active {
    color: var(--secondary) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active::after {
    width: 100%;
}

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius);
}

.dropdown-item:hover {
    background-color: var(--secondary);
    color: white;
}

.nav-course-dropdown {
    position: relative;
}

.nav-course-menu {
    min-width: 240px;
    padding: 0.5rem;
    border: 1px solid rgba(0, 26, 77, 0.08);
    border-radius: 10px;
    box-shadow: 0 18px 40px rgba(0, 26, 77, 0.18);
}

.nav-course-menu .dropdown-item {
    border-radius: 8px;
    padding: 0.55rem 0.75rem;
}

.nav-course-mega {
    min-width: 720px;
    max-width: 90vw;
    padding: 1rem;
}

/* Invisible bridge so hover doesn't drop between the toggle and the menu */
.nav-course-mega::before {
    content: "";
    position: absolute;
    top: -24px;
    left: 0;
    right: 0;
    height: 24px;
}

.nav-course-mega-header {
    border-bottom: 1px solid rgba(0, 26, 77, 0.08);
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
}

.nav-course-mega-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.nav-course-mega-col {
    min-width: 0;
}

.nav-course-mega-title {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.4rem;
    padding: 0 0.75rem;
}

.nav-course-mega-col .dropdown-item {
    white-space: normal;
}

.nav-course-mega-empty {
    font-size: 0.82rem;
    color: #9aa3b2;
    font-style: italic;
    padding: 0.2rem 0.75rem;
    margin: 0;
}

.nav-search-item {
    margin-left: 0.6rem;
    display: flex;
    align-items: center;
}

.header-course-search {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    border: 1px solid #d9dfeb;
    border-radius: 999px;
    padding: 0.28rem 0.38rem 0.28rem 0.72rem;
    min-width: 290px;
    background: #fff;
}

.header-course-suggestion-list {
    position: absolute;
    z-index: 1050;
    top: calc(100% + 0.35rem);
    left: 0;
    right: 0;
    padding: 0.35rem;
    border: 1px solid #d9dfeb;
    border-radius: 0.7rem;
    background: #fff;
    box-shadow: 0 0.5rem 1.25rem rgba(11, 38, 74, 0.18);
}

.header-course-suggestion {
    display: block;
    width: 100%;
    border: 0;
    border-radius: 0.45rem;
    padding: 0.55rem 0.7rem;
    background: transparent;
    color: var(--primary);
    text-align: left;
    font-size: 0.82rem;
}

.header-course-suggestion small {
    display: block;
    margin-top: 0.15rem;
    color: #6b7280;
    font-size: 0.72rem;
}

.header-course-suggestion:hover,
.header-course-suggestion:focus-visible {
    background: #eef4ff;
    outline: 0;
}

.header-course-search i {
    color: #6b7280;
}

.header-course-search input {
    border: 0;
    outline: 0;
    width: 100%;
    min-width: 0;
    font-size: 0.9rem;
}

.header-course-search button {
    border: 0;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 0.42rem 0.85rem;
}

.header-course-search button:hover {
    background: #003d99;
}

@media (min-width: 992px) {
    .navbar-nav {
        align-items: center;
    }

    .navbar-nav .nav-link {
        margin-inline: 0.38rem;
        white-space: nowrap;
    }

    .header-course-search {
        min-width: 270px;
    }

    .nav-course-dropdown:hover > .nav-course-menu {
        display: block;
    }

    /* Break out of the li so the mega menu can be centred on the page, not the toggle */
    .nav-course-dropdown {
        position: static;
    }

    .nav-course-mega {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 991.98px) {
    .nav-search-item {
        margin-top: 0.65rem;
        margin-left: 0;
        width: 100%;
    }

    .header-course-search {
        width: 100%;
        min-width: 0;
    }

    .nav-course-menu {
        position: static !important;
        float: none;
        width: 100%;
        box-shadow: none;
        margin-top: 0.2rem;
        display: none;
    }

    .nav-course-mega {
        min-width: 0;
        max-width: none;
    }

    .nav-course-mega-columns {
        grid-template-columns: 1fr;
    }

    .nav-course-dropdown.menu-open > .nav-course-menu {
        display: block;
    }
}

/* Buttons */
.btn {
    border-radius: var(--border-radius);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border: none;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #003d99 100%);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #003d99 0%, var(--primary) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.btn-secondary {
    background: var(--secondary);
    color: white;
}

.btn-secondary:hover {
    background: #e68900;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: white;
}

.btn-warning {
    background: var(--secondary);
    border: none;
    color: white;
}

.btn-warning:hover {
    background: #e68900;
    color: white;
}

.admin-shell {
    background: linear-gradient(180deg, #f5f7ff 0%, #eef3fb 100%);
    min-height: 100vh;
    color: var(--dark);
}

.admin-shell main.container {
    max-width: 1380px;
}

.admin-page-header {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 26, 77, 0.08);
    box-shadow: 0 10px 25px rgba(0, 26, 77, 0.06);
    border-radius: 24px;
    padding: 1.5rem 1.75rem;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(8px);
}

.admin-page-header .eyebrow {
    color: var(--secondary);
    letter-spacing: 0.18em;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
}

.admin-page-header h1 {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 0;
}

.admin-page-header p:last-child {
    margin-bottom: 0;
}

.admin-panel-card,
.admin-shell .card {
    border: 1px solid rgba(0, 26, 77, 0.08);
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(16, 36, 90, 0.06);
    background: #ffffff;
    overflow: hidden;
}

.admin-shell .card-body {
    padding: 1.4rem 1.5rem;
}

.admin-stat-card {
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid rgba(0, 26, 77, 0.08);
    box-shadow: 0 10px 20px rgba(0, 26, 77, 0.04);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

a.admin-stat-card:hover, a.admin-stat-card:focus {
    transform: translateY(-3px);
    box-shadow: 0 14px 26px rgba(0, 26, 77, 0.1);
    border-color: rgba(0, 26, 77, 0.16);
}

.admin-stat-card .card-body {
    padding: 1.2rem 1.1rem;
}

.admin-stat-card i {
    font-size: 1.5rem;
}

.admin-stat-card .h3 {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 0.15rem;
}

.admin-shell .form-control,
.admin-shell .form-select {
    border-radius: 12px;
    border: 1px solid #dfe7f5;
    background: #f9fbff;
    padding: 0.72rem 0.9rem;
    min-height: 46px;
}

.admin-shell .form-control:focus,
.admin-shell .form-select:focus {
    border-color: rgba(0, 26, 77, 0.35);
    box-shadow: 0 0 0 3px rgba(0, 26, 77, 0.08);
}

.admin-shell label.form-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.admin-shell .btn {
    border-radius: 12px;
    padding: 0.7rem 1.2rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.admin-shell .table {
    margin-bottom: 0;
}

.admin-shell .table thead th {
    background: #edf2ff;
    color: var(--primary);
    border-bottom: 0;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.8rem 0.9rem;
}

.admin-shell .table tbody td {
    padding: 0.9rem;
    border-color: rgba(0, 26, 77, 0.05);
    vertical-align: middle;
}

.admin-shell .table tbody tr:hover {
    background: rgba(0, 26, 77, 0.02);
}

.admin-shell .badge {
    border-radius: 999px;
    padding: 0.45em 0.7em;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.admin-shell .alert {
    border: 0;
    border-radius: 14px;
    box-shadow: 0 10px 20px rgba(0, 26, 77, 0.05);
    padding: 0.9rem 1rem;
}

.admin-shell code {
    color: var(--primary);
    background: rgba(0, 26, 77, 0.05);
    border-radius: 6px;
    padding: 0.2rem 0.4rem;
}

.admin-app {
    display: flex;
    min-height: 100vh;
    background: linear-gradient(180deg, #f3f6ff 0%, #edf3fb 100%);
}

.admin-sidebar {
    width: 260px;
    min-width: 260px;
    background: linear-gradient(180deg, var(--primary) 0%, #07255f 100%);
    color: #fff;
    box-shadow: 8px 0 25px rgba(0, 26, 77, 0.15);
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    height: 100vh;
    overflow-y: auto;
    padding: 1.2rem 1rem 1rem;
}

.admin-sidebar + .admin-content {
    margin-left: 260px;
}

.admin-sidebar-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 0 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    margin-bottom: 1rem;
}

.sidebar-brand img {
    width: 180px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.18));
}

.admin-user-box {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 0.8rem 0.9rem;
    margin-bottom: 1rem;
}

.admin-user-box .name {
    color: #fff;
    margin: 0;
    font-size: 0.96rem;
    font-weight: 700;
}

.admin-user-box .email {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.74rem;
    margin: 0.25rem 0 0;
    word-break: break-word;
}

.admin-sidebar nav {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.admin-sidebar a {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    padding: 0.76rem 0.8rem;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.admin-sidebar a i {
    width: 18px;
    text-align: center;
}

.admin-sidebar a:hover,
.admin-sidebar a.active {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    transform: translateX(2px);
}

.admin-sidebar .sidebar-footer {
    margin-top: auto;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.sidebar-logout {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.82);
    cursor: pointer;
    display: flex;
    font-weight: 600;
    gap: 0.7rem;
    padding: 0.76rem 0.8rem;
    transition: all 0.2s ease;
    width: 100%;
}

.sidebar-logout:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    transform: translateX(2px);
}

.sidebar-logout i {
    text-align: center;
    width: 18px;
}

.admin-content {
    flex: 1;
    min-width: 0;
}

.admin-topbar {
    background: #fff;
    border-bottom: 1px solid rgba(0, 26, 77, 0.08);
    box-shadow: 0 8px 18px rgba(0, 26, 77, 0.04);
    position: sticky;
    top: 0;
    z-index: 20;
}

.admin-topbar-inner {
    min-height: 78px;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.admin-topbar .brand-mark {
    color: var(--primary);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.admin-topbar .brand-mark i {
    color: var(--secondary);
    margin-right: 0.45rem;
}

.admin-topbar .admin-user-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 26, 77, 0.04);
    border: 1px solid rgba(0, 26, 77, 0.08);
    border-radius: 999px;
    padding: 0.5rem 0.8rem;
    color: var(--primary);
    font-weight: 600;
}

.admin-content-body {
    padding: 1.6rem 1.5rem 2rem;
}

@media (max-width: 991.98px) {
    .header-topbar-inner {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.5rem 1rem;
        padding: 0.6rem 1rem;
    }

    .header-contact {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem 1rem;
    }

    .navbar-brand {
        font-size: 1.25rem;
    }

    .site-logo {
        width: 215px;
        height: 64px;
    }

    .admin-app {
        flex-direction: column;
    }

    .admin-sidebar {
        width: 100%;
        min-width: 100%;
        height: auto;
        position: relative;
        left: auto;
        bottom: auto;
        padding-bottom: 0.6rem;
    }

    .admin-sidebar + .admin-content {
        margin-left: 0;
    }

    .admin-sidebar nav {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }

    .admin-sidebar .sidebar-footer {
        margin-top: 0.8rem;
    }
}

@media (max-width: 767.98px) {
    .header-topbar {
        font-size: 0.72rem;
    }

    .header-topbar-inner {
        padding: 0.5rem 0.75rem;
    }

    .site-logo {
        width: 188px;
        height: 56px;
    }

    .admin-page-header {
        padding: 1.2rem 1rem;
    }

    .admin-page-header .d-flex {
        display: block !important;
    }

    .admin-page-header .d-flex .btn,
    .admin-page-header .d-flex .gap-2 {
        width: 100%;
    }

    .admin-topbar-inner {
        padding: 0.75rem 1rem;
        min-height: auto;
        flex-wrap: wrap;
    }

    .admin-content-body {
        padding: 1rem;
    }
}

/* Hero Section */
.hero {
    color: white;
    position: relative;
    overflow: hidden;
    min-height: clamp(430px, 42vw, 640px);
    background: var(--primary);
}

.hero-track {
    position: relative;
    height: clamp(430px, 42vw, 640px);
}

.hero-slide {
    background-image: linear-gradient(90deg, rgba(0, 26, 77, 0.84) 0%, rgba(5, 68, 157, 0.38) 52%, rgba(5, 68, 157, 0.1) 100%), var(--hero-image);
    background-size: cover;
    background-position: center;
    position: absolute;
    inset: 0;
    width: 100%;
    min-height: clamp(430px, 42vw, 640px);
    display: flex;
    align-items: center;
    transition: transform 1s ease-in-out;
    will-change: transform;
}

.hero-slide-content {
    position: relative;
    z-index: 2;
}

.hero-copy {
    max-width: 650px;
}

.hero-slider .container {
    padding-left: clamp(1rem, 3vw, 2.5rem);
    padding-right: clamp(1rem, 3vw, 2.5rem);
}

.hero-data-slide {
    background-image: linear-gradient(90deg, rgba(0, 26, 77, 0.96) 0%, rgba(0, 42, 102, 0.7) 48%, rgba(5, 68, 157, 0.16) 100%), var(--hero-image);
    background-position: 42% center;
    background-size: 118% auto;
}

.hero-data-slide h1,
.hero-data-slide p {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.hero-video-slide {
    background-image: linear-gradient(90deg, rgba(0, 26, 77, 0.84) 0%, rgba(5, 68, 157, 0.38) 52%, rgba(5, 68, 157, 0.1) 100%), var(--hero-image);
}

.hero-ai-slide .hero-slide-overlay {
    background: linear-gradient(90deg, rgba(0, 12, 36, 0.9) 0%, rgba(0, 32, 82, 0.72) 48%, rgba(5, 68, 157, 0.18) 100%);
}

.hero-ai-slide h1,
.hero-ai-slide p {
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.hero-slide-media,
.hero-slide-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-slide-media {
    object-fit: cover;
    background-image: var(--hero-image);
    background-position: center;
    background-size: cover;
}

.hero-slide-overlay {
    background: linear-gradient(90deg, rgba(0, 26, 77, 0.84) 0%, rgba(5, 68, 157, 0.38) 52%, rgba(5, 68, 157, 0.1) 100%);
}

.slider-prev,
.slider-next {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    background: rgba(0, 26, 77, 0.45);
    color: white;
    transform: translateY(-50%);
    transition: var(--transition);
}

.slider-prev { left: 1.5rem; }
.slider-next { right: 1.5rem; }
.slider-prev:hover,
.slider-next:hover { background: var(--secondary); border-color: var(--secondary); }

.slider-dots {
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    z-index: 3;
    display: flex;
    gap: 0.5rem;
    transform: translateX(-50%);
}

.slider-dot {
    width: 28px;
    height: 4px;
    padding: 0;
    border: 0;
    background: rgba(255, 255, 255, 0.5);
    transition: var(--transition);
}

.slider-dot.active { background: var(--secondary); width: 44px; }

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    width: auto;
    height: 72px;
    background: linear-gradient(to bottom, var(--primary) 0%, rgba(0, 26, 77, 0.88) 42%, rgba(0, 26, 77, 0) 100%);
    pointer-events: none;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 72px;
    background: linear-gradient(to top, var(--primary) 0%, rgba(0, 26, 77, 0.88) 42%, rgba(0, 26, 77, 0) 100%);
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-kicker,
.section-subtitle {
    color: var(--secondary);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.6rem;
}

.hero h1 {
    font-size: 3rem;
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons .btn {
    margin-right: 1rem;
    margin-bottom: 1rem;
}

.hero-visual {
    height: 285px;
    position: relative;
    max-width: 500px;
    margin-left: auto;
}

.hero-globe {
    position: absolute;
    right: 12%;
    top: 2%;
    width: 230px;
    height: 230px;
    border: 10px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #60b9ff, #0a54b5 58%, #041c56);
    box-shadow: 0 0 55px rgba(99, 196, 255, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.85);
    font-size: 7rem;
}

.hero-screen {
    position: absolute;
    bottom: 0;
    left: 5%;
    width: 210px;
    height: 120px;
    transform: perspective(500px) rotateY(18deg) rotateX(3deg);
    border: 8px solid #10245a;
    border-bottom-width: 14px;
    border-radius: 8px;
    background: linear-gradient(135deg, #0a65c8, #15215b);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff9d22;
    font-size: 3.5rem;
    box-shadow: 0 16px 25px rgba(0, 0, 0, 0.3);
}

.hero-network {
    position: absolute;
    width: 120px;
    height: 2px;
    background: rgba(255, 184, 62, 0.8);
    transform: rotate(-28deg);
}

.hero-network-one { top: 27%; left: 4%; }
.hero-network-two { top: 49%; right: 0; transform: rotate(22deg); }

.service-strip {
    background: #ffffff;
    box-shadow: 0 3px 14px rgba(0, 26, 77, 0.1);
    position: relative;
    z-index: 2;
    padding: 0;
}

.service-strip > .container {
    max-width: 1180px;
}

.service-item {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    min-height: 132px;
    padding: 1.25rem 1.15rem;
    border-right: 1px solid #edf0f5;
}

.service-item:last-child { border-right: 0; }
.service-icon-tile { flex: 0 0 52px; width: 52px; min-width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; border-radius: 7px; background: #f0f4fa; }
.service-icon { color: var(--primary); font-size: 1.65rem; }
.service-item h4 { font-size: 0.9rem; margin: 0 0 0.25rem; }
.service-item p { font-size: 0.72rem; line-height: 1.35; margin: 0 0 0.4rem; color: #667085; }
.service-item a { color: var(--secondary); font-size: 0.72rem; font-weight: 700; }

.why-section { padding: 58px 0 52px; background: #ffffff; }
.why-section .section-header { margin-bottom: 2rem; }
.why-section h2 { margin-bottom: 0; }
.why-item { padding: 0 1.25rem; }
.why-item > i { display: inline-flex; width: 58px; height: 58px; align-items: center; justify-content: center; border-radius: 50%; background: #f0f5fc; color: var(--primary); font-size: 1.6rem; margin-bottom: 0.75rem; }
.why-item h4 { font-size: 0.9rem; margin-bottom: 0.35rem; }
.why-item p { font-size: 0.76rem; line-height: 1.4; margin-bottom: 0; }

.partners-row {
    margin-left: -0.75rem;
    margin-right: -0.75rem;
}

.partner-card {
    height: 148px;
    padding: 1rem;
    background: #ffffff;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.partner-logo-frame {
    width: 100%;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo {
    display: block;
    width: 130px;
    height: 58px;
    max-width: none;
    object-fit: contain;
}

.partner-logo-fallback { color: #999; }
.partner-name { color: #555; font-size: 0.82rem; margin: 0.6rem 0 0; }

/* Cards */
.card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.registration-section .card {
    height: auto;
}

.card-header {
    background: linear-gradient(135deg, var(--primary) 0%, #003d99 100%);
    color: white;
    border: none;
    padding: 1.5rem;
}

.card-header h1,
.card-header h2,
.card-header h3,
.card-header h4,
.card-header h5,
.card-header h6 {
    color: inherit;
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.card-text {
    color: #555;
    margin-bottom: 1rem;
}

/* Course content strips stay visible while their panels open independently. */
.course-details-accordion .accordion-item {
    margin-bottom: 0.7rem;
    border: 0;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.course-details-accordion .accordion-button,
.course-details-accordion .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, var(--primary) 0%, #003d99 100%);
    color: #fff;
    font-weight: 600;
    box-shadow: none;
}

.course-details-accordion .accordion-button::after {
    display: none;
}

.course-details-accordion .accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 153, 0, 0.3);
}

.course-details-accordion .accordion-body {
    background: #fff;
}

/* Course Cards */
.course-card {
    border: none;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.course-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary) 0%, #003d99 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    position: relative;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--secondary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.course-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.course-category {
    color: var(--secondary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.course-title {
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.course-description {
    color: #555;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.course-duration {
    color: var(--secondary);
    font-weight: 600;
}

.course-price {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.2rem;
}

.course-footer {
    display: flex;
    gap: 0.5rem;
}

.course-footer .btn {
    flex: 1;
    font-size: 0.85rem;
    padding: 0.5rem;
}

/* Feature Section */
.feature-section {
    padding: 80px 0;
    background: #fafafa;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: var(--border-radius);
    background: white;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.feature-card h4 {
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: #555;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, var(--primary) 0%, #003d99 100%);
    color: white;
    padding: 80px 0;
    margin: 60px 0;
}

.stat-box {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Testimonial Section */
.testimonial-section {
    padding: 70px 0 78px;
    background: linear-gradient(180deg, #f4f7fb 0%, #ffffff 100%);
}

.testimonial-card {
    position: relative;
    min-height: 275px;
    background: white;
    padding: 2.25rem 3rem 2rem;
    border-radius: 10px;
    box-shadow: 0 12px 34px rgba(0, 26, 77, 0.1);
    border-top: 4px solid var(--secondary);
    transition: var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
}

.testimonial-section .carousel-inner {
    overflow: hidden;
    border-radius: 10px;
}

.testimonial-section .carousel-item {
    padding: 0 0.25rem;
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.25rem;
}

.testimonial-avatar {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--secondary);
    margin-right: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    overflow: hidden;
    border: 4px solid #edf3fb;
    box-shadow: 0 4px 12px rgba(0, 26, 77, 0.15);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-info h5 {
    margin-bottom: 0.35rem;
    color: var(--primary);
    font-size: 1.1rem;
}

.testimonial-label {
    color: var(--secondary);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.testimonial-role {
    font-size: 0.85rem;
    color: var(--secondary);
    font-weight: 600;
}

.testimonial-rating {
    color: var(--secondary);
    font-size: 0.9rem;
    margin: 0 0 0.8rem 5.75rem;
}

.testimonial-text {
    position: relative;
    z-index: 1;
    color: #33445f;
    font-size: 1.05rem;
    line-height: 1.75;
    font-style: italic;
    margin: 0 0 1.25rem;
    max-width: 690px;
}

.testimonial-quote-mark {
    position: absolute;
    top: 112px;
    left: 1.5rem;
    color: #e8eef8;
    font-size: 2rem;
}

.testimonial-rule {
    width: 52px;
    height: 3px;
    background: var(--secondary);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(100deg, #0649a7 0%, #0b5cc2 55%, #ff7600 100%);
    color: white;
    padding: 28px 0;
    text-align: center;
    border-radius: 0;
}

.cta-section h2 {
    color: white;
    margin-bottom: 1.5rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.form-control {
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    transition: var(--transition);
}

.courses-sidebar {
    min-width: 0;
    align-self: flex-start;
}

.courses-sidebar .card,
.courses-sidebar .card-body,
.courses-sidebar .list-group {
    max-width: 100%;
    min-width: 0;
}

.courses-sidebar .list-group-item {
    overflow-wrap: anywhere;
    white-space: normal;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(0, 26, 77, 0.25);
}

.password-field { position: relative; }
.password-field .form-control { padding-right: 3rem; }
.password-toggle { position: absolute; top: 50%; right: 0.75rem; transform: translateY(-50%); border: 0; background: transparent; color: #718096; cursor: pointer; }
.password-toggle:hover { color: var(--primary); }
.password-rules { display: grid; grid-template-columns: 1fr 1fr; gap: 0.25rem 0.75rem; margin-top: 0.55rem; font-size: 0.75rem; color: #8a94a6; }
.password-rules span { transition: color 0.2s ease; }
.password-rules i { margin-right: 0.25rem; }
.password-rules span.met { color: #198754; }

.form-control::placeholder {
    color: #999;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-error {
    color: var(--danger);
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.form-success {
    color: var(--success);
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

/* Alerts */
.alert {
    border-radius: var(--border-radius);
    border: none;
    padding: 1rem 1.5rem;
}

.alert-info {
    background: #e3f2fd;
    color: #1976d2;
}

.alert-success {
    background: #e8f5e9;
    color: #388e3c;
}

.alert-warning {
    background: #fff3e0;
    color: #f57c00;
}

.alert-danger {
    background: #ffebee;
    color: #d32f2f;
}

/* Tables */
.table {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.table thead {
    background: linear-gradient(135deg, var(--primary) 0%, #003d99 100%);
    color: white;
}

.table th {
    border: none;
    padding: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.table td {
    padding: 1rem;
    border-color: #eee;
    vertical-align: middle;
}

.table tbody tr:hover {
    background: #f5f5f5;
}

/* Pagination */
.pagination {
    margin-top: 2rem;
}

.page-link {
    border: 1px solid #ddd;
    color: var(--primary);
    transition: var(--transition);
}

.page-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
}

/* Badges */
.badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
}

.badge-primary {
    background: var(--primary);
}

.badge-secondary {
    background: var(--secondary);
}

.badge-success {
    background: var(--success);
}

.badge-danger {
    background: var(--danger);
}

.badge-warning {
    background: var(--warning);
    color: var(--dark);
}

/* Footer */
footer {
    background: linear-gradient(135deg, #001a4d 0%, #003d99 100%);
    color: white;
    margin-top: 80px;
}

footer h5,
footer h6 {
    color: #ffffff;
}

footer p,
footer small {
    color: #f1f1f1;
}

footer a {
    color: #ffffff;
    transition: var(--transition);
}

footer a:hover {
    color: var(--secondary);
}

.text-light-footer {
    color: #ffffff !important;
}

.text-light-footer:hover {
    color: var(--secondary) !important;
}

.social-links a {
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--secondary);
    transform: translateY(-3px);
}

.whatsapp-float {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 20;
    min-width: 58px;
    height: 58px;
    padding: 0 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    border-radius: 50%;
    background: #25d366;
    color: #ffffff;
    font-size: 2rem;
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.25);
    transition: var(--transition);
}

.whatsapp-float span {
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
}

.whatsapp-float:hover {
    color: #ffffff;
    background: #1da851;
    transform: translateY(-4px);
}

@media (min-width: 480px) {
    .whatsapp-float {
        border-radius: 999px;
    }
}

@media (max-width: 479px) {
    .whatsapp-float {
        width: 58px;
        padding: 0;
        border-radius: 50%;
    }

    .whatsapp-float span {
        display: none;
    }
}

/* Sections */
section {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.section-description {
    color: #555;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Utilities */
.text-primary {
    color: var(--primary) !important;
}

.text-secondary {
    color: var(--secondary) !important;
}

.bg-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #003d99 100%) !important;
}

.bg-secondary {
    background: var(--secondary) !important;
}

.bg-light {
    background: var(--light) !important;
}

.py-80 {
    padding-top: 80px;
    padding-bottom: 80px;
}

.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 2rem; }

.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 2rem; }

/* About Page */
.about-page-header {
    min-height: 250px;
    display: flex;
    align-items: center;
    color: #ffffff;
    background-image: linear-gradient(100deg, rgba(0, 26, 77, 0.96), rgba(0, 61, 153, 0.78)), url('../images/hero-tech.jpg');
    background-size: cover;
    background-position: center;
}

.about-page-header-content {
    max-width: 680px;
}

.about-page-header h1,
.about-page-header p {
    color: #ffffff;
}

.about-page-header h1 {
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.12;
    margin-bottom: 0.75rem;
}

.about-page-header p {
    font-size: 1.1rem;
    margin-bottom: 0;
    opacity: 0.9;
}

.about-overview {
    background: #ffffff;
}

.about-overview-copy {
    max-width: 570px;
}

.about-overview-copy h2 {
    margin-bottom: 1.25rem;
}

.about-overview-copy p:last-child {
    margin-bottom: 0;
}

.about-overview-visual {
    min-height: 330px;
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    background: var(--primary);
}

.about-overview-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 26, 77, 0.08), rgba(0, 26, 77, 0.5));
}

.about-overview-visual img {
    width: 100%;
    height: 100%;
    min-height: 330px;
    display: block;
    object-fit: cover;
}

.about-overview-badge {
    position: absolute;
    z-index: 1;
    left: 1.5rem;
    bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 1rem;
    color: #ffffff;
    background: rgba(0, 26, 77, 0.9);
    border-left: 4px solid var(--secondary);
}

.about-overview-badge strong {
    color: var(--secondary);
    font-size: 1.7rem;
    line-height: 1;
}

.about-overview-badge span {
    font-size: 0.82rem;
    font-weight: 600;
}

.about-value-card {
    padding: 0.5rem;
    border-top: 3px solid transparent !important;
}

.about-value-card:hover {
    border-top-color: var(--secondary) !important;
}

.about-value-icon {
    display: inline-flex;
    width: 64px;
    height: 64px;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--secondary);
    font-size: 1.8rem;
    border-radius: 50%;
    background: #fff3e0;
}

.about-benefit {
    height: 100%;
    padding: 1.25rem;
    border-left: 3px solid var(--secondary);
    background: #ffffff;
    box-shadow: var(--shadow);
}

.about-benefit-icon {
    flex: 0 0 42px;
    margin-right: 1rem;
    color: var(--secondary);
    font-size: 1.6rem;
    text-align: center;
}

.about-benefit h5 {
    margin-bottom: 0.45rem;
}

.about-benefit p {
    margin-bottom: 0;
}

/* Services Page */
.services-page-header {
    min-height: 250px;
    display: flex;
    align-items: center;
    color: #ffffff;
    background-image: linear-gradient(100deg, rgba(0, 26, 77, 0.96), rgba(0, 61, 153, 0.78)), url('../images/hero-tech.jpg');
    background-size: cover;
    background-position: center;
}

.services-page-header-content {
    max-width: 720px;
}

.services-page-header h1,
.services-page-header p {
    color: #ffffff;
}

.services-page-header h1 {
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.12;
    margin-bottom: 0.75rem;
}

.services-page-header p {
    font-size: 1.1rem;
    margin-bottom: 0;
    opacity: 0.9;
}

.service-card {
    border-top: 3px solid transparent !important;
}

.service-card:hover {
    border-top-color: var(--secondary) !important;
}

.service-card-header {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    min-height: 88px;
    padding: 1rem 1.25rem;
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary), #0754b8);
}

.service-card-header h5 {
    color: #ffffff;
    font-size: 1.05rem;
}

.service-card-icon {
    display: inline-flex;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 1.2rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
}

.service-card-body {
    display: flex;
    flex-direction: column;
    padding: 1.5rem 1.25rem 1.25rem;
}

.service-card-body p {
    min-height: 76px;
}

.service-list {
    margin-bottom: 0;
}

.service-list li {
    margin-bottom: 0.4rem;
}

.service-list li:last-child {
    margin-bottom: 0;
}

.service-card-body .btn {
    align-self: flex-start;
    margin-top: auto !important;
}

.service-benefit {
    height: 100%;
    padding: 1.5rem 1.25rem;
    text-align: center;
    background: #ffffff;
    border-top: 3px solid var(--secondary);
    box-shadow: var(--shadow);
}

.service-benefit-icon {
    display: inline-flex;
    width: 62px;
    height: 62px;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--secondary);
    font-size: 1.8rem;
    border-radius: 50%;
    background: #fff3e0;
}

.service-benefit p {
    margin-bottom: 0;
}

/* Resources Page */
.resources-page-header {
    min-height: 250px;
    display: flex;
    align-items: center;
    color: #ffffff;
    background-image: linear-gradient(100deg, rgba(0, 26, 77, 0.96), rgba(0, 61, 153, 0.78)), url('../images/hero-tech.jpg');
    background-size: cover;
    background-position: center;
}

.resources-page-header-content {
    max-width: 720px;
}

.resources-page-header h1,
.resources-page-header p {
    color: #ffffff;
}

.resources-page-header h1 {
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.12;
    margin-bottom: 0.75rem;
}

.resources-page-header p {
    font-size: 1.1rem;
    margin-bottom: 0;
    opacity: 0.9;
}

.resource-card {
    border-top: 3px solid transparent !important;
}

.resource-card:hover {
    border-top-color: var(--secondary) !important;
}

.resource-card-header {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    min-height: 88px;
    padding: 1rem 1.25rem;
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary), #0754b8);
}

.resource-card-header h5 {
    color: #ffffff;
    font-size: 1.05rem;
}

.resource-card-icon {
    display: inline-flex;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 1.2rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
}

.resource-card-body {
    display: flex;
    flex-direction: column;
    padding: 1.5rem 1.25rem 1.25rem;
}

.resource-card-body p {
    min-height: 76px;
}

.resource-card-body .btn {
    align-self: flex-start;
    margin-top: auto !important;
}

/* Contact Page */
.contact-page-header {
    min-height: 250px;
    display: flex;
    align-items: center;
    color: #ffffff;
    background-image: linear-gradient(100deg, rgba(0, 26, 77, 0.96), rgba(0, 61, 153, 0.78)), url('../images/hero-tech.jpg');
    background-size: cover;
    background-position: center;
}

.contact-page-header-content {
    max-width: 720px;
}

/* Training schedule */
.schedule-page-header {
    min-height: 250px;
    display: flex;
    align-items: center;
    color: #ffffff;
    background-image: linear-gradient(100deg, rgba(0, 26, 77, 0.96), rgba(0, 61, 153, 0.78)), url('../images/hero-tech.jpg');
    background-size: cover;
    background-position: center;
}

.schedule-page-header-content { max-width: 720px; }
.schedule-page-header h1,
.schedule-page-header p { color: #ffffff; }
.schedule-page-header h1 { font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.12; margin-bottom: 0.75rem; }
.schedule-page-header p { font-size: 1.1rem; margin-bottom: 0; opacity: 0.9; }

.schedule-month-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.8rem; }
.schedule-month-tab { display: flex; flex-direction: column; gap: 0.2rem; padding: 0.9rem 1rem; border: 1px solid #d9e0eb; border-radius: var(--border-radius); background: #ffffff; color: var(--primary); text-decoration: none; transition: var(--transition); }
.schedule-month-tab small { color: #748095; }
.schedule-month-tab:hover,
.schedule-month-tab.active { border-color: var(--primary); background: var(--primary); color: #ffffff; transform: translateY(-2px); }
.schedule-month-tab.active small,
.schedule-month-tab:hover small { color: rgba(255, 255, 255, 0.8); }
.schedule-table-wrap { overflow: hidden; border: 1px solid #d9e0eb; border-radius: var(--border-radius); box-shadow: var(--shadow); }
.schedule-table thead th { border: 0; background: linear-gradient(135deg, var(--primary), #0754b8); color: #ffffff; font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; }
.schedule-table tbody td { padding: 1rem 0.9rem; border-color: #e5eaf2; }
.schedule-course { min-width: 280px; color: var(--primary); font-weight: 600; }
.schedule-course a { color: inherit; text-decoration: none; }
.schedule-course a:hover { text-decoration: underline; }
.schedule-venue { color: var(--secondary); font-weight: 600; }
.schedule-status { display: inline-block; border-radius: 999px; padding: 0.28rem 0.55rem; color: #fff; font-size: 0.72rem; font-weight: 700; white-space: nowrap; }
.schedule-status-available, .schedule-status-published { background: #198754; }
.schedule-status-filling_fast { background: #fd7e14; }
.schedule-status-fully_booked { background: #dc3545; }
.schedule-status-cancelled { background: #6c757d; }
.schedule-cards { display: none; }
.schedule-card { margin-bottom: 0.85rem; padding: 1rem; border: 1px solid #d9e0eb; border-radius: var(--border-radius); background: #fff; box-shadow: var(--shadow); }
.schedule-card h3 { margin: 0.8rem 0 0.25rem; color: var(--primary); font-size: 1rem; }
.schedule-card-meta { margin: 0.35rem 0; color: #667085; font-size: 0.85rem; }

@media (max-width: 767.98px) {
    .schedule-month-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .schedule-table-wrap { display: none; }
    .schedule-cards { display: block; }
}

.contact-page-header h1,
.contact-page-header p {
    color: #ffffff;
}

.contact-page-header h1 {
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.12;
    margin-bottom: 0.75rem;
}

.contact-page-header p {
    font-size: 1.1rem;
    margin-bottom: 0;
    opacity: 0.9;
}

.contact-details {
    height: 100%;
    padding: 1.75rem;
    background: #f4f7fb;
    border-left: 4px solid var(--secondary);
}

.contact-intro h2 {
    margin-bottom: 0.5rem;
}

.contact-intro p {
    margin-bottom: 1.75rem;
}

.contact-detail {
    padding: 1rem 0;
    border-top: 1px solid #dfe6f0;
}

.contact-detail h6 {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.4rem !important;
}

.contact-detail h6 i {
    width: 1.1rem;
    text-align: center;
}

.contact-detail p {
    margin: 0 0 0 1.7rem;
}

.contact-detail a {
    color: #334e7d;
}

.contact-detail a:hover {
    color: var(--secondary);
}

.contact-socials {
    padding-top: 1.25rem;
    border-top: 1px solid #dfe6f0;
}

.contact-socials h6 {
    margin-bottom: 0.75rem;
}

.contact-form-card {
    height: 100%;
    overflow: hidden;
}

.contact-form-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.4rem 1.5rem;
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary), #0754b8);
}

.contact-form-header h2 {
    color: #ffffff;
    font-size: 1.35rem;
}

.contact-form-header .section-subtitle {
    color: #ffc266;
    margin-bottom: 0.2rem;
    font-size: 0.72rem;
}

.contact-form-icon {
    display: inline-flex;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 1.2rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
}

.contact-form-card .card-body {
    padding: 1.5rem;
}

.contact-help-card {
    height: 100%;
    padding: 1.5rem 1.25rem;
    text-align: center;
    background: #ffffff;
    border-top: 3px solid var(--secondary);
    box-shadow: var(--shadow);
}

.contact-help-icon {
    display: inline-flex;
    width: 62px;
    height: 62px;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--secondary);
    font-size: 1.8rem;
    border-radius: 50%;
    background: #fff3e0;
}

.contact-help-card p {
    margin-bottom: 0;
}

/* Authentication Pages */
.auth-page-header {
    min-height: 250px;
    display: flex;
    align-items: center;
    color: #ffffff;
    background-image: linear-gradient(100deg, rgba(0, 26, 77, 0.96), rgba(0, 61, 153, 0.78)), url('../images/hero-tech.jpg');
    background-size: cover;
    background-position: center;
}

.auth-page-header-content {
    max-width: 720px;
}

.auth-page-header h1,
.auth-page-header p {
    color: #ffffff;
}

.auth-page-header h1 {
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.12;
    margin-bottom: 0.75rem;
}

.auth-page-header p {
    font-size: 1.1rem;
    margin-bottom: 0;
    opacity: 0.9;
}

.auth-section {
    background: #f7f9fc;
}

.auth-card {
    overflow: hidden;
    border-top: 3px solid var(--secondary) !important;
}

.auth-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.4rem 1.5rem;
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary), #0754b8);
}

.auth-card-header h2 {
    color: #ffffff;
    font-size: 1.35rem;
}

.auth-card-header .section-subtitle {
    color: #ffc266;
    margin-bottom: 0.2rem;
    font-size: 0.72rem;
}

.auth-card-icon {
    display: inline-flex;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 1.2rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
}

.auth-card .card-body {
    padding: 1.5rem;
}

.auth-note {
    border-left: 4px solid var(--info);
}

.registration-section .auth-card {
    max-width: 720px;
    margin: 0 auto;
}

.registration-section > .container > .row > div > .mt-4 {
    max-width: 720px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 1400px) {
    .hero {
        min-height: 580px;
    }

    .hero-track,
    .hero-slide {
        min-height: 580px;
        height: 580px;
    }

    .hero-copy {
        max-width: 760px;
    }

    .hero h1 {
        font-size: 3.75rem;
    }

    .hero p {
        font-size: 1.15rem;
        max-width: 720px;
    }

    .service-strip > .container {
        max-width: 1320px;
    }

    .why-section,
    .partners-section,
    .statistics-section,
    .courses-section {
        padding-top: 72px;
        padding-bottom: 72px;
    }
}

@media (min-width: 1600px) {
    .hero {
        min-height: 640px;
    }

    .hero-track,
    .hero-slide {
        min-height: 640px;
        height: 640px;
    }

    .hero-copy {
        max-width: 820px;
    }

    .hero h1 {
        font-size: 4.2rem;
    }

    .hero p {
        font-size: 1.22rem;
    }

    .service-strip > .container {
        max-width: 1440px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }

    .hero {
        min-height: 430px;
    }

    .hero-track,
    .hero-slide {
        min-height: 430px;
        height: 430px;
    }

    .hero-visual {
        height: 220px;
        margin: 0 auto;
    }

    .hero-globe {
        width: 175px;
        height: 175px;
        right: 10%;
        font-size: 5rem;
    }

    .hero-screen {
        width: 155px;
        height: 88px;
        font-size: 2.5rem;
    }

    .service-item {
        border-right: 0;
        border-bottom: 1px solid #edf0f5;
        padding: 1rem;
    }

    .service-item:last-child { border-bottom: 0; }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    section {
        padding: 40px 0;
    }

    .course-card {
        margin-bottom: 2rem;
    }

    .hero-buttons .btn {
        width: 100%;
        margin-right: 0;
    }

    .slider-prev,
    .slider-next {
        width: 36px;
        height: 36px;
    }

    .slider-prev { left: 0.75rem; }
    .slider-next { right: 0.75rem; }

    .testimonial-card {
        min-height: 0;
        padding: 1.75rem 1.25rem;
    }

    .testimonial-rating {
        margin-left: 0;
    }

    .testimonial-text {
        font-size: 0.98rem;
    }

    .about-page-header {
        min-height: 215px;
    }

    .about-page-header h1 {
        font-size: 2rem;
    }

    .about-overview-visual,
    .about-overview-visual img {
        min-height: 250px;
    }

    .about-benefit {
        padding: 1rem;
    }

    .services-page-header {
        min-height: 215px;
    }

    .services-page-header h1 {
        font-size: 2rem;
    }

    .service-card-body p {
        min-height: 0;
    }

    .resources-page-header {
        min-height: 215px;
    }

    .resources-page-header h1 {
        font-size: 2rem;
    }

    .resource-card-body p {
        min-height: 0;
    }

    .contact-page-header {
        min-height: 215px;
    }

    .contact-page-header h1 {
        font-size: 2rem;
    }

    .contact-details,
    .contact-form-card .card-body {
        padding: 1.25rem;
    }

    .auth-page-header {
        min-height: 215px;
    }

    .auth-page-header h1 {
        font-size: 2rem;
    }

    .auth-card .card-body,
    .auth-card-header {
        padding: 1.25rem;
    }
}

/* Loading Animation */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0, 26, 77, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #003d99;
}

.cookie-notice {
    align-items: center;
    background: linear-gradient(135deg, #001a4d 0%, #082d70 100%);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    bottom: 1.25rem;
    box-shadow: 0 12px 35px rgba(0, 26, 77, 0.28);
    color: #ffffff;
    display: flex;
    gap: 0.9rem;
    left: 1.25rem;
    max-width: 35rem;
    padding: 1rem 1.1rem;
    position: fixed;
    right: auto;
    z-index: 1080;
}

.cookie-notice-icon {
    align-items: center;
    background: rgba(255, 193, 7, 0.16);
    border: 1px solid rgba(255, 193, 7, 0.35);
    border-radius: 10px;
    color: #ffd45a;
    display: flex;
    flex: 0 0 2.6rem;
    font-size: 1.1rem;
    height: 2.6rem;
    justify-content: center;
    width: 2.6rem;
}

.cookie-notice-content {
    flex: 1;
    min-width: 0;
}

.cookie-notice-title {
    color: #ffffff;
    font-size: 0.98rem;
    font-weight: 700;
    margin: 0 0 0.2rem;
}

.cookie-notice p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.82rem;
    line-height: 1.45;
    margin: 0;
}

.cookie-notice a {
    color: #ffd45a;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-notice a:hover {
    color: #ffffff;
}

.cookie-notice-dismiss {
    align-items: center;
    background: var(--secondary);
    border: 0;
    border-radius: 8px;
    color: #15213d;
    cursor: pointer;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 0.8rem;
    font-weight: 700;
    gap: 0.45rem;
    min-height: 2.35rem;
    padding: 0.55rem 0.8rem;
    transition: var(--transition);
}

.cookie-notice-dismiss:hover {
    background: #ffb52e;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
    transform: translateY(-1px);
}

.cookie-notice-dismiss:focus-visible {
    outline-color: #ffffff;
}

@media (max-width: 575.98px) {
    .cookie-notice {
        align-items: flex-start;
        bottom: 0.75rem;
        flex-wrap: wrap;
        left: 0.75rem;
        max-width: none;
        padding: 0.9rem;
        right: 0.75rem;
    }

    .cookie-notice-content {
        flex-basis: calc(100% - 3.5rem);
    }

    .cookie-notice-dismiss {
        margin-left: 3.5rem;
    }
}
