body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    transition: background-color 0.3s, color 0.3s;
}

h1, h2, h3, h4, h5, h6, p, a, li, span, div {
    font-family: 'Inter', sans-serif;
}


/* General Media Queries for Responsiveness */

/* Mobile First Approach */

/* Reset and Ensure Visibility */
@media (max-width: 768px) {
    /* Scale down everything */
    html, body {
        font-size: 14px; /* Reduce base font size */
        overflow-x: hidden; /* Prevent horizontal scrolling */
        margin: 0;
        padding: 0;
    }
}

/* Base Styling */
.country-selection {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: #f8f9fa;
}

/* Paragraph Styling */
.country-selection p {
    font-size: 1rem;
    text-align: center;
    margin-bottom: 0.5rem;
}

/* Select Dropdown */
.country-selection select {
    width: auto;
    min-width: 150px;
    font-size: 1rem;
    padding: 0.4rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Buttons */
.country-selection button {
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* Primary Button */
.country-selection .btn-primary {
    background-color: #5a24be;
    color: white;
}

/* Secondary Button (Close) */
.country-selection .btn-secondary {
    background-color: none;
    color: white;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .country-selection {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        text-align: center;
    }

    .country-selection select {
        width: 100%;
    }

    .country-selection p {
        font-size: 0.9rem;
    }

    .country-selection button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .country-selection p {
        font-size: 0.85rem;
    }

    .country-selection select {
        font-size: 0.9rem;
    }

    .country-selection button {
        font-size: 0.85rem;
    }
}


/* Navigation Bar Styling */
.navbar {
    background-color: #f8f9fa; /* Light grey background */
    padding: 0.8rem 1rem; /* Spacing for clarity */
}

/* Navbar Brand (Logo) */
.navbar-brand img {
    max-height: 50px; /* Ensures logo is well-scaled */
    width: auto;
}

/* Navbar Items */
.navbar-nav .nav-item {
    margin: 0 10px; /* Spacing between menu items */
}

/* Navbar Links */
.navbar-nav .nav-link {
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    transition: color 0.3s ease-in-out;
}

/* Navbar Links Hover Effect */
.navbar-nav .nav-link:hover {
    color: #007bff;
}

/* Navbar Toggler (Hamburger Menu) */
.navbar-toggler {
    border: none;
    background: none;
    font-size: 1.5rem;
    position: absolute;
    right: 1rem;
    padding: 0;
}

/* Remove the default button style */
.navbar-toggler:focus,
.navbar-toggler:active {
    outline: none;
    box-shadow: none;
}

/* Modify the Hamburger Icon */
.navbar-toggler-icon {
    width: 25px;
    height: 3px;
    background-color: #333;
    display: block;
    position: relative;
}

/* Reduce from three lines to two */
.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: "";
    width: 24px;
    height: 3px;
    background-color: #333;
    position: absolute;
    left: 0;
    display: block;
    transition: all 0.3s ease-in-out;
}

.navbar-toggler.open .navbar-toggler-icon {
    background-color: transparent; /* Hide main line */
}

.navbar-toggler.open .navbar-toggler-icon::before {
    transform: rotate(45deg);
    top: 0;
}

.navbar-toggler.open .navbar-toggler-icon::after {
    transform: rotate(-45deg);
    top: 0;
}


/* First line (top) */
.navbar-toggler-icon::before {
    top: -6px;
}

/* Second line (bottom) */
.navbar-toggler-icon::after {
    top: 6px;
}

/* Hide the middle line to create a two-line menu */
.navbar-toggler-icon.middle-line {
    display: none;
}

/* Position the two lines */
.navbar-toggler-icon::before {
    top: -8px;
}

.navbar-toggler-icon::after {
    top: 8px;
}

.navbar-toggler-icon,
.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    height: 0.75px; /* Reduce thickness */
    background-color: black; /* Change color if needed */
}

/* Default navbar */
#navbar {
    transition: background-color 0.3s, box-shadow 0.3s;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

/* Add padding so content doesn't get hidden under navbar */
body {
    padding-top: 80px; /* Adjust based on navbar height */
}

/* Dark & Transparent Navbar on Scroll */
#navbar.scrolled {
    background-color: rgba(0, 0, 0, 0.6); /* Adjust transparency */
    backdrop-filter: blur(5px); /* Optional: adds a blur effect */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Change text & logo color */
#navbar.scrolled .nav-link {
    color: #fff !important;
}

#navbar.scrolled .navbar-brand img {
    filter: brightness(0) invert(1); /* Makes logo white */
}




/* Alignments for Desktop */
@media (min-width: 992px) {
    .navbar .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* Ensure items are centered */
    .navbar-nav {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /* Hide the hamburger menu on larger screens */
    .navbar-toggler {
        display: none;
    }
}



@media (max-width: 991px) {
    /* Center the logo */
    .navbar-brand {
        margin-left: 0;
        margin-right: auto;
    }

    /* Full-width collapsed menu */
    .navbar-collapse {
        text-align: center;
        background: #fff;
        padding: 1rem 0;
    }

    /* Make menu items full-width */
    .navbar-nav .nav-item {
        width: 100%;
        padding: 0.5rem 0;
    }

    /* Hamburger Menu Icon Spacing */
    .navbar-toggler {
        position: absolute;
        right: 1rem;
    }
}

/* Remove dropdown arrows */
.navbar-nav .dropdown-toggle::after {
    display: none !important;
}

/* Full-width dropdown */
.full-width-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100vw; /* Full viewport width */
    background: rgba(0, 0, 0, 0.5); /* Black with 50% opacity */
    padding: 20px 0;
    display: none;
    text-align: center;
    z-index: 1000;
}

/* Center the dropdown content */
.full-width-dropdown .dropdown-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: center;
}

/* Support Dropdown: Single Column */
.support-dropdown {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* About Us Dropdown: 3x3 Grid */
.about-dropdown {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    text-align: left;
}

/* Dropdown items styling */
.full-width-dropdown .dropdown-item {
    color: #fff;
    padding: 12px 30px;
    font-size: 16px;
    display: block;
    text-decoration: none;
}

.full-width-dropdown .dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Show dropdown when active */
.dropdown.show .full-width-dropdown {
    display: block;
}



/* Adjustments to the Hero Section */
.hero {
    position: relative;
    height: 100vh; /* Full viewport height */
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#heroVideo {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    transform: translate(-50%, -50%);
    object-fit: cover; /* Ensures the video covers the entire hero section */
}


/* Maintain aspect ratio and scaling for large screens */
@media screen and (min-width: 2160px) {
    #heroVideo {
        width: auto;
        height: 100%;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay for text readability */
    z-index: 1;
}

/* Hero Section Text Aligned to the Left */
.hero-text-left {
    z-index: 2;
    position: relative;
    margin-top: 20%; /* Adjust vertical alignment */
    text-align: left;
    padding-left: 50px; /* Move text to the left */
    max-width: 600px; /* Optional: Set a max-width for the text block */
    margin-left: 50px;
    align-items: left;
    justify-content: left; /* Optional: Add some margin from the left */
}

.hero-text-left h2 {
    font-size: 50px;
    margin-bottom: 20px;
    line-height: 1.2;
    text-align: left;
    padding: 10px 0; /* Only vertical padding, no need for horizontal padding */
}

.hero-text-left p {
    font-size: 18px;
    margin-bottom: 40px;
    text-align: left; /* Ensures paragraph text is aligned left */
    padding-left: 0; /* Reset any extra padding */
}

.hero-text-left .cta {
    background: #E74C3C;
    color: white;
    padding: 15px 30px;
    text-transform: uppercase;
    font-size: 18px;
    border-radius: 5px;
    transition: background 0.3s ease;
    display: inline-block; /* Ensure the CTA button behaves correctly */
    text-align: center; /* Center the text within the button */
}

.hero-text-left .cta:hover {
    background: #C0392B;
}

/* Adjust the hero heading and subtext */
.hero h1 {
    font-size: 3rem; /* Reduced from default */
    line-height: 1.2; /* Tighter line spacing */
    margin-bottom: 20px;
    text-align: left; /* Align the h1 heading to the left */
    padding-left: 10px; /* Optional padding for consistent left alignment */
}

.hero p {
    font-size: 1.2rem; /* Reduce font size for subtext */
    line-height: 1.6;
    max-width: 600px; /* Limit the width to ensure it breaks into 3-4 lines */
    margin-left: 10px; /* Left-align the paragraph */
    padding-left: 0; /* Remove extra padding to match left alignment */
}

/* Features Section */
.features {
    padding: 60px 0;
    background-color: #f9f9f9;
    margin-top: 50px; /* Adjust this value to control the vertical spacing */
    padding-top: 50px; /* Optional: add padding for a smoother gap */
}

.features h2 {
    text-align: center;
    margin-bottom: 40px;
}

.features-list {
    display: flex;
    justify-content: space-around;
}

/* Updated Stats Section */
.stats {
    position: relative;
    width: 75%; /* Elongated width but reduced since we have fewer metrics */
    background-color: #f9f9f9;
    text-align: center;
    z-index: 5;
    padding: 30px 0;
    margin: -60px auto 0;
    border-radius: 15px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.15);
}

/* Updated layout for 4 metrics */
.stats-container {
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.stat-item {
    background-color: #fff;
    padding: 15px;
    border-radius: 10px;
    width: 22%; /* Adjusted width for four metrics */
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.stat-item .count {
    font-size: 36px;
    color: #E74C3C;
    font-weight: bold;
}

.stat-item p {
    font-size: 16px;
    color: #555;
    margin-top: 10px;
}

/* Hero Section adjustment for overlap */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding-bottom: 100px;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#heroVideo {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay for readability */
    z-index: 1;
}

/* General Hero Section Styling */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;  /* Vertical centering of content */
}

/* Video container styling */
.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hero overlay to darken the background for better text visibility */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay */
    z-index: 2;
}

/* Hero Text Container (aligned to the left) */
.hero-text-left {
    position: relative;
    z-index: 3; /* To ensure it overlays on top of the video and overlay */
    max-width: 600px; /* Control width of the text block */
    padding-left: 50px; /* Adjust this padding to control how far left */
    text-align: left;
    color: white; /* Ensure text is visible on the dark overlay */
}

/* Hero Text Styling */
.hero-text-left h2 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text-left p {
    font-size: 18px;
    margin-bottom: 40px;
    line-height: 1.5;
}

.hero-text-left .cta {
    background: #E74C3C;
    color: white;
    padding: 15px 30px;
    text-transform: uppercase;
    font-size: 18px;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.hero-text-left .cta:hover {
    background: #C0392B;
}





.feature-item {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    width: 30%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.feature-item h3 {
    margin-bottom: 15px;
}

.feature-item p {
    color: #555;
}

/* Problem Section */
.problem-section {
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    background-color: #f9f9f9;
}

.problem-content {
    display: flex;
    max-width: 1200px;
    width: 100%;
    align-items: center;
    justify-content: space-between;
}

.problem-text {
    flex: 1;
    padding-right: 20px;
}

.problem-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.problem-text p {
    font-size: 18px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.problem-image {
    flex: 1;
    padding-left: 20px;
}

.problem-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}



/* Solution Section */
.solution-section {
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    background-color: #ffffff;
}

.solution-content {
    display: flex;
    max-width: 1200px;
    width: 100%;
    align-items: center;
    justify-content: space-between;
}

.solution-image {
    flex: 1;
    padding-right: 20px;
}

.solution-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.solution-text {
    flex: 1;
    padding-left: 20px;
}

.solution-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.solution-text p {
    font-size: 18px;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Vetting Section */
.vetting-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    background-color: #f9f9f9;
}

/* Container */
.vetting-container {
    display: flex;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    gap: 40px;
}

/* Text Content */
.vetting-text {
    flex: 1;
    max-width: 500px;
    text-align: left;
}

.vetting-text h2 {
    font-size: 28px;
    color: #222;
    margin-bottom: 15px;
}

.vetting-text p {
    font-size: 18px;
    color: #555;
    line-height: 1.6;
}

/* Vertical Line */
.vetting-line {
    width: 4px;
    height: 100px;
    background: linear-gradient(to bottom, #007bff, #00d4ff);
    border-radius: 2px;
}

/* Image */
.vetting-image {
    flex: 1;
    text-align: center;
}

.vetting-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-in-out forwards;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-in-out forwards;
}

.fade-in {
    animation: fadeIn 1s ease-in-out forwards;
}

/* Responsive for Mobile */
@media (max-width: 768px) {
    .vetting-container {
        flex-direction: column;
        text-align: center;
    }

    .vetting-line {
        display: none; /* Remove the line for mobile */
    }

    .vetting-text {
        max-width: 100%;
    }
}



/* Animation */
@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate.fade-in {
    animation: fade-in 0.5s ease-in-out;
}

.features-grid {
    padding: 60px 20px;
    width: 100vw; /* Full width */
    text-align: center;
}

.section-header {
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 28px;
    color: #5a24be;
    margin-bottom: 10px;
}

.section-header p {
    font-size: 16px;
    color: #555;
    max-width: 600px;
    margin: 0 auto;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 equal columns */
    grid-template-rows: repeat(3, 1fr); /* 3 equal rows */
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.grid-item {
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    aspect-ratio: 1 / 1; /* Keeps squares equal */
    padding: 15px;
}

.grid-item:hover {
    transform: translateY(-5px);
}

.grid-item.text {
    text-align: center;
    padding: 20px;
}

.grid-item.text h3 {
    color: #5a24be;
    font-size: 20px;
    margin-bottom: 8px;
}

.grid-item.text p {
    color: #555;
    font-size: 14px;
}

.grid-item.image img {
    width: auto;  /* Increased from 90% */
    max-width: 100%; /* Allows full use of available space */
    height: auto; /* Ensures better scaling without gaps */
    border-radius: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: 1fr; /* Single column for smaller screens */
    }

    .grid-item {
        aspect-ratio: unset;
        height: auto;
    }

    .grid-item.image img {
        width: 100%;
        max-height: 250px; /* Slightly increased for better visibility */
    }
}




/* How It Works Section */
.how-it-works {
    padding: 50px 20px;
    background-color: #2C2C6B; /* Dark blue background similar to your image */
    text-align: center;
    margin-top: 50px; /* Adjust this value to control the vertical spacing */
    padding-top: 50px; /* Optional: add padding for a smoother gap */
}

.how-it-works h2 {
    color: #FFD24C; /* Yellow color for heading */
    font-size: 36px;
    margin-bottom: 40px;
}

.steps {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px; /* Space between the steps */
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 300px;
    padding: 20px;
    background-color: transparent; /* No background */
    color: #FFF; /* White text */
}

.step img {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

.step h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #FFD24C; /* Yellow for title */
    font-weight: bold;
}

.step p {
    color: #FFF;
    font-size: 14px;
}

.read-more-btn {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 40px;
    background-color: #FFD24C;
    color: #2C2C6B;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 30px;
    text-decoration: none;
}

.read-more-btn:hover {
    background-color: #FFC107; /* Lighter yellow on hover */
    color: #2C2C6B;
}

/* Responsive Layout for Larger Screens */
@media (min-width: 768px) {
    .steps {
        flex-direction: row;
        justify-content: space-between;
    }
    .step {
        max-width: 22%; /* To align horizontally */
    }
}



/* Testimonials Section */
.testimonials {
    padding: 60px 0;
    background-color: #f0f0f0;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 40px;
}

.testimonial-list {
    display: flex;
    justify-content: space-around;
}

.testimonial-item {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    width: 40%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.testimonial-item p {
    font-style: italic;
    color: #333;
}

.testimonial-item h4 {
    margin-top: 15px;
    font-weight: bold;
    color: #E74C3C;
}

.partners {
    padding: 50px 0;
    background-color: #f4f4f4;
    text-align: center;
}

.partners h2 {
    font-size: 32px;
    margin-bottom: 30px;
    color: #333;
}

.partners-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.partners-container img {
    max-width: 150px;
    filter: grayscale(100%);
    transition: filter 0.3s ease-in-out;
}

.partners-container img:hover {
    filter: grayscale(0%);
}

@media (max-width: 768px) {
    .partners-container img {
        max-width: 100px;
    }
}



.partners-carousel {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 0;
}

.partners-carousel::-webkit-scrollbar {
    display: none;
}

.partner-slide {
    flex: 0 0 auto;
    margin-right: 20px;
    transition: transform 0.3s ease-in-out;
}

.partner-slide img {
    max-width: 150px;
    filter: grayscale(100%);
    transition: filter 0.3s ease-in-out;
}

.partner-slide img:hover {
    filter: grayscale(0%);
}

.partner-slide:hover {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .partner-slide img {
        max-width: 100px;
    }
}

.blog {
    padding: 50px 0;
    background-color: #fff;
    text-align: center;
}

.blog h2 {
    font-size: 32px;
    margin-bottom: 30px;
    color: #333;
}

.blog-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-item {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

.blog-item img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

.blog-item h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
}

.blog-item p {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
}

.blog-item a {
    color: #0066cc;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.blog-item a:hover {
    color: #003399;
}

.blog-item:hover {
    transform: translateY(-10px);
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .blog-container {
        grid-template-columns: 1fr;
    }
}



.blog-carousel {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 20px;
    padding: 20px 0;
}

.blog-carousel::-webkit-scrollbar {
    display: none;
}

.blog-item {
    flex: 0 0 auto;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    width: 300px;
    transition: transform 0.3s ease-in-out;
}

.blog-item img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

.blog-item:hover {
    transform: scale(1.05);
}


/* CTA Section with Background Image */
.cta-section {
    background-image: url('images/50--plus-header01.jpg'); /* Add your background image path here */
    background-size: cover; /* Ensures the image covers the entire section */
    background-position: center; /* Centers the background image */
    padding: 100px 0; /* Padding to give the section enough vertical space */
    color: #ffffff; /* White text for better contrast */
    text-align: center;
    position: relative; /* To use positioning if needed */
}

/* Optional: Add a semi-transparent overlay for better readability */
.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Black overlay with 50% transparency */
    z-index: 1;
}

.cta-section h2, .cta-section p, .cta-section a {
    position: relative;
    z-index: 2; /* Ensure the text is above the overlay */
}

.cta-section h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta {
    display: inline-block;
    background-color: #fdb833; /* Yellow button background */
    color: #232363; /* Dark blue button text */
    padding: 15px 30px;
    font-size: 1.2rem;
    border-radius: 50px;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.cta:hover {
    background-color: #e0a528; /* Slightly darker yellow on hover */
}

/* Footer Section Styling */
.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 2rem 1rem;
    background-color: #fff; /* Changed background color to white */
    color: #333; /* Changed text color to dark */
    gap: 1rem; /* Added gap between columns */
}

.footer-column {
    flex: 1 1 200px;
    margin: 0; /* Removed margin to avoid gaps */
    padding: 1rem; /* Added padding for spacing */
    box-sizing: border-box; /* Ensures padding is included in the width */
}

.footer-column h4 {
    cursor: pointer;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #333; /* Changed heading color to dark */
    position: relative;
    text-decoration: none; /* Removed underline */
    border-bottom: none; /* Ensure no border underline */
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.8rem;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column ul li a {
    color: #333; /* Changed link color to dark */
    text-decoration: none; /* Removed underline */
}

.footer-column ul li a:hover {
    text-decoration: underline; /* Underline on hover */
}

/* Social Media Icons */
.social-media-icons {
    display: flex;
    gap: 0.5rem;
}

.social-media-icons li {
    list-style: none;
}

.social-media-icons li a img {
    width: 24px;
    height: 24px;
}

/* Newsletter Form */
.footer-column form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-column form input[type="email"] {
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.footer-column form button {
    padding: 0.5rem;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.footer-column form button:hover {
    background-color: #555;
}

/* Mobile View */
@media (max-width: 768px) {
    .footer-column ul {
        display: none; /* Initially hide the list */
    }

    /* Dropdown arrow */
    .footer-column h4::after {
        content: '▼';
        position: absolute;
        right: 0;
        font-size: 0.8rem;
        transition: transform 0.3s;
    }

    .footer-column h4.active::after {
        transform: rotate(180deg);
    }

    /* Show the list when the header is active */
    .footer-column h4.active + ul {
        display: block;
    }
}

/* Newsletter Form */
.newsletter-form {
    display: flex;
    align-items: center;
    gap: 0; /* Remove gap between input and button */
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px 0 0 4px; /* Rounded corners on the left side */
    border-right: none; /* Remove right border */
}

.newsletter-form button {
    padding: 0.5rem 1rem;
    background-color: #333;
    color: #fff;
    border: 1px solid #ccc;
    border-radius: 0 4px 4px 0; /* Rounded corners on the right side */
    border-left: none; /* Remove left border */
    cursor: pointer;
}

.newsletter-form button:hover {
    background-color: #555;
}

/* Mobile View */
@media (max-width: 768px) {
    .footer-column ul {
        display: none; /* Initially hide the list */
    }

    /* Dropdown arrow */
    .footer-column h4::after {
        content: '▼';
        position: absolute;
        right: 0;
        font-size: 0.8rem;
        transition: transform 0.3s;
    }

    .footer-column h4.active::after {
        transform: rotate(180deg);
    }

    /* Show the list when the header is active */
    .footer-column h4.active + ul {
        display: block;
    }

    /* Shift the newsletter part up */
    .newsletter-section {
        margin-top: -5rem; /* Negative margin to shift up */
    }
}
    
/* Additional Footer Content Styling */
.additional-footer-content {
    background-color: #f4f4f4; /* Changed background color to light grey */
    color: #333; /* Changed text color to dark */
    padding: 1rem;
    display: flex;
    justify-content: flex-start; /* Align content to the left */
    text-align: left;
}

.additional-footer-content, .footer-bottom {
    display: block !important;
    visibility: visible !important;
}

.additional-footer-content p {
    margin: 0;
}

.additional-footer-content a {
    color: #333; /* Changed link color to dark */
    text-decoration: none; /* Removed underline */
}

.additional-footer-content a:hover {
    text-decoration: underline; /* Underline on hover */
}

.footer-divider {
    border: 0;
    height: 1px;
    background: #ccc; /* Changed divider color to light grey */
    margin: 1rem 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0; /* Reduced padding to shift up */
    margin-top: -1rem; /* Negative margin to shift up */
    font-size: 0.8rem; /* Reduced font size */
}

.footer-bottom .footer-left,
.footer-bottom .footer-right {
    flex: 1;
}

.footer-bottom .footer-left {
    white-space: nowrap; /* Prevent line breaks */
    overflow: visible; /* Hide overflow text */
    text-overflow: ellipsis; /* Add ellipsis for overflow text */
}

.footer-bottom .footer-right {
    text-align: right;
}

.footer-bottom .flag {
    width: 20px;
    height: auto;
    margin-left: 0.5rem;
}

/* Mobile View */
@media (max-width: 768px) {
    /* Remove default margin and padding */
    .footer-column {
        margin: 0;
        padding: 0;
    }

    /* Ensure headings have uniform spacing */
    .footer-column h4 {
        display: block;
        position: relative;
        margin: 0;
        padding: 10px;
        cursor: pointer; /* Make it clear it's clickable */
        background-color: #f8f8f8; /* Optional: Add slight background */
        border-bottom: 1px solid #ddd; /* Optional: Separator */
    }

    /* Hide the list by default */
    .footer-column ul {
        display: none;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    /* Dropdown arrow */
    .footer-column h4::after {
        content: '▼';
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 0.8rem;
        transition: transform 0.3s;
    }

    /* Rotate arrow when active */
    .footer-column h4.active::after {
        transform: translateY(-50%) rotate(180deg);
    }

    /* Show list when active */
    .footer-column h4.active + ul {
        display: block;
    }
}

@media (max-width: 768px) {
    /* Ensure visibility of the newsletter section */
    .newsletter-section,
    .additional-footer-content,
    .footer-bottom {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        height: auto !important;
        max-height: none !important;
        position: relative !important;
        overflow: visible !important;
        margin-bottom: 20px;
        padding-bottom: 20px;
    }

    .footer-container {
        padding-bottom: 60px;
    }

    .additional-footer-content {
        margin-top: 30px !important; /* Space it out from other elements */
        padding-bottom: 30px !important;
    }

    .footer-bottom {
        padding-top: 30px !important;
    }

    /* Ensure social media icons are visible */
    .social-media-icons {
        display: flex !important;
        justify-content: center;
        gap: 10px;
        padding: 0;
        list-style: none;
    }

    .social-media-icons li {
        display: inline-block;
    }

    .social-media-icons img {
        width: 30px; /* Keep icons properly sized */
        height: auto;
    }

    /* Ensure additional footer content is visible */
    .additional-footer-content {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        height: auto !important;
    }

    /* Make sure footer-bottom content is also visible */
    .footer-bottom {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
}
