/* General Styles */
body {
        /* font-family: "Lato, sans serif"; */
    background-color: #F1F4FA;
}

/* Navbar */
.nav-item .nav-link {
    color: #f1f1ff;
}

.nav-link {
    transition: opacity 0.15s;
}

.nav-link:hover {
    opacity: 0.7;
    background-color: #0073e6;
}

.navbar {
  position: sticky; 
  top: 0;         
  z-index: 9999;   
}

/* Buttons */
.donate-btn {
    background: rgb(170 39 36);
    color: white;
    padding: 10px 20px;
    border-radius: 10px;
}

.navbar-brand img {
  height: 45px;
  width: 45px;
  border-radius: 50%;   
  object-fit: cover;   
  margin-right: 10px;
}

.navbar-brand span {
  font-size: 1.4rem;
  font-weight: bold;
  color: #fff; /* white on blue background */
}

/* Home Page Hero */
.hero {
    height: 450px;
    /* background: url('images/bacb6ef8-e689-441e-b612-87431b01495d.JPG') center/cover no-repeat; */
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    font-weight: bold;
}

.hero-content h1{
    font-weight: bold;
    font-size: 40px;
}

.hero-content .lead{
    font-weight: bold;
    font-size: 30px;
}

.impact-icon {
    font-size: 60px;
    color: white ;
}

.impact-section {
    background:#51A480;
    color: white;
    padding: 40px 20px;
    margin-bottom: 17px;
}

/* Header */
.header {
    margin: auto;
    margin-top: 40px;
    width: 80%;
    height: 100px;
    background-color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header h1 {
    color: #0074D9;
}

/* Container Section */
.container-section {
    background-color: #FFFFFF;
    padding: 40px 20px;
}

/* Qatra Section */
.head-about {
    display: flex;
    justify-content: flex-start;
    color: #0074D9;
}

/* About Us Cards with Side Images */
.about-us {
    margin-top: 10px;
}

.about-us .col {
    margin-bottom: 20px;
}

.about-card {
    border: 3px solid #ddd;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0px 4px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.2s ease-in-out;
}

.about-card:hover {
    transform: translateY(-5px);
}

.about-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.about-card .card-body {
    padding: 20px;
}

.about-card .card-title {
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.about-card .card-text {
    font-size: 1rem;
    color: #333;
}

.text-purple {
    color: #672075;
}

/* Team Section */
.team {
    margin-top: 10px;
}

.team .col {
    margin-bottom: 20px;
}

.team-card {
    border: 3px solid #ddd;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0px 4px 8px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    transition: transform 0.2s ease-in-out;
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-card .card-title {
    font-weight: bold;
    margin-bottom: 10px;
}

.team-card img.card-img {
    max-width: 200px;
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 15px auto;
    display: block;
}

.team-card .card-text {
    font-size: 0.95rem;
    color: #333;
}

/*  */
.team-card {
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.team-img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border: 4px solid #f0f0f0;
}

/* meet the team styling header */
.meet-team-title.bg-white{

    padding: 1em 0;
}

.text-success{
    color: #5dce6f !important;
}
/* Team Title */
.team-title {
    font-size: 2rem;
    font-weight: 600;
    color: #51A480;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .about-us .row, .team .row {
        flex-direction: column;
    }

    .about-card, .team-card {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .team-card img.card-img {
        max-width: 100%;
    }
}

/* blogs style */
.page-wrapper a:hover{
 color: #0073e6;

}

.post-slider{
  position: relative;


}
.post-slider .slider-title{
  text-align: center;
  margin: 30px auto;

}

.post-slider .next{
  position: absolute;
  top: 50%;
  right: 30px;
  font-size: 2em;
  color: #0073e6;
  cursor: pointer;
  
}

.post-slider .prev{
  position: absolute;
  top: 50%;
  left: 30px;
  font-size: 2em;
  color: #0073e6;
  cursor: pointer;
}

.post-slider .post-wrapper{
  width: 84%;
  height: 350px;
  margin: 0 auto;
  overflow: hidden;
  padding: 16px 0px 10px 0px;
}

.post-slider .post-wrapper .post{
  height: 330px;
  width: 300px;
  margin: 0px 10px;
  display: inline-block;
  background: #FFFFFF; ;
  border-radius: 5px;
  box-shadow: 1rem 1rem 1rem -1rem #a0a0a0;
}

.post-slider .post-wrapper .post .slider-image{
  width: 100%;
  height: 200px;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;

}

.post-slider .post-wrapper .post .post-info{
  height: 130px;
  padding: 0px 5px;
}

.post-slider .post-wrapper .post .post-info, h1,h2,h3,h4{
margin: 5px;

}
.post a{
  text-decoration: none;
  color: black;
  font-weight: bold;
}

/* Rcenet css style section */
.content{
  width:90% ;
  margin: 30px auto 30px;
}

.content .main-content{
    width: 70%;
    float: left;
}

.content .sidebar{
    width: 30%;
    float: left;
}

.clearfix::after{
    content: '';
    display: block;
    clear: both;
}

.content .main-content .recenet-post-title{
    margin: 20px;
}

.content .main-content .post{
    width: 95%;
    height: 270px;
    margin: 20px auto;
    border-radius:5px ;
    background: white;
    position: relative;

}

.content .main-content .post .read-more{
    position: absolute;
    bottom: 10px;
    right: 10px;
}

.content .main-content .post .post-image{
    width: 40%;
    height: 100%;
    float: left;
}

.content .main-content .post .post-preview{
    width: 60%;
    padding: 10px;
    float: right;
}

.content .main-content .post .btn{
    padding: .5rem 1rem;
    background-color: #0073e6;
    color: white;
    border: 1px solid transparent;
    border-radius: .25rem;
}

.content .main-content .post .btn:hover{
    color: white !important;
    background: #005bb5;
}



/* the sidebar section style */
.content .sidebar .section{
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.content .sidebar .section .section-title{
    margin: 10px 0px 10px 0px;
}

.content .sidebar .section.search{
    margin-top: 80px;
}

.text-input{
    padding: .7rem 1rem;
    display: block;
    width: 100%;
    border-radius: 5px;
    border: 1px solid #e0e0e0;
    outline: none;
    color: #444;
    line-height: 1.5rem;
    font-size: 1.5em;
    font-family: 'lato','serif';
}

/* .content .sidebar .section.topics ul{
    margin: 0px;
    padding: 0px;
    list-style: none;
    border-top: 1px solid #e0e0e0;
}

.content .sidebar .section.topics ul li a{
    display: block;
    padding: 15px 0px 15px 0px;
    border-bottom:1px solid #e0e0e0;
    color: black;
    text-decoration: none;
    transition: all 0.3s;
}

.content .sidebar .section.topics ul li a:hover{
    padding-left: 10px;
    transition: all 0.3s;
    color: #0073e6;
} */

/* single page styling */

.content .main-content.single {
    background: white;
    padding: 20px 50px;
    font-size: 1.1em;
    border-radius:5px ;

}

.content .sidebar.single {
    padding: 0px 10px;
}

.content .main-content.single .post-title{
    text-align: center;
    margin-bottom: 40px;
}

.content .popular .post{

    border: 1px solid #e0e0e0;
    margin-top: 10px;
    padding-top: 10px;
}

.content .popular .post img{
    height: 60px;
    width: 75px;
    float: left;
    margin-right: 10px;
}






/* Register page styling */

.auth-content .btn{
    background-color: #0073e6;
    color: white;
    font-size: 1.08em;
    font-family: 'lato','serif';
}

.auth-content{
    width: 30%;
    margin: 50px auto;
    padding: 20px;
    background-color: white;
    border-radius: 5px;
}

.auth-content .form-title{
    text-align: center;
}
.auth-content form div{
    margin-bottom: 10px;
}

.auth-content form p{
    text-align: center;
}

.auth-content .form p a{
    text-decoration: underline;
}


/* scuess error mesg */

.msg{
    width: 100%;
    margin: 5px;
    padding: 5px auto;
    border-radius: 5px;
    list-style: none;
}

.success{
    color: #3a6a3a;
    border: 1px solid #3a6a3a;
    background: #bcf5bc;
}

.error{
    color: #884b4b;
    border: 1px solid #884b4b;
    background: #f5bcbc;
}

/* responsive page for blogs */
@media only screen and (max-width: 934px){
     .content{
        width: 100%;
        
     }

      .content .main-content{
        width: 100%;
        padding: 10px;
    }
    .content .sidebar{
        width: 100%;
        padding: 10px;
    }

    .content .sidebar .section.search{
        margin-top: 30px ;
    }

    .content .main-content .post{
        width: 100%;
    }

      .main-content.single{
        margin-bottom: 10px;
    }

      .main-content-wrapper{
        padding: 10px;
    }

     .auth-content{
        width: 50%;
    }

}

@media only screen and (max-width: 770px){
    .main-content-wrapper{
        padding: 10px;
    }

       .main-content.single{
        margin-bottom: 10px;
    }

     .auth-content{
        width: 60%;
    }
}

@media only screen and (max-width: 600px){
    .content .main-content .post{
        height: auto;

    }
    .content .main-content .post .post-image{
        width: 100%;
    }

    .content .main-content .post .post-preview{
        width: 100%;
    }

    .content .main-content .post .read-more{
        position: static;
        display: block;
        width: 100%;
        text-align: center;
    }

    .post-slider .next{
        right: 10px;
    }

    .post-slider .prev{
        left:10px ;
    }

   .content .main-content.single{
        margin-bottom: 10px;
        padding: 10px 20px;
    }

      .main-content-wrapper{
        padding: 10px;
    }

    .auth-content{
        width: 90%;
    }



}


/* index slider styling */
/* i dont know */
/* Hero Slider container */ 



/* Custom Arrows styling */
.custom-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2em;
    color: #0073e6;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    opacity: 1 !important;
}

.custom-arrow:hover {
    color: #005bb5;
}

.slick-prev.custom-arrow {
    left: 30px;
    right: auto;
}

.slick-next.custom-arrow {
    right: 30px;
    left: auto;
}

.slick-prev.custom-arrow {
    content: '<';
    display: block;
}

.slick-next.custom-arrow {
    content: '>';
    display: block;
}

/* Remove Slick default arrows */
.slick-prev:before,
.slick-next:before {
    content: none !important;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    z-index: 9000;
    width: 80%;
}

.hero-content h1,
.hero-content p {
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.6);
}

/* Project css */
/* Project Slider Container */
/* .project-wrapper {
    position: relative;
    width: 100%;
    max-height: 500px;
    overflow: hidden;
}

.project-slider {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    position: relative;
}

.project-slider .slick-slide img {
    width: 100%;
    height: auto;
    display: block;
} */

.custom-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2em;
    color: #0073e6;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    opacity: 1 !important;
}

.custom-arrow:hover {
    color: #005bb5;
}

.slick-prev.custom-arrow {
    left: 30px;
}

.slick-next.custom-arrow {
    right: 30px;
}

/* Remove default Slick arrows */
.slick-prev:before,
.slick-next:before {
    content: none !important;
}

/* Project impact/why it matters blu part */
.projectmatters-section {
    background: #0073e6;
    color: white;
    padding: 80px 20px;
}

.project-impact-section {
    background: #0074d9;
    color: white;
    padding: 40px 20px;
    
}

/* FAQ css */
.accordion {
        background-color: white;
        color: black;
        cursor: pointer;
        font-size: 1rem;
        width: 100%;
        padding: 1rem 1.5rem;
        border: none;
        outline: none;
        transition: 0.3s;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-weight: 600;
    }

    .accordion i {
        font-size: 2rem;
    }

    /* #69a6f0 
    #87b2e7*/

    .accordion:hover,
    .faq.active .accordion {
        background-color: #b2d0f6;
    }

 .faq-pannel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #b2d0f6;
    padding: 0 2rem;
}

.faq.active .faq-pannel {
    max-height: 500px;
    padding: 1rem 2rem;
}


    .faq.active {
        border: none;
    }

    .header+.faq {
        margin-top: 40px;
    }

.video-container {
    position: relative;
    padding-bottom: 40%;
    padding-top: 25px;
    height: 0;
    overflow: hidden;
    max-width: 560px;
    margin: 0 auto;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}



/* * Footer Styles */
    footer {
      background-color: #0074D9 ;
      color: white;
      padding: 50px 0 20px;
      font-family: 'Lato', sans-serif;
      
    }
    
    .footer-heading {
      font-weight: 700;
      margin-bottom: 20px;
      font-size: 1.2rem;
      position: relative;
      padding-bottom: 10px;
    }
    
    .footer-heading:after {
      content: '';
      position: absolute;
      left: 0;
      bottom: 0;
      width: 40px;
      height: 2px;
      background-color: white;
    }
    
    .footer-links {
      list-style: none;
      padding: 0;
      margin: 0;
    }
    
    .footer-links li {
      margin-bottom: 10px;
    }
    
    .footer-links a {
      color: rgba(255, 255, 255, 0.8);
      text-decoration: none;
      transition: all 0.3s ease;
      
    }
    
    .footer-links a:hover {
      color: white;
      padding-left: 5px;
    }
    
    .contact-info {
      margin-bottom: 8px;
      display: flex;
      align-items: flex-start;
    }
    
    .contact-info i {
      margin-right: 10px;
      margin-top: 5px;
    }
    
    .social-icons {
      margin-top: 20px;
    }
    
    .social-icons a {
      display: inline-block;
      width: 40px;
      height: 40px;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 50%;
      text-align: center;
      line-height: 40px;
      color: white;
      margin-right: 10px;
      transition: all 0.3s ease;
    }
    
    .social-icons a:hover {
      background: white;
      color: #0074D9;
      transform: translateY(-3px);
    }
    
    .copyright {
      margin-top: 40px;
      padding-top: 20px;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      text-align: center;
      color: rgba(255, 255, 255, 0.7);
      font-size: 0.9rem;
    }
    

   /* Hero Slider Fixes */
.hero-wrapper, .project-wrapper {
    position: relative;
    width: 100%;
    height: 500px; /* Fixed height for slider */
    overflow: hidden;
}

.hero-slider, .project-slider {
    width: 100%;
    height: 100%;
}

.hero-slider div, .project-slider div {
    height: 100%;
}

.hero-slider img, .project-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* This ensures images cover the area without distortion */
    display: block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-wrapper, .project-wrapper {
        height: 400px;
    }
}

@media (max-width: 576px) {
    .hero-wrapper, .project-wrapper {
        height: 300px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
    }
}


/* fixed blogs styling */

/* quick last min fixes */
.head-space {
    margin-bottom: 25px;
}

 .text-justify {
    text-align: justify;
  }

.text-green {
    color: #51A480;
}

.impact-text-margin { 
    margin-top: 20px;
}

 .overlay-home {
    max-width: 90%;      
    background: rgba(0, 0, 0, 0.6); 
  }

  @media (min-width: 768px) {
    .overlay-text {
      max-width: 70%; 
    }
  }

  @media (min-width: 1200px) {
    .overlay-text {
      max-width: 50%;  
    }
  }