/* ============================================
   LEARNERS TREE - STYLESHEET
   Modern, responsive design for UK study consultancy
   ============================================ */

/* ============================================
   CSS RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

h4 {
    font-size: 1.25rem;
    font-weight: 500;
}

p {
    margin-bottom: 1rem;
    color: #4a5568;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

a:hover {
    color: #2563eb;
}

/* ============================================
   CONTAINER & LAYOUT
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #1e40af;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #2563eb, #3b82f6);
    border-radius: 2px;
}

/* ============================================
   NAVIGATION BAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.9rem 0;
    flex-wrap: nowrap;
}

.nav-left {
    display: flex;
    align-items: center;
    margin-left: 1.75rem;
    flex: 1 1 auto;
    min-width: 0;
}

.logo a {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e40af;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.6rem;
    align-items: center;
    flex-wrap: nowrap;
    white-space: nowrap;
    overflow: visible;
}

.nav-cta {
    display: flex;
    align-items: center;
    margin-left: 1rem;
}

.nav-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.25rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    background: linear-gradient(135deg, #f59e0b, #f97316);
    color: #0f172a;
    box-shadow: 0 6px 18px rgba(249, 115, 22, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    white-space: nowrap;
}

.nav-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(249, 115, 22, 0.35);
    filter: brightness(1.02);
    color: #0f172a;
}

.nav-item {
    position: relative;
}

.dropdown-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font: inherit;
}

.dropdown-caret {
    font-size: 0.85rem;
    opacity: 0.8;
    transform: translateY(1px);
    transition: transform 0.2s ease;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 260px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    padding: 0.5rem;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 1001;
}

.dropdown-link {
    display: block;
    padding: 0.6rem 0.75rem;
    border-radius: 10px;
    color: #334155;
    font-weight: 500;
    font-size: 0.95rem;
}

.dropdown-link:hover {
    background: linear-gradient(135deg, #f0f9ff, #ffffff);
    color: #2563eb;
}

/* Desktop: open on hover */
@media (min-width: 969px) {
    .dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .dropdown:hover .dropdown-caret {
        transform: translateY(1px) rotate(180deg);
    }
}

/* Mobile + JS: open on click */
.dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown.open .dropdown-caret {
    transform: translateY(1px) rotate(180deg);
}
.nav-link {
    font-weight: 500;
    color: #4a5568;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #2563eb, #3b82f6);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #2563eb;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: #2563eb;
}

.nav-link.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #1e40af;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 50%, rgba(240, 147, 251, 0.8) 100%),
                url('assets/ukcover\ \(1\).webp') center/cover no-repeat;
    background-size: 200% 200%, cover;
    background-blend-mode: overlay;
    animation: gradientShift 15s ease infinite;
    padding-top: 80px;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.hero-left {
    color: #ffffff;
}

.hero-right {
    display: flex;
    justify-content: center;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #ffffff;
    max-width: 900px;
    padding: 2rem;
}

.hero-title {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
}

.hero-intro {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    animation: fadeInUp 1.2s ease;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #ffffff, #f0f0f0);
    color: #1e40af;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    margin-top: 1rem;
    animation: fadeInUp 1.4s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    color: #1e40af;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   WHY UK SECTION
   ============================================ */
.why-uk {
    background: linear-gradient(to bottom, #f8fafc, #ffffff);
    padding: 5rem 0;
}

.why-uk-intro {
    max-width: 980px;
    margin: 0 auto 1.75rem;
    font-size: 1.05rem;
    line-height: 1.9;
    color: #4a5568;
}

.why-carousel {
    max-width: 1200px;
    margin: 0 auto;
}

.why-carousel-viewport {
    overflow: hidden;
    width: 100%;
}

.why-carousel-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 1.25rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 0.25rem 0.25rem 1rem;
    scrollbar-width: none; /* Firefox */
}

.why-carousel-track::-webkit-scrollbar {
    display: none;
}

/* Ensure uniform card height + allow long text */
.why-carousel .why-card {
    flex: 0 0 320px;
    min-height: 200px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.why-carousel .why-icon {
    font-size: 2.5rem;
}

.why-carousel-controls {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.services-carousel-controls {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.carousel-btn {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    color: #1e40af;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.carousel-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.18);
    background: linear-gradient(135deg, #f0f9ff, #ffffff);
}

.carousel-btn:active {
    transform: translateY(0);
}
.why-uk-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.why-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2);
    border-color: #3b82f6;
}

.why-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.why-card h3 {
    color: #1e40af;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.why-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    background: #ffffff;
    padding: 5rem 0;
    position: relative;
    background-image: url('assets/profilecover\ \(1\).webp');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.45); /* dark overlay instead */
    z-index: 1;
    pointer-events: none;
}

.about-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #ffffff;
    position: relative;
    padding-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.about-text {
    margin-bottom: 3rem;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.mission-vision {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.mv-card {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #2563eb;
    transition: all 0.3s ease;
}

.mv-card:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.mv-card h3 {
    color: #1e40af;
    margin-bottom: 1rem;
}

.mv-card p {
    color: #475569;
    line-height: 1.7;
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services {
    background: linear-gradient(to bottom, #ffffff, #f8fafc);
    padding: 5rem 0;
}

.services-carousel {
    max-width: 1200px;
    margin: 0 auto;
}

.services-viewport {
    overflow: hidden;
    width: 100%;
}

.services-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 1.25rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 0.25rem 0.25rem 1rem;
    scrollbar-width: none;
}

.services-track::-webkit-scrollbar {
    display: none;
}

.service-card {
    flex: 0 0 300px;
    flex-direction: column;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid #e5e7eb;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* REAL overlay layer like countries */
.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.85), rgba(59, 130, 246, 0.75));
    transition: all 0.3s ease;
}

/* Hover effect */
.service-card:hover::after {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.75), rgba(59, 130, 246, 0.65));
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.3);
    border-color: #3b82f6;
}

/* Text layer */
.service-card h3,
.service-card p {
    position: relative;
    z-index: 1;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.service-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
}

.service-card p {
    line-height: 1.6;
}


/* ============================================
   PATHWAY SECTION
   ============================================ */
.pathway {
    background: #ffffff;
    padding: 4rem 0;
}

.pathway-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pathway-step {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, #f8fafc, #ffffff);
    border-radius: 12px;
    border-left: 4px solid #2563eb;
    transition: all 0.3s ease;
}

.pathway-step:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
    background: linear-gradient(135deg, #f0f9ff, #ffffff);
}

.step-number {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
    flex-shrink: 0;
}

.step-content {
    flex: 1;
    padding: 0;
}

.step-content h3 {
    color: #1e40af;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.step-content p {
    color: #6b7280;
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

/* ============================================
   COUNTRIES SECTION
   ============================================ */
.countries {
    background: linear-gradient(to bottom, #f8fafc, #ffffff);
    padding: 5rem 0;
}

.countries-carousel {
    max-width: 1200px;
    margin: 0 auto;
}

.countries-viewport {
    overflow: hidden;
    width: 100%;
}

.countries-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 1.25rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 0.25rem 0.25rem 1rem;
    scrollbar-width: none;
}

.countries-track::-webkit-scrollbar {
    display: none;
}

.countries-carousel-controls {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.country-card-link {
    text-decoration: none;
    color: inherit;
    display: contents;
}

.country-card {
    flex: 0 0 300px;
    position: relative;
    background: #ffffff;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid #e5e7eb;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.country-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.85), rgba(59, 130, 246, 0.75));
    transition: all 0.3s ease;
}

.country-card:hover .country-overlay {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.75), rgba(59, 130, 246, 0.65));
}

.country-content {
    position: relative;
    z-index: 1;
    color: #ffffff;
}

.country-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.3);
    border-color: #3b82f6;
}

.country-card h3 {
    color: #ffffff;
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.country-card p {
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 5rem 0;
    color: #ffffff;
}

.contact .section-title {
    color: #ffffff;
}

.contact .section-title::after {
    background: linear-gradient(90deg, #ffffff, #f0f0f0);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item h3 {
    color: #ffffff;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.info-item p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

.info-item a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: underline;
}

.info-item a:hover {
    color: #ffffff;
}

.cta-text {
    margin-top: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.cta-text p {
    color: #ffffff;
    font-weight: 500;
    font-size: 1.1rem;
    margin: 0;
}

.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.95);
    padding: 2.25rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 500;
    color: #1e40af;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.875rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    color: #1a1a1a;
    background-color: #ffffff;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-button {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #ffffff;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
}

.submit-button:active {
    transform: translateY(0);
}

.success-msg {
    background: #d4edda;
    color: #32CD32;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 15px;
}


/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: #1e293b;
    color: #e2e8f0;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.2fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    color: #ffffff;
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
}

.footer-brand p {
    color: #cbd5e1;
    line-height: 1.7;
}

.footer-address {
    font-size: 0.9rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links h4 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #cbd5e1;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #3b82f6;
}

/* Footer map (right column) */
.footer-map {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
    align-self: start;
}

.footer-map iframe {
    display: block;
    width: 100%;
    border: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #94a3b8;
    margin: 0;
}

/* ============================================
   GOOGLE MAPS EMBED
   ============================================ */
.map-container {
    margin-top: 3rem;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.map-container iframe {
    display: block;
    width: 100%;
    border: none;
}

/* ============================================
   FLOATING WHATSAPP BUTTON
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    color: #ffffff;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    background: #20ba5a;
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

/* ============================================
   UNIVERSITIES SECTION
   ============================================ */
.universities {
    background: linear-gradient(to bottom, #ffffff, #f8fafc);
    padding: 5rem 0;
}

.universities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.university-card {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid #e5e7eb;
    font-weight: 600;
    color: #1e40af;
    font-size: 1rem;
    line-height: 1.4;
}

.university-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2);
    border-color: #3b82f6;
    background: linear-gradient(135deg, #f0f9ff, #ffffff);
}

/* Country-specific hero backgrounds */
#germany.hero {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 50%, rgba(240, 147, 251, 0.8) 100%),
                url('assets/germany\ \(1\).webp') center/cover no-repeat;
}

#australia.hero {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 50%, rgba(240, 147, 251, 0.8) 100%),
                url('assets/australia\ \(1\).webp') center/cover no-repeat;
}

#usa.hero {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 50%, rgba(240, 147, 251, 0.8) 100%),
                url('assets/usa\ \(1\).webp') center/cover no-repeat;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet Styles */
@media (max-width: 968px) {
    .nav-left {
        margin-left: 0;
        flex: initial;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
        padding: 1rem 0;
    }

    .dropdown-menu {
        position: static;
        min-width: 0;
        width: min(520px, 92vw);
        margin: 0.75rem auto 0;
        box-shadow: none;
        border-radius: 12px;
        transform: none;
        opacity: 1;
        visibility: visible;
        display: none;
    }

    .dropdown.open .dropdown-menu {
        display: block;
    }

    .dropdown-toggle {
        justify-content: center;
        width: 100%;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-intro {
        font-size: 1rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .pathway-list {
        gap: 0.875rem;
    }

    .pathway-step {
        padding: 1rem 1.25rem;
    }

    .step-number {
        width: 36px;
        height: 36px;
        min-width: 36px;
        font-size: 0.9rem;
    }

    .step-content h3 {
        font-size: 1rem;
    }

    .step-content p {
        font-size: 0.9rem;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    section {
        padding: 3rem 0;
    }

    .hero {
        min-height: 90vh;
        padding-top: 70px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-intro {
        font-size: 0.95rem;
    }

    .cta-button {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }

    .why-uk-grid,
    .services-grid,
    .countries-grid,
    .universities-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .mission-vision {
        grid-template-columns: 1fr;
    }

    .pathway-step {
        padding: 1rem;
        gap: 1rem;
    }

    .step-number {
        width: 32px;
        height: 32px;
        min-width: 32px;
        font-size: 0.85rem;
    }

    .step-content h3 {
        font-size: 0.95rem;
    }

    .step-content p {
        font-size: 0.85rem;
    }

    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 15px;
        left: 15px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .map-container {
        margin-top: 2rem;
        border-radius: 8px;
    }

    .map-container iframe {
        height: 300px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-intro {
        font-size: 0.9rem;
    }

    .cta-button {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }

    .why-card,
    .service-card,
    .country-card {
        padding: 1.5rem;
    }

    .pathway-step {
        padding: 0.875rem;
        gap: 0.875rem;
    }

    .map-container iframe {
        height: 250px;
    }
}

/* ============================================
   DISTANCE LEARNING PAGE STYLES
   ============================================ */
.distance-content {
    padding: 2rem 0;
}

.distance-content .content-block {
    max-width: 900px;
    margin: 0 auto;
}

.distance-content h2 {
    font-size: 1.75rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: #1e40af;
}

.distance-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 1rem;
}

.distance-content .universities-grid {
    margin-bottom: 2rem;
}

.distance-content .why-carousel {
    margin: 3rem 0;
}

/* ====