/* --- Global & Utility Styles --- */
:root {
    --primary-color: #004a99; /* Deep Blue for header/CTAs */
    --secondary-color: #333333; /* Dark text */
    --accent-color: #ff9900; /* Orange/Gold for highlight */
    --light-bg: #faf7f7;
    --font-heading: 'Arial', sans-serif;
    --font-body: 'Arial', sans-serif;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--secondary-color);
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
a {
    text-decoration: none;
    color: var(--primary-color);
}
.section-tag {
    display: block;
    color: var(--primary-color);
    font-size: 0.8em;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
}
h2 {
    font-size: 2.2em;
    margin-bottom: 30px;
    font-family: var(--font-heading);
}

/* --- Buttons --- */
.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: rgb(255, 254, 254) !important;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s;
}
.btn-primary:hover {
    background-color: #003366;
}
.btn-secondary {
    display: inline-block;
    background-color: rgb(253, 251, 251);
    color: var(--primary-color) !important;
    padding: 10px 20px;
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s;
}
.btn-secondary:hover {
    background-color: var(--light-bg);
}
.btn-details {
    color: var(--accent-color) !important;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9em;
}


/* ============================================== */
/* HEADER & NAVIGATION */
/* ============================================== */
/* --- NEW HAMBURGER STYLES (Desktop/Default) --- */
.hamburger-menu {
    display: none; /* Hide button by default on desktop */
    position:fixed;
    top:20px;
    right: 10px;
    z-index: 1000;
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    color: var(--primary-color);
}

.nav-wrapper {
    display: flex; /* Keep the links and CTA aligned horizontally on desktop */
    align-items: center;
    gap: 30px;
}
/* ========================================================= */
/* --- RESPONSIVE STYLE CHANGES --- */
/* ========================================================= */


/* --- 1. Laptop/Tablet Landscape Adjustments (Max Width: 1024px) --- */
/* Styles for screens up to 1024px wide (e.g., iPads in landscape, small laptops) */
@media (max-width: 1024px) {
    /* HEADER: Reduce overall padding */
    .main-header {
        padding: 15px 20px;
    }

    /* NAVIGATION: Reduce padding to fit more links */
    .main-nav li a {
        padding: 10px 10px;
        font-size: 14px;
    }

    /* HERO: Make the banner shorter and content slightly smaller */
    .hero-banner {
        height: 500px;
        padding-left: 5%;
        padding-top: 100px; /* Push content down slightly */
        align-items: flex-start;
    }

    .hero-content h1 {
        font-size: 40px;
    }

    /* INTRODUCTION CARD: Reduce overall margin/overlap */
    .introduction-card {
        max-width: 90%; /* Use more of the screen width */
        margin: -100px auto 50px;
    }

    .card-text h2 {
        font-size: 26px;
    }

    /* SERVICES: Reduce the width of the service menu to give the list more space */
    .service-menu {
        flex: 0 0 250px;
    }

    /* FOOTER: Switch to a centered layout but still keep side-by-side */
    .main-footer {
        padding: 30px 20px;
        justify-content: space-between;
    }
}


/* --- 2. Mobile/Tablet Portrait Adjustments (Max Width: 768px) --- */
/* Styles for screens up to 768px wide (e.g., tablets in portrait, large phones) */
@media (max-width: 768px) {
    /* HEADER: Collapse into a simple, stacked/centered layout */
    .main-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .logo {
        margin-bottom: 5px;
    }

    /* Hide the full desktop navigation and book button to save space. 
       A mobile menu (hamburger) would replace this, typically implemented with JS. */
    .main-nav, .btn-appointment {
        display: none;
    }

    /* HERO: Stacks all content and shrinks text */
    .hero-banner {
        height: 350px;
        padding-top: 50px;
        text-align: center;
        padding-right: 5%; /* Balance the left padding */
    }

    .hero-content {
        margin: 0 auto; /* Center the content block */
    }

    .hero-content h1 {
        font-size: 28px;
    }
    
    /* Hero buttons stack vertically */
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .btn-contact {
        margin-left: 0;
    }


    /* INTRODUCTION CARD: Switch to a single column layout */
    .introduction-card {
        flex-direction: column;
        width: 95%;
        margin: -50px auto 30px; /* Bring the card higher */
    }

    .card-text {
        padding: 20px;
        text-align: center;
    }

    /* Adjust the Gallery Grid to be more compact or stacked */
    .card-gallery {
        padding: 0;
        grid-template-columns: 1fr 1fr; /* Keep 2 columns for a better look */
        grid-template-rows: 150px 100px; /* Fixed row heights */
        gap: 0;
    }
    
    /* SERVICES: Switch the menu and list to a stacked column layout */
    .visa-services-container {
        flex-direction: column; 
    }

    .service-menu {
        flex: none; /* Remove fixed width */
        display: flex; /* Make buttons flow horizontally */
        overflow-x: scroll; /* Allow horizontal scrolling if buttons overflow */
        border-right: none;
        padding-bottom: 10px;
        gap: 5px;
    }

    .menu-item {
        flex-shrink: 0; /* Important: prevents buttons from squishing */
        padding: 10px 15px;
    }

    .service-list {
        flex-direction: column; /* Stack the list columns (left/right) */
    }
    
    /* FOOTER: Stack elements vertically */
    .main-footer {
        flex-direction: column;
        text-align: center;
    }

    .footer-contact-info, .footer-details {
        max-width: 100%;
        margin-bottom: 20px;
    }
}


/* --- 3. Extra Small Screens (Max Width: 480px) --- */
/* Final adjustments for very small phone screens */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 24px;
    }
    
    /* Force the card gallery to a single column, making elements taller */
    .card-gallery {
        grid-template-columns: 1fr;
        grid-template-rows: 200px 100px;
    }
    
    .main-image {
        grid-row: 1 / 2;
        grid-column: 1 / 2;
    }
    
    .experience-box {
        grid-row: 2 / 3;
        grid-column: 1 / 2;
    }
    
    .card-text h2 {
        font-size: 20px;
    }
}

/* --- MOBILE STYLES (Inside @media (max-width: 768px) in style.css) --- */
@media (max-width: 768px) {
    
    /* 1. Header Layout */
    .navbar {
        flex-direction: row; /* Keep logo and menu on the same row */
        justify-content: space-between;
        align-items: center;
    }
    .hamburger-menu {
        display:block; /* Show the button on mobile */
    }
    
    /* 2. Navigation Wrapper (The menu content) */
    .nav-wrapper {
        display: none; /* Hide the entire navigation wrapper by default */
        flex-direction: column;
        width: 100%;
        position:absolute;
        top: 60px; /* Adjust based on your header height */
        left: 0;
        background-color: white;
        box-shadow: 0 4px 5px rgba(0,0,0,0.1);
        padding: 20px 0;
        z-index: 999;
    }
    
    .nav-wrapper.active {
        display: flex; /* Show the menu when the 'active' class is toggled by JS */
    }

    /* 3. Stacked Links and CTA inside the menu */
    .nav-links {
        flex-direction: column;
        width: 100%;
        gap: 0; /* Remove internal gap */
    }
    .nav-links li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid var(--light-bg);
    }
    .nav-links a {
        padding: 12px 0;
        display: block;
    }

    .cta-appointment {
        display: block;
        width: 90%; /* Center the button in the menu */
        margin: 20px auto 0 auto;
        text-align: center;
    }
}
.navbar {
    display:flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(0, 0, 0, 0);
    padding: 15px 5%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.logo a {
    color: var(--secondary-color);
    font-size: 1.2em;
    font-weight: bold;
}
.logo span {
    font-size: 0.7em;
    display: block;
    font-weight: normal;
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}
.nav-links a {
    color: var(--secondary-color);
    font-weight: 500;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
    transition: border-bottom 0.3s;
}
.nav-links a:hover {
    border-bottom: 2px solid var(--primary-color);
}
.cta-appointment {
    background-color: var(--primary-color);
    color: white !important;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: bold;
}

/* ============================================== */
/* HERO SECTION */
/* ============================================== */
.hero-section {
    position: relative;
    height: 600px; /* Adjust as needed */
    background-color: #333; /* Placeholder color */
    background-image: url('images/hero-bpg'); /* Use a placeholder image */
    background-image: url(images/1140-toronto.jpg);
    background-size:cover;
    background-position:center;
    display:flex;
    align-items: center;
    justify-content: center;
    text-align:center;
    color: rgb(241, 241, 241);
}
.hero-content {
    position: absolute; 
    left: 0.4%; /* Positioning adjustment based on video */
    padding: 2px;
}
.hero-content h1 {
    color: rgb(250, 247, 247);
    font-size: 3em;
    line-height: 1.1;
    margin: -100px 0 20px 0;
}
.hero-tag {
    color: var(--accent-color);
}
.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

/* ============================================== */
/* INTRODUCTION SECTION */
/* ============================================== */

.image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 columns, each taking equal space */
  gap: 10px; /* Space between grid items */
  max-width: 750px; /* Optional: Adjust max width of the grid */
  margin: 10PX auto; /* Center the grid if max-width is applied */
  padding: 15px;
  background-color: #948d8d;
}

.image-grid img {
  width: 100%; /* Make images fill their grid cell */
  height: auto; /* Maintain aspect ratio */
  display: block; /* Remove extra space below images */
}

 /* ---------------------------------------------------- */
        /* 1. CONTAINER STYLES: This is where the magic happens */
        /* ---------------------------------------------------- */
        .logo-container {
            /* **KEY 1: Activate Flexbox** */
            display: flex;

            /* **KEY 2: Prevent wrapping** - Force all items onto one line */
            flex-wrap: nowrap; 

            /* Distribute space evenly between the images */
            justify-content: space-around; 

            /* Center the row container on the page */
            max-width: 1200px;
            margin: 0 auto; 
            padding: 20px 0;
            /* Optional: Add a border to see the container's bounds */
            /* border: 1px solid red; */ 
        }

        /* ---------------------------------------------------- */
        /* 2. IMAGE STYLES: Ensuring the images are small enough */
        /* ---------------------------------------------------- */
        .logo-container img {
            /* **KEY 3: Set a small, consistent size** for all images */
            width: 15%; /* Allow each image to take up 15% of the container width */
            min-width: 80px; /* Prevent them from getting too small */
            max-width: 150px; /* Prevent them from getting too big */
            height: auto; /* Maintain aspect ratio */

            /* Ensure they don't have block-level spacing issues (good practice) */
            display: block;
        }

        /* Container: Sets the visible window */
.carousel-container {
    width: 100%; /* Or a fixed width, e.g., 800px */
    overflow: hidden; /* **KEY:** Hides the images that are off-screen */
    white-space: nowrap; /* Ensures images stay in a line */
    padding: 20px 0;
    box-sizing: border-box;
}

/* Wrapper: The element that holds ALL images and is animated */
.slide-wrapper {
    display: flex;
    align-items: center;

    /* KEY 1: Set the width for ALL 12 images (6 original + 6 clones) */
    width: 200%; /* 12 images, each roughly 1/6th (16.66%) of the initial view. 
                   Set to 200% as we have doubled the number of images (6 * 2 = 12 total) */
    
    /* KEY 2: Apply the animation */
    animation: slide-logos 30s linear infinite; /* 30s speed, continuous, repeats */
}

/* Images: Set the size for each individual image */
.slide-wrapper img {
    /* Each image should take up 1/12th of the total wrapper width, 
       but we want 6 images visible at a time (1/6th of the 100% visible screen) */
    width: calc(100% / 12); /* 100% of the wrapper width, divided by 12 images */
    min-width: 150px; /* Ensures the logos are a readable size */
    height: auto;
    margin: 0 10px;
}

/* KEYFRAMES: Defines the movement */
@keyframes slide-logos {
    0% {
        /* Start position: 0% of the movement */
        transform: translateX(0); 
    }
    100% {
        /* End position: Move left by exactly half the total content (6 images) */
        transform: translateX(-50%); 
        /* The -50% here is crucial because it makes the 6 original images slide out, 
           and the 6 cloned images slide into their exact starting position, creating the loop. */
    }
}

/* Optional: Pause the animation when the mouse hovers over the logos */
.slide-wrapper:hover {
    animation-play-state: paused;
}




/* 3. Position and style the Center Content */
.center-content {
    /* Span the middle row and middle column */
    grid-area: 2 / 2 / 3 / 3; 
    
    /* Style for the central text box */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: white; /* Center background */
    
    /* Style for the dotted border seen in the video */
    border: 3px dashed #e0e0e0; 
}

.content-box {
    padding: 20px;
}

.experience-number {
    font-size: 4em; /* Large number */
    font-weight: 800;
    color: #4CAF50; /* Example primary color */
    line-height: 1;
}

.experience-text {
    font-size: 1.2em;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
}
.intro-text {
    
    padding-left: 25px;
    text-align: justify;
    padding-bottom: 15px;
    padding-top: 200px;
}
.location-info {
    display:flex;
    align-items: center;
    margin: 15px 0 25px 0;
}
.location-info i {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-right: 15px;
}
.location-info p {
    line-height: 1.3;
}
.location-info strong {
    color: var(--primary-color);
    font-weight: 700;
}


/* ============================================== */
/* SERVICES OVERVIEW SECTION */
/* ============================================== */
 /* --- 1. Page Title Hero (Banner) --- */
        .services-banner {
            background-color: #364e68; 
            background-size: cover;
            background-position: center;
            background-blend-mode: multiply;
            color: white;
            padding: 100px 0 60px 0;
            text-align: left;
        }
        .services-banner h1 { color: white; margin-bottom: 10px; }
        .breadcrumb a, .breadcrumb { color: #ddd; text-decoration: none; }

        /* --- 2. Services Tabs Section (Main Content) --- */
        .services-tabs-section { padding: 80px 20px; background-color: white; text-align: center; }
        .services-tabs-section h2 { color: var(--primary-color); margin-bottom: 40px; }
        .services-content-wrapper { display: flex; gap: 40px; text-align: left; margin: 0 auto; max-width: 1200px; }

        /* Left Column: Sidebar Navigation (Buttons) */
        .services-sidebar { width: 280px; flex-shrink: 0; box-shadow: 2px 2px 8px rgba(0,0,0,0.05); border-radius: 5px; }
        .service-tab {
            display: block;
            width: 100%;
            padding: 18px 25px;
            margin-bottom: 0;
            border: none;
            border-bottom: 1px solid #eee;
            background-color: white;
            color: var(--secondary-color);
            text-align: left;
            font-size: 1.05em;
            font-weight: 600;
            cursor: pointer; /* Ensures the button is visually clickable */
            transition: all 0.2s;
            border-left: 5px solid transparent;
        }
        .services-sidebar button:first-child { border-top-left-radius: 5px; border-top-right-radius: 5px; }
        .services-sidebar button:last-child { border-bottom-left-radius: 5px; border-bottom-right-radius: 5px; border-bottom: none; }

        .service-tab:hover:not(.active) {
            background-color: var(--light-bg);
            color: var(--primary-color);
            border-left-color: var(--primary-color);
        }
        .service-tab.active {
            background-color: var(--primary-color);
            color: white;
            border-left-color: var(--accent-color);
            font-weight: 700;
        }

        /* Right Column: Tab Content */
        .services-tab-content { flex-grow: 1; padding: 10px 0 20px 0; }
        .service-list {
            display: none; /* HIDES ALL CONTENT BY DEFAULT */
            gap: 50px;
            padding: 20px;
            background-color: var(--light-bg);
            border-radius: 5px;
            min-height: 400px;
        }
        .service-list.active {
            display: flex; /* REVEALS THE ACTIVE CONTENT */
        }
        .service-list ul { list-style: none; padding: 0; flex: 1; }
        .service-list li {
            position: relative;
            padding: 10px 0 10px 25px;
            font-size: 1em;
            line-height: 1.4;
            border-bottom: 1px dashed #ddd;
        }
        .service-list li:last-child { border-bottom: none; }
        .service-list li::before {
            content: "\2013";
            color: var(--accent-color);
            font-weight: bold;
            display: inline-block;
            width: 1em;
            margin-left: -1em;
            position: absolute;
            left: 0;
        }
.services-overview {
    padding: 60px 20px;
    text-align: center;
}
.services-content {
    display: flex;
    text-align: left;
    margin-top: 40px;
}
.services-sidebar {
    width: 250px;
    flex-shrink: 0;
}
.service-tab {
    padding: 15px 20px;
    cursor: pointer;
    border-left: 3px solid transparent;
    transition: all 0.2s;
    font-weight: 500;
    background-color: var(--light-bg);
    margin-bottom: 5px;
}
.service-tab:hover {
    background-color: #e9e9e9;
}
.service-tab.active {
    border-left-color: var(--primary-color);
    background-color: white;
    color: var(--primary-color);
    font-weight: 700;
    box-shadow: 2px 0 5px rgba(0,0,0,0.05);
}
.services-list {
    display: none; /* Hide all by default, JS handles display */
    flex-grow: 1;
    padding: 0 40px;
    display: flex;
    gap: 30px;
}
.services-list.active {
    display: flex;
}
.services-list ul {
    list-style: none;
}
.services-list li {
    padding: 8px 0;
    font-size: 0.95em;
}
.services-list i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* ============================================== */
/* DREAM DESTINATION CTA SECTION */
/* ============================================== */
.destination-cta {
    background-color: #214371; /* Dark blue background from the video */
    color: white;
    padding: 80px 0;
    margin-top: 40px;
}
.destination-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.destination-text {
    flex: 1;
}
.destination-text h2 {
    color: white;
    font-size: 2.5em;
}
.destination-text ul {
    list-style: none;
    margin: 20px 0 30px 0;
}
.destination-text li {
    padding: 5px 0;
    font-size: 1.1em;
}
.destination-text i {
    color: var(--accent-color);
    margin-right: 10px;
}


/* ============================================== */
/* WHY CHOOSE US / FEATURE SECTION */
/* ============================================== */
.features-section {
    padding: 80px 20px;
    text-align: center;
}
.feature-grid {
    display:grid;
    gap: 30px;
    margin-top: 40px;
    text-align: center;
}
.feature-card {
    flex: 1;
    padding: 30px;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}
.feature-card i {
    font-size: 3em;
    color: var(--primary-color);
    margin-bottom: 15px;
}
.feature-card h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
}

/* ============================================== */
/* ASSESSMENT CTA */
/* ============================================== */
.assessment-cta {
    text-align: center;
    padding: 50px 0;
    background-color: var(--light-bg);
}
.assessment-cta p {
    font-size: 1.5em;
    margin-bottom: 20px;
}
.assessment-cta .highlight {
    color: var(--primary-color);
    font-weight: bold;
}

/* ============================================== */
/* TEAM MEMBER SECTION */
/* ============================================== */
.team-section {
    padding: 80px 20px;
    text-align: center;
}
.team-member-card {
    margin: 40px auto;
    max-width: 300px;
}
.team-member-card img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}
.team-member-card h3 {
    margin-top: 15px;
    font-size: 1.5em;
}
.team-member-card p {
    margin: 5px 0;
    font-size: 0.9em;
}

/* ============================================== */
/* FOOTER */
/* ============================================== */
footer {
    background-color: #222;
    color: #bbb;
}
.footer-main {
    display: flex;
    justify-content: space-between;
    padding: 40px 20px;
    border-bottom: 1px solid #444;
    
}
.footer-about {
    max-width: 400px;
    
}
.footer-contact p {
    margin: 10px 0;
}
.footer-contact i {
    color: var(--accent-color);
    margin-right: 10px;
}
.footer-bottom {
    text-align: center;
    padding: 15px 0;
    font-size: 0.8em;
}
.logo{
    background-image: url(images/logo\ 1.png);
    border-radius: 1px;
    padding: 50px;
    background-size:contain;
    background-repeat: no-repeat;
    
}




/* ======================================================= */
/* GENERAL & GLOBAL STYLES (Applies to the entire website) */
/* ======================================================= */

:root {
    /* Brand Colors */
    --primary-color: #004a99; /* Deep Blue */
    --accent-color: #ff9900; /* Orange/Gold (Highlights) */
    --secondary-color: #333333; /* Dark text */
    --light-bg: #f8f8f8;    /* Light gray section background */
    --cta-hover: #003366;   /* Darker blue for hover state */

    /* Typography */
    --font-body: 'Arial', sans-serif;
    --font-heading: 'Georgia', serif; /* Use a distinct font for headings */
}

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Global Body and Text Styles */
body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--secondary-color);
    background-color: white;
}

/* Utility Container for Centering Content */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography Defaults */
h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 0.5em;
}
p {
    margin-bottom: 1em;
}

/* Links and Buttons */
a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s;
}
a:hover {
    color: var(--accent-color);
}

.section-tag {
    display: block;
    color: var(--accent-color);
    font-size: 0.85em;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
}

/* ======================================================= */
/* HEADER & NAVIGATION STYLES                              */
/* ======================================================= */

header {
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo a {
    color: var(--secondary-color);
    font-size: 1.4em;
    font-weight: 800;
    line-height: 1;
}
.logo span {
    font-size: 0.6em;
    display: block;
    font-weight: 500;
    color: var(--primary-color);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}
.nav-links a {
    color: var(--secondary-color);
    font-weight: 500;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
}
.nav-links a:hover,
.nav-links .active-link {
    color: var(--primary-color);
    border-bottom: 2px solid var(--accent-color);
}

.cta-appointment {
    background-color: var(--primary-color);
    color: white !important;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}
.cta-appointment:hover {
    background-color: var(--cta-hover);
}

/* ======================================================= */
/* FOOTER STYLES (Used across all pages)                   */
/* ======================================================= */

footer {
    background-color: var(--primary-color);
    color: #f7f2f2;
    margin-top: 50px;
}
.footer-main {
    display: flex;
    justify-content: space-between;
    padding: 40px 20px;
    border-bottom: 1px solid #070707; /* Lighter shade of blue */
}
.footer-main a, .footer-main p {
    color: #f0f0f0;
    margin-bottom: 10px;
}
.footer-main a:hover {
    color: var(--accent-color);
}
.footer-about {
    max-width: 350px;
}
.footer-about .logo {
    color: white;
    font-size: 1.5em;
    margin-bottom: 15px;
}
.footer-contact i {
    margin-right: 10px;
    color: var(--accent-color);
}
.footer-bottom {
    text-align: center;
    padding: 15px 0;
    font-size: 0.8em;
    background-color: var(--cta-hover);
}

/* ======================================================= */
/* MEDIA QUERIES for RESPONSIVENESS (Mobile/Tablet View)   */
/* ======================================================= */

/* Adjustments for tablets and medium screens */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px; 
    }
    .nav-links {
        gap: 15px; 
    }
}

/* Adjustments for mobile devices */
@media (max-width: 768px) {
    
    
    /* Global Adjustments */
    h1 { font-size: 2.5em; }
    h2 { font-size: 1.8em; }

    /* 1. Header and Navigation */
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
    }
    .logo {
        margin-bottom: 10px;
    }
    .nav-links {
        flex-direction: column;
        width: 100%;
        gap: 8px;
        margin-bottom: 15px;
    }
    .nav-links a {
        padding: 8px 0;
        text-align: center;
        width: 100%;
        border-bottom: none !important;
    }
    .nav-links a:hover,
    .nav-links .active-link {
        background-color: var(--light-bg);
        border-radius: 4px;
    }
    .cta-appointment {
        display: block;
        width: 100%;
        text-align: center;
        margin-top: 5px;
    }

    /* 2. Layout Collapse (e.g., Contact, About, Services) */
    .contact-content-section,
    .about-intro-section,
    .visa-stats-section,
    .faq-experts-section,
    .services-content-wrapper,
    .appointment-grid {
        flex-direction: column;
    }
    
    /* For Contact and Form Rows */
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    .form-row input, .form-row select {
        margin-bottom: 15px;
    }

    /* Services Page Tabs */
    .services-sidebar {
        width: 100%; 
        display: flex;
        flex-wrap: wrap; 
        justify-content: space-between; /* Spread buttons out */
        box-shadow: none;
        border-radius: 0;
    }
    .service-tab {
        width: 49%; /* Two buttons per row */
        margin-bottom: 10px;
        border-bottom: 3px solid var(--primary-color) !important;
        border-left: none !important;
        text-align: center;
        padding: 15px 10px;
    }
    .service-tab.active {
        background-color: var(--accent-color);
        color: var(--primary-color);
        border-bottom: 3px solid var(--primary-color) !important;
    }

    /* Footer Layout */
    .footer-main {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    .footer-about {
        max-width: 100%;
    }
}





/* ======================================================= */
/* MEDIA QUERIES for RESPONSIVENESS (Mobile/Tablet View)   */
/* ======================================================= */

/* --- Default break point for smaller screens (e.g., tablets and large phones) --- */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px; /* Reduce padding on smaller screens */
    }
    
    /* Adjustments for the main navigation */
    .navbar {
        padding: 15px 20px;
    }
    .nav-links {
        gap: 20px; /* Reduce spacing between navigation links */
    }
    
    /* General section padding */
    .about-intro-section, 
    .contact-content-section, 
    .services-tabs-section,
    .appointment-section {
        padding: 60px 20px;
    }
}


/* --- Primary break point for mobile devices (most common adjustment area) --- */
@media (max-width: 768px) {
    
    /* 1. Header and Navigation */
    .navbar {
        flex-direction: column; /* Stack logo and navigation vertically */
        align-items: flex-start;
    }
    .logo {
        margin-bottom: 10px;
    }
    .nav-links {
        /* Hide the main menu by default on mobile if using a hamburger icon */
        /* display: none; */ 
        /* Or, show them stacked for a simple mobile menu */
        flex-direction: column;
        width: 100%;
        text-align: center;
        gap: 10px;
        margin-bottom: 10px;
    }
    .cta-appointment {
        display: block; /* Make the CTA button full width */
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }

    /* 2. Contact Page Layout (Two Columns -> One Column) */
    .contact-content-section {
        flex-direction: column;
    }
    .contact-details-panel, 
    .contact-form-panel {
        width: 100%; /* Take up the full width */
    }
    .form-row {
        flex-direction: column; /* Stack form inputs vertically */
        gap: 0;
    }
    .form-row input,
    .form-row select {
        margin-bottom: 15px; /* Add space between stacked inputs */
    }
    .contact-split {
        flex-direction: column; /* Stack contact/hours blocks */
        gap: 20px;
    }

    /* 3. About Us Layout (Two Columns -> One Column) */
    .about-intro-section,
    .visa-stats-section,
    .faq-experts-section {
        flex-direction: column;
    }
    /* Reverse order for the 'About Us' intro for better flow on mobile */
    .about-intro-section {
        flex-direction: column-reverse; 
    }
    .intro-text, .intro-image-grid,
    .visa-stats-image, .visa-stats-content,
    .faq-column, .ask-experts-column {
        width: 90%;
        margin-bottom: 20px;
    }
    .intro-image-grid {
        grid-template-columns: 1fr; /* Stack images vertically */
    }
    .approval-rate-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    /* 4. Services Page Tabs (Sidebar -> Full Width Stack) */
    .services-content-wrapper {
        flex-direction: column; /* Stack tabs and content */
        gap: 20px;
    }
    .services-sidebar {
        width: 100%; /* Tabs take full width */
        display: flex; /* Makes tabs horizontal */
        flex-wrap: wrap; /* Allows tabs to wrap onto multiple lines */
        justify-content: center;
    }
    .service-tab {
        width: 48%; /* Adjust width to fit two tabs per row (or 100% for stacking) */
        margin: 5px 1%;
        border-left: none !important; /* Remove left border decoration */
        border-radius: 5px;
    }
    .service-tab.active {
        border-bottom: 3px solid var(--accent-color); /* Use bottom border for active state */
    }
    .service-list {
        flex-direction: column; /* Stack service lists vertically */
        gap: 15px;
    }
    .service-list ul {
        width: 100%;
    }
    
    /* 5. Appointment Page Grid (Multiple Columns -> One Column) */
    .appointment-grid {
        grid-template-columns: 1fr; /* One column for all cards */
    }

    /* 6. Footer Layout */
    .footer-main {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
}
/* --- WhatsApp Floating Button Styles --- */
.whatsapp-float {
    position: fixed; /* Makes the button stay in place when scrolling */
    width: 60px;     /* Size of the button */
    height: 60px;
    bottom: 40px;    /* Distance from the bottom of the viewport */
    right: 40px;     /* Distance from the right of the viewport */
    background-color: #23b659; /* WhatsApp Green */
    color: #f1efef;
    border-radius: 50px; /* Makes it a perfect circle */
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000; /* Ensures it is above all other content */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #4fee6a; /* Slightly darker green on hover */
}

/* Optional: Add a subtle animation */
.whatsapp-float:hover {
    transform: scale(1.05);
}


/* --- Responsive Adjustment for Small Screens --- */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px; /* Bring it closer to the bottom edge */
        right: 20px; /* Bring it closer to the right edge */
        font-size: 25px;
    }
}