/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.6);
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-top: 5px;
}

nav {
    display: flex;
    justify-content: center; /* Center the navbar on large screens */
    align-items: center;
    position: relative;
}

#menu {
    display: flex;
    list-style: none;
}

#menu li {
    margin: 0 15px;
}

#menu li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: 0.3s;
}

#menu li a:hover {
    color: #ff5b5b;
}

.join-btn {
    background: #ff5b5b;
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 1.2rem;
}

.join-btn:hover {
    background: #ff8b8b;
}

/* Sidebar Menu */
.sidebar {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1001;
    top: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.9);
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}

.sidebar a {
    padding: 10px 30px;
    text-decoration: none;
    font-size: 25px;
    color: white;
    display: block;
    transition: 0.3s;
}

.sidebar a:hover {
    background-color: #ff5b5b;
}

.closebtn {
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 36px;
    color: white;
    cursor: pointer;
}

/* Menu Toggle */
.menu-toggle {
    display: none; /* Hidden in larger screens */
    cursor: pointer;
}

.menu-toggle i {
    font-size: 24px;
    color: white;
}

/* Responsive Design */
@media (max-width: 752px) {
    .join-btn {
        position: absolute;
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
    }

    #menu {
        display: none;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.8);
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        text-align: center;
    }

    #menu.open {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .hero {
        height: calc(100vh - 60px);
    }    
}

/* Large screens */
@media (min-width: 752px) {
    header {
        justify-content: space-between;
    }

    nav {
        flex: 1;
        display: flex;
        justify-content: center; /* Center the navbar menu */
        align-items: center;
        position: relative;
    }

    #menu {
        display: flex;
        flex-direction: row; /* Horizontal alignment */
        justify-content: center; /* Ensure the menu is centered */
    }

    .join-btn {
        position: absolute;
        right: 20px; /* Keep join button on the far right */
    }
}










/* About Us Section */
#about-us {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 200px 20px 150px 0;
    text-align: left;
    background-color: #fff;
}

/* Title */
.about-title {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

/* Intro Text */
.about-intro {
    max-width: 600px;
    font-size: 18px;
    line-height: 1.6;
    color: #555;
}

/* Logo Image with Animation */
.about-logo {
    width: 200px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
    100% {
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    #about-us {
        flex-direction: column;
        text-align: center;
    }

    .about-logo {
        margin-bottom: 30px;
    }
}









#digital-divide {
    text-align: center;
    padding: 50px 20px;
    background-color: #333;
}

.content-wrapper {
    margin-bottom: 50px;
}

.main-heading {
    font-size: 2.4rem;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 20px;
}

.sub-text {
    font-size: 1.1rem;
    color: #ffffffcf;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.cta-button {
    background-color: #d94b4b;
    color: #fff;
    text-decoration: none;
    padding: 12px 28px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1rem;
    transition: 0.3s;
}

.cta-button:hover {
    background-color: #bf3a3a;
}

.stats-wrapper {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.stat-item {
    flex: 1 1 200px;
    margin: 10px;
}

.stat-value {
    font-size: 2.2rem;
    color: #ffffff;
    font-weight: 700;
}

.stat-text {
    font-size: 1.1rem;
    color: #ffffffd1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-heading {
        font-size: 1.8rem;
    }

    .sub-text {
        font-size: 1rem;
    }

    .cta-button {
        font-size: 0.9rem;
        padding: 10px 24px;
    }

    .stat-value {
        font-size: 1.8rem;
    }

    .stat-text {
        font-size: 1rem;
    }
}











#connected-section {
    padding: 60px 20px;
    background-color: #f9fafb;
    text-align: center;
}

#heading-connected-nation {
    font-size: 2.5rem;
    color: #1a2a50;
    margin-bottom: 50px;
    text-align: center;
}

.connected-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.connected-columns {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.connected-item {
    position: relative;
    background-color: #eeeff1;
    padding: 30px;
    width: 30%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    min-width: 280px;
}

.hidden-number {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 8rem;
    font-weight: 700;
    color: rgb(255, 255, 255);
    z-index: 0;
}

.item-title {
    font-size: 1.6rem;
    color: #1a2a50;
    font-weight: 700;
    z-index: 1;
    position: relative;
}

.title-underline {
    width: 50px;
    height: 4px;
    background-color: #d12d36;
    margin: 10px 0 20px 0;
    z-index: 1;
    position: relative;
}

.item-description {
    font-size: 1rem;
    color: #646e84;
    z-index: 1;
    position: relative;
}

/* Responsive Design */
@media (max-width: 992px) {
    .connected-columns {
        flex-direction: column;
        align-items: center;
    }

    .connected-item {
        width: 90%;
    }
}

@media (max-width: 768px) {
    #heading-connected-nation {
        font-size: 2rem;
    }

    .hidden-number {
        font-size: 6rem;
    }

    .item-title {
        font-size: 1.4rem;
    }

    .item-description {
        font-size: 0.95rem;
    }
}






/* Leadership Section */
#leadership-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    position: relative;
    min-height: 500px;
    z-index: 1;
    background-color: #333;
}

.leadership-container {
    background-color: #3c2f2f;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    max-width: 1200px;
    width: 100%;
}

.leadership-bg {
    background-image: url('img-about-us/realninja.jpg'); /* Replace with your actual background image URL */
    background-attachment: fixed;  /* This creates the parallax effect */
    background-size: cover;

    background-position: center;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.profile-image {
    margin-right: 30px;
    z-index: 2; /* Ensures the image is on top */
}

.circular-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid #fff;
}

.quote-content {
    max-width: 700px;
    color: #fff;
    z-index: 2;
}

.quote {
    font-size: 1.4rem;
    font-style: italic;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);

}

.quote-author {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);

}

.author-title {
    font-size: 1rem;
    color: #ddd;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);

}

.leadership-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #f07d7d;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 30px;
    transition: background-color 0.3s;
}

.leadership-btn:hover {
    background-color: #d15757;
}

/* Responsive Design */
@media (max-width: 992px) {
    .leadership-bg {
        flex-direction: column;
        text-align: center;
    }

    .profile-image {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .quote-content {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .quote {
        font-size: 1.2rem;
    }

    .quote-author {
        font-size: 1.1rem;
    }

    .author-title {
        font-size: 0.9rem;
    }
}









/* Styling for the banner section */
#complex-banner {
    background-color: #003742; /* Dark teal color */
    padding: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100px;
    width: 100%;
}

.container-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    width: 60%;
}

/* Text Styling */
.text-banner {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: left;
}

/* Button Styling */
.button-banner {
    background-color: #ffffff;
    color: #003742;
    border: none;
    padding: 10px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border: 2px solid transparent;
}

.button-banner:hover {
    background-color: #d1d1d1;
    color: #003742;
    border: 2px solid #ffffff;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .container-banner {
        flex-direction: column;
        text-align: center;
    }

    .text-banner {
        margin-bottom: 10px;
        font-size: 1.3rem;
    }

    .button-banner {
        margin-top: 10px;
    }
}






/* Footer Section Styling */
#main-footer {
    background-color: #333;
    color: white;
    padding: 20px 0;
    text-align: center;
    font-family: 'Poppins', sans-serif;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links li a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
}

.footer-links li a:hover {
    color: #ff5b5b;
}

.social-media-icons a {
    margin: 0 10px;
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-media-icons a:hover {
    color: #ff5b5b;
}

.footer-bottom {
    margin-top: 20px;
    font-size: 0.9rem;
}