/* ================================================================
   MICT Website - Modern Design with Gradients & Glows
   ================================================================ */

:root {
    --primary-color: #195791;
    --secondary-color: #d93226;
    --accent-color: #d93226;
    --light-bg: #f8f9fa;
    --dark-text: #1a1a1a;
    --white: #ffffff;
    --shadow-light: 0 2px 8px rgba(25, 87, 145, 0.08);
    --shadow-medium: 0 4px 16px rgba(25, 87, 145, 0.12);
    --shadow-heavy: 0 8px 32px rgba(25, 87, 145, 0.15);
    --glow-soft: 0 0 20px rgba(25, 87, 145, 0.3);
    --glow-strong: 0 0 40px rgba(217, 50, 38, 0.4);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ================================================================
   GENERAL STYLES
   ================================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* ================================================================
   ANIMATION KEYFRAMES
   ================================================================ */

@keyframes fadeInAnimation {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInAnimation {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(25, 87, 145, 0.3), 0 0 40px rgba(217, 50, 38, 0.2);
    }
    50% {
        box-shadow: 0 0 30px rgba(25, 87, 145, 0.5), 0 0 60px rgba(217, 50, 38, 0.3);
    }
}

@keyframes floatingAnimation {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes slideDownIn {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideUnderline {
    from {
        width: 0;
        opacity: 1;
    }
    to {
        width: 100%;
        opacity: 0;
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation utility classes */
.fade-in-animation {
    animation: fadeInAnimation 0.6s ease-out forwards;
}

.fade-in-animation:nth-child(1) { animation-delay: 0.1s; }
.fade-in-animation:nth-child(2) { animation-delay: 0.2s; }
.fade-in-animation:nth-child(3) { animation-delay: 0.3s; }

.slide-in-animation {
    animation: slideInAnimation 0.6s ease-out forwards;
}

/* ================================================================
   MINI TOP NAVBAR
   ================================================================ */

.mini-navbar {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0d3a6a 100%);
    padding: 12px 0;
    font-size: 0.875rem;
    box-shadow: var(--shadow-light), var(--glow-soft);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    animation: slideDownIn 0.5s ease-out;
}

.mini-nav-link {
    color: var(--white) !important;
    font-weight: 500;
    position: relative;
    transition: var(--transition-smooth);
    font-size: 0.85rem;
}

.mini-nav-link:hover {
    color: #e8f4ff !important;
    transform: translateY(-2px);
}

.mini-nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #e8f4ff;
    transition: width 0.3s ease-out;
}

.mini-nav-link:hover::after {
    width: 100%;
}

.mini-nav-contact {
    color: var(--white);
    font-size: 0.85rem;
}

.mini-nav-contact a {
    transition: var(--transition-smooth);
}

.mini-nav-contact a:hover {
    color: #e8f4ff;
    text-decoration: underline;
}

.mini-nav-contact i {
    color: #d9c426;
    transition: var(--transition-smooth);
}

.mini-nav-contact:hover i {
    transform: scale(1.15);
}

/* ================================================================
   MAIN NAVBAR
   ================================================================ */

.main-navbar {
    background: var(--white);
    padding: 16px 0;
    box-shadow: var(--shadow-medium);
    position: fixed;
    top: 48px;
    width: 100%;
    z-index: 999;
    animation: slideDownIn 0.6s ease-out 0.1s both;
}

.logo-link {
    text-decoration: none;
    font-weight: 700;
    margin-right: 2rem;
    transition: var(--transition-smooth);
}

.logo-text {
    color: var(--primary-color);
    font-size: 1.25rem;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 45px;
    max-width: 200px;
    object-fit: contain;
    transition: var(--transition-smooth);
    filter: drop-shadow(0 2px 4px rgba(25, 87, 145, 0.1));
}

.logo-link:hover {
    transform: scale(1.05);
}

.logo-link:hover .logo-img {
    filter: drop-shadow(0 4px 8px rgba(217, 196, 38, 0.2));
}

.nav-link-main {
    color: var(--dark-text) !important;
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    transition: var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 12px;
    border-radius: 6px;
}

.nav-link-main:hover,
.nav-link-main.active {
    color: var(--primary-color) !important;
    background: rgba(25, 87, 145, 0.08);
}

.nav-link-main::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    border-radius: 2px;
    transition: width 0.3s ease-out;
}

.nav-link-main:hover::after {
    width: 80%;
}

.nav-link-main.active::after {
    width: 100%;
}

.dropdown-menu {
    background: var(--white);
    border: 1px solid rgba(25, 87, 145, 0.1);
    border-radius: 8px;
    box-shadow: var(--shadow-heavy);
}

/* Mobile dropdown fixes */
@media (max-width: 991.98px) {
    .dropdown-menu {
        position: static !important;
        float: none !important;
        width: 100% !important;
        margin-top: 0 !important;
        background-color: var(--white) !important;
        border: 1px solid rgba(25, 87, 145, 0.1) !important;
        box-shadow: var(--shadow-light) !important;
    }
    
    .dropdown-item {
        padding: 12px 20px;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    
    .dropdown-item:last-child {
        border-bottom: none;
    }
}

/* Form field validation styles */
.errorlist {
    color: #dc3545;
    margin-top: 0.25rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    list-style: none;
    padding-left: 0;
}

.errorlist li {
    margin-bottom: 0.1rem;
}

.form-control.is-invalid,
.form-select.is-invalid,
textarea.is-invalid {
    border-color: #dc3545;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.invalid-feedback {
    display: block;
    color: #dc3545;
    margin-top: 0.25rem;
    font-size: 0.875rem;
}

.dropdown-item {
    color: var(--dark-text);
    font-weight: 500;
    transition: var(--transition-smooth);
    padding: 12px 20px;
}

.dropdown-item:hover {
    background: rgba(25, 87, 145, 0.05);
    color: var(--primary-color);
    transform: translateX(4px);
}

.btn-search {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition-bounce);
    padding: 8px 12px;
}

.btn-search:hover {
    color: #0d3a6a;
    transform: scale(1.2) rotate(20deg);
}

.btn-enroll {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0d3a6a 100%);
    color: var(--white) !important;
    border: none;
    padding: 10px 24px;
    font-weight: 600;
    border-radius: 6px;
    transition: var(--transition-bounce);
    box-shadow: var(--shadow-light);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-enroll:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
    background: linear-gradient(135deg, #0d3a6a 0%, var(--primary-color) 100%);
}

.btn-enroll:active {
    transform: translateY(-1px);
}

/* Mobile Button Styles */
.btn-search-mobile {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-bounce);
    padding: 6px 8px;
}

.btn-search-mobile:hover {
    color: #0d3a6a;
    transform: scale(1.1) rotate(15deg);
}

.btn-enroll-mobile {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0d3a6a 100%);
    color: var(--white) !important;
    border: none;
    padding: 6px 12px;
    font-weight: 600;
    border-radius: 4px;
    transition: var(--transition-bounce);
    box-shadow: var(--shadow-light);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.btn-enroll-mobile:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
    background: linear-gradient(135deg, #0d3a6a 0%, var(--primary-color) 100%);
}

/* Call Button with Animated Waves */
.btn-call-mobile {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0d3a6a 100%);
    color: var(--white) !important;
    border: none;
    padding: 8px;
    font-size: 1.1rem;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    min-width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: var(--transition-bounce);
    box-shadow: var(--shadow-light);
    text-decoration: none;
    overflow: visible;
}

.btn-call-mobile i {
    position: relative;
    z-index: 3;
}

.call-wave {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid;
    border-radius: 50%;
    animation: wave-pulse 2s infinite;
}

.call-wave.wave-1 {
    width: 36px;
    height: 36px;
    border-color: rgba(25, 87, 145, 0.6);
    animation-delay: 0s;
    animation-duration: 1.8s;
}

.call-wave.wave-2 {
    width: 48px;
    height: 48px;
    border-color: rgba(217, 50, 38, 0.4);
    animation-delay: 0.4s;
    animation-duration: 1.8s;
}

.call-wave.wave-3 {
    width: 60px;
    height: 60px;
    border-color: rgba(25, 87, 145, 0.2);
    animation-delay: 0.8s;
    animation-duration: 1.8s;
}

@keyframes wave-pulse {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.8);
    }
}

.btn-call-mobile:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-heavy);
    background: linear-gradient(135deg, #0d3a6a 0%, var(--primary-color) 100%);
}

/* ================================================================
   GLOBAL SITE SEARCH
   ================================================================ */

.site-search-open {
    overflow: hidden;
}

.site-search-overlay {
    align-items: flex-start;
    display: flex;
    inset: 0;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    transition: opacity 0.2s ease;
    z-index: 3000;
}

.site-search-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

.site-search-backdrop {
    background: rgba(10, 24, 39, 0.68);
    inset: 0;
    position: absolute;
}

.site-search-panel {
    background: #ffffff;
    border: 1px solid rgba(25, 87, 145, 0.16);
    border-radius: 14px;
    box-shadow: 0 24px 70px rgba(10, 24, 39, 0.28);
    margin: 110px 18px 0;
    max-height: calc(100vh - 140px);
    max-width: 760px;
    overflow: hidden;
    position: relative;
    transform: translateY(-14px);
    transition: transform 0.2s ease;
    width: 100%;
}

.site-search-overlay.is-open .site-search-panel {
    transform: translateY(0);
}

.site-search-header {
    align-items: flex-start;
    background: linear-gradient(135deg, #195791 0%, #0d3a6a 100%);
    display: flex;
    gap: 18px;
    justify-content: space-between;
    padding: 22px 24px;
}

.site-search-eyebrow {
    color: #d9c426;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.site-search-header h2 {
    color: #ffffff;
    font-size: 1.3rem;
    margin-bottom: 0;
}

.site-search-close {
    align-items: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 8px;
    color: #ffffff;
    display: inline-flex;
    height: 38px;
    justify-content: center;
    transition: var(--transition-smooth);
    width: 38px;
}

.site-search-close:hover {
    background: #d9c426;
    color: #0d3a6a;
}

.site-search-input-wrap {
    align-items: center;
    border-bottom: 1px solid #edf1f5;
    display: flex;
    gap: 12px;
    padding: 18px 24px;
}

.site-search-input-wrap i {
    color: #195791;
    font-size: 1.1rem;
}

.site-search-input {
    border: 0;
    color: #24364b;
    flex: 1;
    font-size: 1.05rem;
    min-width: 0;
    outline: 0;
}

.site-search-input::placeholder {
    color: #8a97a6;
}

.site-search-help {
    color: #6b7b8d;
    font-size: 0.85rem;
    margin: 0;
    padding: 12px 24px 0;
}

.site-search-results {
    max-height: 430px;
    overflow-y: auto;
    padding: 12px;
}

.site-search-empty {
    align-items: center;
    color: #6b7b8d;
    display: flex;
    gap: 10px;
    justify-content: center;
    min-height: 120px;
    padding: 20px;
    text-align: center;
}

.site-search-empty i {
    color: #195791;
}

.site-search-result {
    align-items: flex-start;
    border: 1px solid transparent;
    border-radius: 10px;
    color: inherit;
    display: flex;
    gap: 12px;
    padding: 13px 12px;
    text-decoration: none;
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.site-search-result:hover,
.site-search-result.is-active {
    background: #eef5fc;
    border-color: rgba(25, 87, 145, 0.18);
    color: inherit;
    transform: translateX(2px);
}

.site-search-result-icon {
    align-items: center;
    background: #fff9df;
    border: 1px solid rgba(217, 196, 38, 0.58);
    border-radius: 8px;
    color: #195791;
    display: inline-flex;
    flex: 0 0 auto;
    height: 38px;
    justify-content: center;
    width: 38px;
}

.site-search-result-body {
    display: block;
    min-width: 0;
}

.site-search-result-top {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 3px;
}

.site-search-result-top strong {
    color: #195791;
    font-size: 0.98rem;
}

.site-search-result-top em {
    background: #fdecea;
    border-radius: 999px;
    color: #b42318;
    font-size: 0.72rem;
    font-style: normal;
    font-weight: 800;
    padding: 3px 8px;
}

.site-search-result-desc {
    color: #5f6f80;
    display: block;
    font-size: 0.88rem;
    line-height: 1.45;
}

/* ================================================================
   HERO SECTION - MODERN DESIGN
   ================================================================ */

.hero-section {
    margin-top: 108px;
    min-height: calc(100vh - 108px);
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    background: url('/static/images/mict.png') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
}

.hero-gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%,
        rgba(255, 255, 255, 0.85) 50%,
        rgba(255, 255, 255, 0.9) 100%);
    z-index: 1;
}

.hero-floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    top: -100px;
    right: -100px;
    animation: floatingAnimation 8s ease-in-out infinite;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: var(--primary-color);
    bottom: 100px;
    left: 50px;
    animation: floatingAnimation 6s ease-in-out infinite reverse;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: var(--secondary-color);
    top: 50%;
    right: 10%;
    animation: floatingAnimation 10s ease-in-out infinite;
}

.hero-left {
    min-height: 500px;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    animation: fadeInLeft 0.8s ease-out;
    position: relative;
    z-index: 3;
    backdrop-filter: blur(10px);
}

.hero-right {
    min-height: 500px;
    background: linear-gradient(135deg, rgba(25, 87, 145, 0.06) 0%, rgba(217, 50, 38, 0.03) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInRight 0.8s ease-out;
    position: relative;
    z-index: 3;
    overflow: hidden;
}

.hero-content {
    max-width: 500px;
}

.hero-tag {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.hero-description {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 24px;
    line-height: 1.8;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--dark-text);
    margin-bottom: 2px;
    line-height: 1.15;
}

.highlight-text {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    text-decoration: underline;
    text-decoration-color: var(--accent-color);
    text-decoration-thickness: 3px;
    text-underline-offset: 2px;
    font-weight: 900;
    font-size: 8rem;
    line-height: 0.9;
}

.highlight-international {
    color: #d93226;
}

/* Hero Floating Cards */
.hero-visual-container {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 24px;
    width: 200px;
    box-shadow: 0 8px 32px rgba(25, 87, 145, 0.1);
    border: 1px solid rgba(25, 87, 145, 0.1);
    animation: floatingAnimation 6s ease-in-out infinite;
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
    max-width: 90%;
}

.floating-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--glow-soft), var(--glow-strong);
    animation: glow 2s ease-in-out infinite;
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 30%, rgba(25, 87, 145, 0.1), transparent 70%);
    border-radius: 16px;
    z-index: 1;
}

.card-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--dark-text);
}

.card-content i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    display: block;
}

.card-content h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.card-content p {
    font-size: 0.9rem;
    color: #666;
}

.card-1 {
    top: -10%;
    right: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: 5%;
    animation-delay: 1s;
}

.card-3 {
    bottom: 10%;
    left: 30%;
    animation-delay: 2s;
}

.btn-register {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0d3a6a 100%);
    color: var(--white) !important;
    border: none;
    padding: 14px 32px;
    font-weight: 700;
    border-radius: 8px;
    transition: var(--transition-bounce);
    box-shadow: var(--shadow-medium), var(--glow-soft);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-register:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-heavy), var(--glow-strong);
    background: linear-gradient(135deg, #0d3a6a 0%, var(--primary-color) 100%);
    color: var(--white);
}

.btn-register:active {
    transform: translateY(-1px);
}

.btn-register i {
    transition: var(--transition-smooth);
}

.btn-register:hover i {
    transform: translate(4px, -4px);
}

/* ================================================================
   PAGE HERO HEADER (For All Pages)
   ================================================================ */

.page-hero-section {
    background: url('/static/images/mict.png') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 108px;
    padding: 80px 20px;
    overflow: hidden;
}

.page-hero-enroll {
    background: linear-gradient(135deg, #154f90 0%, #192e6a 55%, #11304c 100%);
    min-height: 320px;
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

.page-hero-enroll .overlay {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(16, 39, 77, 0.53);
    z-index: 1;
}

.page-hero-enroll .container {
    position: relative;
    z-index: 2;
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(25, 87, 145, 0.85) 0%, rgba(13, 58, 106, 0.9) 100%);
    z-index: 1;
}

.enroll-section {
    background: #f5f8ff;
}

.enroll-section .card {
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.enroll-section .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 45px rgba(11, 60, 122, 0.2);
}

.enroll-section .form-control,
.enroll-section .form-select,
.enroll-section textarea {
    border-radius: 8px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    border: 1px solid #d9e6f7;
}

.enroll-section .form-control:focus,
.enroll-section .form-select:focus,
.enroll-section textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.15rem rgba(25, 87, 145, 0.2);
}

.enroll-section button.btn-cta-main {
    background: linear-gradient(90deg, #1e6ecf 0%, #19476d 100%);
    border: 0;
    color: #fff;
    box-shadow: var(--shadow-light);
}

.enroll-section button.btn-cta-main:hover {
    transform: translateY(-1px);
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

.page-hero-tag {
    color: #d9c426;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.page-hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.page-hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out 0.3s both;
    line-height: 1.7;
}

.page-hero-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.breadcrumb-link {
    color: #d9c426;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 6px;
}

.breadcrumb-link:hover {
    color: var(--white);
    text-decoration: underline;
}

.breadcrumb-separator {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
}

.breadcrumb-current {
    color: var(--white);
    font-weight: 600;
}

/* Responsive adjustments for page hero */
@media (max-width: 768px) {
    .page-hero-section {
        min-height: 300px;
        margin-top: 70px;
        padding: 60px 15px;
    }

    .page-hero-title {
        font-size: 2rem;
    }

    .page-hero-subtitle {
        font-size: 1rem;
    }

    .page-hero-tag {
        font-size: 0.75rem;
    }
}

/* iPad/Tablet responsive */
@media (min-width: 768px) and (max-width: 1024px) {
    .page-hero-section {
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        min-height: 280px;
        padding: 60px 20px;
    }

    .page-hero-title {
        font-size: 2.2rem;
    }
}

.founder-section {
    background: var(--white);
    padding: 80px 0 120px;
    position: relative;
}

.modern-gradient-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
}

.section-floating-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(25, 87, 145, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(217, 50, 38, 0.03) 0%, transparent 50%);
    z-index: 1;
}

.founder-images-container {
    position: relative;
    height: 420px;
    overflow: hidden;
    z-index: 2;
}

.founder-image-wrapper,
.founder-image-wrapper-overlap {
    position: absolute;
}

.founder-image-wrapper {
    top: 0;
    left: 0;
    width: 70%;
    z-index: 1;
}

.founder-image-wrapper-overlap {
    top: 20px;
    right: 20px;
    width: 40%;
    z-index: 3;
}

.founder-main-image,
.founder-overlap-image {
    max-height: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 16px;
    display: block;
    width: 100%;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.founder-overlap-image {
    border: 3px solid white;
}

.founder-image-wrapper:hover .founder-main-image,
.founder-image-wrapper-overlap:hover .founder-overlap-image {
    box-shadow: var(--glow-soft), var(--glow-strong);
}

.image-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    opacity: 0;
    animation: glow 3s ease-in-out infinite;
    pointer-events: none;
}

.glow-1 {
    box-shadow: 0 0 30px rgba(25, 87, 145, 0.2);
    animation-delay: 0s;
}

.glow-2 {
    box-shadow: 0 0 30px rgba(217, 50, 38, 0.2);
    animation-delay: 1s;
}

.rotating-badge {
    position: absolute;
    top: -20px;
    right: -20px;
    z-index: 3;
    animation: rotate 20s linear infinite;
}

.badge-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 130px;
    height: 130px;
    background: radial-gradient(circle, rgba(25, 87, 145, 0.3), transparent 70%);
    border-radius: 50%;
    animation: glow 2s ease-in-out infinite;
    z-index: -1;
}

.founder-content {
    padding-left: 6rem;
    position: relative;
    z-index: 2;
}

.founder-subheading {
    color: #195791;
    font-weight: bold;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.founder-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 1.5rem;
}

.founder-highlight {
    font-family: serif;
    font-weight: 900;
    position: relative;
}

.founder-highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.founder-body {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--dark-text);
    margin-bottom: 2rem;
}

.founder-quote {
    border-left: 4px solid;
    border-image: linear-gradient(180deg, var(--primary-color), var(--secondary-color)) 1;
    padding-left: 1.5rem;
    font-style: italic;
    color: var(--dark-text);
    margin-bottom: 2rem;
    background: linear-gradient(135deg, rgba(25, 87, 145, 0.05), rgba(217, 50, 38, 0.02));
    padding: 1.5rem;
    padding-left: 1.5rem;
    border-radius: 8px;
}

.glow-quote {
    box-shadow: 0 0 20px rgba(25, 87, 145, 0.15);
    transition: all 0.3s ease;
}

.glow-quote:hover {
    box-shadow: 0 0 30px rgba(25, 87, 145, 0.25), 0 0 40px rgba(217, 50, 38, 0.1);
}

.signature-profile img {
    width: 60px;
    height: 60px;
    object-fit: cover;
}

.signature-details {
    flex: 1;
}

.signature-phone {
    font-weight: 600;
}

.signature-name {
    font-weight: 500;
    color: var(--text-dark);
}

.signature-script {
    text-align: right;
}

.back-to-top {
    position: absolute;
    bottom: 20px;
    right: 20px;
}

.btn-floating {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #800000 0%, #195791 100%);
    color: var(--white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition-bounce);
}

.btn-floating:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
}

/* ================================================================
   RESPONSIVE DESIGN
   ================================================================ */

/* Tablet/iPad: force hero section sizing to content and prevent full-screen overflow */
@media (min-width: 768px) and (max-width: 1024px) {
    .hero-section {
        margin-top: 108px;
        min-height: auto !important;
        height: auto !important;
        padding: 100px 0 60px 0;
    }

    .hero-left {
        min-height: auto !important;
        padding: 60px 30px !important;
    }

    .hero-right {
        min-height: auto !important;
        padding: 40px 20px !important;
        order: 2;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .hero-visual-container {
        height: 280px;
        position: relative;
    }

    .floating-card {
        width: 140px;
        padding: 14px;
    }

    .card-1 {
        top: 0;
        left: 5%;
    }

    .card-2 {
        top: 50%;
        right: 10%;
        transform: translateY(-50%);
    }

    .card-3 {
        bottom: 0;
        left: 25%;
    }
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .hero-section {
        margin-top: 70px;
        min-height: auto;
        padding: 30px 0 40px 0;
    }

    .hero-left {
        min-height: auto;
        padding: 30px 20px !important;
        order: 1;
    }

    .hero-right {
        min-height: auto;
        padding: 20px 15px !important;
        order: 2;
    }

    .row {
        flex-direction: column;
    }

    .col-lg-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .hero-visual-container {
        height: 250px;
        position: relative;
    }

    .floating-card {
        width: 130px;
        padding: 14px;
        position: absolute;
    }

    .card-1 {
        top: 10px;
        left: 5%;
        z-index: 3;
    }

    .card-2 {
        top: 50%;
        right: 5%;
        transform: translateY(-50%);
        z-index: 2;
    }

    .card-3 {
        bottom: 10px;
        left: 35%;
        z-index: 1;
    }

    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 16px;
        line-height: 1.2;
    }

    .highlight-text {
        font-size: 2.5rem;
    }

    .highlight-international {
        font-size: 2.5rem;
    }

    .hero-tag {
        font-size: 0.7rem;
        margin-bottom: 12px;
    }

    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 16px;
        line-height: 1.5;
    }

    .btn-register {
        padding: 11px 22px;
        font-size: 0.85rem;
    }

    /* Founder section mobile */
    .founder-images-container {
        height: 280px;
    }

    .rotating-badge {
        position: static;
        margin: 1rem auto;
        display: block;
        width: 100px;
        height: 100px;
    }

    .rotating-badge svg {
        width: 100px;
        height: 100px;
    }

    .founder-content {
        padding-left: 0;
        padding-top: 2rem;
        text-align: center;
    }

    .founder-heading {
        font-size: 2rem;
    }

    .founder-signature {
        flex-direction: column;
        text-align: center;
    }

    .signature-details {
        margin: 1rem 0;
    }

    .signature-script {
        text-align: center;
    }

    .back-to-top {
        position: static;
        text-align: center;
        margin-top: 2rem;
    }

    /* Section titles mobile */
    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    /* Button responsive */
    .btn-register {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .btn-curricula-readmore {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
}

/* Extra small devices */
@media (max-width: 576px) {
    .hero-section {
        padding: 20px 0 30px 0;
    }

    .hero-left {
        padding: 20px 15px !important;
    }

    .hero-right {
        padding: 15px 10px !important;
    }

    .hero-title {
        font-size: 1.4rem;
        margin-bottom: 12px;
    }

    .highlight-text {
        font-size: 2rem;
    }

    .hero-tag {
        font-size: 0.65rem;
        letter-spacing: 0.5px;
        margin-bottom: 10px;
    }

    .hero-description {
        font-size: 0.85rem;
        margin-bottom: 12px;
    }

    .btn-register {
        padding: 10px 18px;
        font-size: 0.8rem;
    }

    .hero-visual-container {
        height: 240px;
    }

    .floating-card {
        width: 110px;
        padding: 11px;
    }

    .card-content i {
        font-size: 1.8rem;
        margin-bottom: 8px;
    }

    .card-content h3 {
        font-size: 0.9rem;
        margin-bottom: 4px;
    }

    .card-content p {
        font-size: 0.75rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .curricula-card {
        padding: 1rem;
    }

    .curricula-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .curricula-card h3 {
        font-size: 1.1rem;
    }

    .curricula-card p {
        font-size: 0.85rem;
    }
}

/* Mobile Responsive for Founder Section */
@media (max-width: 768px) {
    .founder-images-container {
        height: 300px; /* Reduced height for mobile */
    }

    .rotating-badge {
        position: static;
        margin: 1rem auto;
        display: block;
    }

    .founder-content {
        padding-left: 0;
        padding-top: 2rem;
        text-align: center;
    }

    .founder-heading {
        font-size: 2rem;
    }

    .founder-signature {
        flex-direction: column;
        text-align: center;
    }

    .signature-details {
        margin: 1rem 0;
    }

    .signature-script {
        text-align: center;
    }

    .back-to-top {
        position: static;
        text-align: center;
        margin-top: 2rem;
    }
}

/* ================================================================
   CURRICULA SECTION
   ================================================================ */

.curricula-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0d3a6a 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.curricula-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(217, 50, 38, 0.1), transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.section-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
    position: relative;
    z-index: 2;
}

.curricula-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition-bounce);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.curricula-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 30%, rgba(25, 87, 145, 0.1), transparent 70%);
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.curricula-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15), var(--glow-soft);
}

.curricula-card:hover::before {
    opacity: 1;
}

.curricula-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0d3a6a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2rem;
    box-shadow: 0 0 30px rgba(25, 87, 145, 0.3);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.curricula-card:hover .curricula-icon {
    box-shadow: 0 0 50px rgba(25, 87, 145, 0.5), 0 0 80px rgba(217, 50, 38, 0.2);
    transform: scale(1.1);
}

.curricula-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.curricula-card p {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    position: relative;
    z-index: 2;
}

.btn-curricula-readmore {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0d3a6a 100%);
    color: var(--white) !important;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-bounce);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 2;
}

.btn-curricula-readmore:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(25, 87, 145, 0.4), var(--glow-soft);
    background: linear-gradient(135deg, #0d3a6a 0%, var(--primary-color) 100%);
    color: var(--white) !important;
}

/* Strategic Pillars (Why Choose Us) */
.pillar-card {
    background: linear-gradient(135deg, rgba(25, 87, 145, 0.08), rgba(255, 255, 255, 0.8));
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 18px 40px rgba(25, 87, 145, 0.12);
    border: 1px solid rgba(25, 87, 145, 0.15);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    min-height: 310px;
}

.pillar-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 22px 48px rgba(25, 87, 145, 0.22);
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.pillar-card:hover::before {
    transform: scaleX(1);
}

.pillar-number {
    display: inline-flex;
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 800;
    font-size: 1.2rem;
    margin-bottom: 14px;
    background: rgba(255, 255, 255, 0.85);
}

.pillar-icon {
    width: 68px;
    height: 68px;
    background: rgba(25, 87, 145, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 1.8rem;
    color: var(--primary-color);
    transition: transform 0.4s ease, color 0.4s ease;
}

.pillar-card:hover .pillar-icon {
    color: var(--accent-color);
    transform: rotate(5deg) scale(1.08);
}

.pillar-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.pillar-card p {
    color: #4c4c4c;
    line-height: 1.65;
}

.pillar-academics {
    background: linear-gradient(135deg, rgba(217, 196, 38, 0.12), rgba(25, 87, 145, 0.04));
}

.pillar-innovation {
    background: linear-gradient(135deg, rgba(25, 87, 145, 0.12), rgba(13, 58, 106, 0.04));
}

.pillar-wellbeing {
    background: linear-gradient(135deg, rgba(92, 218, 149, 0.12), rgba(55, 166, 122, 0.04));
}

/* Responsive adjustments for curricula cards */
@media (max-width: 768px) {
    .curricula-card {
        padding: 1.5rem 1rem;
        margin-bottom: 1rem;
    }

    .curricula-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

/* Push curricula section down on large devices to avoid overlap with founder images */
@media (min-width: 992px) {
    .curricula-section {
        margin-top: 90px;
    }
}

/* ================================================================
   FEATURES SECTION (BENTO BOX LAYOUT)
   ================================================================ */

.features-section {
    background: linear-gradient(180deg, #f8f9fa 0%, var(--white) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark-text);
    margin-bottom: 48px;
    animation: fadeInUp 0.8s ease-out;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    margin: 16px auto 0;
    border-radius: 2px;
    animation: slideRight 0.8s ease-out 0.2s both;
}

@keyframes slideRight {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 60px;
        opacity: 1;
    }
}

.feature-card {
    background: var(--white);
    border-radius: 12px;
    padding: 32px;
    transition: var(--transition-bounce);
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(25, 87, 145, 0.08);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease-out;
}

.feature-card:hover {
    box-shadow: var(--shadow-heavy);
    transform: translateY(-8px);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:nth-child(1) {
    animation-delay: 0.1s;
}

.feature-card:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.3s;
}

.feature-card:nth-child(4) {
    animation-delay: 0.4s;
}

.feature-card:nth-child(5) {
    animation-delay: 0.5s;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), #0d3a6a);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: var(--white);
    transition: var(--transition-bounce);
}

.feature-card:hover .feature-icon {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 8px 20px rgba(25, 87, 145, 0.25);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 12px;
}

.feature-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Bento Box Specific Styling */
.bento-box-1 {
    background: linear-gradient(135deg, rgba(25, 87, 145, 0.05), rgba(25, 87, 145, 0.02));
}

.bento-box-2 {
    background: linear-gradient(135deg, rgba(25, 87, 145, 0.08), rgba(25, 87, 145, 0.03));
}

.bento-box-3 {
    background: linear-gradient(135deg, rgba(25, 87, 145, 0.06), rgba(25, 87, 145, 0.02));
}

.bento-box-4 {
    background: linear-gradient(135deg, rgba(25, 87, 145, 0.07), rgba(25, 87, 145, 0.02));
}

.bento-box-5 {
    background: linear-gradient(135deg, rgba(25, 87, 145, 0.09), rgba(25, 87, 145, 0.03));
}

/* ================================================================
   MICT PROCESS SECTION (How It Works)
   ================================================================ */

.mict-process-section {
    background: linear-gradient(135deg, rgba(25, 87, 145, 0.08), rgba(13, 58, 106, 0.1));
    background-blend-mode: multiply;
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 16px 40px rgba(25, 87, 145, 0.12);
}

.process-heading-section {
    animation: fadeInUp 0.8s ease-out;
}

.process-tag {
    color: #d9c426;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.process-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark-text);
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.process-subtitle {
    font-size: 1.05rem;
    color: #666;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Timeline Container */
.process-timeline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    margin-top: 4rem;
    position: relative;
}

.process-step-container {
    flex: 1;
    display: flex;
    align-items: stretch;
    position: relative;
}

.process-step {
    flex: 1;
    animation: fadeInUp 0.8s ease-out;
}

.step-1 {
    animation-delay: 0.3s;
}

.step-2 {
    animation-delay: 0.4s;
}

.step-3 {
    animation-delay: 0.5s;
}

/* Step Card */
.step-card {
    background: var(--white);
    border-radius: 16px;
    padding: 40px 28px;
    text-align: center;
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(25, 87, 145, 0.08);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: var(--transition-bounce);
    min-height: 350px;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(180deg, rgba(25, 87, 145, 0.05), transparent);
    transition: height 0.3s ease-out;
    z-index: 0;
}

.step-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--primary-color);
}

.step-card:hover::before {
    height: 100%;
}

/* Step Number Badge */
.step-number-badge {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), #0d3a6a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(25, 87, 145, 0.3);
    z-index: 2;
    border: 4px solid var(--white);
    transition: var(--transition-bounce);
}

.step-card:hover .step-number-badge {
    transform: translateX(-50%) scale(1.15);
    box-shadow: 0 8px 25px rgba(25, 87, 145, 0.4);
}

/* Step Icon */
.step-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin: 20px 0;
    transition: var(--transition-bounce);
    position: relative;
    z-index: 1;
}

.step-card:hover .step-icon {
    transform: scale(1.2) rotateY(10deg);
    color: var(--accent-color);
}

/* Step Content */
.step-heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 1rem;
    margin-top: 0;
    position: relative;
    z-index: 1;
}

.step-description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Accent Elements */
.step-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    transition: width 0.5s ease-out;
    z-index: 1;
}

.step-card:hover .step-accent {
    width: 100%;
}

/* FREE Badge */
.free-badge {
    position: static;
    width: auto;
    height: auto;
    display: inline-block;
    background: linear-gradient(135deg, #4caf50, #45a049);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-top: 12px;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

/* Timeline Connectors */
.timeline-connector {
    flex: 0 0 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.timeline-connector:last-child {
    display: none;
}

.connector-dot {
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 3px solid var(--white);
    box-shadow: 0 2px 8px rgba(25, 87, 145, 0.2);
    margin-right: -8px;
}

/* Process CTA */
.process-cta {
    margin-top: 5rem;
}

.process-ready {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.btn-process-start {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0d3a6a 100%);
    color: var(--white) !important;
    border: none;
    padding: 16px 40px;
    font-weight: 700;
    border-radius: 8px;
    transition: var(--transition-bounce);
    box-shadow: var(--shadow-medium);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: fadeInUp 0.8s ease-out 0.7s both;
}

.btn-process-start:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-heavy);
    background: linear-gradient(135deg, #0d3a6a 0%, var(--primary-color) 100%);
    color: var(--white);
}

.btn-process-start i {
    transition: var(--transition-smooth);
}

.btn-process-start:hover i {
    transform: translateX(4px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .process-timeline {
        gap: 20px;
    }

    .timeline-connector {
        flex: 0 0 30px;
    }

    .step-card {
        padding: 30px 20px;
        min-height: 320px;
    }

    .step-heading {
        font-size: 1.25rem;
    }

    .step-number-badge {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        top: -15px;
    }

    .process-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .process-timeline {
        flex-direction: column;
        gap: 40px;
    }

    .process-step-container {
        width: 100%;
    }

    .timeline-connector {
        display: none;
    }

    .step-card {
        padding: 24px 16px;
        min-height: 300px;
    }

    .step-heading {
        font-size: 1.1rem;
    }

    .step-description {
        font-size: 0.9rem;
    }

    .step-icon {
        font-size: 2.5rem;
    }

    .step-number-badge {
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
    }

    .process-title {
        font-size: 1.75rem;
    }

    .process-subtitle {
        font-size: 0.95rem;
    }
}

/* ================================================================
   TUITION TIME BLOCKS SECTION
   ================================================================ */

.tuition-blocks-section {
    background: linear-gradient(180deg, #f8f9fa 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.tuition-blocks-tag {
    color: #d9c426;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.tuition-blocks-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark-text);
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.tuition-blocks-subtitle {
    font-size: 1rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease-out 0.3s both;
    max-width: 550px;
}

.tuition-blocks-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Individual Tuition Block Cards */
.tuition-block {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 28px;
    background: var(--white);
    border-radius: 16px;
    transition: var(--transition-bounce);
    box-shadow: var(--shadow-light);
    border-left: 4px solid var(--primary-color);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out;
}

.tuition-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(90deg, rgba(25, 87, 145, 0.08), transparent);
    transition: height 0.3s ease-out;
    z-index: 0;
}

.tuition-block:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-heavy);
}

.tuition-block:hover::before {
    height: 100%;
}

.block-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-color), #0d3a6a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    min-width: 80px;
    text-align: center;
    opacity: 0.6;
    position: relative;
    z-index: 1;
}

.block-info {
    flex: 1;
    position: relative;
    z-index: 1;
}

.block-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.block-time {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    margin-top: 0;
}

.block-description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Gradient backgrounds for each time block */
.morning-block {
    border-left-color: #ff9500;
}

.morning-block .block-number {
    background: linear-gradient(135deg, #ff9500, #ff6f00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.morning-block .block-time {
    color: #ff9500;
}

.afternoon-block {
    border-left-color: #2196f3;
}

.afternoon-block .block-number {
    background: linear-gradient(135deg, #2196f3, #1565c0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.afternoon-block .block-time {
    color: #2196f3;
}

.evening-block {
    border-left-color: #9c27b0;
}

.evening-block .block-number {
    background: linear-gradient(135deg, #9c27b0, #7b1fa2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.evening-block .block-time {
    color: #9c27b0;
}

/* Animation delays */
.morning-block {
    animation-delay: 0.4s;
}

.afternoon-block {
    animation-delay: 0.5s;
}

.evening-block {
    animation-delay: 0.6s;
}

/* Weekend Note */
.weekend-note {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 24px;
    background: linear-gradient(135deg, rgba(217, 196, 38, 0.1), rgba(217, 196, 38, 0.05));
    border-radius: 12px;
    border-left: 3px solid #d9c426;
    margin-top: 12px;
    animation: fadeInUp 0.8s ease-out 0.7s both;
}

.weekend-note i {
    font-size: 1.25rem;
    color: #d9c426;
}

.weekend-note span {
    font-size: 0.95rem;
    font-weight: 600;
    color: #666;
}

/* Image Section */
.tuition-blocks-image-container {
    position: relative;
    height: 100%;
    min-height: 500px;
}

.tuition-blocks-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: fadeInUp 0.8s ease-out;
}

.image-accent-circle {
    position: absolute;
    border-radius: 50%;
    border: 3px solid rgba(25, 87, 145, 0.2);
    animation: float 6s ease-in-out infinite;
}

.circle-1 {
    width: 200px;
    height: 200px;
    top: -50px;
    right: -50px;
    border-color: rgba(217, 196, 38, 0.3);
    animation-delay: 0s;
}

.circle-2 {
    width: 150px;
    height: 150px;
    bottom: -30px;
    left: -30px;
    border-color: rgba(25, 87, 145, 0.2);
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(20px);
    }
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .tuition-block {
        gap: 16px;
        padding: 20px;
    }

    .block-number {
        font-size: 2.5rem;
        min-width: 60px;
    }

    .block-title {
        font-size: 1.1rem;
    }

    .tuition-blocks-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .tuition-blocks-image-container {
        min-height: 350px;
        margin-top: 3rem;
    }

    .tuition-block {
        gap: 12px;
        padding: 16px;
    }

    .block-number {
        font-size: 2rem;
        min-width: 50px;
        flex-shrink: 0;
    }

    .block-title {
        font-size: 1rem;
    }

    .block-time {
        font-size: 0.9rem;
    }

    .tuition-blocks-title {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .tuition-blocks-subtitle {
        font-size: 0.9rem;
        margin-bottom: 2rem;
    }

    .image-accent-circle {
        display: none;
    }
}

/* ================================================================
   FOOTER
   ================================================================ */

.footer-section {
    background: linear-gradient(180deg, var(--dark-text) 0%, #0a0a0a 100%);
    color: #d0d0d0;
    margin-top: 80px;
    border-top: 1px solid rgba(25, 87, 145, 0.2);
    animation: fadeInUp 0.8s ease-out;
}

.footer-brand-panel {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(217, 196, 38, 0.18);
    border-radius: 12px;
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 1fr) 340px;
    padding: 28px;
}

.footer-brand-main {
    align-items: flex-start;
    display: flex;
    gap: 18px;
}

.footer-logo {
    background: var(--white);
    border: 2px solid rgba(217, 196, 38, 0.65);
    border-radius: 12px;
    height: 74px;
    object-fit: contain;
    padding: 8px;
    width: 74px;
}

.footer-eyebrow {
    color: #d9c426;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.footer-brand-main h2 {
    color: var(--white);
    font-size: 1.45rem;
    margin-bottom: 10px;
}

.footer-intro {
    color: #d0d0d0;
    line-height: 1.7;
    margin-bottom: 0;
    max-width: 720px;
}

.footer-location {
    align-items: flex-start;
    background: rgba(25, 87, 145, 0.16);
    border: 1px solid rgba(25, 87, 145, 0.32);
    border-radius: 10px;
    display: flex;
    gap: 12px;
    padding: 18px;
}

.footer-location i {
    color: #d9c426;
    font-size: 1.2rem;
    margin-top: 4px;
}

.footer-location span {
    color: #d0d0d0;
    line-height: 1.6;
}

.footer-location strong {
    color: var(--white);
    display: block;
    margin-bottom: 2px;
}

.footer-title {
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #d0d0d0;
    text-decoration: none;
    transition: var(--transition-smooth);
    font-size: 0.95rem;
    position: relative;
}

.footer-links a::before {
    content: '→ ';
    opacity: 0;
    margin-right: 0;
    transition: var(--transition-smooth);
}

.footer-links a:hover::before {
    opacity: 1;
    margin-right: 6px;
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(4px);
}

.footer-links a::before {
    content: '> ';
}

.footer-contact-list {
    list-style: none;
    padding-left: 0;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.footer-contact-item i {
    color: var(--accent-color);
    font-size: 1.1rem;
    transition: var(--transition-smooth);
}

.footer-contact-item:hover i {
    transform: scale(1.2);
}

.footer-contact-item a {
    color: #d0d0d0;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-contact-item a:hover {
    color: var(--primary-color);
}

.footer-divider {
    border-color: rgba(25, 87, 145, 0.2);
    margin: 30px 0;
}

.copyright-text {
    font-size: 0.9rem;
    color: #999;
}

.developer-credit {
    color: #999;
    font-size: 0.9rem;
}

.developer-credit a {
    color: #d9c426;
    font-weight: 700;
    text-decoration: none;
}

.developer-credit a:hover {
    color: var(--white);
}

.footer-social {
    display: flex;
    gap: 16px;
    justify-content: flex-end;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(217, 196, 38, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition-bounce);
    border: 1px solid var(--accent-color);
}

.social-link:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-4px) scale(1.1);
    border-color: var(--accent-color);
}

/* ================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ================================================================ */

/* Large Devices (lg) */
@media (max-width: 992px) {
    .hero-left,
    .hero-right {
        padding: 40px 30px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .nav-link-main {
        font-size: 0.85rem;
    }

    .mini-nav-contact {
        font-size: 0.75rem;
    }

    .footer-brand-panel {
        grid-template-columns: 1fr;
    }
}

/* Medium Devices (md) */
@media (max-width: 768px) {
    .mini-navbar {
        display: none;
    }

    .main-navbar {
        top: 0;
    }

    .hero-section {
        margin-top: 70px;
        min-height: auto;
    }

    .hero-left,
    .hero-right {
        min-height: auto;
        padding: 40px 20px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-tag {
        font-size: 1rem;
    }

    .highlight-text {
        font-size: 3.5rem;
    }

    .hero-content {
        max-width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .footer-social {
        justify-content: flex-start;
        margin-top: 20px;
    }

    .footer-brand-panel {
        padding: 22px;
    }

    .footer-brand-main {
        flex-direction: column;
    }

    .footer-brand-main h2 {
        font-size: 1.25rem;
    }

    .site-search-panel {
        margin-top: 74px;
        max-height: calc(100vh - 96px);
    }

    .site-search-header {
        padding: 18px;
    }

    .site-search-header h2 {
        font-size: 1.05rem;
    }

    .site-search-input-wrap {
        padding: 15px 18px;
    }

    .site-search-results {
        max-height: 58vh;
        padding: 10px;
    }
}

/* iPad Air and similar devices (769px to 900px) */
@media (min-width: 769px) and (max-width: 900px) {
    .mini-navbar {
        padding: 6px 0;
        font-size: 0.75rem;
        min-height: auto;
    }

    .mini-nav-link {
        font-size: 0.7rem;
    }

    .mini-nav-contact-container {
        flex-direction: column !important;
        align-items: flex-end;
        gap: 2px !important;
    }

    .mini-nav-contact {
        font-size: 0.65rem;
        justify-content: flex-end;
    }

    .mini-nav-contact a {
        font-size: 0.65rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 200px;
    }

    .mini-nav-contact i {
        font-size: 0.65rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .highlight-text {
        font-size: 2.8rem;
    }

    .hero-content {
        max-width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
}

/* Small Devices (sm) */
@media (max-width: 576px) {
    .logo-text {
        font-size: 1rem;
    }

    .btn-enroll {
        padding: 8px 16px;
        font-size: 0.75rem;
    }

    .btn-search {
        padding: 4px 8px;
        font-size: 0.9rem;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .highlight-text {
        font-size: 2.5rem;
    }

    .hero-content {
        max-width: 100%;
    }

    .nav-link-main {
        font-size: 0.75rem;
        padding: 6px 8px;
        border-radius: 4px;
    }

    .feature-card {
        padding: 20px;
    }

    .feature-card h3 {
        font-size: 1.1rem;
    }

    .feature-card p {
        font-size: 0.85rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .footer-title {
        font-size: 1rem;
    }

    .footer-section {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* Process Page Styles */
.process-hero {
    background: linear-gradient(145deg, rgba(25, 87, 145, 0.75), rgba(13, 58, 106, 0.85)), url('/static/images/mict-process-hero.jpg') center/cover no-repeat;
    position: relative;
    min-height: 360px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.process-hero .hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

.process-hero .parallax-element {
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.35), rgba(25, 87, 145, 0.15));
    box-shadow: 0 0 100px rgba(255, 255, 255, 0.2);
    z-index: 2;
}

.process-hero h1,
.process-hero p {
    position: relative;
    z-index: 3;
}

.timeline-with-line {
    position: relative;
    padding-top: 40px;
}

.timeline-line {
    position: absolute;
    top: 32px;
    left: 6.5%;
    right: 6.5%;
    height: 4px;
    background: rgba(25, 87, 145, 0.15);
    border-radius: 2px;
    z-index: 1;
}

.timeline-line-fill {
    position: absolute;
    top: 32px;
    left: 6.5%;
    height: 4px;
    background: linear-gradient(90deg, #d93226 0%, #195791 100%);
    border-radius: 2px;
    width: 0;
    transition: width 0.4s ease-out;
    z-index: 2;
}

.timeline-step {
    position: relative;
    z-index: 3;
}

.timeline-step::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #195791;
}

.timeline-step .week-text {
    display: none;
}

.ab-week .day-text {
    display: none;
}

.ab-week .week-text {
    display: inline;
}

.timeline-variation-controls {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.ab-toggle {
    border-radius: 999px;
    min-width: 120px;
    border: 1px solid rgba(255,255,255,0.5);
    transition: all 0.25s ease;
}

.ab-toggle.active,
.ab-toggle:hover {
    background: rgba(255,255,255,0.22);
    color: #fff;
}

.progress-gauge-card {
    background: linear-gradient(145deg, #ffffff, #f4f9ff);
    border: 1px solid rgba(25, 87, 145, 0.12);
    min-height: 220px;
}

.gauge-wrapper {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto;
}

.gauge-ring {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.gauge-track,
.gauge-fill {
    fill: none;
    stroke-width: 12;
    vector-effect: non-scaling-stroke;
}

.gauge-track {
    stroke: rgba(25, 87, 145, 0.2);
}

.gauge-fill {
    stroke: #d93226;
    stroke-linecap: round;
    transition: stroke-dashoffset 1.2s ease;
}

.gauge-value {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    color: #0d3a6a;
}

.tap-bump {
    transform: scale(0.96);
    box-shadow: 0 8px 20px rgba(25, 87, 145, 0.25);
}

@media (max-width: 768px) {
    .tap-bump {
        transform: scale(0.98);
    }

    .process-timeline .timeline-step {
        min-height: auto;
        margin-bottom: 12px;
    }

    .timeline-line,
    .timeline-line-fill {
        left: 10%;
        right: 10%;
    }
}

.step-card,
.time-card,
.hour-rule,
.compare-card,
.journey-step,
.curriculum-card,
.stat-card,
.timeline-step {
    border-radius: 14px;
    background: linear-gradient(145deg, #ffffff, #f8fbff);
    border: 1px solid rgba(25, 87, 145, 0.12);
    box-shadow: 0 8px 28px rgba(25, 87, 145, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover,
.time-card:hover,
.hour-rule:hover,
.compare-card:hover,
.journey-step:hover,
.curriculum-card:hover,
.stat-card:hover,
.timeline-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(25, 87, 145, 0.2);
}

.stat-card {
    min-height: 180px;
}

.step-icon,
.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(25, 87, 145, 0.16), rgba(13, 58, 106, 0.24));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #195791;
    font-size: 1.4rem;
    margin: 0 auto 15px;
    box-shadow: 0 4px 12px rgba(25, 87, 145, 0.15);
}

.stat-number {
    color: #0d3a6a;
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.stat-label {
    color: #3a4d6e;
    font-weight: 600;
    font-size: 0.95rem;
}

.process-timeline .timeline-step h5 {
    color: #0d3a6a;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.process-timeline .timeline-step p {
    color: #4d627d;
    font-size: 0.9rem;
}

.process-timeline .timeline-step {
    border-left: 4px solid rgba(25, 87, 145, 0.2);
}

.process-timeline .timeline-step:hover {
    border-left-color: #195791;
}

.step-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(25, 87, 145, 0.1), rgba(13, 58, 106, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #195791;
    font-size: 1.4rem;
    margin: 0 auto 15px;
}

.animate-step {
    opacity: 0;
    transform: translateY(16px);
    animation: fadeInUp 0.8s ease forwards;
}

.animate-step[data-step="1"] { animation-delay: 0.2s; }
.animate-step[data-step="2"] { animation-delay: 0.4s; }
.animate-step[data-step="3"] { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.border-top-primary {
    border-top: 4px solid #195791;
}

.time-card h4,
.step-card h3,
.curriculum-card,
.journey-step h5 {
    color: #195791;
}

.hour-rule {
    background: #f5fbff;
    border: 1px solid rgba(25, 87, 145, 0.2);
}

.open-door-process {
    background: linear-gradient(135deg, rgba(25, 87, 145, 0.18), rgba(13, 58, 106, 0.09));
}

.open-door-process .section-title,
.open-door-process .section-subtitle {
    color: #0d3a6a;
}

@media (max-width: 768px) {
    .process-hero {
        min-height: 320px;
    }

    .process-hero .parallax-element {
        width: 170px;
        height: 170px;
        left: 50%;
        transform: translateX(-50%);
    }

    .step-card,
    .time-card,
    .hour-rule {
        text-align: center;
    }

    .step-card h3,
    .time-card h4 {
        font-size: 1.1rem;
    }
}


/* ================================================================
   ACCESSIBILITY
   ================================================================ */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ================================================================
   UTILITY CLASSES
   ================================================================ */

.bg-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0d3a6a 100%);
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-accent {
    color: var(--accent-color) !important;
}

.bg-accent-light {
    background: rgba(217, 196, 38, 0.08) !important;
}

.shadow-lg {
    box-shadow: var(--shadow-heavy) !important;
}

.accent-underline {
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 8px;
}

.accent-border-left {
    border-left: 4px solid var(--accent-color);
    padding-left: 16px;
}

/* ================================================================
   CALL TO ACTION SECTION
   ================================================================ */

.cta-section {
    margin-top: 5rem;
    position: relative;
    overflow: hidden;
}

.cta-background {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0d3a6a 100%);
    padding: 80px 0;
    position: relative;
}

.cta-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.03)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.03)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.02)"/><circle cx="10" cy="50" r="0.5" fill="rgba(255,255,255,0.02)"/><circle cx="90" cy="30" r="0.5" fill="rgba(255,255,255,0.02)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.5;
}

.cta-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.8s ease-out;
}

.cta-headline {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.cta-text {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 600px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.btn-cta-main {
    background: linear-gradient(135deg, var(--accent-color) 0%, #b82a1f 100%);
    color: var(--white) !important;
    border: none;
    padding: 18px 40px;
    font-weight: 700;
    border-radius: 50px;
    transition: var(--transition-bounce);
    box-shadow: 0 8px 25px rgba(217, 50, 38, 0.3);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.btn-cta-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-cta-main:hover::before {
    left: 100%;
}

.btn-cta-main:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(217, 50, 38, 0.4);
}

.btn-cta-main:active {
    transform: translateY(-1px) scale(1.02);
}

.btn-cta-main i {
    transition: var(--transition-smooth);
}

.btn-cta-main:hover i {
    transform: translate(4px, -4px);
}

.cta-visual {
    position: relative;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.cta-icon-circle {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.1);
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    animation: float 3s ease-in-out infinite;
}

.cta-icon-circle i {
    font-size: 3rem;
    color: var(--white);
}

.cta-accent-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(217, 196, 38, 0.2);
    animation: pulse 2s ease-in-out infinite;
}

.cta-accent-shape.shape-1 {
    width: 40px;
    height: 40px;
    top: -20px;
    right: 20px;
    animation-delay: 0s;
}

.cta-accent-shape.shape-2 {
    width: 25px;
    height: 25px;
    bottom: -15px;
    left: 30px;
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1); 
        opacity: 0.7;
    }
    50% { 
        transform: scale(1.2); 
        opacity: 1;
    }
}

/* CTA Section Responsive */
@media (max-width: 768px) {
    .cta-headline {
        font-size: 2rem;
    }
    
    .cta-text {
        font-size: 1rem;
    }
    
    .btn-cta-main {
        padding: 16px 32px;
        font-size: 1rem;
    }
    
    .cta-icon-circle {
        width: 100px;
        height: 100px;
    }
    
    .cta-icon-circle i {
        font-size: 2.5rem;
    }
}
