@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@100&family=Roboto+Slab:wght@100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@700&family=Kalam:wght@300;400;700&family=Roboto+Slab:wght@100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

@font-face {
  font-family: 'Kalam';
  src: url('fonts/Kalam-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}
/*  genral CSS */
:root
{
  --primary-color:#fd8013;
}
.bg-color
{
  background-color: var(--primary-color);
}
*
{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
section
{
  padding-top: 40px;
  padding-bottom: 40px;
}
.heading
{
  padding: 10px;
}
hr
{
  background-color: var(--primary-color);
  height: 3px;
  border: 2px solid var(--primary-color);
  opacity: 1;
}
.carousel-item {
  text-align: center;
  background: var(--primary-color);
}

.carousel-item img {
  width: auto;
  height: auto ;/* Ensures all images are equal height */
  max-height: 100%;
  object-fit: contain;
  margin: 0 auto;
}



/*===================*/
/*==== navigation====*/
.navbar_relative {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px;
}
.align
{
  display: flex;
  align-items: center;
  justify-content: center;
}
.icons a
{
  margin: 5px;
}
.logo img
{
  width: 150px;
  height: 150px;
}
.main-text img 
{
  width: 300px;
}
.main-nav
{
  /*background-image: radial-gradient(circle, rgb(211 113 27) 0%, rgb(251 129 69) 90%);*/
  background-image: radial-gradient(circle, rgb(251 129 22) 0%, rgb(54 45 46) 90%) !important;

  display: flex;
  justify-content: center;
}
.nav-link,.navbar-nav .nav-link.active
{
    color: #fff !important;
    font-size: 16px;
    font-family: "Josefin Sans", sans-serif;
    font-weight: 800 !important;
}
@media (min-width: 992px)
{
  .main-nav{
    height: 80px;
  }
}
@media (max-width: 767px) {
  .main-text{
    text-align: center;
  }
  .logo, .about-text, .about-image
  {
    text-align: center;
  }
  .p-message-image-box
  {
      order: 1;
  }
   .p-message-text
  {
    padding-top: 20px;
    text-align: center;
  }
}
/* .navbar-nav
{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  color: #fff;
  font-weight: bold;
} */
/*===== navigation end===========*/
/*==== menu css=====*/
.card-image
{
  width: 30%;
  margin: auto;
}
/*==== menu css end=====*/

/*==== about section css=====*/
.about-text p,.p-message-text p, .welcome-card p
{
 font-family: 'Kalam','sans-serif'; 
}
/*==== about section css end=====*/

/*==== p-message section css=====*/
#p-message
{
  background-color: var(--primary-color);
}
.p-message-image{
  display: flex;
  justify-content: center;
  align-items: center;
}
/*==== p-messaage section css end=====*/

/*========Gallery section css=======*/
#gallery {
  display: grid;
  place-items: center;
  background: var(--primary-color);
}

.slider {
  height: auto;
  margin: auto;
  width: 100%;
  max-width: 1200px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.slide-track {
  display: flex;
  width: max-content;
  animation: scroll 40s linear infinite;
}

.slidee {
  width: clamp(140px, 20vw, 250px);
  height: clamp(120px, 16vw, 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  box-sizing: border-box;
  perspective: 100px;
}

.slidee img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  transition: transform 0.8s ease;
}

.slidee img:hover {
  transform: translateZ(20px);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-250px * 9));
  }
}

/* Optional Media Queries (adjust animation speed and spacing) */
@media (max-width: 768px) {
  .slide-track {
    animation-duration: 60s;
  }
  .slide {
    padding: 8px;
  }
}

@media (max-width: 480px) {
  .slide-track {
    animation-duration: 80s;
  }
  .slide {
    padding: 5px;
  }
}

/*========Gallery section css end=======*/
/*====== donors-page css start====*/

.card-container {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 20px;
      padding: 30px;
    }
    .donor-card {
      width: 200px;
      border-radius: 10px;
      overflow: hidden;
      background: linear-gradient(to bottom, #f57f17, #573b2a);
      color: white;
      text-align: center;
      box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    }
    .donor-card img {
      width: 100%;
      height: 200px;
      object-fit: cover;
      border-bottom: 2px solid white;
    }
    .donor-info {
      padding: 10px;
    }
    .donor-name {
      font-weight: bold;
      font-size: 18px;
      margin-top: 5px;
      text-transform: capitalize;
    }
    .donor-meta {
      font-size: 14px;
      margin: 2px 0;
    }
/*====== donors-page css end====*/

  #footer{
    background-color: black;
    color: white;
  }
#footer ul li
{
  list-style: none;
  line-height: 2;
}
#footer ul li a
{
  color: white;
  text-decoration: none;
}



/* General Dropdown Styling */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 200px;
    top: 100%;
    left: 0;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 999;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* a{
    color: white;
} */

/* Gallery page css   */
.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
  padding: 20px;
}
.gallery-item {
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: #f1f1f1;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s;
}
.gallery-item img:hover {
  transform: scale(1.05);
}
/* Gallery page css end  */

/* aim-objective page css start  */
.card:hover {
    transform: scale(1.02);
    transition: all 0.3s ease;
}
 .card-title {
        color: #fd8013;
        font-weight: 600;
    }

/* aim-objective page css start  */

 /*=== member-apply page css end===*/
 .form-container {
            max-width: 900px;
            margin: auto;
            background: #fff;
            padding: 20px;
            border-radius: 10px;
            box-shadow: 0 0 10px rgba(0,0,0,0.1);
        }
        .btn-submit {
            border: none;
            padding: 10px 20px;
            color: #fff;
            border-radius: 4px;
            cursor: pointer;
        }
        .qr-section {
            margin-top: 30px;
            padding: 20px;
            background: #fff4e6;
            border-radius: 10px;
            border: 1px solid #ffcc80;
        }
        .qr-section img {
            max-width: 100%;
            height: auto;
        }
        .text-orange {
            color: orangered;
        }
      /*=== member-apply page css end===*/
/*=== upcoming-events page css start===*/
      .event-card {
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
            margin-bottom: 30px;
            border-radius: 10px;
            overflow: hidden;
            transition: 0.3s;
        }
        .event-card:hover {
            transform: translateY(-5px);
        }
        .event-title {
            color: #fd8013;
            font-weight: 600;
        }
        .event-img {
            height: 220px;
            object-fit: cover;
        }
/*=== upcoming-events page css end===*/
/*======download-letter page css=====*/
    .download-page-container {
        max-width: 500px;
        margin: 80px auto;
        background: #fff;
        padding: 30px 40px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        border-radius: 12px;
        text-align: center;
    }

    .download-doc {
        color: #333;
        margin-bottom: 20px;
    }

    .unique_id {
        width: 100%;
        padding: 12px 10px;
        margin-bottom: 20px;
        border: 1px solid #ccc;
        border-radius: 8px;
        font-size: 16px;
    }

    .download-btn {
        padding: 12px 20px;
        background-color: #007BFF;
        color: white;
        border: none;
        border-radius: 8px;
        font-size: 16px;
        cursor: pointer;
    }

   .download-btn:hover {
        background-color: #0056b3;
    }

    .result a {
        display: block;
        margin-top: 15px;
        color: #28a745;
        font-weight: bold;
        text-decoration: none;
    }

    .result a:hover {
        text-decoration: underline;
    }

    .error {
        color: #dc3545;
        margin-top: 10px;
        font-weight: bold;
    }
  /*======download-letter page css=====*/
  
  /*======team css ends====*/
      .team-section {
      padding: 50px 20px;
      text-align: center;
      background: var(--primary-color);
      border-radius: 20px;
      max-width: 1200px;
      margin: 50px auto;
      box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    }

    .team-section h2 {
      font-size: 2.5rem;
      margin-bottom: 10px;
    }

    .team-section p {
      max-width: 600px;
      margin: 0 auto 40px;
      font-size: 1rem;
      color: #555;
    }

    .team-container {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 30px;
    }

    .team-card {
      background: #fff;
      border-radius: 12px;
      overflow: hidden;
      width: 280px;
      box-shadow: 0 4px 15px rgba(0,0,0,0.1);
      transition: transform 0.3s;
    }

    .team-card:hover {
      transform: translateY(-10px);
    }

    .team-card img {
      width: 100%;
      height: 350px;
      object-fit: cover;
    }

    .team-card h3 {
      margin: 15px 0 5px;
      font-size: 1.2rem;
    }

    .team-card span {
      display: block;
      font-size: 0.9rem;
      color: #777;
      margin-bottom: 10px;
    }

    @media (max-width: 900px) {
      .team-container {
        gap: 20px;
      }
    }

    @media (max-width: 600px) {
      .team-card {
        width: 100%;
        max-width: 320px;
      }
    }
  /*======team css ends====*/
  
  /*===== about page css ======*/
    .wrapper{
      /*  width: 100%;*/
      /*margin:0; font-family: system-ui, -apple-system, Segoe UI, Roboto, Noto Sans, "Inter", Arial, sans-serif;*/
      /*background: linear-gradient(180deg, #362d2e, #fb8013 60%);*/
      /*color: #e5e7eb;*/
      /*line-height:1.6;*/
      padding: 50px 20px;
      background: var(--primary-color);
      border-radius: 20px;
      max-width: 1200px;
      margin: 50px auto;
      box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    }
    .wrap{max-width:1100px; margin-inline:auto; padding:28px 18px 60px;}
    header{
      text-align:center; margin-bottom:28px;
    }
    .brand{font-size: clamp(24px, 3vw, 36px); margin:8px 0 4px; font-weight:800; letter-spacing:0.3px}
    .tag{color: var(--muted); font-size:14px}
    .about{
      background: radial-gradient(1200px 400px at 20% -10%, rgba(245, 158, 11, .15), transparent 55%), radial-gradient(900px 300px at 80% -20%, rgba(34, 197, 94, .12), transparent 45%), #f88119;
      border:1px solid #0f172a;
      border-radius:18px;
      padding:22px 20px;
      box-shadow: 0 10px 35px rgba(0,0,0,.35);
    }
    .about h2{margin:0 0 12px; font-size: clamp(18px, 2.6vw, 26px)}
    .about p{margin: 0 0 10px; color:#000}
    .mantra{font-style: italic; color:#000; border-left:3px solid #000000; padding-left:10px}

    .section{margin-top:34px}
    .section h3{
      display:flex; align-items:center; gap:10px; margin:0 0 14px; font-size: clamp(17px, 2.2vw, 22px);
    }
    .section h3 .sub{color: #000; font-weight:500; font-size:0.9em}

    .about-page-cards{display:grid; grid-template-columns: 1fr; gap:14px}
    @media (min-width: 720px){ .cards{ grid-template-columns: repeat(2,1fr);} }
    @media (min-width: 1040px){ .cards{ grid-template-columns: repeat(3,1fr);} }

    .about-card{
      background: #f98113;
      border:1px solid #0f172a;
      border-radius:16px; padding:16px 14px; position:relative; overflow:hidden;
      transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    }
    .about-card:hover{ transform: translateY(-2px); border-color:#273244; box-shadow: 0 12px 28px rgba(0,0,0,.35)}
    .about-card h4{margin:0 0 10px; font-size:18px; color:#f6f7f8}
    .about-card ul{margin:0; padding-left:18px}
    .about-card li{margin:6px 0; color:#000}

    details{ background: #f98113; border:1px solid #0f172a; border-radius:14px; padding:12px 14px }
    summary{ cursor: pointer; font-weight:700 }
    summary::marker{ color: #000000; }

    .badge{ display:inline-block; padding:4px 10px; border-radius:999px; font-size:12px; background:#1b2436; border:1px solid #2a3448; color:#e9edf4; }
    .grid-2{ display:grid; gap:14px }
    @media (min-width: 860px){ .grid-2{ grid-template-columns: 1fr 1fr } }

  /*=====about page css ends====*/
  
  
  
  .footer-bottom {
      background-color: #1a1a1a;
      color: #fff;
      font-size: 14px;
    }
    .footer-bottom .footer-top {
      border-bottom: 1px solid #333;
      padding: 10px 0;
    }
    .footer-bottom .footer-top strong {
      color: #c0392b; /* Hindi text color */
    }
    .footer-bottom .footer-bottom-links a {
      color: #fff;
      margin-left: 20px;
      text-decoration: none;
      transition: 0.3s;
    }
    .footer-bottom .footer-links a:hover {
      color: #f39c12;
    }
    .footer-bottom-part {
      background: #000;
      padding: 8px 0;
      font-size: 13px;
    }
    .footer-bottom-part a {
      color: #3498db;
      text-decoration: none;
    }
    .footer-bottom-part a:hover {
      text-decoration: underline;
    }
    
.policy-section p,.policy-section li
{
    font-size: 12px;
}