/* Global Styles */
* {
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
    box-sizing: border-box;
}

/* Navbar */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 5vw;
    background-color: #E5E0D6;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    height: 80px;
    border-bottom: #F3640C 3px solid;
}

/* Logo Container */
.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Logo Sizes */
.swah-logo {
    height: 45px;
    width: auto;
}

.umeed-logo {
    height: 90px;
    width: auto;
}

/* Navigation Links */
.nav-links ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links ul li a {
    color: #022f08;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    transition: 0.3s ease;
}

.nav-links ul li a:hover {
    color: #F3640C;
}

/* Mobile Responsive Fix */
.menu-icon {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: #022f08;
}

/* Responsive Navbar for Mobile */
@media (max-width: 768px) {
    .menu-icon {
        display: block; /* Shows menu icon on mobile */
    }

    /* Hide menu initially */
    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        right: 0;
        background-color: #E5E0D6;
        width: 100%;
        text-align: center;
        padding: 15px 0;
        box-shadow: 0px 5px 10px rgba(0,0,0,0.1);
    }

    /* Show menu when active */
    .nav-links.active {
        display: flex;
        flex-direction: column;
    }

    .nav-links ul {
        flex-direction: column;
        gap: 15px;
    }

    /* Stack logos in mobile view */
    .logo-container {
        flex-direction: row;
        align-items: space-between;
    }
}



/* Hero Section */
#home {
    background:linear-gradient(rgba(0, 3, 1, 0.7), rgba(0, 3, 1, 0.7)), url(Headerimage.jpg) center/cover no-repeat fixed;
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-top: 80px;
}

#home h2 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #E5E0D6;
}

#home p {
    font-size: 1.6rem;
    width: 80%;
    font-weight: 500;
    color: #E5E0D6;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    #home h2 {
        font-size: 2rem;
    }
    #home p {
        width: 90%;
        font-size: 1rem;
    }
}

.bta a {
    display: inline-block;
    padding: 10px 20px;
    margin: 10px;
    background-color: #F3640C;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s ease;
}

.bta .btnjn {
    background-color: #045710;
}

.bta .btnjn:hover {
    background-color: #F3640C;
}

.bta .btnlm:hover {
    background-color: #045710;
}

/* Introduction Section */
#Introduction {
    background-color: #E5E0D6;
    color: #fff;
    padding: 50px 5vw;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: left;
    height: auto;
}

/* Container for Text & Image */
.intro-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    width: 100%;
}

/* Left: Text Section */
.intro-content {
    flex: 1;
    padding-right: 30px;
}

.intro-content h2 {
    font-size: 2.5rem;
    color: #F3640C;
    margin-bottom: 15px;
}

.intro-content h3 {
    font-size: 1.8rem;
    color: #045710;
    margin-bottom: 10px;
}

.intro-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    background-color: #67816B;
    color: #fff;
    padding: 15px;
    border-radius: 10px;
}

/* Right: Image Section */
.intro-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.intro-image img {
    width: 100%;
    max-width: 450px;
    border-radius: 10px;
}

/* ✅ Responsive for Small Screens */
@media (max-width: 768px) {
    #Introduction {
        text-align: center;
    }

    .intro-container {
        flex-direction: column;
        text-align: center;
    }

    .intro-content {
        padding-right: 0;
        margin-bottom: 20px;
    }

    .intro-image img {
        max-width: 80%;
        margin-top: 15px;
    }
}

/* Process Section */
#process {
    text-align: center;
    padding: 40px 5vw;
    background-color: #E5E0D6;
    background-image:linear-gradient(rgba(0, 3, 1, 0.7), rgba(0, 3, 1, 0.7)), url(ourprocessbg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}

#process h2 {
    font-size: 2.5rem;
    color: #F3640C;
    margin-bottom: 10px;
}

#process p {
    font-size: 1.2rem;
    color: #67816B;
    margin-bottom: 25px;
    font-weight: 600;
}

/* Process Container (Fits All 5 in One Row) */
.process-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
}

/* Process Box (More Space for Content) */
.process-box {
    background: #E5E0D6;
    padding: 15px;
    border-radius: 10px;
    width: 220px; /* Slightly Wider */
    min-height: 250px; /* Adjusted for Full Text */
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    text-align: center;
}

/* Hover Effect */
.process-box:hover {
    transform: scale(1.05);
}

/* Step Number Circle */
.step-number {
    font-size: 1.6rem;
    font-weight: bold;
    color: #045710;
    background-color: #fff;
    border: 2px solid #045710;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px auto;
}

/* Step Titles */
.process-box h3 {
    font-size: 1.3rem;
    color: #F3640C;
    margin-bottom: 8px;
}

/* Step Descriptions */
.process-box p {
    font-size: 1rem;
    color: #67816B;
    line-height: 1.4;
    padding: 0 10px;
}

/* Responsive Design */
@media (max-width: 1100px) {
    .process-container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .process-box {
        width: 45%; /* Two per row */
    }
}

@media (max-width: 768px) {
    .process-box {
        width: 90%; /* Stacks one per row */
    }
}

/* Join Us Section */
#joinUs {
    background-color: #E5E0D6;
    padding: 50px 5vw;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Container */
.join-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    width: 100%;
}

/* Left: Text & Buttons */
.join-text {
    flex: 1;
    text-align: left;
    padding-right: 20px;
}

.join-text h2 {
    font-size: 2.5rem;
    color: #045710;
}

.join-text p {
    font-size: 1.2rem;
    color: #67816B;
    margin-bottom: 20px;
}

/* Buttons */
.join-buttons {
    display: flex;
    gap: 15px;
}

.btn-primary, .btn-secondary {
    padding: 12px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s ease-in-out;
}

.btn-primary {
    background-color: #F3640C;
    color: white;
}

.btn-primary:hover {
    background-color: #045710;
}


/* Right: Image Carousel */
/* Carousel Container */
.carousel {
    flex: 1;
    overflow: hidden;
    max-width: 500px;
    height: 300px; /* Fixed height */
    position: relative;
}

/* Image Wrapper */
.carousel-images {
    display: flex;  /* Keeps images in a row */
    width: 300%;  /* Ensures all images fit */
    height: 100%;
    animation: slide 15s infinite;
}

/* Keyframes for smooth looping */
@keyframes slide {
    0% { transform: translateX(0); }
    33% { transform: translateX(-100%); }
    66% { transform: translateX(-200%); }
    100% { transform: translateX(0); }
}

/* Individual Images */
.carousel img {
    width: 100%;  
    height: 100%;  /* Ensures all images stay the same size */
    object-fit: contain;  /* Prevents distortion */
    border-radius: 10px;
}


/* Responsive */
@media (max-width: 768px) {
    .join-container {
        flex-direction: column;
        text-align: center;
    }

    .join-text {
        padding-right: 0;
        margin-bottom: 20px;
    }

    .join-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .carousel {
        max-width: 80%;
    }
}


/* Footer */
.footer {
    text-align: center;
    background-color: #045710;
    color: #F3640C;
    padding: 10px;
}
