/* --- Base & Fluid Resets --- */
:root {
    --primary-color: #e62324; /* Modernized red from original brand */
    --primary-hover: #cc2f2a;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f9f9f9;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.18);
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    /* Padding to account for the sticky header */
    padding-top: 140px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* --- Sticky Glassmorphism Header --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-speed) ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Top Bar (Contact & Auth) --- */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-size: 0.85rem;
}

.contact-info {
    display: flex;
    gap: 20px;
    color: var(--text-light);
}

.contact-info i {
    color: var(--primary-color);
    margin-right: 5px;
}

.auth-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 500;
    transition: all var(--transition-speed);
    cursor: pointer;
    border: none;
}

.btn-outline {
    background: transparent;
    border: 1px solid #ccc;
    color: var(--text-dark);
}

.btn-outline:hover {
    background: #f0f0f0;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(158, 48, 52, 0.2);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

/* --- Alerts --- */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-size: 0.95rem;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-error {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.alert ul {
    margin: 0;
    padding-left: 20px;
}

/* --- Main Navigation --- */
.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

/* Merged and cleaned up Logo Styles */
.logo {
    display: flex;
    align-items: center; /* Vertically centers the logo with the text */
    gap: 12px;           /* Modern spacing between logo and text */
    transition: transform var(--transition-speed);
}

.logo:hover {
    transform: scale(1.02); /* Slight hover effect for a "lively" feel */
}

.logo-icon {
    height: 50px; /* Adjust height based on your specific logo file */
    width: auto;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column; /* Keeps name on top and tagline below */
}

.logo h1 {
    color: var(--primary-color);
    font-size: 1.6rem;      /* Slightly reduced to keep the header sleek */
    font-weight: 700;
    line-height: 1.1;
    margin: 0;
}

.logo span {
    font-size: 0.6rem;
    color: var(--text-light);
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* Nav Links & Dropdowns */
.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-item {
    position: relative;
    font-weight: 500;
    color: var(--text-dark);
    padding: 10px 0;
}

.nav-item > a {
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color var(--transition-speed);
}

.nav-item:hover > a {
    color: var(--primary-color);
}

/* Dropdown Setup */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    min-width: 200px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-speed) ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 12px 20px;
    font-size: 0.9rem;
    color: var(--text-dark);
    border-bottom: 1px solid rgba(0,0,0,0.03);
    transition: background var(--transition-speed), color var(--transition-speed);
}

.dropdown-menu li:last-child a { border-bottom: none; }

.dropdown-menu li a:hover {
    background: var(--primary-color);
    color: white;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
    background: none;
    border: none;
}

/* --- Footer --- */
footer {
    background: #222;
    color: #fff;
    padding: 60px 0 20px;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #fff;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.footer-col p {
    color: #ccc;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.footer-links li { margin-bottom: 10px; }
.footer-links a {
    color: #ccc;
    font-size: 0.9rem;
    transition: color var(--transition-speed);
}
.footer-links a:hover { color: var(--primary-color); }

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #888;
    font-size: 0.85rem;
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .contact-info { display: none; } /* Hide extra contact info to save space */
    .top-bar { justify-content: flex-end; }

    .hamburger { display: block; }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 0;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        border-top: 1px solid rgba(0,0,0,0.05);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease-in-out;
    }

    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .nav-item {
        width: 100%;
        padding: 0;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }

    .nav-item > a {
        padding: 15px 20px;
        width: 100%;
        justify-content: space-between;
    }

    /* Mobile Dropdown Logic */
    .dropdown-menu {
        position: static;
        box-shadow: none;
        border-radius: 0;
        background: #f9f9f9;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: none;
    }

    .nav-item.dropdown.active .dropdown-menu {
        display: block;
    }
}

/* --- Hero Container --- */
.hero-carousel {
    position: relative;
    height: 85vh; /* Desktop Height */
    width: 100%;
    overflow: hidden;
    background: #000;
}

/* --- Slides & Content --- */
.slides-container {
    height: 100%;
    width: 100%;
}

.slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease-in-out, transform 8s linear;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    z-index: 1;
    padding: 20px;
}

.slide.active {
    opacity: 1;
    transform: scale(1.1);
    z-index: 2;
}

.slide-content {
    max-width: 900px;
    z-index: 10;
}

.slide-content h2 {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 800;
    text-shadow: 0 4px 15px rgba(0,0,0,0.3);
    margin-bottom: 10px;
}

.slide-content p {
    font-size: 1.2rem;
    font-weight: 300;
}

/* --- Floating Action Button --- */
.apply-fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary-color);
    color: #fff;
    padding: 12px 12px 12px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(230, 35, 36, 0.4);
    z-index: 100;
    animation: fab-pulse 2s infinite;
    transition: transform 0.3s ease;
}

.apply-fab:hover { transform: scale(1.05) translateY(-5px); }

.fab-icon {
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: grid;
    place-items: center;
}

/* --- Carousel Dots --- */
.carousel-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active { background: #fff; }

/* --- Mobile-Specific Overrides --- */
@media (max-width: 768px) {
    .hero-carousel {
        height: 60vh; /* Reduced height for mobile */
        min-height: 400px;
    }

    .slide-content {
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        padding: 30px 20px;
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        width: 90%;
    }

    .slide-content h2 {
        font-size: 1.8rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .fab-text { display: none; }
    .apply-fab {
        padding: 12px;
        bottom: 20px;
        right: 20px;
    }

    .carousel-dots {
        bottom: 15px;
    }
}

@keyframes fab-pulse {
    0% { box-shadow: 0 0 0 0 rgba(230, 35, 36, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(230, 35, 36, 0); }
    100% { box-shadow: 0 0 0 0 rgba(230, 35, 36, 0); }
}

.available-courses {
    padding: 80px 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: background 0.5s ease-in-out;
    color: #fff;
}

.available-courses::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
}

.available-courses {
    position: relative;
}

.available-courses .container {
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 700;
}

/* Tabs Styling */
.degree-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
}

.tab-btn {
    padding: 12px 30px;
    border: 2px solid #eee;
    background: #fff;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-light);
}

.tab-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 8px 20px rgba(230, 35, 36, 0.2);
}

/* Category Cards */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.category-card {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: translateY(-10px);
}

.category-card h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    border-bottom: 2px solid #f9f9f9;
    padding-bottom: 10px;
}

.course-list {
    list-style: none;
    padding: 0;
}

.course-list li {
    padding: 8px 0;
    font-size: 0.95rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.course-list li::before {
    content: "→";
    color: var(--primary-color);
    font-weight: bold;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .degree-tabs {
        flex-direction: column;
        align-items: stretch;
    }
    .section-header h2 { font-size: 2rem; }
}

/* Container and General Spacing */
.why-choose-us {
    padding: 80px 5%;
    background-color: #fff;
    font-family: 'Inter', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header Content Row */
.content-row {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}

.text-block { flex: 1; }
.image-block { flex: 1; }

.eyebrow {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

.text-block h2 {
    font-size: 36px;
    font-weight: 800;
    color: #222;
    margin-bottom: 20px;
}

.text-block p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 30px;
}

/* Media Container & Video Button */
.media-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.media-container img {
    width: 100%;
    height: auto;
    display: block;
}

.video-play-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #ff3b3b;
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

/* Statistics Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.stat-card {
    background: #f8fbff;
    padding: 25px;
    border-radius: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.3s ease;
}

.stat-card:hover { transform: translateY(-5px); }

.stat-card .number {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-color);
}

.stat-card .label {
    font-size: 13px;
    color: #777;
    font-weight: 500;
}

.stat-card .icon {
    font-size: 24px;
    color: #ccc;
    opacity: 0.5;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .content-row { flex-direction: column; text-align: center; }
    .video-play-btn { top: 10px; right: 10px; }
}

.faq-section {
    padding: 80px 0;
    background: #f9fbff;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

/* FAQ Item */
.faq-item {
    background: #fff;
    border-radius: 15px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

/* Question */
.faq-question {
    width: 100%;
    padding: 20px 25px;
    font-size: 1rem;
    font-weight: 600;
    background: none;
    border: none;
    outline: none;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question .icon {
    font-size: 0.9rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

/* Answer */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: all 0.3s ease;
}

.faq-answer p {
    padding: 15px 0;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Active State */
.faq-item.active {
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-item.active .faq-question .icon {
    transform: rotate(45deg);
}

/* Responsive */
@media (max-width: 768px) {
    .faq-question {
        font-size: 0.95rem;
        padding: 18px;
    }

    .faq-answer {
        padding: 0 18px;
    }
}

/*Application*/
.application-section {
    padding: 60px 0;
}

.form-section {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.form-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.form-header .step {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px dashed var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.sub-title {
    margin: 30px 0 20px;
    font-weight: 600;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label.main-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

input[type="text"],
input[type="email"],
input[type="number"],
input[type="tel"],
input[type="url"],
input[type="password"],
input[type="date"],
select,
textarea {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.radio-group {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-top: 10px;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 400;
}

.radio-group label:hover {
    color: var(--primary-color);
}

.radio-group input[type="radio"] {
    width: auto;
    margin: 0;
}

.radio-group input[type="radio"]:checked + span {
    color: var(--primary-color);
    font-weight: 500;
}

/* File Upload Styling */
.file-upload-wrapper {
    position: relative;
    width: 100%;
}

.file-upload-input {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.file-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border: 2px dashed #ddd;
    border-radius: 12px;
    background: #fdfdfd;
    transition: all 0.3s ease;
    text-align: center;
    color: var(--text-light);
}

.file-upload-label i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 8px;
    transition: transform 0.3s ease;
}

.file-upload-label span {
    font-size: 0.9rem;
    font-weight: 400;
}

.file-upload-wrapper:hover .file-upload-label {
    border-color: var(--primary-color);
    background: rgba(230, 35, 36, 0.02);
}

.file-upload-wrapper:hover .file-upload-label i {
    transform: translateY(-3px);
}

/* Label text color for better consistency */
.file-upload-label span {
    color: var(--text-light);
}

/* When file is selected (requires JS for full functionality, but basic CSS for now) */
.file-upload-input:focus + .file-upload-label {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(230, 35, 36, 0.1);
}

.submit-area {
    text-align: center;
    margin-top: 30px;
}

/* Responsive */
@media (max-width: 768px) {
    .form-grid,
    .grid-2,
    .grid-5 {
        grid-template-columns: 1fr;
    }

    .radio-group {
        flex-direction: column;
        gap: 10px;
    }
}

/* --- ABOUT HERO --- */
.about-hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
    url('/images/hero.jpg') center/cover no-repeat;
    padding: 120px 20px;
    color: #fff;
    text-align: center;
}

.about-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.about-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* --- ABOUT SECTION --- */
.about-section {
    padding: 80px 0;
    background: #fff;
}

/* --- MISSION SECTION --- */
.mission-section {
    padding: 80px 0;
    background: #f9fbff;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.mission-card {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.mission-card:hover {
    transform: translateY(-8px);
}

.mission-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* --- CTA --- */
.about-cta {
    padding: 80px 20px;
    text-align: center;
    background: var(--primary-color);
    color: #fff;
}

.about-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.about-cta p {
    margin-bottom: 20px;
}

/* --- MOBILE --- */
@media (max-width: 768px) {
    .about-hero h1 {
        font-size: 2rem;
    }

    .about-hero {
        padding: 80px 20px;
    }
}

/* PAYMENT PAGE */
.payment-page {
    padding: 80px 0;
    background: #f9fbff;
}

.payment-intro {
    max-width: 800px;
    margin: 10px auto 30px;
    color: var(--text-light);
    line-height: 1.6;
    text-align: center;
}

/* Methods List */
.payment-methods {
    text-align: center;
    margin-bottom: 40px;
}

.payment-methods ul {
    display: inline-block;
    text-align: left;
    background: #fff;
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.payment-methods li {
    margin: 8px 0;
    font-weight: 500;
}

/* Grid */
.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

/* Card */
.payment-card {
    background: #fff;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.payment-card:hover {
    transform: translateY(-5px);
}

.payment-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.payment-card h3 span {
    font-size: 0.8rem;
    color: #777;
}

.payment-card p {
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

/* Mobile */
@media (max-width: 768px) {
    .payment-page {
        padding: 50px 0;
    }
}

/* --- GLOBAL NETWORK SECTION --- */
.global-network {
    padding: 80px 0;
    background: #f4f6f9;
}

.global-network .section-header {
    margin-bottom: 50px;
}

.global-network .section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #222;
}

/* Grid */
.network-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

/* Card */
.network-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    position: relative;
}

.network-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

/* Image */
.network-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.network-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.network-card:hover .network-image img {
    transform: scale(1.08);
}

/* Flag */
.country-flag {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 70px;
    height: 45px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    background: #fff;
}

.country-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Content */
.network-content {
    padding: 20px;
}

.network-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 8px;
}

.network-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Mobile */
@media (max-width: 768px) {
    .global-network {
        padding: 60px 0;
    }

    .global-network .section-header h2 {
        font-size: 2rem;
    }

    .network-image {
        height: 200px;
    }
}
