/* =========================================
   VARIABLES & SETUP
   ========================================= */
:root {
    /* Colors */
    --primary: #0f3d7a;
    --primary-light: #1a56a6;
    --primary-dark: #0a2952;
    --secondary: #ff6b00;
    --secondary-hover: #e56000;
    --accent: #f8c129;

    /* Text Colors */
    --text-main: #1f2937;
    --text-muted: #6b7280;
    --text-muted-light: #9ca3af;
    --white: #ffffff;
    --dark: #111827;

    /* Backgrounds */
    --bg-main: #ffffff;
    --bg-alt: #f9fafb;
    --bg-light: #f3f4f6;

    /* Effects */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-colored: 0 10px 25px -5px rgba(15, 61, 122, 0.2);
    --shadow-orange: 0 10px 25px -5px rgba(255, 107, 0, 0.3);

    /* Dimensions & Spacing */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-pill: 50px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography Base */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout Core */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 100px 0;
}

/* Utilities */
.text-center {
    text-align: center;
}

.text-white {
    color: var(--white);
}

.text-dark {
    color: var(--dark);
}

.text-primary {
    color: var(--primary);
}

.text-secondary {
    color: var(--secondary);
}

.text-accent {
    color: var(--accent);
}

.text-muted {
    color: var(--text-muted);
}

.text-muted-light {
    color: white;
}

.bg-primary {
    background-color: var(--primary);
}

.bg-dark {
    background-color: #18737c;
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-alt {
    background-color: var(--bg-alt);
}

.mb-10 {
    margin-bottom: 10px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mt-10 {
    margin-top: 10px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-30 {
    margin-top: 30px;
}

.mt-40 {
    margin-top: 40px;
}

.pt-20 {
    padding-top: 20px;
}

.pt-60 {
    padding-top: 60px;
}

.pb-20 {
    padding-bottom: 20px;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.ml-2 {
    margin-left: 8px;
}

.block {
    display: block;
}

.hidden {
    display: none !important;
}

.relative {
    position: relative;
}

.z-10 {
    z-index: 10;
}

.w-full {
    width: 100%;
}

.op-80 {
    opacity: 0.8;
}

.font-semibold {
    font-weight: 600;
}

.text-sm {
    font-size: 0.875rem;
}

/* Custom elements */
.highlight {
    color: var(--secondary);
}

.subtitle {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary);
    margin-bottom: 16px;
    font-family: 'Montserrat', sans-serif;
}

.heading-line {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    border-radius: 2px;
    margin-top: 16px;
    margin-bottom: 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.btn-primary {
    background-color: #017683;
    color: var(--white);
    box-shadow: var(--shadow-orange);
}

.btn-primary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(255, 107, 0, 0.4);
    color: var(--white);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

.btn-outline.text-white.border-white {
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--white);
}

.btn-outline.text-white.border-white:hover {
    background-color: var(--white);
    color: var(--primary);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.btn-icon {
    font-size: 1.25rem;
    margin-right: 8px;
}

/* =========================================
   COMPONENTS
   ========================================= */

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 16px;
}

.nav-link {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-main);
    position: relative;
    padding: 8px 0;
}

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background-color: #017683;
        transition: var(--transition);
    }

    .nav-link:hover {
        color: #017683;
    }

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

    .nav-link.active {
        color: #017683;
    }

.nav-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    font-size: 1.8rem;
    color: var(--primary);
    cursor: pointer;
}

/* Mobile Menu Popup */
.mobile-menu {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--white);
    padding: 20px;
    box-shadow: var(--shadow-md);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path 0.4s ease-in-out;
}

.mobile-menu.open {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-link {
    font-weight: 600;
    font-size: 1.1rem;
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid var(--bg-light);
}

.mobile-auth-links {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--bg-light);
}

/* Hero Section */
.hero-section {
    padding: 0;
    height: 100vh;
    min-height: 600px;
    position: relative;
    overflow: hidden;
    /* Added to fix Swiper boundaries */
}

.hero-swiper {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.swiper-wrapper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.media-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(10, 41, 82, 0.9) 0%, rgba(10, 41, 82, 0.5) 50%, rgba(10, 41, 82, 0.2) 100%);
}

.slide-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--white);
    padding-top: 80px;
    /* Offset for navbar */
    max-width: 800px;
}

.slide-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 24px;
    letter-spacing: 1px;
    text-transform: uppercase;
    width: max-content;
}

.slide-title {
    color: var(--white);
    margin-bottom: 24px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.slide-desc {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
}

.slide-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.slider-controls {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.swiper-pagination {
    position: static !important;
    text-align: left !important;
    width: auto !important;
}

.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5) !important;
    width: 10px !important;
    height: 10px !important;
    opacity: 1 !important;
    transition: var(--transition) !important;
}

.swiper-pagination-bullet-active {
    background: var(--secondary) !important;
    width: 30px !important;
    border-radius: 5px !important;
}

.nav-buttons {
    display: flex;
    gap: 16px;
}

.swiper-button-next,
.swiper-button-prev {
    position: static !important;
    width: 48px !important;
    height: 48px !important;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--white) !important;
    transition: var(--transition);
    margin: 0 !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1.25rem !important;
    font-weight: bold;
}

/* Programs Section */
.programs-section {
    background-color: var(--bg-alt);
    position: relative;
}

.programs-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--bg-light) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.5;
    z-index: 0;
}

.section-desc {
    max-width: 600px;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 50px;
}

/* Programs Layouts & Tabs */
.programs-tabs-wrapper {
    position: relative;
    z-index: 1;
}

.programs-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 24px;
    background: var(--white);
    border: 2px solid var(--bg-light);
    border-radius: var(--radius-pill);
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
}

    .tab-btn.active,
    .tab-btn:hover {
        background: #017683;
        border-color: #017683;
        color: var(--white);
        box-shadow: var(--shadow-colored);
    }

.tab-content {
    display: none;
    animation: fadeIn 0.4s ease-in-out;
}

.tab-content.active {
    display: block;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.program-category-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-top: 4px solid var(--primary);
    height: auto;
    display: flex;
    flex-direction: column;
}

.programs-swiper .swiper-wrapper {
    align-items: stretch;
}

.program-category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.cat-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--bg-light);
    padding-bottom: 15px;
}

.cat-icon {
    width: 45px;
    height: 45px;
    background: rgba(15, 61, 122, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.cat-header h3 {
    font-size: 1.15rem;
    color: var(--dark);
    line-height: 1.4;
    margin: 0;
}

.cat-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cat-list li {
    position: relative;
    padding-left: 20px;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.cat-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: var(--secondary);
    border-radius: 50%;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.programs-swiper,
.programs-swiper-hot {
    width: 100%;
    padding: 20px 0 60px 0;
    position: relative;
    z-index: 1;
}

.program-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.card-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.program-card:hover .card-image img {
    transform: scale(1.1);
}

.card-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--secondary);
    color: var(--white);
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 2;
    box-shadow: var(--shadow-sm);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 41, 82, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.program-card:hover .card-overlay {
    opacity: 1;
}

.view-btn {
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
    transform: translateY(20px);
    transition: var(--transition);
}

.program-card:hover .view-btn {
    transform: translateY(0);
}

.view-btn:hover {
    background: var(--secondary);
    color: var(--white);
}

.card-content {
    padding: 30px 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-alt);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    margin-top: -60px;
    margin-bottom: 20px;
    position: relative;
    z-index: 3;
    box-shadow: var(--shadow-md);
    border: 3px solid var(--white);
    transition: var(--transition);
}

.program-card:hover .card-icon {
    background: var(--primary);
    color: var(--white);
}

.card-content h3 {
    margin-bottom: 12px;
    transition: var(--transition);
}

.program-card:hover .card-content h3 {
    color: var(--primary);
}

.card-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
    flex-grow: 1;
}

.read-more {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    color: var(--primary);
    font-family: 'Montserrat', sans-serif;
}

.read-more i {
    margin-left: 8px;
    transition: transform 0.3s;
}

.read-more:hover {
    color: var(--secondary);
}

.read-more:hover i {
    transform: translateX(5px);
}

/* Consultation Section */
.consultation-section {
    background-color: var(--white);
    overflow: hidden;
}

.container-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
}

.align-center {
    align-items: center;
}

.consultation-content {
    flex: 1;
    min-width: 300px;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(15, 61, 122, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.contact-item:hover .contact-icon {
    background: var(--primary);
    color: var(--white);
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.contact-item p {
    color: var(--text-muted);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    font-size: 1.2rem;
}

.social-icon:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.consultation-image-wrapper {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.consultation-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    z-index: 2;
    box-shadow: var(--shadow-xl);
}

/* Decorative Shapes */
.shape {
    position: absolute;
    background: var(--accent);
    border-radius: 50%;
    z-index: 1;
}

.shape-1 {
    width: 150px;
    height: 150px;
    top: -30px;
    right: -30px;
    opacity: 0.5;
}

.shape-2 {
    width: 100px;
    height: 100px;
    bottom: -20px;
    left: -20px;
    background: var(--secondary);
    opacity: 0.2;
}

/* Glassmorphism Floating Card */
.floating-card {
    position: absolute;
    bottom: 30px;
    left: -40px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 20px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-lg);
    z-index: 3;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.avatar-group {
    display: flex;
}

.avatar-group img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 3px solid var(--white);
    margin-left: -15px;
}

.avatar-group img:first-child {
    margin-left: 0;
}

.fc-title {
    font-weight: 700;
    color: var(--dark);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.2;
}

.fc-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* News Section */
.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.news-main-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 400px;
}

.news-main-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.news-main-card:hover img {
    transform: scale(1.05);
}

.glass-effect {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(10, 41, 82, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 24px;
    border-radius: var(--radius-md);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.news-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--accent);
    margin-bottom: 8px;
    font-weight: 600;
}

.glass-effect h3 {
    color: var(--white);
    font-size: 1.3rem;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: space-between;
}

.news-list-item {
    display: flex;
    gap: 20px;
    background: var(--white);
    padding: 16px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.news-list-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.news-thumb {
    width: 120px;
    height: 90px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}

.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-info h4 {
    font-size: 1.1rem;
    line-height: 1.4;
    margin-top: 4px;
    transition: color 0.3s;
}

.news-list-item:hover h4 {
    color: var(--primary);
}

/* Registration section */
.registration-section {
    padding: 100px 0;
    background-color: var(--bg-main);
    position: relative;
    overflow: hidden;
}

.form-bg-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 0;
}

.circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.6;
}

.circle-1 {
    width: 400px;
    height: 400px;
    background: rgba(15, 61, 122, 0.1);
    top: -100px;
    left: -100px;
}

.circle-2 {
    width: 500px;
    height: 500px;
    background: rgba(255, 107, 0, 0.08);
    bottom: -200px;
    right: -100px;
}

.registration-box {
    display: grid;
    grid-template-columns: 2fr 3fr;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--white);
}

.custom-shadow {
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1), 0 0 20px rgba(0, 0, 0, 0.02);
}

.reg-info {
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.pattern-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 0;
}

.reg-info>* {
    position: relative;
    z-index: 1;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.b-icon {
    font-size: 1.5rem;
    color: var(--accent);
}

.reg-form-container {
    padding: 60px;
    background: var(--white);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    position: relative;
}

.full-width {
    grid-column: 1 / -1;
}

.text-input-group {
    position: relative;
    margin-top: 10px;
}

.input-field {
    width: 100%;
    padding: 16px 16px 16px 45px;
    background: var(--bg-alt);
    border: 1px solid var(--bg-light);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-main);
    transition: var(--transition);
}

.input-field:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(15, 61, 122, 0.1);
}

.input-label {
    position: absolute;
    left: 45px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted-light);
    transition: var(--transition);
    pointer-events: none;
    font-size: 0.95rem;
}

.input-field:focus~.input-label,
.input-field:not(:placeholder-shown)~.input-label {
    top: -10px;
    left: 10px;
    font-size: 0.8rem;
    background: var(--white);
    padding: 0 5px;
    color: var(--primary);
    font-weight: 600;
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.2rem;
    transition: var(--transition);
}

.input-field:focus~.input-icon {
    color: var(--primary);
}

/* Radio buttons Group styling */
.field-desc {
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--dark);
}

.row-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
}

.radio-label input[type="radio"] {
    display: none;
}

.custom-radio {
    width: 20px;
    height: 20px;
    border: 2px solid var(--text-muted-light);
    border-radius: 50%;
    margin-right: 8px;
    position: relative;
    transition: var(--transition);
}

.radio-label input[type="radio"]:checked+.custom-radio {
    border-color: var(--primary);
}

.radio-label input[type="radio"]:checked+.custom-radio::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
}

/* Select specific styling */
.select-group .input-label {
    top: -10px;
    left: 10px;
    font-size: 0.8rem;
    background: var(--white);
    padding: 0 5px;
    color: var(--dark);
    font-weight: 600;
}

.select-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

select.input-field {
    cursor: pointer;
    appearance: none;
    padding-left: 16px;
    /* No icon on left for select */
}

.privacy-text {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Success State */
.success-state {
    text-align: center;
    padding: 40px 20px;
    background: var(--bg-alt);
    border-radius: var(--radius-md);
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success-icon {
    font-size: 4rem;
    color: #10b981;
    margin-bottom: 20px;
}

/* Why Choose Section */
.why-choose-section {
    background-color: var(--white);
    position: relative;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-top: 40px;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.reasons-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.reason-item {
    display: flex;
    gap: 20px;
    background: var(--bg-alt);
    padding: 24px;
    border-radius: var(--radius-md);
    transition: var(--transition);
    border: 1px solid var(--bg-light);
}

.reason-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
    border-color: rgba(15, 61, 122, 0.1);
}

.reason-icon {
    width: 60px;
    height: 60px;
    background: rgba(15, 61, 122, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.reason-item:hover .reason-icon {
    background: var(--primary);
    color: var(--white);
}

.reason-content h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--primary-dark);
}

.reason-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

/* =========================================
   NEWS PAGE MODULE
   ========================================= */

/* Page Header */
.page-header {
    background: linear-gradient(rgba(10, 41, 82, 0.8), rgba(10, 41, 82, 0.8)), url('https://images.unsplash.com/photo-1541339907198-e08756dedf3f?q=80&w=2070&auto=format&fit=crop') center/cover;
    padding: 160px 0 80px;
    margin-top: 0;
}

.page-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

/* News Page Layout */
.news-page-section {
    padding: 80px 0;
    background-color: var(--bg-alt);
}

.news-page-layout {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 40px;
}

/* Main News List */
.news-main-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.news-item-card {
    display: flex;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.news-item-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.news-item-img {
    flex: 0 0 320px;
    height: 100%;
}

.news-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 250px;
}

.news-item-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.news-meta {
    display: flex;
    gap: 15px;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.news-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-item-content h3 {
    margin-bottom: 15px;
    font-size: 1.35rem;
    line-height: 1.4;
}

.news-item-content h3 a:hover {
    color: var(--secondary);
}

.news-item-content p {
    color: var(--text-muted);
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
}

.read-more:hover {
    color: var(--secondary);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.page-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: var(--radius-sm);
    color: var(--text-main);
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.page-link:hover,
.page-link.active {
    background: var(--secondary);
    color: var(--white);
}

.page-dots {
    display: flex;
    align-items: end;
    padding-bottom: 10px;
}

/* Sidebar */
.news-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.widget-title {
    font-size: 1.25rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary);
    border-radius: 2px;
}

.related-news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.related-news-item {
    display: flex;
    gap: 15px;
    align-items: center;
}

.related-news-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.related-content h4 {
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 5px;
}

.related-content h4 a:hover {
    color: var(--secondary);
}

.related-content .date {
    font-size: 0.8rem;
    color: var(--text-muted-light);
}

.category-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.category-list li a {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--bg-light);
    color: var(--text-muted);
}

.category-list li:last-child a {
    border-bottom: none;
}

.category-list li a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

/* =========================================
   ARTICLE DETAIL PAGE
   ========================================= */

.article-content-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 40px;
}

.article-header {
    margin-bottom: 30px;
}

.article-category {
    display: inline-block;
    background: rgba(255, 107, 0, 0.1);
    color: var(--secondary);
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.article-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 20px;
    line-height: 1.3;
}

.article-meta-details {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-bottom: 1px solid var(--bg-light);
    padding-bottom: 20px;
}

.article-meta-details span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-featured-img {
    width: 100%;
    border-radius: var(--radius-md);
    margin-bottom: 40px;
    overflow: hidden;
}

.article-body {
    font-size: 1.1rem;
    color: var(--text-main);
    line-height: 1.8;
}

.article-body p {
    margin-bottom: 20px;
}

.article-body h2,
.article-body h3 {
    margin-top: 40px;
    margin-bottom: 20px;
}

.article-body ul {
    margin-bottom: 20px;
    padding-left: 20px;
    list-style-type: disc;
}

.article-body li {
    margin-bottom: 10px;
}

.article-quote {
    background: rgba(15, 61, 122, 0.05);
    border-left: 4px solid var(--primary);
    padding: 24px;
    margin: 30px 0;
    font-style: italic;
    font-size: 1.2rem;
    color: var(--primary-dark);
}

.article-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--bg-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.article-tags {
    display: flex;
    gap: 10px;
    align-items: center;
}

.tag {
    background: var(--bg-light);
    color: var(--text-muted);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    transition: var(--transition);
}

.tag:hover {
    background: var(--primary);
    color: var(--white);
}

.article-share {
    display: flex;
    align-items: center;
    gap: 12px;
}

.share-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    color: var(--text-main);
    transition: var(--transition);
}

.share-btn:hover {
    background: var(--secondary);
    color: var(--white);
    transform: translateY(-2px);
}

/* Footer Section */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-title {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: white;
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 16px;
    color: white;
}

.footer-contact li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.footer-contact i {
    font-size: 1.2rem;
    margin-top: 2px;
}

.footer-socials a {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.footer-socials a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.border-top {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */

@media (max-width: 1100px) {
    .nav-links {
        display: none;
    }

    .nav-actions .btn {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .news-page-layout {
        grid-template-columns: 1fr;
    }

    .registration-box {
        grid-template-columns: 1fr;
    }

    .reg-info {
        padding: 40px;
    }

    .reg-form-container {
        padding: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .brand-col {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    section {
        padding: 60px 0;
    }

    .container-flex {
        flex-direction: column;
        gap: 40px;
    }

    .floating-card {
        left: 20px;
        bottom: 20px;
        right: 20px;
        width: calc(100% - 40px);
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .news-item-card {
        flex-direction: column;
    }

    .news-item-img {
        flex: 0 0 200px;
    }

    .article-content-wrapper {
        padding: 24px;
    }
}

/* =========================================
   MODAL POPUP STYLES
   ========================================= */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 24, 39, 0.85);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    padding: 20px;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 30px;
    box-shadow: var(--shadow-xl);
    transform: scale(0.95) translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--bg-light);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.modal-close:hover {
    background: var(--secondary);
    color: var(--white);
    transform: rotate(90deg);
}

.modal-header {
    margin-bottom: 25px;
    padding-right: 40px;
    border-bottom: 2px solid var(--bg-light);
    padding-bottom: 15px;
}

.modal-header h3 {
    margin: 0;
    color: var(--primary);
    font-size: 1.4rem;
}

.modal-body .video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.modal-body .video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.modal-body .pdf-wrapper {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: var(--bg-light);
}

.modal-body .pdf-wrapper iframe {
    border: none;
    display: block;
}

/* Link Styles for Modal Triggers */
.program-link {
    color: var(--primary);
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: transparent;
    transition: var(--transition);
    display: inline-block;
}

.program-link:hover {
    color: var(--secondary);
    text-decoration-color: var(--secondary);
    transform: translateX(5px);
}

/* Modal Split Layout */
.modal-content {
    max-width: 1100px;
    /* Increased from 900px */
}

.modal-badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(15, 61, 122, 0.1);
    color: var(--primary);
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.modal-split {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.modal-desc-container {
    background: var(--bg-alt);
    border: 1px solid var(--bg-light);
    border-radius: var(--radius-md);
    padding: 25px;
    height: 100%;
}

.modal-desc-container h4 {
    color: var(--secondary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.15rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 12px;
}

.modal-desc-text {
    color: var(--text-main);
    font-size: 0.95rem;
    line-height: 1.7;
    max-height: 400px;
    /* Increased from 350px */
    overflow-y: auto;
    padding-right: 15px;
}

/* Typography styles for long descriptions inside modal */
.modal-desc-text p {
    margin-bottom: 12px;
}

.modal-desc-text p:last-child {
    margin-bottom: 0;
}

.modal-desc-text ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.modal-desc-text li {
    list-style-type: disc;
    margin-bottom: 6px;
}

.modal-desc-text strong {
    color: var(--dark);
    font-weight: 600;
}

/* Custom Scrollbar for Modal Text */
.modal-desc-text::-webkit-scrollbar {
    width: 6px;
}

.modal-desc-text::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.modal-desc-text::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 10px;
}

.modal-desc-text::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.modal-document-section h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--dark);
    margin-bottom: 15px;
    font-size: 1.25rem;
}

/* Desktop Layout */
@media (min-width: 992px) {
    .modal-split {
        flex-direction: row;
        align-items: stretch;
    }

    .modal-media {
        flex: 0 0 60%;
        max-width: 60%;
    }

    .modal-info {
        flex: 0 0 calc(40% - 30px);
        max-width: calc(40% - 30px);
    }
}