html, body {
    max-width: 100%;
    overflow-x: hidden;
}

.header-middle {
    padding: 20px 5%;
    width: 100%;
}

.navbar ul {
    width: 100%;
}

.donate-button a {
    padding: 12px 5%;
}

img {
    max-width: 100%;
    height: auto;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

header {
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1000;
}

/* First part: Social media links, running quote, and contact info */
.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #343a40;
    padding: 10px 40px;
    color: white;
}

.social-links a {
  color: #007bff;
    text-decoration: none;
    margin-right: 20px;
    font-size: 16px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #ff5722;
}

.running-quote {
    flex-grow: 1;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
}

.running-quote span {
    display: inline-block;
    animation: scroll 10s linear infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.contact-info {
    font-size: 16px;
}

.contact-info span {
    color: #007bff;
}

.contact-info span:hover {
    color: #fff8f5;
}

/* Remaining styles from your original CSS */


/* Second part: Logo and Donate button */
.header-middle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: #fff;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    max-width: 90px;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.1);
}

/* Futuristic company name styling */
.company-name {
    font-size: 22px;
    font-weight: bold;
    margin-left: 10px;
    font-family: 'Orbitron', sans-serif;  /* Futuristic font */
    color: #007bff;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
}

.company-name::before, .company-name::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #ff5722;
    left: 0;
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.company-name::before {
    top: -5px;
    transform-origin: right;
}

.company-name::after {
    bottom: -5px;
    transform-origin: left;
}

.company-name:hover::before, .company-name:hover::after {
    transform: scaleX(1);
}

/* Donate button */
.donate-button a {
    background-color: #ff5722;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.donate-button a:hover {
    background-color: #e64a19;
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Futuristic Hamburger and Close Icons */
.menu-icon {
    display: none;
    cursor: pointer;
    position: relative;
}

.menu-icon .hamburger,
.menu-icon .close {
    font-size: 32px;
    color: #ff5722;
    display: inline-block;
    transition: transform 0.4s ease, color 0.3s ease;
}

.menu-icon:hover .hamburger {
    transform: rotate(90deg);
    color: #007bff;
}

.menu-icon:hover .close {
    transform: scale(1.2);
    color: #e64a19;
}

.menu-icon .close {
    display: none;
}

.menu-icon.active .hamburger {
    display: none;
}

.menu-icon.active .close {
    display: inline-block;
}

/* Third part: Navigation bar */
.navbar {
    display: flex;
    height: 50px;
    justify-content: center;
    background-color: #33cf84;
    padding: 15px 0;
    border-top: 3px solid #ff5722;
}

.navbar ul {
    display: flex;
    list-style: none;
    padding: 0;
}

.navbar ul li {
    margin: 0 20px;
    position: relative;
}

.navbar ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    padding: 10px;
    transition: color 0.3s ease;
}

.navbar ul li a:hover {
    color: #ff5722;
}

/* Hover underline animation for navbar links */
.navbar ul li a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #ff5722;
    transition: width 0.3s;
}

.navbar ul li a:hover::after {
    width: 100%;
    transition: width 0.3s;
}



/* Show hamburger menu on small screens */
@media (max-width: 768px) {
    .navbar ul {
        display: none;
        flex-direction: column;
        text-align: center;
        background-color: #d06625;
        position: absolute;
        top: 100%;
        width: 100%;
        left: 0;
        transition: max-height 0.5s ease-in-out;
    }

    .navbar ul.open {
        display: flex;
    }

    .menu-icon {
        display: block;
        margin-left: auto;
    }

    .navbar ul li {
        margin: 10px 0;
    }
    .header-middle, .header-top {
        padding: 0 10px; /* Reduce padding on small screens */
    }

    .navbar ul {
        padding-left: 0;
        margin: 0;
    }

    .navbar ul li {
        margin: 0; /* Ensure no excessive margin that could push items out */
    }
    .navbar ul li a {
        padding: 15px;
        width: 100%;
        color: white;
        display: block;
    }

    .header-middle {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 10px 20px;
    }

    .logo img {
        max-width: 120px;
    }

    .donate-button a {
        font-size: 14px;
        padding: 8px 16px;
    }
}

/* Responsive adjustments for medium screens */
@media (max-width: 1024px) {
    .header-middle {
        padding: 10px 20px;
    }

    .logo img {
        max-width: 130px;
    }

    .donate-button a {
        font-size: 14px;
        padding: 10px 25px;
    }

    .navbar ul li {
        margin: 0 10px;
    }
}

@media (max-width: 500px) {

    /* First part: Social media links, running quote, and contact info */
    .header-top {
        flex-direction: column;
        padding: 10px 20px;
    }

    .social-links a {
        margin-right: 10px;
        font-size: 14px;
    }

    .running-quote {
        font-size: 14px;
        margin-top: 10px;
    }

    .contact-info {
        font-size: 14px;
        margin-top: 10px;
    }

    /* Second part: Logo and Donate button */
    .header-middle {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 10px 20px;
    }

    .logo img {
        max-width: 80px;
    }

    .company-name {
        font-size: 16px;
        margin-left: 5px;
    }

    .donate-buttons {
        margin-top: 10px;
        font-size: 14px;
        padding: 6px 10px;
    }

    /* Hamburger menu */
    .menu-icon {
        margin-top: 10px;
        font-size: 28px;
    }

    /* Third part: Navigation bar */
    .navbar {
        flex-direction: column;
        padding: 10px 0;
        background-color: #33cf84;
    }

    .navbar ul li {
        margin: 10px 0;
    }

    .navbar ul li a {
        font-size: 16px;
        padding: 10px 0;
    }
}

/***********************SLIDERS SECTION START **************************************/
.team-item .overflow-hidden {
        overflow: hidden;
        text-align: center;
    }

    .team-img {
        width: 200px; /* Control the size of the circle */
        height: 240px;
        object-fit: cover;
        border-radius: 50%;
    }

    .team-item {
        box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
        padding: 15px;
        background-color: #fff;
        border-radius: 15px;
    }
    
    
.slideshow-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: auto;
    overflow: hidden;
}

.mySlides {
    display: none; /* Hide all slides by default */
    position: relative;
    width: 100%;
    height: 100vh; /* Full height of the viewport */
}

.mySlides img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
}


.text-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
}

.big-text {
    font-size: 6vw; /* Responsive text size */
    margin: 0;
}

.small-text {
    font-size: 3vw; /* Responsive text size */
    margin-top: 10px;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    transition: 0.6s ease;
    user-select: none;
    z-index: 3;
}

.prev {
    left: 0;
}

.next {
    right: 0;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}


/* Media queries for smaller screens */
@media only screen and (max-width: 768px) {
    .big-text {
        font-size: 8vw; /* Increase font size on smaller screens */
    }

    .small-text {
        font-size: 4vw;
    }
}

@media only screen and (max-width: 480px) {
    .big-text {
        font-size: 10vw; /* Further increase font size for mobile */
    }

    .small-text {
        font-size: 5vw;
    }
}

/**************************SLIDER SECTION END HERE******************************************/

/* Follow Us Section */
.follow-us {
    background-color: #f9f9f9; /* Light background color */
    padding: 40px 20px; /* Padding for spacing */
    text-align: center; /* Center align text */
}

.follow-us h2 {
    font-size: 28px; /* Heading size */
    margin-bottom: 15px; /* Space below the heading */
    color: #333; /* Dark text color */
}

.follow-us p {
    font-size: 16px; /* Paragraph size */
    margin-bottom: 30px; /* Space below the paragraph */
    color: #666; /* Grey text color */
}

/* Social Icons */
.social-iconss {
    display: flex; /* Flexbox for alignment */
    justify-content: center; /* Center the icons */
    gap: 15px; /* Space between icons */
}

.social-iconss a {
    display: inline-block; /* Block display for links */
    text-decoration: none; /* Remove underline */
    color: #555; /* Default icon color */
    font-size: 24px; /* Icon size */
    transition: color 0.3s ease; /* Smooth color transition on hover */
}

.social-iconss a:hover {
    color: #33cf84; /* Change color on hover */
}

/* Responsive Styles */
@media (max-width: 768px) {
    .follow-us {
        padding: 20px 10px; /* Reduce padding on mobile */
    }

    .follow-us h2 {
        font-size: 24px; /* Smaller heading on mobile */
    }

    .follow-us p {
        font-size: 14px; /* Smaller paragraph on mobile */
    }

    .social-iconss a {
        font-size: 20px; /* Smaller icon size on mobile */
    }
}

