body{
   background: linear-gradient(135deg, #eef2f3, #8e9eab);
    font-family: "Arima", system-ui;
    font-size:15px;
   
}

.navbar-brand img {
    height: 40px; /* Adjust logo size */
}
.navbar-toggler {
    order: -1; /* Moves toggle to the left */
}
.navbar-collapse {
    justify-content: flex-end; /* Align menu items to the right */
}
.profile-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border:1px solid rgb(48, 2, 2);
    object-fit: cover;
    margin-left: 15px; /* Spacing from navbar items */
}

/* ....................... Here the code latest news and youtube link ................................ */
.card-container, .youtube-box {
  background-color: rgba(255, 255, 255, 0.1);
 
  padding: 20px;
}

/* News card styling */
.news-card {
  background-color: rgba(245, 70, 187, 0.4);
  border: none;
  overflow: hidden;
  color: white;
  height: 100%;
}

/* ✅ Increased image height and ensured it shows correctly */
.news-card img {
  width: 100%;
  height: 200px; /* Fixed height container */
  object-fit: contain; /* Fit image without cropping */
  display: block;
  background-color: #f8f9fa; /* Optional: adds padding space color */
}
/* Carousel and inner elements */
.carousel-inner,
.carousel-item {
  width: 100%;
  height: auto;
}

/* Force active/visible carousel items to show */
.carousel-item.active,
.carousel-item-next,
.carousel-item-prev {
  display: block !important;
}

/* Auto-scroll YouTube section */
.scroll-box {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.scroll-content {
  position: absolute;
  animation: scroll-up 20s linear infinite;
}

@keyframes scroll-up {
  0% { top: 100%; }
  100% { top: -100%; }
}

/* Responsive visibility */
@media (max-width: 768px) {
  .desktop-news {
    display: none !important;
  }

  .mobile-news {
    display: block !important;
  }

  .news-card img {
    height: 220px; /* Increased height for mobile too */
  }
}

@media (min-width: 769px) {
  .mobile-news {
    display: none !important;
  }
}


/* This is code pf the hyper link */
 .google-btn {
      border-radius: 50px;
      padding: 0.5rem 1.2rem;
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      text-decoration: none;
    }

    .google-scholar {
      background-color: #4285F4;
      color: white;
    }

    .google-researcher {
      background-color: #0F9D58;
      color: white;
    }

    .google-blogging{
      background-color: #d45105;
      color: white;
    }

    .google-btn:hover {
      opacity: 0.85;
      text-decoration: none;
      color: white;
    }

    .google-btn i {
      font-size: 1.2rem;
    }


    /* This is code of the crousel invention cards and many more */
    
/* This is the design of teh vorious types of the design     */
 .link-bar {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      background-color: #800000; /* dark red strip behind all buttons */
      padding: 8px 0;
    }

    .link-item {
      background-color: #c62828; /* red button color */
      color: white;
      padding: 8px 16px;
      margin: 4px;
      border-radius: 4px;
      font-size: 12px;
      text-align: center;
      text-decoration: none;
      transition: all 0.3s ease;
      border: 1px solid #a91f1f;
      white-space: nowrap;
    }

    .link-item:hover {
      background-color: #a91f1f;
      color: #fff;
      text-decoration: none;
      transform: translateY(-2px);
    }

    @media (max-width: 576px) {
      .link-item {
        width: 100%;
        font-size: 14px;
        border-radius: 0;
      }
    }

/*code of the icons for whattsapp and calls */

    .icon-btn {
      font-size: 2rem;
      color: rgb(234, 6, 6);
      border-radius: 50%;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      margin: 5px;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

  
/* code of the fedback and contact us form */
.form-box1 {
      background-color: #ffffff;
      border-radius: 12px;
      padding: 30px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
      transition: all 0.3s ease-in-out;
    }

    .form-box1 h3 {
      font-weight: 600;
      color: #333;
    }

    .form-control {
      width: 100%;
      border-radius: 8px;
      border: 1px solid #ced4da;
      transition: 0.2s ease;
    }

    .form-control:focus {
      border-color: #198754;
      box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.25);
    }

    .btn-success {
      background-color: #198754;
      border: none;
      padding: 10px 24px;
      font-weight: 600;
      transition: background-color 0.3s ease;
    }

    .btn-success:hover {
      background-color: #157347;
    }

    @media (max-width: 767.98px) {
      .form-box .row .col-md-6 {
        margin-bottom: 15px;
      }
    }

  /* This is the code of the socila media link */
  .social-icons-mobile {
  position: fixed;
  bottom: 40px;   /* Changed from top: 50% + transform */
  left: 0;
  transform: none;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 5px;
  width: 50px;
}

.social-icons-mobile .icon {
  width: 50px;
  height: 50px;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 0 10px 10px 0;
  transition: all 0.3s ease;
  font-size: 20px;
}

.social-icons-mobile .icon:hover {
  transform: scale(1.1);
  opacity: 0.9;
}

.icon.fb { background: #3b5998; }
.icon.tw { background: #1da1f2; }
.icon.ln { background: #0077b5; }
.icon.ig { background: #e1306c; }
.icon.yt { background: #ff0000; }


/* This is the links of the another source website */
.gradient-box {
    height: 50px;
    width: 100%;
    overflow: hidden;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 9999;
    white-space: nowrap;
  }

  .scrolling-links {
    display: inline-block;
    padding-left: 100%;
    animation: scroll-left 20s linear infinite;
  }

  @keyframes scroll-left {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-100%);
    }
  }

  .link-box {
    display: inline-block;
    margin: 0 10px;
    padding: 5px 15px;
    border: 2px solid white;
    border-radius: 50px;
    color: white;
    text-decoration: none;
    background-color: black;
  }

  .link-box:hover {
    background-color: blue;
  }


    /* This is the code of the slide gadgets cards */
     .viewport {
      overflow: hidden;
      max-width: calc(300px * 3 + 40px * 2); /* Show 3 cards on desktop */
      margin: auto;
    }

    .cards-wrapper {
      display: flex;
      gap: 20px;
      transition: transform 0.5s ease;
      direction: rtl; /* Slide from right to left */
    }

    .card-item {
      flex: 0 0 300px;
      height: 250px;
      background: #fff;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .card-item img {
       width: 100%;
       height: 100%;
       object-fit: fill;
       display: block;
    }

    /* Responsive: show only 1 card on small screens */
    @media (max-width: 768px) {
      .viewport {
        max-width: 300px;
      }
    }

/* .........................Plotical Page................................. */
     .polotics-card {
      width: 300px;
      height: 350px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      border: 1px solid #ddd;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
      transition: transform 0.3s ease;
    }

    .polotics-card img {
      width: 100%;
      height: 75%;
      object-fit: contain;
      background-color: #f8f9fa;
      cursor: pointer;
    }

    .polotics-card .card-body {
      height: 25%;
      padding: 10px;
      overflow: hidden;
      text-align: center;
    }

    .card-title {
      font-family: 'Noto Sans Devanagari', 'Poppins', sans-serif;
      font-weight: 700;
      font-size: 18px;
      color: #333;
    }

    .card-text {
      font-family: 'Poppins', sans-serif;
      font-size: 14px;
      color: #555;
    }

    /* Responsive layout adjustments */
    @media (min-width: 992px) {
      .col-md-3 {
        flex: 0 0 auto;
        width: 25%;
      }
    }

    @media (max-width: 767.98px) {
      .col-12 {
        width: 100%;
      }
    }

    /* Fullscreen image style */
    .fullscreen-image {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.9);
      display: none;
      align-items: center;
      justify-content: center;
      z-index: 1050;
    }

    .fullscreen-image img {
      max-width: 90%;
      max-height: 90%;
      object-fit: contain;
      border: 4px solid #fff;
      border-radius: 4px;
      box-shadow: 0 0 10px #000;
      transition: all 0.3s ease-in-out;
      cursor: zoom-out;
    }

    /*.....................This is code of the footer  section............................*/
    footer {
      text-align: center;
      padding: 20px;
      background: #2d3436;
      color: #dfe6e9;
      margin-top: 40px;
    }

    @media (max-width: 768px) {
      .hero-section h1 {
        font-size: 1.8rem;
      }
      .form-wrapper {
        padding: 20px;
      }
    }

    /*.....................This is code of the join us section............................*/
.form-row-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: stretch;
}

/* Each form gets 50% width on md and up */
@media (min-width: 768px) {
  .form-box,
  .form-wrapper {
    width: 48%;
    min-height: 100%;
  }
}

/* Make both forms look consistent */
.form-box,
.form-wrapper {
  background-color: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
  transition: 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Hover effect */
.form-box:hover,
.form-wrapper:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Buttons styling */
.btn-send,
.btn-primary {
  background-color: #0d6efd;
  border: none;
  padding: 10px 20px;
  font-weight: 600;
  transition: background-color 0.3s ease-in-out;
}

.btn-send:hover,
.btn-primary:hover {
  background-color: #0b5ed7;
}

/* Ensure form fields take full width */
.form-control,
textarea {
  width: 100%;
}

/*........................................ Here i am writing the code of the news gallery................ */
/* Container for each news card */
.news-card-wrapper {
  max-width: 250px;
  margin: auto; /* Center align if fewer cards in row */
}

/* News Card */
.custom-news-card {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

/* Image Styling */
.custom-news-card .card-img-top {
  height: 200px;
  object-fit: contain; /* Ensures full image is visible */
  width: 100%;
  background-color: #f8f9fa; /* Light background if image doesn't fill */
}

/* Title Styling */
.custom-news-card .card-title {
  text-align: center;
  font-size: 14px;
  margin-bottom: 8px;
}

/* Description Styling */
.custom-news-card .card-text {
  font-size: 10px;
  line-height: 1.4;
}
/* ................... This is teh code of the youtube videos gallery.......................... */
.video-box1 {
      width: 300px;
      height: 260px;
      overflow: hidden;
      margin: auto;
    }

    .video-box1 iframe {
      width: 100%;
      height: 100%;
      border: none;
    }

    @media (max-width: 767.98px) {
      .video-box1 {
        width: 100%;
        max-width: 300px;
      }
    }


    /* ...................This is css code of the bloging page............. */
    .blog-box {
      border: 1px solid #ddd;
      border-radius: 15px;
      padding: 15px;
      margin-bottom: 30px;
      box-shadow: 0 0 10px rgba(0,0,0,0.1);
      transition: 0.3s;
      height: 100%;
    }
    .blog-box:hover {
      box-shadow: 0 0 20px rgba(0,0,0,0.2);
    }
    .blog-title {
      font-size: 15px;
      font-weight: bold;
      margin-bottom: 5px;
      color:rgb(207, 6, 106);
    }
    .blog-date {
      color: #6c757d;
      margin-bottom: 10px;
    }
    .blog-content {
      line-height: 1.6;
    }

    /* ...................This is the css of the education achievements page................. */
     .achievement-card {
      height: 350px;
      border-radius: 5px;
      overflow: hidden;
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
      transition: transform 0.3s ease;
      background-color: #fff;
    }

    .achievement-card:hover {
      transform: scale(1.03);
    }

    .card-img-box {
      height: 75%;
      width: 100%;
      background-color: #f9f9f9;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .card-img-box img {
      max-height: 100%;
      max-width: 100%;
      object-fit: contain;
    }

    .card-body {
      height: 20%;
      padding: 10px;
      background-color: #f8f9fa;
    }

    .card-title {
      margin-bottom: 4px;
      font-weight: 300;
    }

    .card-text {
      margin: 0;
    }

    /* ............................css code of the about us section ......................... */
    .section-title {
  font-size: 2.5rem;
  font-weight: bold;
  text-shadow: 1px 2px 3px rgba(0,0,0,0.2);
}

.about-box {
  background: #f9f9f9;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.about-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.box-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #2c3e50;
  font-weight: bold;
  position: relative;
}

.box-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: #007bff;
  margin-top: 6px;
}

.about-box ul {
  padding-left: 18px;
}

.about-box ul li {
  margin-bottom: 8px;
  list-style: disc;
}

.highlight {
  color: #007bff;
  font-weight: bold;
}


.timeline-section {
  padding: 60px 20px;
  background-color: #f7f9fb;
  border-radius: 20px;
}

.timeline-heading {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #032a51;
  margin-bottom: 50px;
}

.timeline {
  position: relative;
  max-width: 1100px;
  margin: auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 4px;
  background-color: #3498db;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
}

.timeline-item {
  padding: 20px 40px;
  position: relative;
  width: 50%;
}

.timeline-item::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 25px;
  right: -13px;
  background-color: #fff;
  border: 4px solid #3498db;
  top: 20px;
  border-radius: 50%;
  z-index: 1;
}

.timeline-item.left {
  left: 0;
}

.timeline-item.right {
  left: 50%;
}

.timeline-content {
  padding: 20px 25px;
  background-color: white;
  position: relative;
  border-radius: 6px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.timeline-content h3 {
  margin-top: 0;
  color: #007bff;
  font-weight: 600;
}

.timeline-content ul {
  padding-left: 20px;
  margin: 0;
}

.timeline-content ul li {
  margin-bottom: 6px;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .timeline::after {
    left: 30px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }

  .timeline-item.right {
    left: 0%;
  }

  .timeline-item::after {
    left: 15px;
  }
}


    /* ......................This is css code of the contact us............................ */
    .contact-container {
      background: #fff;
      padding: 40px;
      border-radius: 12px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
      margin-top: 30px;
    }
    .contact-heading {
      color: #0d6efd;
      font-weight: 700;
    }
    .social-icons a {
      color: white;
      font-size: 1.2rem;
      margin-right: 15px;
      padding: 10px;
      border-radius: 50%;
      display: inline-block;
    }
    .facebook { background-color: #3b5998; }
    .twitter { background-color: #1da1f2; }
    .linkedin { background-color: #0077b5; }
    .instagram { background-color: #e4405f; }
    .youtube { background-color: #ff0000; }
    .social-icons a:hover {
      opacity: 0.9;
      text-decoration: none;
    }

    /* ...........................................This is the css of the writer cards........................................... */
.writer-card {
  height: 350px;
  width: 300px;
  margin: 10px;
  display: flex;
  flex-direction: column;
  border: 1px solid #ddd;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.writer-image {
  height: 75%;
  width: 100%;
  object-fit: contain; /* Ensures full image fits without cropping */
  background-color: #f8f8f8; /* Optional: to show image boundaries clearly */
}

.writer-body {
  height: 25%;
  overflow: hidden;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}




    /* .............................this is code of the events section...................................... */
  .events-card {
    width: 300px;
    height: 350px;
    display: flex;
    flex-direction: column;
    border: 1px solid #ddd;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
  }

  .events-card img {
    width: 100%;
    height: 75%;
    object-fit: contain;
    background-color: #f8f9fa;
    cursor: pointer;
  }

  .events-card .card-body {
    height: 25%;
    padding: 10px;
    overflow: hidden;
  }

  .events-card .card-title {
    font-family: 'Noto Sans Devanagari', 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #333;
    margin-bottom: 4px;
  }

  .events-card .card-text {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #555;
  }

  .fullscreen-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1050;
  }

  .fullscreen-image img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border: 4px solid #fff;
    border-radius: 4px;
    box-shadow: 0 0 12px #000;
    cursor: zoom-out;
  }



    /* ..................................This is css of the movements............................................. */
    .movement-header {
      background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6));
      color: white;
      padding:10px;
      text-align: center;
    }
    .movement-header h1 {
      font-size: 1rem;
      font-weight: bold;
    }
    .movement-header p {
      font-size: 1rem;
      margin-top: 5px;
    }
    .movement-header .btn {
      margin-top: 5px;
      font-size: 1rem;
    }

    /* Here i am writing the code for the dynamics cards */
     .gadget-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  }

  .gadget-card:hover img {
    transform: scale(1.05);
  }

    /* .............Here i am going to the write the code of the social section........ */
    .social-card {
      width: 300px;
      height: 350px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      border: 1px solid #ddd;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
      transition: transform 0.3s ease;
    }
  

      .social-card img {
      width: 100%;
      height: 75%;
       object-fit: contain; /* Ensures entire image fits without cropping */
       background-color: #f8f9fa; /* Optional: light background to fill empty space */
      cursor: pointer;
      }

    .social-card .card-body {
      height: 25%;
      padding: 10px;
      overflow: hidden;
    }

    @media (min-width: 992px) {
      .col-md-3 {
        flex: 0 0 auto;
        width: 25%;
      }
    }

    @media (max-width: 767.98px) {
      .col-12 {
        width: 100%;
      }
    }

    .fullscreen-image {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.9);
      display: none;
      align-items: center;
      justify-content: center;
      z-index: 1050;
    }

    .fullscreen-image img {
      max-width: 90%;
      max-height: 90%;
      object-fit: contain;
      border: 4px solid #fff;
      border-radius: 4px;
      box-shadow: 0 0 10px #000;
      transition: all 0.3s ease-in-out;
      cursor: zoom-out;
    }

    /* Here i have write the code for the family bg of the km Amish */
    
    .family-section {
      padding: 60px 20px;
      background: #fff;
      position: relative;
    }
    .section-title {
      text-align: center;
      font-size: 2.5rem;
      font-weight: 700;
      color: #2c3e50;
      margin-bottom: 50px;
    }
    .timeline {
      position: relative;
      max-width: 900px;
      margin: auto;
    }
    .timeline::after {
      content: '';
      position: absolute;
      width: 6px;
      background-color: #2c3e50;
      top: 0;
      bottom: 0;
      left: 50%;
      margin-left: -3px;
      border-radius: 5px;
    }
    .timeline-card {
      padding: 20px 40px;
      position: relative;
      background: inherit;
      width: 50%;
    }
    .timeline-card.left {
      left: 0;
    }
    .timeline-card.right {
      left: 50%;
    }
    .timeline-card::after {
      content: '';
      position: absolute;
      width: 25px;
      height: 25px;
      right: -12px;
      background-color: #fff;
      border: 4px solid #2c3e50;
      top: 15px;
      border-radius: 50%;
      z-index: 1;
    }
    .timeline-card.right::after {
      left: -12px;
    }
    .timeline-content {
      background: #ffffff;
      padding: 25px;
      border-radius: 15px;
      box-shadow: 0 4px 15px rgba(0,0,0,0.1);
      transition: all 0.3s ease;
    }
    .timeline-content:hover {
      transform: translateY(-5px);
      box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    }
    .timeline-content h4 {
      color: #2c3e50;
      font-weight: 700;
    }
    .timeline-content p {
      margin: 5px 0;
      font-size: 0.95rem;
      color: #555;
    }
    @media screen and (max-width: 768px) {
      .timeline::after {
        left: 31px;
      }
      .timeline-card {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
      }
      .timeline-card.right {
        left: 0%;
      }
      .timeline-card::after {
        left: 18px;
      }
    }


    