/* General Styles */
/* Dark Theme Styles */
body {
    background-color: #121212;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    transition: background-color 0.3s, color 0.3s;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6, p, a, li, span, div {
    font-family: 'Inter', sans-serif;
}

/* 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;
}



.leadership-hero {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 40vh;
    padding-left: 5%;
    background: linear-gradient(135deg, #1e1e1e, #252525);
}

.hero-content {
    max-width: 500px;
}

h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.underline {
    width: 80px;
    height: 4px;
    background-color: #5a24be;
    margin-bottom: 20px;
}

.leadership-section {
    padding: 40px 5%;
}

h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.leader {
    background-color: #1e1e1e;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.leader:hover {
    transform: translateY(-5px);
}

.leader img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 10px;
    border: 0px;
}

.leader h3 a {
    text-decoration: none;
    color: inherit;
}

.leader h3 a:hover {
    color: #5a24be;
}

h3 {
    font-size: 20px;
    margin-bottom: 5px;
}

p {
    font-size: 14px;
    color: #ccc;
}

/* 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;
    }
}
