/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family:'Poppins', sans-serif;
    list-style: none;
    scroll-behavior: smooth;

}

body {

    padding: 0;

}

a {
    text-decoration: none;
}

.btn {
    border: none;
    padding: 8px 30px;
    border-radius: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s;
    font-size: 0.95rem;
}


.image {

    width: 500px ;
    height: auto;

}


.header{

    background-image: url('images/Background.png');
    background-size: cover;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    height: 5rem;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 1rem;
    padding-right: 1rem;
    z-index: 1000;
}


 .navbar-brand {

    width: 80px;
    border-radius: 50%;
    
}

.navbar-brand img {

    width: 100%;
    height: auto;
    object-fit: cover;
    /* very light black shadow: x-offset, y-offset, blur, rgba */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);

}


.navbar{

    display: flex;
    justify-content: end;
    
}

.navlist {

    display: flex;
    align-items: center;
    gap: 1.5rem;

}

.nav_link {

    color: #000;

}

/*Hamburger nav*/

#hamburger-nav {
    display: none;

}

.hamburger-menu {

    position: relative;
    display: inline-block;
}

.hamburger-icon {

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 24px;
    width: 30px;
    cursor: pointer;
}

.hamburger-icon span {

    width: 100%;
    height: 2px;
    background-color: #000;
    transition: all  0.3 ease-in-out;
}

.menulinks {

    position: absolute;
    top: 100%;
    right: 0%;
    width: 150px;
    background-color: #fff;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3 ease-in-out;

}

.menulinks a {
    display: block;
    padding: 10px;
    text-align: center;
}

.menulinks.open {

    max-height: 100vh;
}

.hamburger-icon.open span:first-child {

    transform: rotate(45deg) translate(10px, 5px);

}

.hamburger-icon.open span:nth-child(2) {

    opacity: 0;
    
}

.hamburger-icon.open span:last-child {

    transform: rotate(-45deg) translate(10px, -5px);
    
}

.hamburger-icon span:first-child {

     transform: none;
}

.hamburger-icon span:first-child {

    opacity: 1;
}

.hamburger-icon span:first-child {

     transform: none;
}


.hero-section {

    background-image: url('images/Background.png');
    background-size: cover;
    width: 100%;
    padding-top: 8rem;
    padding-bottom: 8rem;
    
}


.hero-section {

    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8rem;
}

.hero_big_text {

    display: flex;
    flex-direction: column;
    max-width: 500px;
    
    
}

.hero_title {

    font-size: 7rem;
    font-weight: 900;
    color: #06569b;
    line-height: 6.1rem;
}

.hero_description, .hero_buttons {

    line-height: 2rem;
    margin-top: 1rem;
}

.hero_description {

    font-size: 2rem;
    font-weight: 900;
    color: #92326f;

}

.services-btn {
    background-color: #92326f;
    color: #fff;
    transition: 0.5ms ease-in-out;
}

.services-btn:hover {
    background-color: transparent;
    color: #92326f;
    border: 2px solid #92326f;
}

.contact-btn {

    background-color: #06569b;
    color: #fff;
    transition: 0.5ms ease-in-out;

}

.contact-btn:hover {

    background-color: transparent;
    color: #06569b;
    border: 2px solid #06569b;

}


.about {

    background: linear-gradient(145deg, #57abd7,#0c5d9f , #0c5d9f);
    display: flex;
    justify-content: space-around;
    padding-top: 4rem;
}

.about_text {

    display: flex;
    flex-direction: column;
    margin-top: 5rem;
    margin-left: 8rem;
    padding-bottom: 8rem;
    width: 600px;

}

.about_title {

    font-size: 2.5rem;
    font-weight: 900;
    color: #fff;
    
}

.about_buttons {

    margin-top: 3rem;

}

.about_description {

    font-size: 1rem;
    color: #fff;

}

.learn_more {
    background-color: #92326f;
    color: #fff;
    transition: 0.5ms ease-in-out;
}

.learn_more:hover {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.nurse_image {

    width: 40rem;
    height: auto;
    background-image: url('/images/Nurse.webp');
    background-size: cover;

}

.services {

    background: linear-gradient(145deg, #bf3e77, #aa3873 , #92326f);
    padding-top: 6rem;
    padding-left: 11rem;
    padding-right: 6rem;
    padding-bottom: 4rem;
    display: flex;
    align-items: center;

}

.services_background {

    display: flex;
    flex-direction: column;

}

.services_title {

    color: #fff;
    font-size: 2.3rem;
    font-weight: 900;
    line-height: 2.5rem;
    margin-bottom: 1.8rem;

}

.services_description {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.7;
    margin-bottom: 3rem;
    text-align: left;
    max-width: 85%;
    padding: 0;
}

.services_carousel {
    position: relative;
    max-width: 1000px;
    margin: 0 auto 4rem auto;
    overflow: hidden;
}

.carousel_container {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel_slide {
    min-width: 100%;
    display: none;
}

.carousel_slide.active {
    display: block;
}

.service_content {
    display: flex;
    align-items: center;
    gap: 3rem;
    padding: 2.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    backdrop-filter: blur(10px);
    min-height: 400px;
}

.service_content img {
    width: 350px;
    height: 350px;
    object-fit: cover;
    object-position: center;
    border: 3px solid #fff;
    border-radius: 1rem;
    flex-shrink: 0;
}

.service_info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service_info h3 {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-align: left;
}

.service_info p {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.7;
    margin: 0;
    text-align: left;
}

/* Slide-in animations for carousel content */
@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Carousel Arrow Styles - Matching Image */
.carousel_arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.carousel_arrow:hover {
    background-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-50%) scale(1.05);
}

.carousel_arrow i {
    color: #fff;
    font-size: 1.2rem;
}

.carousel_arrow_left {
    left: 15px;
}

.carousel_arrow_right {
    right: 15px;
}

.get_in_touch {
    background-color: #fff;
    color: #92326f;
    transition: 0.5ms ease-in-out;
}

.get_in_touch:hover {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}


.contact {

    background-image: url('images/Background.png');
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 6rem 6rem;

}

.contact_title {

    font-size: 1.6rem;
    font-weight: 900;
    color: #92326f;

}

.contact_form {

    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2.5rem;

}

input, textarea {

    background-color: transparent;
    padding: 10px;
    border-radius: 1rem;
    border: 3px solid #92326f;

}

input::placeholder, textarea::placeholder {

    color: #92326f;
    font-size: 1rem;

}

.submit {
    background-color: #92326f;
    color: #fff;
    transition: 0.5ms ease-in-out;
}

.submit:hover {
    background-color: transparent;
    color: #92326f;
    border: 2px solid #92326f;
}

.contact_number, .contact_email, .address {

    font-weight: 600;

}

.address {

    margin-bottom: 1rem;

}

.donate {
    background-color: #92326f;
    color: #fff;
    transition: 0.5ms ease-in-out;
}

.donate:hover {
    background-color: transparent;
    color: #92326f;
    border: 2px solid #92326f;
}

@media screen and (max-width: 1200px) {


    #desktop-nav {

        display: none;
    }

    #hamburger-nav {
        display: flex;
    }


    .image {

        width: 100%;
    }
    .hero-section {

        gap: 4rem;

    }

    .hero_title {

        font-size: 5rem;
        line-height: 4rem;
    }

    .hero_description {

        font-size: 1rem;  

    }

    .hero_big_text {

        margin-left: 1.5rem;
        margin-right: 1.5rem;
    }

    .about_text {

        display: flex;
        flex-direction: column;
        margin-top: 1.5rem;
        margin-left: 1rem;
        margin-bottom: 1rem;
        width: 600px;

    }

    .about_title {

        font-size: 2rem;
        color: #fff;
        line-height: 2rem;
        
    }

    .about_buttons {

        margin-top: 1.5rem;

    }

.about_description {

    font-size: 0.75rem;
    color: #fff;

}

.services {

    padding-top: 3rem;
    padding-left: 3rem;
    padding-right: 4rem;
    padding-bottom: 4rem;
    
}

.services_description {
    max-width: 90%;
    font-size: 1rem;
}

.service_image {

    flex-direction: column;
    gap: 0rem;

}

.services_title p {

    font-size: 1rem;
    line-height: 1rem;

}

.service_descr {

    font-size: 0.8rem !important;
    line-height: 0.8rem !important;
    width: 100% !important;
}

.service {
    margin: auto;
}

.contact {

    gap: 1rem;
    padding: 3rem 3rem;
}

.contact_form {

    gap: 0.5rem;
    margin-top: 1.5rem;

}

}

/* Carousel responsive design */
@media screen and (max-width: 1024px) {
    .services_carousel {
        max-width: 900px;
    }
}

@media screen and (max-width: 768px) {
    .services_carousel {
        max-width: 100%;
        margin: 0 1rem 4rem 1rem;
    }
    
    .service_content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        min-height: auto;
        padding: 2rem;
    }
    
    .service_content img {
        width: 280px;
        height: 280px;
    }
    
    .service_info h3 {
        font-size: 1.5rem;
    }
    
    .service_info p {
        font-size: 1rem;
    }
    
    .carousel_arrow {
        width: 45px;
        height: 45px;
    }
    
    .carousel_arrow i {
        font-size: 1.1rem;
    }
    
    .carousel_arrow_left {
        left: 10px;
    }
    
    .carousel_arrow_right {
        right: 10px;
    }
}
@media screen and (max-width: 480px) {
    .services_carousel {
        margin: 0 0.5rem 4rem 0.5rem;
    }
    
    .service_content {
        padding: 1.5rem;
        min-height: auto;
    }
    
    .service_content img {
        width: 220px;
        height: 220px;
    }
    
    .service_info h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .service_info p {
        font-size: 0.9rem;
    }
}

.get-involved {
  padding: 5rem 2rem;
  text-align: center;
  background-color: #f9f9f9;
}

.involvement_grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.involvement_card {
  background-color: #fff;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.involvement_card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.involvement_card h3 {
  margin-bottom: 1rem;
  color: #92326f;
}

.involvement_card p {
  margin-bottom: 1.5rem;
  color: #333;
}

.involvement_card .btn {
  border-radius: 18px;
  padding: 8px 30px;
  background-color: #92326f;
  color: #fff;
  text-decoration: none;
}

.involvement_card .btn:hover {
  background-color: #b04b88;
}




