/* ===== CSS Variables ===== */
:root {
    --primary-blue: #1976D2;
    --secondary-blue: #003D7A;
    --accent-blue: #00A8E8;
    --text-dark: #1A1A1A;
    --text-gray: #666666;
    --text-light: #999999;
    --bg-white: #FFFFFF;
    --bg-light: #F8F9FA;
    --bg-gray: #E9ECEF;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
    --transition-fast: all 0.2s ease;
}

/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

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

.text-center {
    text-align: center;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===== Top Bar ===== */
.top-bar {
    background: var(--secondary-blue);
    color: white;
    padding: 10px 0;
    font-size: 14px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.contact-info {
    display: flex;
    gap: 25px;
}

.contact-info a {
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.contact-info a:hover {
    color: var(--accent-blue);
}

.btn-top-cta {
    background: var(--accent-blue);
    color: white;
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 500;
    transition: var(--transition);
}

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

/* ===== Header & Navigation ===== */
.header {
    background: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-blue);
}

.logo img {
    height: 55px;
    width: auto;
    max-width: 180px;
}

.logo-img {
    height: 55px;
    width: auto;
    max-width: 180px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
    transition: var(--transition);
    padding: 8px 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-blue);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    transition: var(--transition);
}

/* ===== Hero Slider ===== */
.hero-slider-section {
    position: relative;
    /* Fill exactly the viewport below the top bar + header, so the whole
       hero (including the scroll indicator) is visible without scrolling.
       --chrome-h is measured by script.js; the fallback matches desktop. */
    height: calc(100vh - var(--chrome-h, 154px));
    min-height: 420px;
    overflow: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

.hero-slider-container {
    position: relative;
    height: 100%;
    width: 100%;
}

/* Slides are stacked and cross-faded rather than sliding in from the side. */
.hero-slider {
    position: relative;
    height: 100%;
    width: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.9s ease-in-out;
    pointer-events: none;
}

.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide {
        transition: none;
    }
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0, 61, 122, 0.5), rgba(0, 61, 122, 0.2));
}

.hero-slide-caption {
    position: absolute;
    left: 50px;
    bottom: 60px;
    z-index: 15;
    max-width: min(560px, calc(100% - 100px));
    padding: 18px 20px;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.hero-slide-caption.pos-bottom-left {
    left: 50px;
    bottom: 60px;
    top: auto;
    right: auto;
    transform: none;
}

.hero-slide-caption.pos-bottom-right {
    left: auto;
    right: 50px;
    bottom: 60px;
    top: auto;
    transform: none;
}

.hero-slide-caption.pos-top-left {
    left: 50px;
    top: 120px;
    bottom: auto;
    right: auto;
    transform: none;
}

.hero-slide-caption.pos-top-right {
    left: auto;
    right: 50px;
    top: 120px;
    bottom: auto;
    transform: none;
}

.hero-slide-caption.pos-center {
    left: 50%;
    top: 50%;
    right: auto;
    bottom: auto;
    transform: translate(-50%, -50%);
}

.hero-slide-title {
    color: #fff;
    font-size: var(--hero-slide-title-size, 34px);
    font-weight: 800;
    line-height: 1.15;
    margin: 0;
}

.hero-slide-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 14px;
    padding: 10px 16px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff;
    font-weight: 700;
    transition: var(--transition);
}

.hero-slide-cta:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-1px);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 10;
    width: 90%;
    max-width: 800px;
    display: none; /* Hide hero content titles */
}

@media (max-width: 768px) {
    .hero-slide-caption {
        left: 16px;
        right: 16px;
        bottom: 22px;
        max-width: none;
        padding: 14px 14px;
        border-radius: 12px;
    }

    .hero-slide-caption.pos-top-left,
    .hero-slide-caption.pos-top-right {
        top: 90px;
        left: 16px;
        right: 16px;
        bottom: auto;
    }

    .hero-slide-caption.pos-bottom-left,
    .hero-slide-caption.pos-bottom-right {
        top: auto;
        left: 16px;
        right: 16px;
        bottom: 22px;
    }

    .hero-slide-title {
        font-size: 22px;
    }
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
}

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
    z-index: 20;
}

.slider-btn {
    background: rgba(255, 255, 255, 0.3);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.5);
}

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

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

.slider-dot.active {
    background: white;
    width: 30px;
    border-radius: 6px;
}

/* Scroll Down Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 25;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    color: white;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.scroll-indicator .scroll-arrow {
    width: 30px;
    height: 50px;
    border: 2px solid white;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.scroll-indicator .scroll-arrow::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    animation: scroll 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

/* ===== Page Hero ===== */
.page-hero {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #0066CC 0%, #004999 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hide the first section header after page hero (title moved to banner) */
.page-hero + section .section-header:first-child,
.page-hero + section .section-header:first-of-type {
    display: none;
}

/* ...except on Resources, where the section straight after the hero is the
   featured list and "Featured Guides" is its own heading, not a repeat of
   the banner title. */
.page-hero + section.resources-featured-section .section-header:first-child,
.page-hero + section.resources-featured-section .section-header:first-of-type {
    display: block;
}

.hero-bg {
    display: none; /* Hide background images */
}

.page-hero .hero-overlay {
    display: none; /* No overlay needed with gradient */
}

.page-hero .hero-content {
    display: block !important; /* Force display - override general hero-content */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    color: white;
    width: 90%;
    max-width: 800px;
}

.page-hero .hero-content h1 {
    font-size: 42px;
    font-weight: 800;
    color: white;
    margin-bottom: 8px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.5px;
    line-height: 1.1;
    text-transform: capitalize;
}

.page-hero .hero-content p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    font-weight: 400;
    letter-spacing: 0.3px;
    margin: 0;
}

.page-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

/* ===== Section Styles ===== */
section {
    padding: 80px 0;
}

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

.section-subtitle {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-description {
    font-size: 16px;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
}

/* ===== Welcome Section ===== */
.welcome-section {
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f0f4f8 100%);
    padding: 100px 0;
    overflow: hidden;
}

.welcome-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 102, 204, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 73, 153, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.welcome-content {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    z-index: 1;
}

.welcome-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0066CC 0%, #004999 100%);
    border-radius: 50%;
    box-shadow: 
        0 10px 30px rgba(0, 102, 204, 0.3),
        0 0 0 20px rgba(0, 102, 204, 0.05);
    animation: float 3s ease-in-out infinite;
}

.welcome-icon i {
    font-size: 48px;
    color: white;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.welcome-subtitle {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #0066CC;
    margin-bottom: 15px;
    padding: 8px 20px;
    background: rgba(0, 102, 204, 0.1);
    border-radius: 30px;
}

.welcome-title {
    font-size: 48px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 30px;
    line-height: 1.2;
    background: linear-gradient(135deg, #1a1a1a 0%, #0066CC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.welcome-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 30px 0;
}

.divider-dot {
    width: 8px;
    height: 8px;
    background: #0066CC;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.divider-line {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #0066CC 50%, transparent 100%);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
}

.welcome-description {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.welcome-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 50px;
}

.welcome-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    padding: 15px 30px;
    background: white;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.welcome-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.2);
}

.welcome-feature i {
    color: #0066CC;
    font-size: 20px;
}

/* Responsive Welcome Section */
@media (max-width: 768px) {
    .welcome-section {
        padding: 60px 0;
    }
    
    .welcome-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 20px;
    }
    
    .welcome-icon i {
        font-size: 36px;
    }
    
    .welcome-subtitle {
        font-size: 12px;
        letter-spacing: 1px;
        padding: 6px 15px;
    }
    
    .welcome-title {
        font-size: 32px;
        margin-bottom: 20px;
    }
    
    .welcome-description {
        font-size: 16px;
        line-height: 1.6;
    }
    
    .welcome-features {
        flex-direction: column;
        gap: 15px;
        margin-top: 30px;
    }
    
    .welcome-feature {
        padding: 12px 25px;
        font-size: 14px;
    }
}

/* ===== Why Choose Section ===== */
.why-choose-section {
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 36px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
}

/* ===== Countries Section ===== */
.countries-section {
    background: var(--bg-light);
}

.countries-grid {
    display: grid;
    /* The design shows the four countries in a single row */
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.countries-full-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.country-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.countries-full-grid .country-card {
    display: flex;
    align-items: center;
    gap: 25px;
    text-align: left;
    padding: 25px;
}

.country-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.country-flag {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--bg-light);
    box-shadow: var(--shadow);
    flex-shrink: 0;
}

.countries-full-grid .country-flag {
    margin: 0;
}

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

.countries-full-grid .country-info {
    flex: 1;
}

.country-name {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.countries-full-grid .country-name {
    font-size: 20px;
    margin-bottom: 10px;
}

.country-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--text-gray);
}

.countries-full-grid .country-stats {
    justify-content: flex-start;
    margin-bottom: 12px;
}

.country-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.country-stats i {
    color: var(--primary-blue);
}

.btn-explore {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-blue);
    font-weight: 500;
    transition: var(--transition);
}

.btn-explore:hover {
    color: var(--accent-blue);
    gap: 12px;
}

@media (max-width: 768px) {
    .countries-full-grid {
        grid-template-columns: 1fr;
    }
    
    .countries-full-grid .country-card {
        flex-direction: column;
        text-align: center;
    }
    
    .countries-full-grid .country-flag {
        margin: 0 auto 20px;
    }
    
    .countries-full-grid .country-stats {
        justify-content: center;
    }
}

/* ===== Categories Section ===== */
.categories-section {
    background: white;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.categories-full-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.category-card {
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: var(--transition);
    background: white;
    height: 100%;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.category-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.category-overlay {
    padding: 20px;
    background: white;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.category-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.category-count {
    font-size: 14px;
    color: var(--text-gray);
}

/* ===== Statistics Section ===== */
.stats-section {
    background: var(--secondary-blue);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 18px;
    opacity: 0.9;
}

/* ===== Testimonials Section ===== */
.testimonials-section {
    background: var(--bg-light);
    position: relative;
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 60px;
}

.testimonial-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.testimonial-text {
    font-size: 18px;
    font-style: italic;
    color: var(--text-gray);
    margin-bottom: 30px;
    line-height: 1.8;
}

.testimonial-author {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 16px;
}

.testimonial-details {
    font-size: 14px;
    color: var(--text-gray);
    margin-top: 5px;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.testimonial-btn {
    background: var(--primary-blue);
    border: none;
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-btn:hover {
    background: var(--accent-blue);
}

/* ===== Blog Section ===== */
.blog-section {
    background: white;
}

.blog-grid {
    display: grid;
    /* The design shows the four latest posts in a single row */
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 25px;
}

.blog-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-excerpt {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 15px;
    line-height: 1.6;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.btn-read-more {
    color: var(--primary-blue);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.btn-read-more:hover {
    color: var(--accent-blue);
    gap: 8px;
}

/* ===== Instagram Section ===== */
/* Events Gallery Section */
.gallery-section {
    background: var(--bg-light);
    padding: 80px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

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

.gallery-item:hover img {
    transform: scale(1.15);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 61, 122, 0.95), rgba(0, 61, 122, 0.3));
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-content {
    color: white;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-content {
    transform: translateY(0);
}

.gallery-content h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.gallery-content p {
    font-size: 14px;
    opacity: 0.9;
}

/* Legacy Instagram styles for backward compatibility */
.instagram-section {
    background: var(--bg-light);
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 40px;
}

.instagram-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}

.instagram-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.instagram-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(25, 118, 210, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.instagram-item:hover .instagram-overlay {
    opacity: 1;
}

.instagram-item:hover img {
    transform: scale(1.1);
}

.instagram-overlay i {
    font-size: 48px;
    color: white;
}

/* Responsive Gallery */
@media (max-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .gallery-section {
        padding: 60px 0;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .gallery-content h4 {
        font-size: 16px;
    }
    .gallery-content p {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    transition: var(--transition);
}

.social-icon.facebook { background: #1877F2; }
.social-icon.instagram { background: #E4405F; }
.social-icon.twitter { background: #1DA1F2; }
.social-icon.youtube { background: #FF0000; }
.social-icon.linkedin { background: #0A66C2; }
.social-icon.tiktok { background: #000000; }

.social-icon:hover {
    transform: translateY(-3px);
}

/* ========================================
   ABOUT PAGE STYLES
======================================== */

/* About Section */
.about-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f0f7ff 100%);
}

.about-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px;
}

.about-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #0066CC, #004999);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.3);
}

.about-icon i {
    font-size: 50px;
    color: white;
}

.section-title-main {
    font-size: 42px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.lead-text {
    font-size: 20px;
    line-height: 1.8;
    color: #555;
    margin: 0;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.about-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-color: #0066CC;
}

.about-card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.about-card-icon i {
    font-size: 36px;
    color: #0066CC;
}

.about-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.about-card p {
    font-size: 16px;
    line-height: 1.7;
    color: #666;
    margin: 0;
}

/* Mission Section */
.mission-section {
    padding: 80px 0;
    background: white;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.mission-card {
    background: linear-gradient(135deg, #0066CC, #004999);
    padding: 50px 40px;
    border-radius: 20px;
    color: white;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.3);
    transition: all 0.3s ease;
}

.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 102, 204, 0.4);
}

.mission-icon {
    width: 90px;
    height: 90px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.mission-icon i {
    font-size: 40px;
    color: white;
}

.mission-card h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.mission-card p {
    font-size: 17px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
}

/* Why Choose Section */
.why-choose-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-title-center {
    text-align: center;
    font-size: 42px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px;
}

.feature-item {
    background: white;
    padding: 35px 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-color: #0066CC;
}

.feature-item i {
    font-size: 48px;
    color: #0066CC;
    margin-bottom: 20px;
}

.feature-item h4 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.feature-item p {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* Offices Section */
.offices-section {
    padding: 80px 0;
    background: white;
}

.offices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.office-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid #f0f0f0;
}

.office-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-color: #0066CC;
}

.office-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.office-flag {
    font-size: 48px;
}

.office-header h3 {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.office-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.office-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.office-detail-item i {
    font-size: 20px;
    color: #0066CC;
    margin-top: 3px;
    flex-shrink: 0;
}

.office-detail-item p {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    margin: 0;
}

.office-detail-item a {
    color: #0066CC;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.office-detail-item a:hover {
    color: #004999;
    text-decoration: underline;
}

.office-map {
    margin-top: 25px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.office-map iframe {
    display: block;
    width: 100%;
}

/* Responsive About Page */
@media (max-width: 968px) {
    .mission-grid {
        grid-template-columns: 1fr;
    }
    
    .offices-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title-main {
        font-size: 32px;
    }
    
    .section-title-center {
        font-size: 32px;
        margin-bottom: 40px;
    }
    
    .lead-text {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 50px 0;
    }
    
    .mission-section,
    .why-choose-section,
    .offices-section {
        padding: 50px 0;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .office-card {
        padding: 30px 20px;
    }
    
    .section-title-main {
        font-size: 28px;
    }
    
    .section-title-center {
        font-size: 28px;
    }
}

/* ===== Callback Section ===== */
.callback-section {
    position: relative;
    background: linear-gradient(135deg, #0066CC 0%, #004999 100%);
    padding: 100px 0;
}

.callback-overlay {
    display: none; /* No overlay needed with clean gradient */
}

.callback-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
}

.callback-content h2 {
    font-size: 32px;
    margin-bottom: 30px;
}

.callback-form {
    display: flex;
    justify-content: center;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.callback-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
}

.btn-submit {
    background: var(--accent-blue);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    background: var(--primary-blue);
}

.btn-submit-inquiry {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.btn-submit-inquiry:hover {
    background: var(--secondary-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 61, 122, 0.3);
}

/* ===== Category Page Styles ===== */
.category-description-section {
    padding: 60px 0 40px;
    background: #f8f9fa;
}

.category-description {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

.course-search-section {
    padding: 40px 0 80px;
    background: white;
}

.search-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

.search-main {
    min-width: 0;
}

.search-results-header {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
}

.search-results-header h2 {
    font-size: 24px;
    color: #1a1a1a;
    font-weight: 600;
}

/* Course Cards - Horizontal Layout */
.course-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.course-card-horizontal {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 280px 1fr;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.course-card-horizontal:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    border-color: #0066CC;
    transform: translateY(-2px);
}

.course-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

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

.course-card-horizontal:hover .course-image img {
    transform: scale(1.05);
}

.course-info {
    padding: 25px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.course-provider {
    font-size: 13px;
    color: #0066CC;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.course-name {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
    line-height: 1.3;
}

.course-description {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.course-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.course-meta span {
    font-size: 14px;
    color: #555;
    display: flex;
    align-items: center;
    gap: 6px;
}

.course-meta i {
    color: #0066CC;
}

.course-fee {
    font-weight: 600;
    color: #0066CC;
}

.course-actions {
    display: flex;
    gap: 15px;
    margin-top: auto;
}

/* Search Sidebar */
.search-sidebar {
    position: sticky;
    top: 20px;
    height: fit-content;
}

.sidebar-widget {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 25px;
}

.sidebar-widget h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #0066CC;
}

.search-form {
    display: flex;
    gap: 10px;
}

.search-form input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
}

.search-form input:focus {
    outline: none;
    border-color: #0066CC;
}

.btn-search {
    padding: 12px 20px;
    background: #0066CC;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-search:hover {
    background: #004999;
}

.filter-section {
    margin-bottom: 25px;
}

.filter-section h4 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

/* Filter Groups */
.filter-group {
    margin-bottom: 25px;
}

.filter-group h4 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    text-transform: capitalize;
}

.checkbox-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    padding: 8px 0;
    font-size: 15px;
    color: #555;
    cursor: pointer;
    transition: all 0.2s ease;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-label:hover {
    color: #0066CC;
    padding-left: 5px;
}

.filter-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.btn-filter {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-apply {
    background: #0066CC;
    color: white;
}

.btn-apply:hover {
    background: #004999;
}

.btn-clear {
    background: #f0f0f0;
    color: #666;
}

.btn-clear:hover {
    background: #e0e0e0;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 60px 20px;
}

.no-results i {
    font-size: 64px;
    color: #ccc;
    margin-bottom: 20px;
}

.no-results h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

.no-results p {
    font-size: 16px;
    color: #666;
}

/* Responsive Category Page */
@media (max-width: 968px) {
    .search-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .search-sidebar {
        position: static;
    }
    
    .course-card-horizontal {
        grid-template-columns: 1fr;
    }
    
    .course-image {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .category-description-section {
        padding: 40px 0 30px;
    }
    
    .course-search-section {
        padding: 30px 0 60px;
    }
    
    .course-name {
        font-size: 18px;
    }
    
    .sidebar-widget {
        padding: 20px;
    }
    
    .filter-actions {
        flex-direction: column;
    }
    
    .course-info {
        padding: 20px;
    }
}

/* ===== Services Page ===== */
.services-intro-section {
    padding: 60px 0 40px;
    background: white;
}

/* Related Services cards (service detail page). The image had no styling at
   all, so a service without one fell back to an empty grey rectangle. */
.service-card-image {
    height: 200px;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    background: #f8f9fa;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-card-image.is-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #eaf2fb 0%, #dbe9f8 100%);
}

.service-card-image.is-icon i {
    font-size: 56px;
    color: #0066CC;
}

/* Sits between the services grid and the callback form, mid-page. */
.free-services-section {
    padding: 0 0 70px;
    background: #f8f9fa;
}

.free-services-banner {
    background: linear-gradient(135deg, #0066CC 0%, #004999 100%);
    color: white;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 102, 204, 0.2);
}

.free-services-banner h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
}

.free-services-banner p {
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.95;
    max-width: 800px;
    margin: 0 auto;
}

.services-grid-section {
    padding: 60px 0 80px;
    background: #f8f9fa;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 0;
}

.service-card {
    background: white;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 102, 204, 0.15);
    border-color: #0066CC;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0066CC 0%, #004999 100%);
    border-radius: 50%;
    font-size: 36px;
    color: white;
}

.service-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.service-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
    line-height: 1.3;
}

.service-description {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* Responsive Services Page */
@media (max-width: 968px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .free-services-banner {
        padding: 30px 25px;
    }
    
    .free-services-banner h3 {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .services-intro-section {
        padding: 40px 0 30px;
    }
    
    .services-grid-section {
        padding: 40px 0 60px;
    }

    .free-services-section {
        padding: 0 0 50px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 30px 25px;
    }
    
    .free-services-banner {
        padding: 25px 20px;
    }
    
    .free-services-banner h3 {
        font-size: 20px;
    }
    
    .free-services-banner p {
        font-size: 14px;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
        font-size: 32px;
    }
    
    .service-title {
        font-size: 20px;
    }
    
    .service-description {
        font-size: 14px;
    }
}

/* ===== Footer ===== */
.footer {
    background: var(--secondary-blue);
    color: white;
    padding: 60px 0 20px;
}

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

.footer-column h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--accent-blue);
}

.office-info {
    margin-bottom: 25px;
}

.office-info h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}

.office-info p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    margin: 0 10px;
}

/* ===== Buttons ===== */
.btn-primary {
    background: var(--primary-blue);
    color: white;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
}

.btn-primary:hover {
    background: var(--accent-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--bg-gray);
    color: var(--text-dark);
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: var(--text-gray);
    color: white;
}

.btn-block {
    width: 100%;
}

/* ===== Forms ===== */
.form-control,
input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--bg-gray);
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    transition: var(--transition);
}

.form-control:focus,
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

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

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .categories-grid,
    .categories-full-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 968px) {
    /* Features grid - 2 columns on tablets */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-md);
        z-index: 1000;
        gap: 10px;
    }
    
    .nav-menu.active {
        display: flex !important;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-link {
        display: block;
        padding: 12px 15px;
        border-radius: 4px;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

@media (max-width: 768px) {
    .hero-slider-section {
        height: 70vh;
        min-height: 500px;
    }
    
    .scroll-indicator {
        bottom: 30px;
    }
    
    .scroll-indicator span {
        font-size: 12px;
    }
    
    .scroll-indicator .scroll-arrow {
        width: 25px;
        height: 40px;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .page-hero {
        height: 160px;
    }
    
    .page-hero .hero-content h1 {
        font-size: 28px;
        letter-spacing: -0.3px;
        margin-bottom: 6px;
        line-height: 1.1;
    }
    
    .page-hero .hero-content p {
        font-size: 13px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .callback-form {
        flex-direction: column;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .features-grid,
    .countries-grid,
    .categories-grid,
    .categories-full-grid,
    .blog-grid,
    .events-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Animations ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease;
}

/* ===== Events Section ===== */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.event-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.event-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    position: relative;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-date-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: white;
    padding: 10px 15px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.event-date-badge .date-day {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1;
}

.event-date-badge .date-month {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-gray);
    text-transform: uppercase;
    margin-top: 2px;
}

.event-content {
    padding: 25px;
}

.event-meta {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 15px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}

.event-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.event-meta i {
    color: var(--primary-blue);
}

.event-date {
    font-size: 14px;
    color: var(--primary-blue);
    margin-bottom: 15px;
    display: flex;
    gap: 15px;
    align-items: center;
}

.event-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.3;
}

.event-description {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.event-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
    gap: 15px;
    flex-wrap: wrap;
}

.event-location {
    font-size: 14px;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 6px;
}

.event-location i {
    color: var(--primary-blue);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 14px;
}

/* ===== Blog Pages ===== */
.blog-page-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.blog-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

.blog-main {
    min-width: 0; /* Fix for grid overflow */
}

/* Blog Post Cards (List View) */
.blog-posts-list {
    display: grid;
    gap: 30px;
}

.blog-post-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 0;
}

.blog-post-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.blog-post-image {
    position: relative;
    overflow: hidden;
}

.blog-post-image img {
    width: 100%;
    height: 100%;
    min-height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-post-card:hover .blog-post-image img {
    transform: scale(1.1);
}

.blog-post-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-blue);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
}

.blog-post-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.blog-post-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 15px;
}

.blog-post-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-post-meta i {
    color: var(--primary-blue);
}

.blog-post-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.3;
}

.blog-post-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-post-title a:hover {
    color: var(--primary-blue);
}

.blog-post-excerpt {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Blog Detail Page */
.blog-detail-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.blog-detail-main {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.blog-detail-header {
    padding: 40px 50px 30px;
}

.blog-detail-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 0;
}

.blog-featured-image {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
}

.blog-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-detail-content {
    padding: 50px;
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-medium);
}

.blog-detail-content p {
    margin-bottom: 20px;
}

.blog-detail-content h2,
.blog-detail-content h3 {
    color: var(--text-dark);
    margin-top: 30px;
    margin-bottom: 15px;
}

.blog-detail-content ul,
.blog-detail-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.blog-detail-content li {
    margin-bottom: 10px;
}

.blog-detail-footer {
    padding: 30px 50px;
    border-top: 1px solid #eee;
}

.blog-share h4 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 15px;
}

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

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 6px;
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.share-btn.facebook { background: #1877f2; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.linkedin { background: #0077b5; }
.share-btn.whatsapp { background: #25d366; }

.blog-navigation {
    padding: 30px 50px;
    border-top: 1px solid #eee;
}

/* Blog Sidebar */
.blog-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-widget {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.sidebar-widget h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-blue);
}

.search-form {
    display: flex;
    gap: 10px;
}

.search-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

.search-form button {
    padding: 12px 20px;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-form button:hover {
    background: var(--dark-blue);
}

.category-list,
.recent-posts-list {
    list-style: none;
}

.category-list li {
    margin-bottom: 12px;
}

.category-list li.active a {
    color: var(--primary-blue);
    font-weight: 600;
}

.category-list a {
    color: var(--text-medium);
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.category-list a:hover {
    color: var(--primary-blue);
    padding-left: 10px;
}

.category-count {
    color: var(--text-gray);
    font-size: 13px;
}

.recent-posts-list li {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.recent-posts-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.recent-posts-list a {
    display: flex;
    gap: 15px;
    text-decoration: none;
    color: inherit;
}

.recent-post-thumb {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.recent-post-info h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.recent-posts-list a:hover h4 {
    color: var(--primary-blue);
}

.recent-post-date {
    font-size: 13px;
    color: var(--text-gray);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.page-btn {
    padding: 10px 16px;
    border: 1px solid #ddd;
    background: white;
    color: var(--text-dark);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 600;
}

.page-btn:hover {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

.page-btn.active {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

.page-dots {
    padding: 10px 8px;
    color: var(--text-gray);
}

/* Responsive Blog */
@media (max-width: 1200px) {
    .blog-layout {
        grid-template-columns: 1fr 300px;
        gap: 30px;
    }
}

@media (max-width: 968px) {
    .blog-layout {
        grid-template-columns: 1fr;
    }
    
    .blog-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .blog-post-card {
        grid-template-columns: 1fr;
    }
    
    .blog-post-image img {
        min-height: 220px;
    }
}

@media (max-width: 768px) {
    .blog-page-section,
    .blog-detail-section {
        padding: 50px 0;
    }
    
    .blog-detail-header,
    .blog-detail-content,
    .blog-detail-footer,
    .blog-navigation {
        padding-left: 30px;
        padding-right: 30px;
    }
    
    .blog-detail-title {
        font-size: 28px;
    }
    
    .blog-detail-content {
        font-size: 16px;
    }
    
    .blog-sidebar {
        grid-template-columns: 1fr;
    }
    
    .share-buttons {
        flex-direction: column;
    }
    
    .share-btn {
        justify-content: center;
    }
}

/* ===== Utility Classes ===== */
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.p-20 { padding: 20px; }
.p-40 { padding: 40px; }

/* ===== Floating Contact Panel ===== */
.floating-contact-panel {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    transition: all 0.3s ease;
}

.floating-contact-panel.collapsed {
    right: -350px;
}

.contact-panel-toggle {
    position: absolute;
    left: -50px;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.contact-panel-toggle:hover {
    background: var(--secondary-blue);
}

.contact-panel-toggle i {
    font-size: 16px;
}

.contact-panel-content {
    width: 350px;
    background: white;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.15);
    border-radius: 12px 0 0 12px;
    max-height: 80vh;
    overflow-y: auto;
}

.contact-panel-header {
    background: linear-gradient(135deg, #0D47A1 0%, #1976D2 100%);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 12px 0 0 0;
}

.contact-panel-header h3 {
    margin: 0;
    font-size: 18px;
}

.contact-panel-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.contact-panel-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.floating-contact-form {
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-contact-form input,
.floating-contact-form select,
.floating-contact-form textarea {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: var(--transition);
}

.floating-contact-form input:focus,
.floating-contact-form select:focus,
.floating-contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.floating-contact-form textarea {
    resize: vertical;
    min-height: 80px;
}

.btn-submit-floating {
    padding: 14px;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-submit-floating:hover {
    background: var(--secondary-blue);
    transform: translateY(-2px);
}

/* ===== WhatsApp Floating Button ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 9998;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float i {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .floating-contact-panel {
        right: -100%;
        top: auto;
        bottom: 0;
        transform: none;
        width: 100%;
    }
    
    .floating-contact-panel.collapsed {
        right: -100%;
    }
    
    .floating-contact-panel:not(.collapsed) {
        right: 0;
    }
    
    .contact-panel-toggle {
        left: 20px;
        top: auto;
        bottom: 100px;
        transform: none;
        border-radius: 8px;
    }
    
    .contact-panel-content {
        width: 100%;
        max-height: 70vh;
        border-radius: 12px 12px 0 0;
    }
    
    .contact-panel-header {
        border-radius: 12px 12px 0 0;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 28px;
    }
}

/* ===== Service Detail Page Styles ===== */
.service-detail-section {
    padding: 60px 0;
    background: var(--bg-white);
}

.service-detail-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    align-items: start;
}

.service-detail-main {
    background: white;
}

.service-intro {
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--bg-gray);
}

.service-intro p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 15px;
}

.service-body {
    margin-bottom: 50px;
}

.service-body p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.service-body p:last-child {
    margin-bottom: 0;
}

.service-features {
    margin-bottom: 50px;
    padding: 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
}

.service-features h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 25px;
}

.features-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.feature-item::before {
    content: "✓";
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    margin-top: 2px;
}

.feature-item span {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.6;
}

.service-faqs {
    margin-bottom: 30px;
}

.service-faqs h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 25px;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--bg-gray);
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 18px;
    background: var(--bg-light);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    color: var(--text-dark);
    font-size: 15px;
    transition: var(--transition);
}

.faq-question:hover {
    background: #f0f2f5;
}

.faq-question::after {
    content: "▼";
    font-size: 12px;
    color: var(--primary-blue);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 18px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
}

.faq-item.active .faq-answer {
    padding: 18px;
    max-height: 500px;
}

.faq-answer p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-gray);
    margin: 0;
}

/* Service Sidebar */
.service-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: white;
    border: 2px solid var(--bg-gray);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.sidebar-widget h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.sidebar-widget p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 20px;
}

.inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.inquiry-form input,
.inquiry-form textarea {
    padding: 12px 15px;
    border: 1px solid var(--bg-gray);
    border-radius: 6px;
    font-family: inherit;
    font-size: 14px;
    transition: var(--transition);
}

.inquiry-form input:focus,
.inquiry-form textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.1);
}

.inquiry-form textarea {
    resize: vertical;
    min-height: 100px;
}

/* Related Services Section */
.related-services-section {
    padding: 60px 0;
    background: var(--bg-light);
}

.related-services-section .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.related-services-section .service-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.related-services-section .service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.related-services-section .service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.related-services-section .service-card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.related-services-section .service-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.related-services-section .service-card p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
    flex: 1;
}

/* Responsive */
@media (max-width: 1024px) {
    .service-detail-layout {
        grid-template-columns: 1fr;
    }
    
    .service-sidebar {
        position: static;
    }
    
    .related-services-section .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .service-detail-section {
        padding: 40px 0;
    }
    
    .service-detail-layout {
        gap: 30px;
    }
    
    .service-intro {
        margin-bottom: 30px;
        padding-bottom: 20px;
    }
    
    .service-body {
        margin-bottom: 30px;
    }
    
    .service-body p {
        font-size: 14px;
    }
    
    .service-features {
        margin-bottom: 30px;
        padding: 20px;
    }
    
    .service-features h3 {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .features-list {
        gap: 12px;
    }
    
    .feature-item span {
        font-size: 14px;
    }
    
    .sidebar-widget {
        padding: 20px;
    }
    
    .sidebar-widget h3 {
        font-size: 16px;
    }
    
    .related-services-section {
        padding: 40px 0;
    }
    
    .related-services-section .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ===== Upcoming Events (home) ===== */
.upcoming-events-section {
    background: var(--bg-light);
    padding: 80px 0;
}

.upcoming-events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.upcoming-event-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.upcoming-event-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.upcoming-event-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.upcoming-event-content {
    padding: 25px;
}

.upcoming-event-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.4;
}

.upcoming-event-date,
.upcoming-event-location {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-register {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    color: var(--primary-blue);
    font-weight: 600;
    transition: var(--transition);
}

.btn-register:hover {
    color: var(--accent-blue);
    gap: 10px;
}

/* ===== Featured Courses & Universities (home) ===== */
.featured-courses-section {
    background: white;
    padding: 80px 0;
}

.featured-universities-section {
    background: var(--bg-light);
    padding: 80px 0;
}

.featured-courses-grid,
.featured-universities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.featured-course-card,
.featured-university-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.featured-course-card:hover,
.featured-university-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.featured-course-image,
.featured-university-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.featured-course-content,
.featured-university-content {
    padding: 20px;
}

.featured-course-title,
.featured-university-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.4;
}

.featured-university-location {
    font-weight: 400;
    color: var(--text-light);
}

.featured-course-provider,
.featured-course-meta {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 6px;
}

/* ===== Instagram Strip (home) ===== */
.instagram-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 25px;
}

.instagram-title a:hover {
    color: var(--accent-blue);
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 4px;
}

.instagram-item {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.instagram-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.instagram-item:hover img {
    transform: scale(1.08);
}

.instagram-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    background: rgba(0, 0, 0, 0.35);
    opacity: 0;
    transition: var(--transition);
}

.instagram-item:hover .instagram-overlay {
    opacity: 1;
}

@media (max-width: 992px) {
    .upcoming-events-grid,
    .featured-courses-grid,
    .featured-universities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .instagram-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 576px) {
    .upcoming-events-grid,
    .featured-courses-grid,
    .featured-universities-grid {
        grid-template-columns: 1fr;
    }

    .instagram-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Countries & Courses listing pages — matches the 2.0 / 3.0 design drawings:
   navy country names, blue stream names, counts sitting above the name. */
.countries-full-grid .country-card .country-info {
    display: flex;
    flex-direction: column;
}

.countries-full-grid .country-card .country-stats {
    order: 1;
    margin-bottom: 6px;
}

.countries-full-grid .country-card .country-name {
    order: 2;
    color: var(--secondary-blue);
    margin-bottom: 12px;
}

.countries-full-grid .country-card .btn-explore {
    order: 3;
    align-self: flex-start;
}

.categories-full-grid .category-name {
    color: var(--secondary-blue);
}

/* ===== Design-match overrides (1.0 Home Page drawing, 2026-08) ===== */

/* Testimonials as four side-by-side columns, per the design */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.testimonials-grid .testimonial-card {
    text-align: left;
    padding: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
}

.testimonials-grid .testimonial-author {
    margin-top: 15px;
}

.testimonials-grid .testimonial-text {
    font-size: 15px;
    font-style: normal;
    line-height: 1.7;
    margin-bottom: 0;
}

.testimonials-grid .testimonial-rating {
    margin: 12px 0 0;
    color: #f5a623;
    font-size: 13px;
}

@media (max-width: 1200px) {
    .countries-grid,
    .blog-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Country page: Learn More topics + reviews (2.2 drawing) ===== */
.country-topics-section {
    background: white;
    padding: 60px 0;
}

.country-topics-grid {
    display: grid;
    /* 3 or 4 topic cards depending on the country — fill one row either way */
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 24px;
}

.country-topic-card {
    border: 1px solid #e3e8ee;
    border-radius: 8px;
    padding: 26px;
    display: flex;
    flex-direction: column;
    background: white;
    transition: var(--transition);
}

.country-topic-card:hover {
    box-shadow: var(--shadow-md);
}

.country-topic-card h3 {
    font-size: 20px;
    color: var(--secondary-blue);
    margin-bottom: 14px;
    line-height: 1.35;
}

.country-topic-card p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 18px;
}

.country-topic-card .btn-read-more {
    margin-top: auto;
}

.country-reviews-section {
    background: var(--bg-light);
    padding: 60px 0;
}

.country-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.country-review-card {
    background: white;
    border: 1px solid #e3e8ee;
    border-radius: 8px;
    padding: 22px;
    display: flex;
    gap: 16px;
}

.country-review-photo {
    width: 90px;
    height: 110px;
    object-fit: cover;
    border-radius: 6px;
    flex: 0 0 auto;
}

.country-review-text {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 12px;
}

.country-review-author {
    font-weight: 600;
    color: var(--secondary-blue);
    font-size: 14px;
}

.country-review-author span {
    font-weight: 400;
    color: var(--text-light);
}

@media (max-width: 992px) {
    .country-topics-grid,
    .country-reviews-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Cityscape ribbon (1.0 Home Page mockup — band between Featured
   Universities and Countries: 4 icon+caption items over a skyline photo) ===== */
.cityscape-ribbon {
    position: relative;
    overflow: hidden;
    padding: 40px 0;
    color: white;
}

.cityscape-ribbon-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cityscape-ribbon-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 51, 102, 0.75), rgba(0, 51, 102, 0.55));
}

.cityscape-ribbon .container {
    position: relative;
}

.cityscape-ribbon-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.cityscape-ribbon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.cityscape-ribbon-item i {
    font-size: 34px;
    color: var(--accent-blue);
}

.cityscape-ribbon-item span {
    font-weight: 600;
    font-size: 15px;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .cityscape-ribbon-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 20px;
    }
}
