@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --primary-color: #ff9900;
    --gradientSupport: -webkit-linear-gradient(
    0deg,
    rgb(132 144 255) 0%,
    rgb(98 189 252) 100%
  );
}

/* ----- Global styles ----- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

/* ----- Navbar ----- */
nav ul {
    list-style: none;
}

nav a {
    text-decoration: none;
}

.nav-container {
    max-width: auto;
    margin-inline: 0.5rem;
}

header {
    background-color: white;
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    box-shadow: 0 2px 16px hsla(220, 32%, 8%, .3);
    z-index: 100;
}

nav {
    height: 3.5rem;
}

.nav-logo,
.nav-burger,
.nav-close {
    color: black;
}

.nav-data {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: inline-flex;
    align-items: center;
    column-gap: .25rem;
}

.nav-logo img {
    height: 5.5rem;
}

.nav-toggle {
    position: relative;
    width: 32px;
    height: 32px;
}

.nav-burger,
.nav-close {
    position: absolute;
    width: max-content;
    height: max-content;
    inset: 0;
    margin: auto;
    font-size: 1.25rem;
    cursor: pointer;
    transition: opacity .1s, transform .4s;
}

.nav-close {
    opacity: 0;
}

/* -- Responsive for mobile -- */
@media screen and (max-width: 1200px) {
    .nav-menu {
        position: absolute;
        left: 0;
        top: 2.5rem;
        width: 100%;
        height: calc(100vh - 3.5rem);
        overflow: auto;
        pointer-events: none;
        opacity: 0;
        transition: top .4s, opacity .3s;
    }

    .nav-menu::-webkit-scrollbar {
        width: 0;
    }

    .donate-button {
        margin: 0px;
        width: 100%;
    }

    .nav-logo img {
        height: 3.5rem;
    }

    /*.nav-list {
        padding-top: 1rem;
    }*/
}

.nav-link {
    background-color: white;
    color: black;
    font-weight: 600;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color .3s;
}

.nav-link:hover {
    background-color: white;
}

/* Show menu */
.show-menu {
    opacity: 1;
    top: 3.5rem;
    pointer-events: initial;
}

/* Show icon */
.show-icon .nav-burger {
    opacity: 0;
    transform: rotate(90deg);
}

.show-icon .nav-close {
    opacity: 1;
    transform: rotate(90deg);
}

/* Dropdown */
.dropdown-item {
    cursor: pointer;
}

.dropdown-arrow {
    font-size: 1.25rem;
    font-weight: initial;
    transition: transform .4s;
}

.dropdown-link,
.dropdown-sublink {
    padding: 1.25rem 1.25rem 1.25rem 2.5rem;
    color: black;
    background-color: whitesmoke;
    display: flex;
    align-items: center;
    column-gap: .5rem;
    font-weight: 600;
    transition: background-color .3s;
}

.dropdown-link img,
.dropdown-sublink img {
    font-size: 1.25rem;
    font-weight: initial;
}

.dropdown-menu,
.dropdown-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease-out;
}

/* Show dropdown menu & submenu */
.dropdown-item:hover .dropdown-menu,
.dropdown-subitem:hover > .dropdown-submenu {
    max-height: 1000px;
    transition: max-height .4s ease-in;
}

/* Rotate dropdown icon */
.dropdown-item:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* Dropdown Submenu */
.dropdown-add {
    margin-left: auto;
}

.dropdown-sublink {
    background-color: yellow;
}

/* Donate Button */
.donate-button {
    font-weight: 400;
    display: flex;
    align-items: center;
    background-color: var(--primary-color);
    margin: 20px;
    padding: 10px;
    border-radius: 15px;
    color: black;
}

.donate-button a {
    color: whitesmoke;
}

.donate-button:hover {
    background-color: #ff8000;
}

/* ----- Footer ----- */
footer {
    width: 100%;
    position: relative;
    bottom: 0;
    background: linear-gradient(to right, #00093c, #2d0b00);
    color: #fff;
    padding: 70px 0 30px;
    border-top-left-radius: 125px;
    font-size: .8125rem;
    line-height: 20px;
}

.row {
    width: 85%;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
}

.col {
    flex-basis: 25%;
    padding: 10px;
}

.col a {
    text-decoration: none;
    color: white;
}

.col:nth-child(2),
.col:nth-child(3) {
    flex-basis: 15%;
}

.logo {
    width: 15rem;
    margin-bottom: 30px;
}

.col h3 {
    width: fit-content;
    margin-bottom: 40px;
    position: relative;

}

.email-id {
    width: fit-content;
    border-bottom: 1px solid #ccc;
    margin: 20px 0;
}

.col ul li {
    list-style: none;
    margin-bottom: 12px;
}

.col ul li a {
    text-decoration: none;
    color: #fff;
}

.footer-email {
    padding-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #ccc;
    margin-bottom: 50px;
}

.footer-email .far {
    font-size: 18px;
    margin-right: 10px;
    fill: white;
}

.footer-email input {
    width: 100%;
    background: transparent;
    color: #ccc;
    border: 0;
    outline: none;
}

.footer-email button {
    background: transparent;
    border: 0;
    outline: none;
    cursor: pointer;
}

.footer-email button .fas {
    font-size: 16px;
    color: #ccc;

}

.social-icons .fab {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-size: 20px;
    color: #000;
    background: #fff;
    margin-right: 15px;
    cursor: pointer;
}

.underline {
    width: 100%;
    height: 5px;
    background: #767676;
    border-radius: 3px;
    position: absolute;
    top: 25px;
    left: 0;
    overflow: hidden;
}

.underline span {
    width: 15px;
    height: 100%;
    background: #fff;
    border-radius: 3px;
    position: absolute;
    top: 0;
    left: 10px;
    animation: moving 2s linear infinite;

}

@keyframes moving {
    0% {
        left: -20px;
    }

    100% {
        left: 100%;
    }
}

@media (max-width: 768px) {
    footer {
        bottom: 0;
    }

    .col {
        flex-basis: 100%;
    }

    .col:nth-child(2),
    .col:nth-child(3) {
        flex-basis: 15%;
    }
}

.copyright,
.credits {
    padding-top: 5px;
    text-align: center;
}

.credits a {
    color: dodgerblue;
    text-decoration: none;
  }
  
/* ----- Breadcrumb ----- */
.breadcrumb {
    width: 100%;
    height: 17rem;
    background-color: lightblue;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.title {
    font-weight: 600;
    font-size: 5rem;
}

.path {
    font-size: 1rem;
}

.path a {
    text-decoration: none;
    color: black;
}

.path a:hover {
    color: var(--primary-color);
}

/* ----- index ----- */
/* -- SwiperJS -- */
.swiper {
    width: 100%;
    height: auto;
}

@media only screen and (min-width: 992px) {
    .swiper {
        height: 700px;
    }
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: whitesmoke;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: fill;
}

/* ----- About Us Brief ---- */
.about-us-brief {
    padding: 5rem;
}

.about-us-brief {
    text-align: center;
}

.about-us-brief p {
    padding: 1rem;
}

.about-us-brief a {
    text-decoration: none;
    color: orange;
}

.about-us-brief a:hover {
    color: darkorange;
}

.about-us-brief h1 {
    font-size: 3rem;
}

/* ----- Contact Us ----- */
.contact-us
{
    position: relative;
    width: 100%;
    padding: 40px 100px;
}

.contact-us .contact-title
{
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2em;
}

.contact-us .contact-title h2
{
    color: black;
    font-weight: 500;
}

.form
{
    grid-area: form;
}

.info
{
    grid-area: info;
}

.map
{
    grid-area: map;
}

.contact
{
    padding: 40px;
    background: #fff;
    box-shadow: 0 5px 35px rgba(0,0,0,0.15);
}

.box
{
    position: relative;
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 5fr 4fr;
    grid-template-areas: 
    "form info" 
    "form map";
    grid-gap: 20px;
    margin-top: 20px;
}

.contact h3
{
    color: #0e3959;
    font-weight: 500;
    font-size: 1.4em;
    margin-bottom: 10px;
}

/* form */
.form-box
{
    position: relative;
    width: 100%;
}

.form-box .row-50
{
    display: flex;
    gap: 20px;
}

.input-box
{
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
    width: 100%;
}

.form-box .row-100 .input-box
{
    width: 100%;
}

.input-box span
{
    color: #18b7ff;
    margin-top: 10px;
    margin-bottom: 5px;
}

.input-box input
{
    padding: 10px;
    font-size: 1.1em;
    outline: none;
    border: 1px solid #333;
}

.input-box textarea
{
    padding: 10px;
    font-size: 1.1em;
    outline: none;
    border: 1px solid #333;
    resize: none;
    min-height: 220px;
    margin-bottom: 10px;
}

.input-box input[type="submit"]
{
    background: #ff578b;
    color: #fff;
    border: none;
    font-size: 1.1em;
    max-width: 120px;
    font-weight: 500;
    cursor: pointer;
    padding: 14px 15px;
}

.input-box ::placeholder
{
    color: #999;
}

.info
{
    background: #0e3959;
}

.info h3
{
    color: #fff;
}

.info .info-box div
{
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.info .info-box div span
{
    min-width: 40px;
    height: 40px;
    color: #fff;
    background: #18b7ff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
    border-radius: 50%;
    margin-right: 15px;
}

.info .info-box div p
{
    color: #fff;
    font-size: 1.1em; 
}

.info .info-box div a 
{
    color: #fff;
    text-decoration: none;
    font-size: 1.1em;
}

.social
{
    margin-top: 40px;
    display: flex;
}

.social li
{
    list-style: none;
    margin-right: 15px;
}

.social li a
{
    color: #fff;
    font-size: 2em;
    color: #ccc;
}

.social li a:hover
{
    color: #fff;
}

.map
{
    padding: 0;
}

.map iframe
{
    width: 100%;
    height: 100%;
}

@media (max-width: 992px) 
{ 
    .contact-us
    {
        padding: 20px;
    }
    .box
    {
        position: relative;
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        grid-template-areas: 
        "form" 
        "info" 
        "map";
   }
   .map
   {
        min-height: 300px;
   }
   .form-box .row-50 
   {
        display: flex;
        gap: 0;
        flex-direction: column;
   }
   .input-box
   {
        width: 100%;
   }
   .contact
   {
        padding: 5px;
   }
   .map
   {
        min-height: 300px;
        padding: 0;
   }

   .swiper-slide {
    height: 100px;
    }

    .input-box span
    {
        margin: 5px;
    }

    .input-box input
    {
       margin: 5px;
    }

    .input-box textarea
    {
        margin: 5px;
    }

    .input-box input[type="submit"]
    {
       margin: 5px;
    }
        
}

/* ---------- Our Team ---------- */
.team-section {
    width: 100%;

}

.team-section .team-container {
    width: 80%;
    margin: auto;
}

.team-section .team-container .row {
    width: 60%;
    margin: auto;
}

.team-section .team-container .team-row .team-title {
    text-align: center;
    margin-top: 50px;
}

.team-section .team-container .team-row .team-title h1 {
    font-size: 35px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #eb6234;
}

.team-section .team-container .team-row .team-title p {
    font-size: 18px;
    font-family: sans-serif;
    margin: 30px 0px;
    color: #a3a3a3;
}

.team-section .team-container .team-card {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 40px;
    margin-top: 50px;
}

.team-section .team-container .team-card .card {
    width: 100%;
    background-color: #fafafa;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 20px;
    cursor: pointer;
}

.team-section .team-container .team-card .card:hover {
    background-color: #f3f3f3;
    transition: 0.3s;
}

.team-section .team-container .team-card .card .team-image-section img {
    height: 170px;
    width: 170px;
    border-radius: 50%;
    border: 6px solid #fff;
}

.team-section .team-container .team-card .card .team-content {
    width: 100%;
    text-align: center;
}

.team-section .team-container .team-card .card .team-content h3 {
    font-size: 27px;
    margin-top: 10px;
    letter-spacing: 1.5px;
    color: #639ab8;

}

.team-section .team-container .team-card .card .team-content h4 {
    font-size: 17px;
    margin-top: 10px;
    letter-spacing: 1.5px;
    color: #6e6e6e;

}

.team-section .team-container .team-card .card .team-content p {
    font-size: 15px;
    margin: 16px 0px;
    line-height: 1.5;
    color: #6c6c6c;

}

/* ----- Counting animation ----- */
.section-counter p {
    color: white;
    line-height: 1.6;
    font-size: 1rem;
}
  
.section-counter {
    padding: 1rem 5rem 5rem 5rem;
}
  
.container-counter {
    max-width: 140rem;
    margin: 0 auto;
}
  
.grid-counter {
    display: grid;
    gap: 9rem;
}
  
.grid-four-column {
    grid-template-columns: repeat(4, 1fr);
}
  
.section-work-data {
    background: #f3f2f3;
    text-align: center;
    transition: all 0.7s linear;
}

.section-work-data h1 {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.section-work-data h2 {
    color: orange;
}
  
.counter-numbers {
    font-size: 3rem;
}

.section-work-data p {
    color: black;
    text-transform: capitalize;
}
  
@media only screen and (max-width: 1200px) {     
    .section-counter {
        padding: 1rem;
    }

    .section-counter .p {
        font-size: 1rem;
    }
    
    .container-counter {
      max-width: 130rem;
      padding: 0 3.2rem;
    }

    .grid-counter {
        gap: 3rem;
    }
  
    .counter-numbers {
      font-size: 2rem;
    }
  
    .grid-four-column {
      grid-template-columns: 1fr 1fr;
    }
}

/* ---------- Gallery --------- */
.gallery-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content:space-evenly;
    align-items: center;
    margin-top: 2rem;
}

.gallery img {
    margin: 10px;
    width: 290px;
    height: 290px;
    object-fit: cover;
    transition: 1s;
    border: 1px solid black;
    border-radius: 5%;
}

.gallery img:hover {
    transform: scale(1.1);
}

/* ----- Slider ----- */
.slider {
    display: flex;
    align-items: center;
    justify-content: center;
    /* min-height: 100vh; */
}

.slider-container {
    max-width: 1200px;
    width: 95%;
}

.slider-wrapper {
    position: relative;
}

.slider-wrapper .slide-button {
    position: absolute;
    top: 50%;
    outline: none;
    border: none;
    height: 50px;
    width: 50px;
    z-index: 5;
    color: #fff;
    display: flex;
    cursor: pointer;
    font-size: 2.2rem;
    background: #000;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transform: translateY(-50%);
}

.slider-wrapper .slide-button:hover {
    background: #404040;
}

.slider-wrapper .slide-button#prev-slide {
    left: -25px;
    display: none;
}

.slider-wrapper .slide-button#next-slide {
    right: -25px;
}

.slider-wrapper .image-list {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 18px;
    font-size: 0;
    list-style: none;
    margin-bottom: 30px;
    overflow-x: auto;
    scrollbar-width: none;
}

.slider-wrapper .image-list::-webkit-scrollbar {
    display: none;
}

.slider-wrapper .image-list .image-item {
    width: 325px;
    height: 400px;
    object-fit: cover;
}

.slider-container .slider-scrollbar {
    height: 24px;
    width: 100%;
    display: flex;
    align-items: center;
}

.slider-scrollbar .scrollbar-track {
    background: #ccc;
    width: 100%;
    height: 2px;
    display: flex;
    align-items: center;
    border-radius: 4px;
    position: relative;
}

.slider-scrollbar:hover .scrollbar-track {
    height: 4px;
}

.slider-scrollbar .scrollbar-thumb {
    position: absolute;
    background: #000;
    top: 0;
    bottom: 0;
    width: 50%;
    height: 100%;
    cursor: grab;
    border-radius: inherit;
}

.slider-scrollbar .scrollbar-thumb:active {
    cursor: grabbing;
    height: 8px;
    top: -2px;
}

.slider-scrollbar .scrollbar-thumb::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -10px;
    bottom: -10px;
}

/* Styles for mobile and tablets */
@media only screen and (max-width: 1200px) {
    .slider-wrapper .slide-button {
        display: none !important;
    }

    .slider-wrapper .image-list {
        gap: 10px;
        margin-bottom: 15px;
        scroll-snap-type: x mandatory;
    }

    .slider-wrapper .image-list .image-item {
        width: 280px;
        height: 380px;
    }

    .slider-scrollbar .scrollbar-thumb {
        width: 20%;
    }
}

/* ----- Profile Swiper ----- */
.profile-slider {
    display: flex;
    padding: 0 35px;
    align-items: center;
    justify-content: center;
}

.profile-wrapper {
    max-width: 1100px;
    width: 100%;
    position: relative;
}

.profile-wrapper i {
    top: 50%;
    height: 50px;
    width: 50px;
    cursor: pointer;
    font-size: 1.25rem;
    position: absolute;
    text-align: center;
    line-height: 50px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.23);
    transform: translateY(-50%);
    transition: transform 0.1s linear;
}

.profile-wrapper i:active {
    transform: translateY(-50%) scale(0.85);
}

.profile-wrapper i:first-child {
    left: -22px;
}

.profile-wrapper i:last-child {
    right: -22px;
}

.profile-wrapper .carousel {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% / 3) - 12px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    border-radius: 8px;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.carousel::-webkit-scrollbar {
    display: none;
}

.carousel.no-transition {
    scroll-behavior: auto;
}

.carousel.dragging {
    scroll-snap-type: none;
    scroll-behavior: auto;
}

.carousel.dragging .card {
    cursor: grab;
    user-select: none;
}

.carousel :where(.card, .img) {
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel .card {
    scroll-snap-align: start;
    height: 342px;
    list-style: none;
    background: #fff;
    cursor: pointer;
    padding-bottom: 15px;
    flex-direction: column;
    border-radius: 8px;
}

.carousel .card .img {
    background: #8b53ff;
    height: 148px;
    width: 148px;
    border-radius: 50%;
}

.card .img img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
}

.carousel .card h2 {
    font-weight: 500;
    font-size: 1.56rem;
    margin: 30px 0 5px;
}

.carousel .card span {
    color: #6a6d78;
    font-size: 1.31rem;
}

@media screen and (max-width: 992px) {
    .profile-wrapper .carousel {
        grid-auto-columns: calc((100% / 2) - 9px);
    }
}

@media screen and (max-width: 768px) {
    .profile-wrapper .carousel {
        grid-auto-columns: 100%;
    }

    .partner-heading {
        font-size: 16px;
    }
}

/* ------ Hero Flex ----- */
.hero {
    display: flex;
    margin: 2rem;
}
 
.hero-content {
    margin: 1rem;
}
 
.hero-title {
    font-size: 2.5rem;
    font-weight: 500;
}
 
.hero-text {
    font-size: 1rem;
}
 
.hero img {
    width: 40vw;
}

/* ----- Our Partners -----*/ 
@keyframes slide {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}

.our-partners {
    overflow: hidden;
    padding: 60px 0;
    background: #f3f2f3;
    white-space: nowrap;
    position: relative;
}

.our-partners:before,
.our-partners:after {
    position: absolute;
    top: 0;
    width: 250px;
    height: 100%;
    content: "";
    z-index: 2;
}

.our-partners:hover .logos-slide {
    animation-play-state: paused;
}

.partner-heading {
    text-align: center;
    font-size: 3rem;
    background-color: #f3f2f3;
}

.logos-slide {
    display: inline-block;
    animation: 35s slide infinite linear;
}

.logos-slide img {
    height: 50px;
    margin: 0 40px;
}

/* ----- Blog Section ---- */
.blog-container {
    background-color: #f8f8fa;
    padding: 100px 100px 50px 100px;
}

.blog-container a {
    text-decoration: none;
    color: #000;
    transition: all 0.3s ease;
}

.blog-container a:hover {
    color: #4361ee;
}

.blog-container .separator {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.blog-container .separator a,
.blog-container .articles .item .bottom a {
    display: flex;
    align-items: center;
    gap: 2px;
    color: #2d6a4f;
    font-size: 14px;
}

.blog-container .separator a i,
.blog-container .articles .item .bottom a i {
    font-size: 18px;
}

.blog-container .articles .item .top,
.blog-container .articles .item .bottom {
    display: flex;
    gap: 10px;
    background-color: #fff;
    padding: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 18px;
}

.blog-container .articles .item .bottom {
    border-bottom: none;
    justify-content: space-between;
    border-top: 1px dashed #888;
}

.blog-container .articles .item .bottom h5 {
    font-weight: 500;
    background-color: #fff2b2;
    color: #db7c26;
    padding: 10px;
    border-radius: 12px;
    font-size: 13px;
}

.blog-container .articles .item .bottom h5 span {
    font-weight: bold;
}

.blog-container .articles {
    display: flex;
    justify-content: space-between;
    margin-bottom: 80px;
    flex-wrap: wrap;
    row-gap: 20px;
}

.blog-container .articles .item {
    width: 23%;
}

.blog-container .articles .item .top {
    flex-direction: column;
}

.blog-container .articles .item .top img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    border-radius: 10px;
    margin-bottom: 8px;
}

/* Style for truncating text in <p> tags */
.blog-container .articles .item .top p {
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Limit to 3 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    line-height: 1.5;
    max-height: 4.5em; /* Ensure consistent height */
}

.articles button {
    font-size: 1rem;
    width: 100px;
    height: 30px;
    border-radius: 5px;
    color: white;
    background-color: maroon;
    cursor: pointer;
}

.blog-container .yt-videos {
    width: 100%; /* Take the full width of the card */
    padding-top: 56.25%; /* Maintain a 16:9 aspect ratio for videos */
    position: relative; /* Enable positioning for iframe */
    border-radius: 10px; /* Match the rounded corners of the card */
    overflow: hidden; /* Ensure the iframe doesn't exceed the card */
}

.blog-container .yt-videos iframe {
    position: absolute; /* Position the iframe inside the container */
    top: 0;
    left: 0;
    width: 100%; /* Make iframe fit the container width */
    height: 100%; /* Make iframe fit the container height */
    border: none; /* Remove border for a cleaner look */
    border-radius: 10px; /* Match the rounded corners of the card */
}


@media screen and (max-width: 1200px) {
    .blog-container {
        padding: 100px 60px;
    }

    .blog-container .articles .item .bottom {
        flex-direction: column;
    }
}

@media screen and (max-width: 992px) {
    .blog-container .articles .item {
        width: 45%;
    }

    .blog-container .articles .item .top img {
        height: 220px;
    }

    /* Adjust <p> tag text for medium screens */
    .blog-container .articles .item .top p {
        -webkit-line-clamp: 4; /* Show 4 lines instead of 3 */
        max-height: 6em;
    }
}

@media screen and (max-width: 768px) {
    .blog-container {
        padding: 100px 30px 0;
    }

    .blog-container .articles .item .top img {
        height: 160px;
    }

    .blog-container .articles .item {
        width: 100%;
    }

    /* Adjust <p> tag text for small screens */
    .blog-container .articles .item .top p {
        -webkit-line-clamp: 2; /* Show only 2 lines on mobile */
        max-height: 3em;
        font-size: 14px;
        line-height: 1.4;
    }
}


/* ----- Campaigns ----- */
.campaign-container {
    margin: 2rem;
}

.campaign-intro {
    text-align: center;
    font-size: 2rem;
    font-weight: 400;
}

.campaign-content {
    margin-top: 2rem;
    display: flex;
    gap: 3rem;
}

.donation-box {
    width: 100%;
    height: auto;
    max-width: 800px;
    border: 2px solid #eba33c;
    background-color: #fff;
    padding: 20px;
    color: black;
    box-sizing: border-box;
    margin-right: 20px;
}
.donation-box h2 {
    color: #eba33c;
    text-align: center;
    margin-top: 0;
}
.donation-amounts {
    margin: 20px 0;
}
.donation-amounts button {
    margin-right: 10px;
    padding: 10px;
    border: none;
    background-color: white;
    color: #4CAF50;
    cursor: pointer;
}
.donate-now {
    background-color: #eba33c;
    color: black;
    padding: 10px 20px;
    text-align: center;
    display: block;
    margin-top: 20px;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
    border: 2px solid transparent;
}
.donate-now:hover {
    border-color: orange;
    background-color: #fff;
    color: orange;
}
.tax-benefit {
    font-size: 0.8em;
    margin-top: 20px;
}
.donation-box input[type="text"] {
    width: calc(100% - 40px); /* Adjust the width to match the button, accounting for padding */
    padding: 10px 20px; /* Same padding as the 'Donate Now' button */
    margin-bottom: 20px;
}

.shiksha-slider {
    margin: 20px auto;
    width: 100%;
    max-width: 800px;
    overflow: hidden;
}
.shiksha-carousel {
    display: flex;
    overflow: hidden;
}
.shiksha-carousel-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex: 0 0 100%;
    transition: transform 0.5s ease;
}
.shiksha-carousel img {
    max-width: 50%;
    height: auto;
}
.shiksha-text-content {
    padding: 20px;
    flex: 1;
    height: 200px; /* Set a fixed height for the text content */
    overflow-y: auto; /* Enable vertical scrollbar when content exceeds the height */
}
/* Slider dots */
.carousel-dots {
    text-align: center;
    margin-top: 20px;
    position: relative;
    z-index: 1; /* Ensure dots are above the slides */
}
.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 5px;
    border: 2px solid black;
    background-color: lightslategray;
    border-radius: 50%;
    display: inline-block;
}
.active-dot {
    background-color: orange;
}
/* Media query for larger screens */
@media only screen and (min-width: 992px) {
    .shiksha-container {
        flex-direction: row;
        justify-content: space-around;
        align-items: flex-start;
    }
    .support-text {
        width: 45%;
        margin-right: 20px;
        margin-bottom: 0;
    }
}

.section-container {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding: 1rem;
    text-align: center;
}

.shiksha-header {
    margin-bottom: 2rem;
}

.shiksha-header p {
    letter-spacing: 2px;
    font-size: 1rem;
    font-weight: 500;

}

.shiksha-header h1 {
    font-family: "Noto Serif", serif;
    font-size: 2rem;
    font-weight: 900;
}

.testimonials-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Add a box around each testimonial card */
.shiksha-card {
  padding: 2rem;
  display: grid;
  gap: 1rem;
  background-color: var(--extra-light);
  border-radius: 5px;
  box-shadow: 5px 5px 30px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  border: 2px solid #eba33c; /* Add border */
}

.shiksha-card i {
    font-size: 2.5rem;
    color: gold;
}

.shiksha-card p {
    font-size: 1rem;
    font-weight: 500;
}

.shiksha-card hr {
    width: 40px;
    margin: auto;
    color: var(--text-light);
}

.shiksha-card img {
    width: 60px;
    height: 60px;
    margin: auto;
    border-radius: 100%;
    border: 1px solid var(--primary-color);
}

.shiksha-card .shiksha-name {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-light);
    transition: 0.3s;
}

.shiksha-card .shiksha-name:hover {
    color: var(--primary-color);
}

@media (width < 992px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (width < 576px) {
    .testimonials-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

.food-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.food-campaigns {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 20px;
}

.food-campaign {
    width: 48%;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 8px;
}

.food-campaign:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.food-campaign img {
    width: 100%;
    height: auto;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    transition: transform 0.3s ease;
}

.food-campaign:hover img {
    transform: scale(1.05);
}

.food-campaign-info {
    padding: 15px;
    background-color: #fff;
}

.food-campaign-info h2 {
    margin-top: 0;
    color: #333;
}

/* Volunteer Opportunities Section */
.food-volunteer-opportunities {
    margin-top: 30px;
}

.food-opportunity {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.food-opportunity h2 {
    color: #333;
}

.food-opportunity p {
    color: #666;
}

.food-opportunity button {
    background-color: #d18e22;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.food-opportunity button:hover {
    background-color: #ae741d;
    transform: translateY(-1px);
}

/* Gallery Section */
.food-gallery {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
}

.food-gallery img {
    width: 30%;
    height: 200px;
    border-radius: 5px;
    object-fit: cover; /* Ensure images maintain aspect ratio */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.food-gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Additional Content Section */
.food-additional-content {
    margin-top: 30px;
}

.food-additional-content h2 {
    color: #333;
}

.food-additional-content p {
    color: #666;
}

.food-additional-content ul {
    color: #666;
    list-style-type: disc;
    margin-left: 20px;
}

.food-additional-content li {
    margin-bottom: 10px;
}

.food-additional-content .recipe {
    margin-top: 20px;
}

.food-additional-content .recipe h3 {
    color: #333;
}

.food-additional-content .recipe p {
    color: #666;
}

.food-additional-content .recipe img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin-top: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Media Queries */
@media screen and (max-width: 768px) {
    .food-campaign {
        width: 100%;
    }

    .food-gallery img {
        width: 100%;
        margin-bottom: 10px;
    }

    .food-additional-content .recipe img {
        width: 100%;
    }

    .food-gallery {
        flex-direction: column;
    }
}

/*------ Donate Page -----*/
.donation-qr-code {
    padding: 1rem;
    /* background-color: #f3f2f3; */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.donation-qr-code img {
    width: 30%;
}

.donation-qr-code h2 {
    font-size: 2rem;
}

/* ----- About Us -----*/
.about-us-goals {
    background-color: #f3f2f3;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 2rem;
}

.about-us-goals h1 {
    font-size: 3rem;
    margin: 1rem;
}

.about-us-goals img {
    width: 80vw;
}

/* ----- Blogs page ----- */
.blogs-container a{
    text-decoration: none;
}

/*--blog--*/
.blog-page{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.blog-heading{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
 
}
.blog-heading span{
    color: #ff9900;
}
.blog-heading h3{
    font-size: 2.4rem;
    color: #2b2b2b;
    font-weight: 600;
}
.blogs-container{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0px;
    flex-wrap: wrap;
}
 
.blog-box{
    width:350px;
    background-color: #ffffff;
    border: 1px solid #ececec;
    margin: 20px 20px;
 
}
.blog-img{
    width:100%;
    height: auto;
}
.blog-img img{
    width:100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.blog-text{
    padding: 30px;
    display: flex;
    flex-direction: column;
}
.blog-text span{
    color: #f33c3c;
    font-size: 0.9rem;
}
.blog-text .blog-title{
    font-size: 1.3rem;
    font-weight: 500;
    color: #272727;
}
.blog-text p{
    color: #9b9b9b;
    font-size: 0.9rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 20px 0px;
}
.blog-text a{
    color: #0f0f0f;
}
.blog-text a:hover{
    color: #c74242;
    transition: all ease 0.3s;
}
 
 
@media(max-width:1200px){
 
    .blog-box{
        width: 300px;
    }
} 
@media(max-width:992px){
    .blog-box{
        width:70%;
    }
}
 
@media(max-width:576px){
   
    .blog-box{
        margin: 20px 10px;
        width: 100%;
    }
    .blog-page{
        padding:20px;
    }
}
 
/* ----- My donations ----- */
.my-donation-box {
    background-color: #f8f8f8; /* Creamish color */
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1);
    padding: 10px;
    margin: 5rem;
}

.my-donation-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0.5rem;
    padding: 1rem;
    border: 1px solid black;
}

.my-donation-info,
.date-receipt {
    flex: 1;
}

.date-receipt {
    text-align: right;
}

.view-receipt {
    display: inline-block;
    padding: 8px 16px;
    background-color: #007bff;
    color: #fff;
    border: 1px solid #007bff;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.view-receipt:hover {
    background-color: #0056b3;
}


/* Increased font size */
.donation-id,
.donation-amount,
.date {
    font-size: 1rem;
}

@media only screen and (max-width: 576px) {
    .my-donation-box {
        margin: 40px;
    }

    .my-donation-container {
        flex-direction: column;
    }
    
}

/* --- Personal Info --- */
.personal-info {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(251, 225, 177);
}

.registration-container {
    margin: 1rem;;
    position: relative;
    max-width: 700px;
    width: 100%;
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}
.registration-header {
    font-size: 1.5rem;
    color: #333;
    font-weight: 500;
    text-align: center;
}
.registration-form {
    margin-top: 30px;
}
.registration-input-box {
    width: 100%;
    margin-top: 20px;
}
.registration-input-box label {
    color: #333;
}
.registration-form :where(.registration-input-box input, .registration-select-box select) {
    position: relative;
    height: 50px;
    width: 100%;
    outline: none;
    font-size: 1rem;
    color: #707070;
    margin-top: 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 0 15px;
}
.registration-input-box input:focus {
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
}
.registration-form .registration-column {
    display: flex;
    column-gap: 15px;
}
.registration-gender-box {
    margin-top: 20px;
}
.registration-gender-box h3 {
    color: #333;
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 8px;
}
.registration-form :where(.registration-gender-option, .registration-gender) {
    display: flex;
    align-items: center;
    column-gap: 50px;
    flex-wrap: wrap;
}
.registration-form .registration-gender {
    column-gap: 5px;
}
.registration-gender input {
    accent-color: rgb(130, 106, 251);
}
.registration-form :where(.registration-gender input, .registration-gender label) {
    cursor: pointer;
}
.registration-gender label {
    color: #707070;
}
.registration-address :where(input, .registration-select-box) {
    margin-top: 15px;
}
.registration-select-box select {
    height: 100%;
    width: 100%;
    outline: none;
    border: none;
    color: #707070;
    font-size: 1rem;
}
.registration-submit-btn {
    height: 55px;
    width: 100%;
    color: #fff;
    font-size: 1rem;
    font-weight: 400;
    margin-top: 30px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    background: rgb(130, 106, 251);
}
.registration-submit-btn:hover {
    background: rgb(88, 56, 250);
}
/*Responsive*/
@media screen and (max-width: 576px) {
    .registration-form .registration-column {
        flex-wrap: wrap;
    }
    .registration-form :where(.registration-gender-option, .registration-gender) {
        row-gap: 15px;
    }
}

/* ----- Pagination ----- */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 1rem;
}

.pagination-container a{
    display: inline-block;
    text-decoration: none;
    color: #006cb3;
    padding: 10px 20px;
    border: thin solid #d4d4d4;
    transition: all 0.3s;
    font-size: 18px;
    margin: 0.5rem;
 }
  
 .pagination-container a.active{
    background-color: #0d81cd;
    color: #fff;
 }
 .pagination-container .page-info{
    /* margin-top: 90px; */
    font-size: 18px;
    font-weight: bold;
 }
  
 .pagination-container .pagination{
    margin-top: 20px;
 }
 .pagination-container .content p{
    margin-bottom: 15px;
 }
 .pagination-container .page-numbers{
    display: inline-block;
 }