
@font-face {
  font-family: 'Rajdhani';
  src: url('/fonts/rajdhani/rajdhani-v17-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}



@font-face {
  font-family: 'Barlow Condensed';
  src: url('/fonts/Barlow/barlow-condensed-v13-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}



@font-face {
  font-family: 'Teko';
  src: url('/fonts/Teko/static/Teko-Regular.ttf') format('truetype');
  font-weight: 400;
}

@font-face {
  font-family: 'Teko';
  src: url('/fonts/Teko/static/Teko-Medium.ttf') format('truetype');
  font-weight: 500;
}

@font-face {
  font-family: 'Teko';
  src: url('/fonts/Teko/static/Teko-SemiBold.ttf') format('truetype');
  font-weight: 600;
}

@font-face {
  font-family: 'Teko';
  src: url('/fonts/Teko/static/Teko-Bold.ttf') format('truetype');
  font-weight: 700;
}





/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  /* font-family: 'Inter', sans-serif; */
}

html{
  overflow-x: hidden;
}

body {
  /* font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif; */
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px;
  /* line-height: 1.6; */
  color: #333;
  width: 100%;
  overflow-x: hidden;
  background: #fff;
}
/* body {
    padding-top: 80px;  
} */

a { text-decoration: none; color: inherit; }



/* HEADER */
/* Header styles */
header {
    padding: 0.5rem 2rem;
    /* background: rgba(255, 255, 255, 0); */
    position: fixed;       /* ✅ Fix: was sticky */
    top: 0;
    left: 0;
    width: 100%;           /* ✅ Ensure full width */
    z-index: 1000;
    /* box-shadow: -3px 10px 17px -5px rgba(0, 0, 0, 0.247);
      -webkit-box-shadow: -3px 10px 17px -5px rgba(0, 0, 0, 0.26);
      -moz-box-shadow: -3px 10px 17px -5px rgba(0, 0, 0, 0.301); */
    
     /* background:
    linear-gradient(rgb(255, 255, 255), rgb(255, 255, 255)),
    url("../images/city/1.webp"); */
    background: white;

    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}


.header-container-fx {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* Logo styles */
.logo-fx {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: rgb(0, 0, 0);
    font-weight: 700;
    font-size: 1.5rem;
    z-index: 1001;
}

.logo-img-fx {
    height: 40px;
    width: auto;
    border-radius: 8px;
}

  @media screen and (max-width: 400px) {
    .logo-img-fx {
      height: 50px;
    }
  }

/* Desktop navigation */
.nav-menu-fx {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

.nav-link-fx {
    color: rgb(0, 0, 0);
    text-decoration: none;
    padding: 0.2rem 0.2rem;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 18px;
    /* font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; */
}

.nav-link-fx {
    position: relative;
    color: rgb(0, 0, 0);
    text-decoration: none;
}

.nav-link-fx::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;          /* Start from 0 */
    height: 2px;       /* Border thickness */
    background: rgb(255, 8, 8);
    transition: width 0.4s ease-in-out; /* Speed of the animation */
}

.nav-link-fx:hover::after {
    width: 70%;        /* Expand to 70% on hover */
}


.nav-link-fx i{
  color: rgb(73, 0, 0);
}

/* Dropdown styles */
.dropdown-fx {
    position: relative;
}

.dropdown-content-fx {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.911);
    min-width: 200px;
    padding: 0.75rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.274);
    transition: all 0.3s ease;
    z-index: 100;
    margin-top: 10px;
}

.dropdown-content-fx a {
    display: block;
    padding: 0.4rem 1.5rem;
    color: #000000;
    text-decoration: none;
    transition: all 0.2s ease;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: left;
    font-size: 14px;
}

.dropdown-content-fx a:hover {
    color: #ff0000;
}

.dropdown-fx:hover .dropdown-content-fx {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Social media icons */
.social-icons-fx {
    display: flex;
    gap: 0.3rem;
    font-size: 1rem;
}

.social-link-fx {
    color: rgb(0, 0, 0);
    font-size: 1rem;
    transition: all 0.3s ease;
    /* background-color: #ffffff27; */
    padding: 10px;
    /* box-shadow: 0 4px 10px rgba(255, 0, 0, 0.212); */
    border-radius: 5px;
}
/* 
.xfacebook {
    color: rgba(18, 54, 255, 0.623);
}

.xinstagram {
    color: rgba(255, 166, 0, 0.644);
}

.xyoutube {
    color: rgba(255, 0, 0, 0.623);
}

.xtiktok {
    color: rgba(197, 197, 197, 0.644);
}

.xtwitter {
    color: rgba(14, 148, 201, 0.678);
} */

.social-link-fx:hover {
    transform: translateY(2px);
    /* background-color: black; */
    /* transition: 0.5s ease-in-out; */
    color: rgb(167, 0, 0);
}

/* Mobile menu button */
.menu-toggle-fx {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle-fx span {
    height: 3px;
    width: 100%;
    background-color: rgb(0, 0, 0);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-social-icons-fx {
    display: none;
}

@media only screen and (max-width: 1006px) {
  .nav-link-fx {
    color: rgb(24, 24, 24);
    text-decoration: none;
    /* font-weight: 500; */
    padding: 0.8rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 16px;
  }   
}

/* Mobile styles */
@media (max-width: 920px) {
    header {
        padding: 1rem;

    }
    
    .menu-toggle-fx {
        display: flex;
    }

    .nav-menu-fx {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 0;
        /* background: rgb(255, 255, 255); */
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 60px;
        overflow: hidden;
        transition: height 0.5s ease;
        z-index: 999;
        gap: 0;
        /* padding-bottom: 40px; */
        padding-left: 30px;
        background:
        linear-gradient(rgba(255, 255, 255, 0.897), rgba(255, 255, 255, 0.884)),
        url("../images/city/1.webp");
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
    }

    .nav-menu-fx.active-fx {
        min-height: 85vh;
        height: fit-content;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    }

    .nav-menu-fx li {
        opacity: 0;
        transform: translateY(-20px);
        transition: all 0.5s ease;
        width: 100%;
        text-align: center;
        margin: 0.2rem 0;
        font-size: 18px;
    }

    .nav-menu-fx.active-fx li {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-menu-fx.active-fx li:nth-child(1) { transition-delay: 0.1s; }
    .nav-menu-fx.active-fx li:nth-child(2) { transition-delay: 0.2s; }
    .nav-menu-fx.active-fx li:nth-child(3) { transition-delay: 0.3s; }
    .nav-menu-fx.active-fx li:nth-child(4) { transition-delay: 0.4s; }
    .nav-menu-fx.active-fx li:nth-child(5) { transition-delay: 0.5s; }

    .dropdown-content-fx {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background-color: transparent;
        box-shadow: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        text-align: center;
        margin: 0 auto;
        width: 80%;
        background: rgba(255, 255, 255, 0.904);
        border-radius: unset;
    }

    .dropdown-fx.active-fx .dropdown-content-fx {
        max-height: fit-content;
        margin-top: 0.5rem;
    }

    .dropdown-content-fx a {
        color: rgb(0, 0, 0);
        /* padding: 0.8rem; */
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        font-size: 18px;
    }

    .dropdown-content-fx a:hover {
        /* background-color: rgba(255, 135, 135, 0.582); */
        color: rgb(218, 0, 0);
    }

    .social-icons-fx {
        display: none;
    }
    
    .mobile-social-icons-fx {
        display: flex;
        justify-content: center;
        gap: 1.5rem;
        margin-top: 2rem;
        border-top: 1px solid rgb(0, 0, 0);
    }
    
    .mobile-social-icons-fx a {
        color: rgb(0, 0, 0);
        /* font-size: 1.5rem; */
        margin-bottom: 40px;
    }

    .nav-link-fx{
      font-size: 18px;
    }
}






  @media screen and (max-width: 857px) {
    header {
      padding: 0.2rem 1rem;
    }
  }




/* Content for demonstration */
.content-fx {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
    flex: 1;
}


/* Animation for menu toggle */
.menu-toggle-fx.active-fx span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle-fx.active-fx span:nth-child(2) {
    opacity: 0;
}

.menu-toggle-fx.active-fx span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}
/* header ends */

















/* Footer Background */

/* Footer Main */
footer {
  color: #000;
  padding: 80px 20px 40px;
  font-size: 0.95rem;

  background:
    linear-gradient(rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.733)),
    url("../images/city/1.webp");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}


.footer-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
  justify-content: space-between;
  gap: 40px;
}

.footer-about,
.footer-newsletter,
.footer-menus {
  flex: 1;
  min-width: 250px;
}

.footer-about h3,
.footer-menus h3,
.footer-newsletter h3 {
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: #ffffff;
}

.footer-about p,
.footer-newsletter p {
  /* line-height: 1.6; */
  margin-bottom: 20px;
  font-size: 1rem;
  color: #dbdbdb;
  font-family: Arial, Helvetica, sans-serif;
}

/* Quick Links into 2 columns */
.footer-links {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 12px 30px;
}

.footer-links a {
  color: #f3acac;
  font-size: 1rem;
  transition: 0.3s;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.footer-links a:hover {
  color: #ffffff;
}

/* Newsletter */
.footer-newsletter .newsletter-form {
  display: flex;
  gap: 0;
}

.footer-newsletter input {
  flex: 1;
  padding: 12px 15px;
  border: none;
  border-radius: 5px 0 0 5px;
  font-size: 0.95rem;
}

.footer-newsletter button {
  padding: 12px 20px;
  border: none;
  background: #910000;
  color: #fac1c1;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
  font-size: 0.95rem;
  transition: 0.3s;
}

.footer-newsletter button:hover {
  background: #2e0101;
}

/* Social Media Icons FSM */
.social-iconsfsm {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}

.social-iconsfsm a {
  width: 40px;
  height: 40px;
  background: #ff1a1a;
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
  transition: 0.3s;
}

.social-iconsfsm a:hover {
  background: #000000;
  transform: translateY(-3px);
}

/* Footer Bottom */
.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding-top: 20px;
  margin-top: 40px;
  font-size: 1rem;
  color: rgb(255, 220, 220);
}

/* Responsive */
  @media only screen and (max-width: 1051px) {
    .footer-newsletter .newsletter-form {
      flex-direction: column;
      gap: 12px;
    }
  }

.footer-newsletter .newsletter-form {
    flex-direction: column;
    gap: 12px;
}



@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 5px;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    gap: 15px;
    font-size: 1.8rem;
  }

  /* .footer-menus {
    align-items: center;
  } */

  .footer-newsletter .newsletter-form {
    flex-direction: column;
    gap: 12px;
  }

  .footer-newsletter input,
  .footer-newsletter button {
    width: 100%;
    border-radius: 5px;
  }

  .social-iconsfsm {
    justify-content: center;
  }

  footer {
    padding: 60px 10px 30px;
    font-size: 2rem;
  }

  .footer-links a, .footer-about p,
.footer-newsletter p{
    font-size: 1.2rem;
  }
}
/* footer ends */



  /* ========================= */
    /* Background Hero Section   */
    /* ========================= */
    .bg-container {
      position: relative;
      width: 100%;
      min-height: 100vh;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: flex-start;
      padding-left: 5%;
    }

    .bg {
      position: absolute;
      inset: 0;
      background-size: cover;
      background-position: center;
    }

    .bg1 {
      background-image: url("../images/exphoto/1.webp"); /* back image */
      z-index: 0;
    }

    .bg2 {
      background-image: url("../images/4.webp"); /* top image */
      opacity: 0.5;
      z-index: 1;
    }

    /* Content over background */
    .bg-container .content {
      position: relative;
      z-index: 2;
      color: white;
      text-align: left;
      max-width: 700px;
    }

    .bg-container .content h1 {
      font-size: 3.5rem;
      font-weight: 800;
      font-family: "Rajdhani", sans-serif;
      line-height: 1.2;
      margin-bottom: 20px;
      text-shadow: 2px 4px 6px rgba(0,0,0,0.6);
    }

    .bg-container .content p {
      font-size: 1.5rem;
      margin-bottom: 30px;
      font-weight: 400;
      /* line-height: 1.6; */
      max-width: 600px;
      text-shadow: 2px 4px 6px rgba(0,0,0,0.6);
    }

    .btn-group {
      display: flex;
      gap: 15px;
    }

    /* Buttons */
    .btn {
      padding: 12px 28px;
      border-radius: 50px;
      font-size: 1.5rem;
      font-weight: 600;
      text-decoration: none;
      transition: all 0.3s ease;
    }

    .btn-primary {
      background: #e53935;       /* red */
      color: #fff;
    }
    .btn-primary:hover {
      background: #b71c1c;       /* deep red */
    }

   

    .btn-secondary {
      background: transparent;
      border: 2px solid #ff0000; /* red border */
      color: #fff;
      animation: glowRed 1s ease-in-out infinite alternate;
    }

    @keyframes glowRed {
      from {
        box-shadow: 0 0 5px #ff0000, 0 0 10px #ff0000;
      }
      to {
        box-shadow: 0 0 15px #272727, 0 0 30px #4e1414;
      }
    }

    
    .btn-secondary:hover {
      background: #fff;
      color: #e53935;
      animation: none;
    }

    /* Wave divider */
    .custom-shape-divider-bottom {
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      overflow: hidden;
      line-height: 0;
      transform: rotate(180deg);
      z-index: 3;
    }
    .custom-shape-divider-bottom svg {
      position: relative;
      display: block;
      width: calc(155% + 1.3px);
      height: 217px;
      transform: rotateY(180deg);
    }
    .custom-shape-divider-bottom .shape-fill {
      fill: #b91a1ad0;
      animation: waveMove 6s ease-in-out infinite;
    }
    .custom-shape-divider-bottom path:nth-child(1) { animation-delay: 0s; }
    .custom-shape-divider-bottom path:nth-child(2) { animation-delay: 2s; }
    .custom-shape-divider-bottom path:nth-child(3) { animation-delay: 4s; }

    @keyframes waveMove {
      0%   { transform: translateY(0); }
      50%  { transform: translateY(15px); }
      100% { transform: translateY(0); }
    }

    /* Example content section after wave */
    .headcard {
      width: 100vw;
      margin-top: 50px;
      margin-bottom: 50px;
      padding: 10px;
      display: flex;
      justify-content: center;
      align-items: center;
      min-height: 50vh;
      background-color: rgb(207, 207, 207);
      box-shadow: -1px 0px 41px 1px rgba(0, 0, 0, 0.671);
      -webkit-box-shadow: -1px 0px 41px 1px rgba(0, 0, 0, 0.644);
      -moz-box-shadow: -1px 0px 41px 1px rgba(0, 0, 0, 0.637);
    }
    .headcard h1 {
      font-size: 8rem;
      color: rgb(255, 17, 17);
      /* font-family: 'Barlow Condensed', sans-serif; */
      /* font-weight: 300; */
    }
    
    .headcard h1 span {
      color: rgb(22, 0, 0);
    }

    @media only screen and (max-width: 550px) {
      .custom-shape-divider-bottom svg {
        height: 100px;
      }

      .headcard h1 {
        font-size: 6rem;
        line-height: 4.5rem;
      }

      .headcard h1 span {
        font-size: 5rem;
      }
    }




/* Sub bg starts here */
/* ================================
   Background Container (Sub Page)
   ================================ */
.bg-container-sub {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* Background layers */
.bgsub {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.bg1sub {
  background-image: url("../images/exphoto/10.webp"); /* back image */
}

.bg2sub {
  background-image: url("../images/4.webp"); /* top image */
  opacity: 0.4; /* slightly transparent */
}

.nwh2 h2{
  color: white !important;
}
.nwh2 h2 span{
  color: rgb(255, 208, 0) !important;
}

.bgimg3{
  background-image: url("../images/2.webp"); /* top image */
}
/* Foreground content */
.content-sub {
  position: relative;
  z-index: 2;
  color: #000000c9;
  padding: 20px;
}

.content-sub h1 {
  font-size: 6rem;
  font-family: "Rajdhani", sans-serif;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.6);
  color: rgb(0, 0, 0);
}

.content-sub p {
  font-size: 1.8rem;
  margin: 10px 0;
  /* font-family: "Barlow Condensed", sans-serif; */
  text-shadow: 1px 1px 8px rgba(0,0,0,0.6);
  max-width: 1000px;
}

.content-sub p a:hover{
  border-left: 1px solid red;
  padding: 15px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .content-sub h1 {
    font-size: 3rem;
  }
  .content-sub p {
    font-size: 1.5rem;
    text-align: left;
  }
  
  .content-sub2 p {
    text-align: center;
  }

  .content-sub {
    padding: 10px;
  }
}

/* Sub bg ends here */





/* ebook page start */
.afeb-body {
  margin: 0;
  padding: 20px;
  margin-top: 70px;
  margin-bottom: 70px;
}

.afeb-heading {
  text-align: center;
  margin-bottom: 20px;
}

.afeb-table-container {
  max-width: 85vw;
  margin: 0 auto;
  overflow-x: auto;
  background: #fff;
  
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.afeb-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.afeb-table th,
.afeb-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

.afeb-table th {
  background-color: #be0d0d;
  color: white;
}

.afeb-table tbody tr:nth-child(odd) {
  background-color: #ebebeb; /* Light red */
}

.afeb-table tbody tr:nth-child(even) {
  background-color: #ffffff;
}

/* Title link styled like SN text */
.afeb-title-link {
  color: #1a1a1a; /* same as SN text */
  text-decoration: none;
  /* font-weight: 500; */
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
}
.afeb-title-link:hover {
  color: rgb(177, 0, 0);
}

.afeb-download {
  color: #363636;
  /* background: white; */
  padding: 8px 14px;
  /* border-radius: 30px; */
  text-decoration: none;
  font-size: 14px;
  transition: background 0.3s ease;
  display: inline-block;
  /* border: 1px solid grey; */
  font-family: Arial, Helvetica, sans-serif;
}

.afeb-download:hover {
  color: rgb(177, 0, 0);
}

/* Responsive adjustments */
@media (max-width: 600px) {
  /* hide SN + Download column headers */
  .afeb-table th:nth-child(1),
  .afeb-table th:nth-child(3) {
    display: none;
  }

  /* hide SN td */
  .afeb-table td:nth-child(1) {
    display: none;
  }

  .afeb-table {
    min-width: 100%;
  }

  .afeb-table td,
  .afeb-table th {
    padding: 14px 12px;
  }

  /* stack title & button */
  .afeb-table td:nth-child(2) {
    display: block;
    width: 100%;
    text-align: left;   /* ✅ Title left-aligned */
    margin-bottom: 10px;
  }

  .afeb-table td:nth-child(2) a {
    display: inline-block;
  }

  .afeb-table td:nth-child(3) {
    display: block;
    width: 100%;
    text-align: center; /* ✅ Button centered */
  }

  .afeb-table td:nth-child(3) .afeb-download {
    margin: 10px auto;
    font-size: 16px;
  }
}
/* ebook page ends */




/* hero 2 start */
.custom-shape-divider-bottom-1755982592 {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.custom-shape-divider-bottom-1755982592 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 120px; /* adjust as needed */
}

.custom-shape-divider-bottom-1755982592 .shape-fill {
    fill: #FFFFFF; /* match your section bg */
}
/* hero 2 ends */




/* prayer request page starts */

    .contact-section {
      display: flex;
      justify-content: center;
      align-items: stretch;
      min-height: 100vh;
      padding: 20px;
      gap: 20px;
      /* max-width: 1200px; */
    }

    .contact-img {
      flex: 1;
      background: url("../images/city/23.webp") no-repeat center center/cover;
      border-radius: 10px;
    }

    .contact-form {
      flex: 1;
      background: #fff;
      padding: 30px;
      max-width: 800px;
      /* box-shadow: 0 4px 20px rgba(0,0,0,0.08); */
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.281);
    }

    .contact-form h2 {
      margin-bottom: 20px;
      font-size: 24px;
      text-align: center;
    }

    .form-group {
      margin-bottom: 15px;
    }

    .form-group label {
      display: block;
      margin-bottom: 6px;
      font-size: 16px;
      color: rgb(65, 65, 65);
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
      width: 100%;
      padding: 12px;
      border: 1px solid #d1d1d1;
      border-radius: 6px;
      font-size: 14px;
      background: #f9f9f9;
    }

    .form-row {
      display: flex;
      gap: 15px;
    }
    .form-row .form-group {
      flex: 1;
    }

    .form-group textarea {
      resize: vertical;
      min-height: 120px;
    }

    .form-group button {
      width: 100%;
      padding: 14px;
      background: #b40d0d; /* red */
      color: #ffd2d2;
      border: none;
      border-radius: 6px;
      font-size: 20px;
      cursor: pointer;
      position: relative;
      overflow: hidden;
      font-family: unset;
    }


    .form-group button:hover {
      background: #7c0000; /* deep red */
    }

    /* Responsive */
    @media (max-width: 768px) {
      .contact-section {
        flex-direction: column;
      }
      .contact-img {
        width: 100%;           /* Full width on mobile */
        aspect-ratio: 16 / 9;  /* Auto height based on width */
        flex: none;            /* Prevent flex shrinking */
      }
      .form-row {
        flex-direction: column;
      }
    }

    .largimg{
        width: 100%;
    }

    .largimg img{
        width: 100%;
    }

    .shorttitle{
        width: 100%;
        min-height: 30px;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 20px;
        margin-bottom: 20px;
        background-color: rgb(255, 255, 255);
        padding: 10px;
    }

    .shorttitle h3{
        font-size: 2rem;
    }

    .subtitlep{
      display: flex;
      justify-content: center;
      align-items: center;
      width: 100%;
      min-height: 100px;
    }


 .shorttitle2 {
  width: 100%;
  min-height: 110vh;
  display: flex;
  justify-content: center;
  align-items: center;
  /* margin-top: 10px; */
  margin-bottom: 10px;
  /* background-color: rgb(255, 255, 255); */
  padding: 10px;
  /* Background image */
  background-image: url("../images/schools/13.webp");
  background-repeat: no-repeat;
  background-position: top;
  background-size: cover;
  position: relative; /* ✅ Needed for overlay */
  overflow: hidden;
  text-align: center;


  font-family: "Aladin", system-ui;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  color: #ffffff;
  margin: 0;
  /* text-shadow: 0 6px 18px rgba(0,0,0,0.45); */
}

/* ✅ Transparent overlay */
.shorttitle2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.514); /* white transparent overlay */
  z-index: 0; /* stays below the text */
}

.shorttitle2 h3 {
  /* font-size: 2rem; */
  position: relative;
  z-index: 1; /* text stays above overlay */
  color: white;
}


/* prayer request page ends */



/* social media icons start */
    .social-boxn1 {
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.164);
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 15px;
      max-width: 95vw;
    }
    
    .social-boxn1:hover {
      box-shadow: none;
      transition: 0.5s ease-in;
    }

    .social-boxn1 a {
      width: 70px;
      height: 70px;
      /* border-radius: 50%; */
      border-top-right-radius: 30px;
      display: flex;
      justify-content: center;
      align-items: center;
      background: #ffffff;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.281);
      text-decoration: none;
      transition: 0.3s;
      /* color: #000; */
      margin: 10px;
    }

    .social-boxn1 a:hover {
      transform: scale(1.1);
      box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
      border-top-right-radius: 0;
    }

    .social-boxn1 i {
      font-size: 30px;
      color: rgb(255, 0, 0);
    }

    .social-boxn1 i:hover {
      font-size: 30px;
      color: rgb(44, 44, 44);
    }

    /* Mobile (shrink sizes) */
    @media (max-width: 600px) {
      .social-boxn1 a {
        width: 45px;
        height: 45px;
        margin: 3px;
      }
      .social-boxn1 i {
        font-size: 20px;
      }
    }

    /* Tablet (medium size) */
    @media (min-width: 601px) and (max-width: 1024px) {
      .social-boxn1 a {
        width: 55px;
        height: 55px;
      }
      .social-boxn1 i {
        font-size: 24px;
      }

      .shorttitle h3{
        font-size: 1.5rem;
      }
    }

    /* Brand colors */
    .youtuben1   { color: #FF0000; }
    .twittern1   { color: #000000; }
    .facebookn1  { color: #1877F2; }
    .instagramn1 { color: orangered; }
    .tiktokn1 { color: #000; }
/* social media icons ends */




/* responsive table starts */
  .tablecv {
      background: #fff;
      margin: 0;
      padding: 20px;
      display: flex;
      justify-content: center;
    }

    .table-container {
      max-width: 800px;
      width: 100%;
      overflow-x: auto; /* ✅ Responsive scroll if needed */
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
      border-radius: 8px;
      background: #fff;
    }

    table {
      width: 100%;
      border-collapse: collapse;
      min-width: 600px;
    }

    thead {
      background-color: #cc1100; /* Light red theme */
      color: #fff;
    }

    th, td {
      padding: 12px 15px;
      text-align: left;
      /* border-bottom: 1px solid #f4cccc; */
    }

    tbody tr:nth-child(even) {
      background-color: #fceaea; /* softer red for alternating rows */
    }

    tbody tr:hover {
      background-color: #fde0dc; /* hover effect */
    }

    th {
      font-size: 20px;
    }

    td {
      font-size: px;
    }

    @media (max-width: 600px) {
      th, td {
        padding: 10px;
        font-size: 22px;
      }
    }
/* responsive table ends */






/* port folio starts */
.affin9-container {
  width: 100%;
  margin: auto;
}
.affin9-title {
  font-size: 24px;
  text-align: center;
  margin: 20px 0;
  font-family: "Rajdhani", sans-serif;
  font-weight: 300;
  color: black;
}
/* Gallery Grid */
.affin9-grid {
  display: grid;
  gap: 15px;
  margin: 20px 0;
  grid-template-columns: repeat(4, 1fr); /* 4 per row on desktop */
}

.affin9-card {
  border: 1px solid #f7f7f7;
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  padding: 10px;
  background: #f9f9f9;
  cursor: pointer;
  transition: box-shadow 0.3s ease;
}

.affin9-card:hover {
  box-shadow: 5px 5px 10px rgba(143, 143, 143, 0.514);
}

.affin9-card img {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 1px solid #ddd;
}

/* Video grid */
.affin9-video {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}

.affin9-video iframe {
  width: 100%;
  height: 200px;
}

/* Modal */
.affin9-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}

.affin9-modal-content {
  max-width: 90%;
  max-height: 90%;
}

.affin9-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 30px;
  color: white;
  cursor: pointer;
}

/* Gallery button */
.gallerybtn {
  text-decoration: none;
  color: rgb(59, 59, 59);
  width: 100%;
  text-align: right;
  font-size: 16px;
}

.gallerybtn:hover {
  color: rgb(189, 0, 0);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .affin9-grid {
    grid-template-columns: repeat(3, 1fr); /* 3 per row on tablets */
  }
}

@media (max-width: 768px) {
  .affin9-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 per row on mobile */
  }

  .affin9-video {
    grid-template-columns: repeat(1, 1fr); /* 1 per row on mobile */
  }
}



/* video display start */
section.video-section {
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 40px 20px;

      /* 🔥 Gradient overlay + transparent background image */
      background: 
        linear-gradient(135deg, rgba(0, 0, 0, 0.432), rgba(0, 0, 0, 0.623)),
        url("../images/mobilities/16.webp");
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      margin-top: -20px;
    }

    .video-container {
      position: relative;
      width: 80%;
      max-width: 900px;
      border-radius: 15px;
      overflow: hidden;
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
      background: #000;
    }

    .video-container video {
      width: 100%;
      height: auto;
      display: block;
    }

    /* Optional: border glow */
    .video-container::after {
      content: "";
      position: absolute;
      inset: 0;
      border: 3px solid rgba(255, 255, 255, 0.2);
      border-radius: 15px;
      pointer-events: none;
    }

    /* Mobile responsive */
    @media (max-width: 600px) {
      section.video-section {
        padding: 20px 10px;
      }
      .video-container {
        width: 100%;
        border-radius: 10px;
      }
    }
    
    
    
      /* youtube iframe */
    .video-container iframe {
      width: 100%;
      height: 500px; /* ✅ fixed height for desktop */
      display: block;
    }
    
    @media (max-width: 600px) {
      .video-container iframe {
        height: 250px; /* ✅ smaller height for mobile */
      }
    }

/* video display ends */




/* about affin ministries starts */
    .abt2cards {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      background: #f9f9f9;
      margin: 0;
      padding: 10px;
      display: flex;
      justify-content: center;
    }

    .card-containerfn {
      display: flex;
      width: 100%;
      background: #fff;
      padding: 10px;
      box-sizing: border-box;
      border-radius: 15px;
      overflow: hidden;
    }

    /* Left Image */
    .card-imagefn {
      flex: 0 0 40%;
    }

    .card-imagefn img {
      width: 100%;
      height: auto;
      object-fit: cover;
      display: block;
      border-radius: 15px 0 0 15px;
    }

    /* Right Text with background image + gradient */
    .card-contentfn {
      flex: 0 0 60%;
      padding: 30px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      background: 
        linear-gradient(rgba(46, 46, 46, 0.85), rgba(31, 31, 31, 0.85)), 
        url('../images/care2/17.webp');
      background-size: cover;
      background-position: bottom;
      background-repeat: no-repeat;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
      border-top-right-radius: 15px;
      border-bottom-right-radius: 15px;
      box-sizing: border-box;
    }
    
    .card-contentfn2 {
      background: 
        linear-gradient(rgba(255, 255, 255, 0.103), rgba(254, 242, 242, 0.205)), 
        url('../images/exphoto/10.jpg');
    }

    .card-contentfn h2 {
      margin: 0 0 0px;
      font-size: 4rem;
      color: #ff8e8e;
      /* font-family: 'Alex Brush', cursive; */
      font-weight: normal;
      padding-bottom: 10px;
    }

    .card-contentfn p {
      margin: 0;
      font-size: 1.8rem;
      color: #f8f8f8;
      /* font-family: 'Barlow Condensed', sans-serif; */
    }

    

    .dshr{
      width: 20%;
      border: 5px solid red;
      margin-top: 5%;
      margin-bottom: 5%;
    }

    /* Responsive */
    @media (max-width: 768px) {

      .card-containerfn {
        flex-direction: column;
        padding: 0;
        border-radius: 0;
        max-width: 100%;
      }

      .card-imagefn img {
        border-radius: 0;
        width: 100%;
      }

      .card-contentfn {
        flex: 0 0 auto;
        border-radius: 0;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
        padding: 10px; /* ✅ only 10px padding */
        margin: 0;
        width: 100%;
        box-sizing: border-box;
      }

      .card-contentfn h2,
      .card-contentfn p {
        word-wrap: break-word; /* ✅ prevent overflow */
      }
      
      .card-contentfn h2{
        margin: unset;
        font-size: 2.5rem;
      }
      
      .card-contentfn p {
        font-size: 1.6rem;
        line-height: unset;
        padding-bottom: 20px;
      }

      .smfontcc{
        font-size: 1.2rem !important;
      }
    }
/* about affin ministries ends */

/* home youtube iframe starts */
.video-wrapper-ytiframe {
    width: 100%;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('../images/photos/10.webp');
    background-size: cover;
    background-position: center;
    padding: 40px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 0;
}

.iframe-container-ytiframe {
    width: 90vw;
    max-width: 1200px;
    position: relative;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    height: 0; /* Standard for aspect ratio */
    overflow: visible;
    border-radius: 12px; /* Rounded corners on container */
    box-shadow: 0 4px 20px rgba(0,0,0,0.2); /* Shadow on container */
}

.iframe-container-ytiframe iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 0; /* No border-radius on iframe */
    box-shadow: none; /* No shadow on iframe */
    transform: none !important; /* Prevent transform issues */
    z-index: 1; /* Ensure iframe is above background */
}
/* home youtube iframe ends */


  .ccemail{
      width: 100%;
      min-height: 200px;
      margin-top: -10px;
      margin-bottom: 10px;
      background-color: rgb(255, 255, 255);
      color: rgb(247, 0, 0);
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 10px;
      font-size: 2rem;
      font-family: 'Poppins', sans-serif;
      font-weight: 700;
  }

  .ccemail P a i{
    color: rgb(255, 255, 255);
  }
  .ccemail P{
    max-width: 600px;
  }




/* new layout style starts */
  .layoutx1{
      width: 100%;
      min-height: 50px;
      padding-top: 10px;
      padding-bottom: 10px;
  }

  .layoutx1 img{
      width: 100%;
      height: auto;
  }

  .layoutx1 p{
      padding: 25px;
      margin-top: 15px;
      padding-left: 5vw;
      padding-right: 5vw;
      color: rgb(85, 85, 85);
      width: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      font-family: Arial, Helvetica, sans-serif;
      font-size: 1.3rem;
  }

  .layoutx1 p span{
      /* font-size: 24px; */
      max-width: 900px;
  }

  
  
  @media only screen and (max-width: 800px) {
    .layoutx1 p{
      padding-left: unset;
      padding-right: unset;
      padding: 20px;
      margin-top: 5px;
    }

    .layoutx1 p span{
      font-size: 22px;
    }

  .withbg{
    background-color: rgb(255, 0, 0);
  }

    .withbg span{
      color: rgba(255, 255, 255, 0.877) !important;
    }
  }

  .withbg{
    background-color: rgb(255, 0, 0);
  }

  .withbg span{
    color: rgba(255, 255, 255, 0.877) !important;
  }

/* new layout style ends */






/* what we believe card starts */
section.vswwb {
  padding: 80px 20px;
  max-width: 1300px;
  margin: auto;
}

section.vswwb h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 50px;
  color: #8b0000;
  position: relative;
}

section.vswwb h2::after {
  content: "";
  width: 80px;
  height: 4px;
  background: #ff0000;
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
}

.gridvswwb {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.vscolor2 h2{
  color: #9c0a0a !important;
}

/* Ensure the last two cards in the last row span the remaining columns (desktop only) */
@media(min-width: 769px) {
  .gridvswwb > :nth-last-child(2),
  .gridvswwb > :nth-last-child(1) {
    grid-column: span 2;
  }
}

.cardvswwb {
  background: #0c0d18b7;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.74);
  text-align: center;
  transition: 0.4s;
}

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

.cardvswwb i {
  font-size: 40px;
  color: #ff0000;
  margin-bottom: 15px;
}

.cardvswwb h3 {
  font-size: 20px;
  color: #ffd900;
  margin-bottom: 10px;
  font-family: 'Segoe UI', sans-serif;
}

.cardvswwb p {
  font-size: 16px;
  line-height: 1.6;
  font-family: 'Segoe UI', sans-serif;
  color: #ffffffc7;
}

@media(max-width: 768px) {
  section.vswwb { 
    padding: 20px 0; /* remove side padding completely */
  }

  section.vswwb h2 { 
    font-size: 28px; 
    padding: 0 10px; /* keep heading readable */
  }

  .gridvswwb {
    grid-template-columns: 1fr; /* 1 card per row */
    gap: 10px; /* tighter gap */
    padding: 0 10px; /* just 10px left/right */
    
  }

  /* Remove forced span on small screens */
  .gridvswwb > * {
    grid-column: auto !important;
  }

  .cardvswwb {
    padding: 15px; /* tighter inside padding */
    width: 100%; /* take full width */
    margin-top: 10px;
  }

  .cardvswwb h3 {
    font-size: 18px;
  }

  .cardvswwb p {
    font-size: 18px;
  }
}

.vsbgwwb {
  background-color: rgb(255, 174, 0);
}

.vsbgwwb p {
  max-width: 800px;
}
/* What we believe card ends */




/* mission vision starts */
section.vs {
  padding: 80px 20px;
  max-width: 1300px;
  margin: auto;
}

section.vs h2 {
  text-align: center;
  font-size: 3.5rem;
  margin-bottom: 50px;
  color: #000000;
  position: relative;
  /* font-family: 'Segoe UI', sans-serif; */
}

section.vs h2::after {
  content: "";
  width: 80px;
  height: 4px;
  background: rgb(255, 0, 0);
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
}

.gridvs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.cardvs {
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.131);
  text-align: center;
  transition: 0.4s;
}

.cardvs:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.007);
}

.cardvs i {
  font-size: 40px;
  color: #ff0909;
  margin-bottom: 15px;
}

.cardvs h3 {
  font-size: 20px;
  color: #000000e3;
  margin-bottom: 10px;
  font-family: 'Segoe UI', sans-serif;
}

.cardvs p {
  font-size: 16px;
  line-height: 1.6;
  font-family: 'Segoe UI', sans-serif;
  color: #292929;
}

@media (max-width: 768px) {
  section.vs {
    padding: 50px 15px;
  }

  section.vs h2 {
    font-size: 30px;
  }

  .cardvs p {
  font-size: 18px;
  line-height: 1.6;
}
}

.vsbg {
  background-color: rgb(255, 255, 255);
}

.vsbg p {
  max-width: 800px;
  color: rgb(77, 77, 77);
  font-size: 30px;
}

@media only screen and (max-width: 500px) {
  .vsbg p {
    font-size: 25px;
}

}

/* mission vision ends */


/* donat online home starts */

.im22{
  width: 100%;
  height: 300px;
  background-color: #2b2525;
  color: rgb(255, 255, 255);
  display: flex;
  justify-content: center;
  align-items: center;
}


.im223{
  width: 100%;
  height: 300px;
  background-color: #4d0101;
  display: flex;
  justify-content: center;
  align-items: center;
}

.im223 p{
  max-width: 500px;
  color: white;
}

.cktg{
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -30px;
  background-color: rgb(165, 0, 0);
  overflow-y: hidden;;
}

.ovf{
  height: 20%;
  display: flex;
  align-items: center;
  justify-content: center;
}



.containertv {
  position: relative;
  width: 95%;
}



.overlaytp {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #000000ab;
  overflow: hidden;
  width: 100%;
  height: 5%;
  transition: .5s ease;
}

.containertv:hover .overlaytp {
  height: 100%;
}

.textun {
  color: white;
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 100%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
}

.xlll{
  font-size: 2rem;
  font-family: 'Rajdhani', sans-serif;
}


.stretchbg{
  background: #fa0000;
  background: linear-gradient(90deg, rgba(250, 0, 0, 1) 0%, rgba(206, 1, 1, 1) 0%, rgba(102, 5, 5, 1) 50%, rgba(255, 28, 28, 1) 100%, rgba(158, 0, 0, 1) 100%);
  width: 100vw;
  min-height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.stretchbg p{
  color: rgba(255, 255, 255, 0.76);
  max-width: 600px;
  font-size: 1.5rem;
  text-align: center;
}

@media (max-width: 556px) {
  .xlll{
    font-size: 1.2rem;
  }

}

.banner-btn2{
  border: none;
  background-color: white;
  color: rgb(0, 0, 0);
  padding: 10px;
  padding-left: 30px;
  padding-right: 30px;
  border-radius: 30px;
}


.banner-btn2:hover{
  transition: 0.5s ease-in-out;
  background-color: rgb(0, 0, 0);
  color: rgb(255, 255, 255);
}

/* donat online home ends */




.largefontcc h3{
  font-size: 10rem;
  /* font-family: 'Great Vibes', cursive; */
  line-height: 1.1;
}

.largefontcc{
  font-size: 10rem;
  line-height: 1.1;
}

.largefontcc3 h3 {
  font-size: 10rem;
  line-height: 1.1;
}

.largefontcc3 p{
  color: rgba(255, 13, 13, 1);
  font-size: 3rem;
}


@media only screen and (max-width: 648px) {
  .largefontcc h3{
    font-size: 5rem;
    font-family: 'Great Vibes', cursive;
    line-height: 1.1;
  }

  .largefontcc{
    font-size: 5rem;
    font-family: 'Great Vibes', cursive;
    line-height: 1.1;
  }

  .largefontcc3 h3 {
    font-size: 5rem;
    line-height: 1.1;
  }

  .largefontcc3 p{
    color: rgb(255, 187, 0);
    font-size: 1.8rem;
  }
}


.lmbtn{
  width: 100%;
  justify-content: center;
  align-items: center;
  display: flex;
  margin-top: 30px;
  margin-bottom: 30px;
}


.lmbtn a {
    display: inline-block;
    padding: 12px 150px;
    font-size: 16px;
    font-family: Arial, Helvetica, sans-serif;
    text-decoration: none;
    color: #1f1f1f;
    border-radius: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    background-color: rgba(255, 0, 0, 0.212);
}

.lmbtn a:hover {
    background-color: rgba(255, 0, 0, 0.438);
}

.lmbtn a:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}


@media only screen and (max-width: 900px) {
  .lmbtn a {
    padding: 12px 50px;
    font-size: 20px;
    font-weight: unset;
  }
}


.noebook{
  text-align:center;
  color:#575757; 
  font-size: 20px;
  padding: 20px;
  width: 100%;
}



/* home floating icon starts */
.hfloating-divbt {
  width: 500px;
  height: 500px;
  position: fixed;
  top: 20%;
  right: -12vw;
  display: flex; 
  z-index: 1000000;
  justify-content: center;
  align-items: center;
}


.hfloating-divbt img{
  width: 40vw;
  /* filter: brightness(90%); */
}

@media only screen and (max-width: 1334px) {
  .hfloating-divbt {
    top: 35%;
  }
}

@media only screen and (max-width: 1150px) {
  .hfloating-divbt {
    right: -20vw;
  }
}

@media only screen and (max-width: 1000px) {
  .hfloating-divbt {
    right: -30vw;
  }
}

@media only screen and (max-width: 531px) {
  .hfloating-divbt {
    right: -35vw;
  }

  .hfloating-divbt img{
    width: 60vw;
  }
}

@media only screen and (max-width: 468px) {
  .hfloating-divbt {
    right: -50vw;
    top: 35%;
  }
}

@media only screen and (max-width: 440px) {
  .hfloating-divbt {
    right: -55vw;
    top: 35%;
  }
}

@media only screen and (max-width: 378px) {
  .hfloating-divbt {
    right: -60vw;
    top: 40%;
  }
}
/* floating icon ends */



/* back to top starts */
.floating-divbt {
  width: 50px;
  height: 50px;
  position: fixed;
  top: 90%;
  right: -2px;
  display: none; /* Initially hidden */
  z-index: 1000000;
  box-shadow: 0 5px 10px rgba(99, 99, 99, 0.377);
  cursor: pointer;
  /* color: rgb(255, 0, 0); */
  justify-content: center;
  align-items: center;
  text-align: center;
  border-bottom-left-radius: 50%;
  border-top-left-radius: 50%;
  /* border-radius: 50%; */
  background-color:rgba(255, 255, 255, 0.568);
  color: rgb(0, 0, 0);
}

.floating-divbt:hover {
  background-color:rgba(255, 0, 0, 0.687);
  box-shadow: 0 5px 10px rgba(99, 99, 99, 0.637);
  color: rgb(255, 255, 255);
  box-shadow: none;
}
/* back to top ends */


.ptccx{
  margin-top: -20px;
  background-color: rgb(148, 24, 24) !important;
  
}

.ptccx p span{
  color: white !important;
}


/* 404 page starts */
 .error40-container {
      background: #1a1a1a;
      margin: 0;
      padding: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      height: 100vh;
      text-align: center;
      color: #fff;
    }
    .error40-box {
      max-width: 600px;
      padding: 40px;
    }
    .error40-code {
      font-size: 140px;
      font-weight: bold;
      color: #f50000; /* deep red */
      margin-bottom: 10px;
    }
    .error40-message {
      font-size: 22px;
      color: #ddd;
      margin-bottom: 25px;
    }
    .error40-actions a {
      display: inline-block;
      padding: 12px 28px;
      margin: 8px;
      border-radius: 30px;
      text-decoration: none;
      font-weight: bold;
      color: #d1a3a3;
      background: #cc0000;
      box-shadow: 0 4px 12px rgba(204,0,0,0.4);
      transition: background 0.3s ease, transform 0.2s ease;
    }
    .error40-actions a:hover {
      background: #990000;
      transform: translateY(-3px);
    }
/* 404 page ends */







/* pagination starts */
.paginationcl {
  width: 100%;
  min-height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
}

.paginationcl ul {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  list-style: none;
}

.paginationcl ul li {
  background-color: #fff;
  margin: 0 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  border-radius: 5px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.paginationcl ul li:hover {
  box-shadow: none;
  border: 1px solid #ccc;
}

.paginationcl ul li a {
  display: block;
  padding: 8px 15px;
  color: #000;
  text-decoration: none;
  font-size: 14px;
  text-align: center;
  transition: color 0.3s ease, background 0.3s ease;
}

.paginationcl ul li a:hover {
  color: #fff;
  background-color: #ff2e13;
  border-radius: 5px;
}

/* active page styling */
.paginationcl ul li.active a {
  color: #fff;
  background-color: #ff2b0f;
  pointer-events: none;
  border-radius: 5px;
}

/* pagination ends */





.affin9-grid {
  display: grid;
  grid-template-columns: 1fr; /* mobile default = 1 card per row */
  gap: 20px; /* spacing between cards */
  margin: 20px 0;
}

.affin9-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: transform 0.2s ease;
}

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

/* Make iframes responsive */
.affin9-card iframe {
  width: 100%;
  height: 250px;
  border: none;
  display: block;
}

/* Desktop: 2 cards per row */
@media (min-width: 768px) {
  .affin9-grid {
    grid-template-columns: 1fr 1fr;
  }
}




.spaceup{
  width: 100%;
  min-height: 92px;
}

.spaceup2{
  width: 100%;
  min-height: 72px;
}


@media only screen and (max-width: 400px) {
  .spaceup2{
    min-height: 80px;
  }  
}





.presentbg{
  background-color: rgb(255, 0, 0);
  padding: 20px;
  border-radius: 20px;
}








/* new contact pg section starts */

.newcic{
  padding-top: 30px;
  padding-bottom: 30px;
  background-color: rgba(255, 0, 0, 0.021);
}

.contact-container-afs25 {
  min-width: 88vw;
  background: #ffffff;
  padding: 10px;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  min-height: 400px;
  padding-top: 50px;
  padding-bottom: 50px;
}
.contact-container-afs25 h2 {
  font-size: 32px;
  /* font-weight: 600; */
  color: #222;
  margin-bottom: 10px;
  
}

.contact-container-afs25 p.subtitle-afs25 {
  font-size: 18px;
  color: #666;
  margin-bottom: 40px;
}
.contact-box-afs25 {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 20px; /* adds even spacing between cards */
}

.contact-info-afs25 {
  flex: 1 1 calc(33.333% - 20px); /* ensures max 3 per row */
  min-width: 280px;
  background-color: rgba(255, 126, 14, 0.075);
  padding: 25px 15px 35px;
  box-sizing: border-box;
}
.contact-info-afs25 i {
  font-size: 28px;
  color: #ff4d4d;
  margin-bottom: 10px;
}
.contact-info-afs25 h3 {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  font-family: 'Poppins', sans-serif;
}
.contact-info-afs25 p {
  font-size: 16px;
  line-height: 1.6;
  color: #3a3a3a;
  font-family: 'Poppins', sans-serif;
}
.email-afs25 a {
  color: #ff4d4d;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-weight: bold;
}
.email-afs25 a:hover {
  text-decoration: underline;
}
@media (max-width: 768px) {
  .contact-box-afs25 {
      flex-direction: column;
      margin-right: 10px;
  }
}


@media only screen and (max-width: 392px) {
  .contact-info-afs25 {
    flex: 1 1 calc(33.333% - 20px); /* ensures max 3 per row */
    min-width: 200px !important;
    max-width: 350px !important;
    background-color: rgb(255, 223, 223);
    padding: 25px 15px 35px;
    box-sizing: border-box;
  }

  .contact-info-afs25 p {
    font-size: 14px;
  }
}


/* new contact pg section ends */




/* testimony page starts */
/* ===== Carousel Wrapper ===== */
.carousel-affints {
  position: relative;
  min-height: 100vh; /* at least full screen */
  height: auto;      /* allow it to grow if content is longer */
  overflow: hidden;
}

/* Background images that fade */
.bg-affints {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.bg-affints.active {
  opacity: 1;
  z-index: 1;
}

/* Dark overlay */
.overlay-affints {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 2;
}

/* Content (testimonies) */
.content-wrapper-affints {
  position: relative;
  z-index: 3;
  min-height: 100vh; /* take at least full viewport height */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 20px;
}

.content-affints {
  max-width: 700px;
  height: 100%;
}

.content-affints h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  font-family: Arial, sans-serif;
}

.testifier-affints {
  color: black;
  background-color: rgba(255, 255, 255, 0.815);
  padding: 15px;
  font-weight: bold;
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.content-affints p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  line-height: 1.5;
  font-family: Arial, sans-serif;
}

/* Shake animation */
@keyframes shake-affints {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-8px); }
  40% { transform: translateX(8px); }
  60% { transform: translateX(-6px); }
  80% { transform: translateX(6px); }
}

.shake-affints {
  animation: shake-affints 0.6s;
}

/* Navigation */
.prev-affints, .next-affints {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.5rem;
  background: none;
  border: none;
  color: rgb(255, 255, 255);
  cursor: pointer;
  padding: 10px;
  transition: color 0.3s;
  z-index: 4;
}

.prev-affints:hover, .next-affints:hover {
  color: red;
}

.prev-affints { left: 20px; }
.next-affints { right: 20px; }

/* Bottom controls */
.controls-affints {
  text-align: center;
  position: absolute;
  bottom: 20px;
  width: 100%;
  z-index: 4;
}

.pause-btn-affints {
  background: red;
  color: white;
  padding: 8px 15px;
  border: none;
  border-radius: 5px;
  margin-right: 15px;
  cursor: pointer;
  font-size: 0.9rem;
}

.pause-btn-affints:hover {
  background: darkred;
}

.dot-affints {
  height: 12px;
  width: 12px;
  margin: 0 5px;
  background-color: rgba(255,255,255,0.7);
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
}

.dot-affints.active {
  background-color: red;
}

/* ===== Testimony Form ===== */
.form-section-affints {
  background: #fdfdfd;
  padding: 60px 20px;
  text-align: center;
}

.form-section-affints h3 {
  font-size: 2.2rem;
  margin-bottom: 10px;
  color: #222;
}

.form-intro-affints {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 30px;
  font-family: Arial, Helvetica, sans-serif;
}

.form-card-affints {
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
  width: 100%; /* ensure full stretch on small screens */
}

.form-group-affints {
  margin-bottom: 20px;
}

.form-group-affints label {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
  color: #444;
  font-family: Arial, sans-serif;
}

.form-group-affints input,
.form-group-affints textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: border 0.3s, box-shadow 0.3s;
  resize: none;
  font-family: Arial, sans-serif;
}

.form-group-affints input:focus,
.form-group-affints textarea:focus {
  border-color: red;
  box-shadow: 0 0 8px rgba(255,0,0,0.3);
  outline: none;
}

.form-card-affints button {
  display: inline-block;
  width: 100%;
  background: red;
  color: white;
  padding: 14px;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  font-family: Arial, sans-serif;
}

.form-card-affints button:hover {
  background: darkred;
  transform: translateY(-2px);
}

/* Section title */
.testh1{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 200px;
  color: rgb(255, 255, 255);
  background-color: rgb(158, 17, 17);
  z-index: 2;
  margin-bottom: 10px;
  font-family: 'Great Vibes', cursive;
  font-size: 7rem;
}

/* Responsive tweaks */
@media only screen and (max-width: 768px) {
  .form-card-affints {
    max-width: 90%;   /* expand form on tablets and small devices */
    padding: 30px;
  }
}

@media only screen and (max-width: 469px) {
  .testh1 {
    font-size: 4rem;
  }
  .form-card-affints {
    max-width: 100%; /* full width on very small phones */
    padding: 20px;
    border-radius: 8px;
  }

}


@media only screen and (max-width: 609px) {
 
  .prev-affints, .next-affints {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.205);
  }
}
/* testimony page ends */







/* happy customers starts */
.card-sectiongcup {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 0px;
      padding: 50px 20px;
      background: #ff000017;
      justify-items: center;
      margin-top: -30px;
    }

    .cardgcup {
      width: 220px;
      height: 220px;
      border-top-left-radius: 30%;
      /* border-top-right-radius: 50%; */
      background-color: #ffffff;
      box-shadow: 0 10px 10px rgba(0, 0, 0, 0.24); /* deeper red shadow */
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      position: relative;
      overflow: hidden;
      transition: background 0.4s, color 0.4s;
    }
    
    .cardgcup:hover {
      box-shadow: 0 20px 20px rgba(0, 0, 0, 0); 
    }

    .cardgcup h1 {
      margin: 0;
      font-size: 2.2rem;
      position: relative;
      color: #000;
      transition: color 0.4s;
    }

    .cardgcup h1::after {
      content: "";
      display: block;
      width: 50%;
      height: 4px;
      background: rgb(255, 3, 3);
      margin: 8px auto 0;
      transition: background 0.4s;
    }

    .cardgcup h2 {
      margin: 0;
      font-size: 2.2rem;
      position: relative;
      color: #000;
      transition: color 0.4s;
    }

    .cardgcup h2::after {
      content: "";
      display: block;
      width: 50%;
      height: 4px;
      background: red;
      margin: 8px auto 0;
      transition: background 0.4s;
    }

    .cardgcup p {
      margin: 10px 0 0;
      font-size: 1rem;
      color: #000000;
      line-height: 1.4;
      transition: color 0.4s;
      /* font-family: Arial, Helvetica, sans-serif; */
    }

    /* Hover effect */
    .cardgcup::before {
      content: "";
      position: absolute;
      top: var(--y, 0);
      left: var(--x, 0);
      width: 0;
      height: 0;
      border-radius: 50%;
      background: rgb(185, 62, 62);
      transform: translate(-50%, -50%);
      transition: width 0.6s ease, height 0.6s ease;
      z-index: 0;
    }

    .cardgcup:hover::before {
      width: 300%;
      height: 300%;
    }

    .cardgcup:hover h1,
    .cardgcup:hover p {
      color: #fff;
    }

    .cardgcup:hover h1::after {
      background: #fff;
    }

    .cardgcup * {
      position: relative;
      z-index: 1;
    }

    .bgcolorcccontrol{
      background-color:  #202020 !important;
      color: rgb(255, 190, 94) !important;
    }

    /* Mobile: 2 per row */
    @media (max-width: 768px) {
      .card-sectiongcup {
        grid-template-columns: repeat(2, 0.5fr);
        gap: 20px;
        padding: 50px 5px;
      }

      /* center the last card if itâ€™s alone */
      .card-sectiongcup > .cardgcup:last-child:nth-child(odd) {
        grid-column: span 2;
        justify-self: center;
      }
    }

    /* Small mobile: make cards smaller */
    @media (max-width: 480px) {
      .cardgcup {
        width: 160px;
        height: 160px;
      }
      
      .cardgcup h1 {
        font-size: 28px;
      }
    }

/* happy customers ends */




/* schools page added css start */
.covf19 {
  width: 100%;
  min-height: 300px;
  background-color: #d30000;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgb(255, 255, 255);
  text-align: center;
  font-size: 3rem;
  padding: 10px;
  /* font-family: 'Teko', sans-serif; */
}


@media only screen and (max-width: 500px) {
  .covf19 {
    min-height: 200px;
    font-size: 1.5rem;
  }
}


.affinss2-hero {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}



.affinss2-hero h1 {
  font-size: 3em;
  font-weight: 700;
  background-color: rgba(0, 0, 0, 0.74);
  padding: 20px;
  border-radius: 10px;
}


.sectionwtext2{
  padding: 15px;
  width: 100%;
  background-color: rgb(221, 221, 221);
  margin-bottom: 30px;
  padding-bottom: 50px;
}

.sectionwtext2 h3{
  padding-top: 30px;
  /* margin-top: 20px; */
  color: red;
}

.sectionwtext2 p{
  font-size: 25px;
  max-width: 800px;
  padding-top: 20px;
  color: black;
}
/* 3 cards 2 ends */

/* schools page added css ends */





/* mtestimony video and photos ends */
/* === PHOTO SECTION === */
.card-container-nts {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  width: 90vw;
  max-width: 1400px;
  margin: 40px auto;
  padding: 0 10px;
}

/* Default: 4 cards per row (desktop ≥1024px) */
.card-nts {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: inset 4px 4px 8px rgba(0,0,0,0.1),
              inset -4px -4px 8px rgba(255,255,255,0.7),
              0 4px 12px rgba(0,0,0,0.15);
  flex: 1 1 calc(25% - 20px); /* 4 per row */
  min-width: 220px; /* Prevents collapse on small screens */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-nts:hover {
  transform: translateY(-6px);
  box-shadow: inset 4px 4px 8px rgba(0,0,0,0.05),
              inset -4px -4px 8px rgba(255,255,255,0.8),
              0 8px 20px rgba(0,0,0,0.25);
}

.card-nts img {
  width: 100%;
  display: block;
  height: auto;
  cursor: pointer;
}

.card-nts p {
  margin: 15px;
  text-align: center;
  color: #333;
  font-size: 1.2rem;
}

/* Tablet & Mobile: 2 per row (≤1023px) */
@media (max-width: 1023px) {
  .card-nts {
    flex: 1 1 calc(50% - 20px); /* 2 per row */
  }
}

/* Small phones: still 2 per row, but tighter spacing */
@media (max-width: 480px) {
  .card-container-nts {
    gap: 15px;
    width: 95vw;
  }
  .card-nts {
    flex: 1 1 calc(50% - 15px); /* Maintain 2 per row */
    min-width: 140px; /* Allow smaller cards on tiny screens */
  }
  .card-nts p {
    font-size: 1rem;
    margin: 10px;
  }
}

/* Modal remains unchanged */
.modal-nts {
  display: none; 
  position: fixed; 
  z-index: 9999; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
}

.modal-content-nts {
  position: relative;
  animation: zoomIn-nts 0.4s ease;
}

.modal-content-nts img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  display: block;
  margin: 0 auto;
}

.close-nts {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #fff;
  border: none;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

@keyframes zoomIn-nts {
  from {transform: scale(0.7); opacity: 0;}
  to {transform: scale(1); opacity: 1;}
}

    /* === VIDEO SECTION === */

    .card-container-tsvid {
      display: flex;
      gap: 20px;
      flex-wrap: wrap;
      justify-content: center;
      width: 90vw;
      margin: 40px auto;
    }

    .card-tsvid {
      background: #fff;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: inset 4px 4px 8px rgba(0,0,0,0.1),
                  inset -4px -4px 8px rgba(255,255,255,0.7),
                  0 4px 12px rgba(0,0,0,0.15);
      flex: 1 1 calc(50% - 20px); /* 2 per row */
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .card-tsvid:hover {
      transform: translateY(-6px);
      box-shadow: inset 4px 4px 8px rgba(0,0,0,0.05),
                  inset -4px -4px 8px rgba(255,255,255,0.8),
                  0 8px 20px rgba(0,0,0,0.25);
    }

    .card-tsvid video {
      width: 100%;
      display: block;
      border-bottom: 1px solid #eee;
      cursor: pointer;
      background: #000;
    }

    .card-tsvid p {
      margin: 15px;
      text-align: center;
      color: #333;
      font-size: 1.2rem;
    }

    @media (max-width: 768px) {
      .card-tsvid {
        flex: 1 1 100%;
      }
    }



    /* pagination */
    .pagination-pagnts {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 30px 0;
    flex-wrap: wrap; /* wrap for small screens */
  }

  .pagination-pagnts a {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 8px;
    background: #fff;
    color: #333;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    font-size: 1rem;
  }

  .pagination-pagnts a:hover {
    background: #4f46e5; /* nice indigo */
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.2);
  }

  .pagination-pagnts .active-pagnts {
    background: #4f46e5;
    color: #fff;
    font-weight: bold;
    pointer-events: none;
  }

  .pagination-pagnts .prev-pagnts,
  .pagination-pagnts .next-pagnts {
    font-weight: bold;
    font-size: 1.1rem;
  }

  @media (max-width: 480px) {
    .pagination-pagnts a {
      padding: 8px 12px;
      font-size: 0.9rem;
    }
  }
    /* testimony video and photos ends */






    /* 4 long cards starts */
    .affinbl-wrapper {
    margin:0;
    font-family:Arial, sans-serif;
    background:#f4f4f4;
  }

  .affinbl-cards-section {
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap: 10px;
    padding:20px;
  }
  @media(max-width:900px){
    .affinbl-cards-section{grid-template-columns:repeat(2,1fr);}
  }
  @media(max-width:600px){
    .affinbl-cards-section{
      grid-template-columns: 1fr;
      gap: 0;
      padding: 0;
      /* padding-bottom: 10px; */
    }
  }

  .affinbl-card {
    position:relative;
    min-height:85vh;
    overflow:hidden;
    background-size:cover;
    background-position:center;
    display:flex;
    align-items:flex-end;
    justify-content:center;
    color:#fff;
  }
  @media(max-width:600px){
    .affinbl-card{
      min-height:70vh;
      margin-top: 10px;
      margin-bottom: 10px;
    }
  }

  .affinbl-overlay {
    position:absolute;
    bottom:0;
    left:0;
    width:100%;
    height:40%;
    background:linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%);
    z-index:1;
  }

  .affinbl-card h1 {
    position:absolute;
    bottom:20%;
    left:50%;
    transform:translateX(-50%);
    margin:0;
    font-size:3rem;
    text-align:center;
    font-family:"Playfair Display", serif;
    font-weight:700;
    letter-spacing:1px;
    z-index:2;
  }

  /* Ultra-fast black blink */
  @keyframes affinbl-blinkBlack {
    0%,100% { background-color:transparent; }
    25%,75% { background-color:rgba(0,0,0,1); }
  }
  .affinbl-card:hover::after {
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    animation:affinbl-blinkBlack 0.15s linear 2;
    z-index:3;
  }
    /* 4 long cards ends */

    .welove {
      display: flex;
      justify-content: center;
      align-items: center;
      width: 100%;
      min-height: 200px;
      padding: 10px;
      background-color: rgb(199, 199, 199);
    }

    .welove h1{
      color: rgb(49, 10, 10);
      font-size: 6rem;
      font-weight: 800;
      font-family: "Rajdhani", sans-serif;
    }


    @media only screen and (max-width: 918px) {
      .welove h1{
        font-size: 4rem;
      }
    }



    @media only screen and (max-width: 500px) {
      .welove h1{
        font-size: 2rem;
      }

      .welove {
        min-height: 50px;
        padding: 10px;
      }
    }

    /* home news and stories starts */
    .affin4news-stories-section {
      /* font-family: "Barlow Condensed", sans-serif; */
      /* background: linear-gradient(135deg, #301d1a, #2f2e31); */
      background-color: white;
      color: #000000;
      padding: 60px 20px;
      box-shadow: 0 4px 18px rgba(15, 23, 42, 0.514);
    }

    .affin4news-stories-header {
      max-width: 1200px;
      margin: 0 auto 40px auto;
      text-align: left;
    }

    .affin4news-stories-header h2 {
      font-size: 6rem;
      font-weight: 700;
      margin-bottom: 10px;
    }

    .affin4news-stories-header p {
      font-size: 1.4rem;
      margin-bottom: 20px;
      color: #301616;
    }

    .affin4news-btn {
      display: inline-block;
      background: #ff0000;
      color: #fff;
      padding: 14px 28px;
      border-radius: 30px;
      font-weight: 600;
      text-decoration: none;
      transition: background 0.3s;
      font-size: 1.1rem;
    }

    .affin4news-btn:hover {
      background: #b60000;
    }

    .affin4news-stories-content {
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 60% 40%;
      gap: 40px;
    }

    /* Left big cards */
    .affin4news-stories-left {
      display: flex;
      flex-direction: column;
      gap: 15px;
    }

    .affin4news-stories-left-images {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 10px;
    }

    .affin4news-stories-left-images img {
      width: 100%;
      height: 70vh;
      object-fit: cover;
      display: block;
      border-bottom-left-radius: 20px;
    }

    /* Text box under images */
    .affin4news-stories-left-text {
      padding: 20px;
      color: #000000;
    }

    .affin4news-stories-left-text small {
      display: block;
      font-size: 1rem;
      letter-spacing: 1px;
      color: #6b6b6b;
      margin-bottom: 10px;
    }

    .affin4news-stories-left-text h3 {
      font-size: 2.2rem;
      font-weight: 700;
      margin: 0 0 8px 0;
    }

    .affin4news-date {
      font-size: 1rem;
      color: #ff3131;
    }

    /* Right side news list */
    .affin4news-stories-right {
      display: flex;
      flex-direction: column;
      gap: 15px;
    }

    .affin4news-story-item {
      display: flex;
      gap: 18px;
      align-items: flex-start;
    }

    .affin4news-story-item:hover {
      background-color: rgba(255, 0, 0, 0.13);
      border-top-right-radius: 20px;
    }

    .affin4news-story-item img {
      width: 260px; 
      height: auto;
      object-fit: cover;
      flex-shrink: 0;
      border-top-right-radius: 20px;
    }

    .affin4news-story-text {
      flex: 1;
    }

    .blogshortds{
      font-family: Arial, Helvetica, sans-serif;
      font-size: 1rem !important;
      color: rgb(75, 75, 75);
      display: -webkit-box;
      -webkit-line-clamp: 4;   /* number of lines */
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .affin4news-story-date {
      font-size: 1rem;
      color: #d80000;
      margin-bottom: 6px;
    }

    .affin4news-story-text p {
      margin: 0;
      font-size: 1.3rem;
      font-weight: 500;
      line-height: 1.5;
    }

    /* Responsive */
    @media(max-width: 900px) {
      .affin4news-stories-content {
        grid-template-columns: 1fr;
      }
      .affin4news-stories-right {
        margin-top: 20px;
      }
    }

    @media(max-width: 600px) {
      .affin4news-stories-left-images img:nth-child(2),
      .affin4news-stories-left-images img:nth-child(3) {
        display: none; /* remove 2nd and 3rd images */
      }
      .affin4news-stories-left-images {
        grid-template-columns: 1fr; /* only one image left */
      }
      .affin4news-stories-left-images img {
        height: 55vh;
        border-radius: 12px;
      }
      .affin4news-story-item {
        gap: 12px; /* reduce gap */
      }
      .affin4news-story-item img {
        width: 150px;
        height: 110px;
      }
      .affin4news-story-text p {
        font-size: 1.2rem;
      }
    }
    /* home news and stories ends */




    /* news and stories page start */
    
    /* ===== Page Wrapper ===== */
    .page-nsnews {
      max-width: 1200px;
      margin: 0 auto;
      padding: 24px;
      font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial;
      background: #f6f7fb;
      color: #111;
    }



    /* ===== Header ===== */

    .header-nsnews{
      text-align: center;
      width: 100%;
    }


    .header-nsnews h1 {
      font-size: 2.5rem;
      margin-bottom: 6px;
      color: rgb(0, 0, 0);
    }
    .header-nsnews p {
      color: #882626;
      margin-bottom: 24px;
      /* font-weight: bold; */
      margin-bottom: 30px;
    }

    /* ===== Grid ===== */
    .news-grid-nsnews {
      display: grid;
      gap: 20px;
      grid-template-columns: repeat(4, 1fr); /* 4 per row desktop */
    }

    /* ===== Responsive: 1 per row on mobile ===== */
    @media (max-width: 768px) {
      .news-grid-nsnews {
        grid-template-columns: 1fr;
      }
    }

    /* ===== Card ===== */
    .news-card-nsnews {
      background: #fff;
      /* border-radius: 10px; */
      overflow: hidden;
      display: flex;
      flex-direction: column;
      box-shadow: 0 4px 18px rgba(15, 23, 42, 0.08);
      transition: transform 0.18s ease, box-shadow 0.18s ease;
    }
    .news-card-nsnews:hover {
      transform: translateY(-6px);
      box-shadow: 0 8px 30px rgba(15, 23, 42, 0.14);
    }

    /* ===== Card Image ===== */
    .news-image-nsnews {
      width: 100%;
      height: 180px;
      object-fit: cover;
      display: block;
    }

    /* ===== Card Content ===== */
    .news-content-nsnews {
      padding: 16px;
      display: flex;
      flex-direction: column;
      gap: 10px;
      flex: 1;
    }

    .news-title-nsnews {
      font-size: 1.1rem;
      font-weight: 700;
      color: #0b1724;
      text-decoration: none;
    }
    .news-title-nsnews:hover {
      text-decoration: underline;
    }

    .news-excerpt-nsnews {
      color: #425466;
      font-size: 0.95rem;
      line-height: 1.4;
      flex: 1;
    }

    /* ===== Card Footer ===== */
    .news-meta-nsnews {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-top: 8px;
    }

    .read-btn-nsnews {
      border: 1px solid #e6eefc;
      padding: 6px 12px;
      border-radius: 8px;
      font-weight: 600;
      font-size: 0.9rem;
      color: #eb1f1f;
      text-decoration: none;
    }
    .read-btn-nsnews:hover {
      background: #fff0f0;
    }

    .muted-nsnews {
      color: #667085;
      font-size: 0.85rem;
    }
    /* news and stories page ends */
    


    /* news and stories single page starts */

/* reset box-sizing for predictable sizing */
*, *::before, *::after { box-sizing: border-box; }

/* ===== Colors ===== */
:root {
  --nsnews-red: #c62828;
  --nsnews-red-dark: #b71c1c;
  --nsnews-light: #fff;
  --nsnews-gray: #f8f8f8;
  --nsnews-text: #222;
}

/* ===== Page Wrapper ===== */
.page-nsnews {
  max-width: 1200px;
  margin: 0 auto;
  /* fluid horizontal padding so content breathes on small screens */
  padding: clamp(12px, 3vw, 32px);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--nsnews-gray);
  color: var(--nsnews-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word;
}

/* make images responsive by default */
.page-nsnews img { max-width: 100%; height: auto; display: block; }

/* ===== Layout ===== */
.layout-nsnews {
  display: grid;
  /* preferred: flexible main column with constrained sidebar */
  grid-template-columns: 1fr minmax(280px, 360px);
  gap: 30px;
  align-items: start;
}

/* stack on smaller screens and ensure main article appears before sidebar */
@media (max-width: 900px) {
  .layout-nsnews {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .article-nsnews { order: 1; }
  .sidebar-nsnews { order: 2; }
}

/* extra small screens - tighten spacing and radii */
@media (max-width: 480px) {
  .page-nsnews { padding: 14px; }
  .layout-nsnews { gap: 14px; }
}

/* ===== Main Article ===== */
.article-nsnews {
  background: var(--nsnews-light);
  padding: clamp(16px, 2.5vw, 28px);
  border-radius: 10px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
  line-height: 1.6;
}

/* title scales responsively */
.title-nsnews {
  font-size: clamp(1.5rem, 3.2vw, 2rem);
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--nsnews-red);
  word-break: break-word;
}

/* meta smaller on narrow screens */
.meta-nsnews {
  color: #888;
  font-size: clamp(0.8rem, 0.9vw, 0.95rem);
  margin-bottom: 18px;
}

/* feature image: use aspect-ratio for consistent responsive height */
.feature-image-nsnews {
  width: 100%;
  /* prefer 16:9 but allow browsers without aspect-ratio to fallback */
  aspect-ratio: 16/9;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 24px;
  display: block;
  max-height: 600px;
}

/* ensure rich content adapts */
.content-nsnews {
  font-size: clamp(1rem, 1.05vw + 0.6rem, 1.05rem);
  line-height: 1.7;
  color: var(--nsnews-text);
}

/* paragraphs spacing */
.content-nsnews p {
  margin-bottom: 18px;
}

/* allow long words/links in content to wrap */
.content-nsnews, .content-nsnews p, .latest-link-nsnews {
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* style for images inside content */
.content-nsnews img {
  border-radius: 8px;
  margin: 12px 0;
}

/* ===== Comments ===== */
.comments-nsnews {
  margin-top: 40px;
}
.comments-nsnews h3 {
  margin-bottom: 16px;
  color: var(--nsnews-red-dark);
  font-size: clamp(1rem, 1.2vw, 1.15rem);
}
.comment-item-nsnews {
  background: #fafafa;
  border: 1px solid #eee;
  padding: 14px 18px;
  border-radius: 8px;
  margin-bottom: 14px;
  font-size: clamp(0.95rem, 0.8vw + 0.7rem, 1rem);
}
.comment-author-nsnews {
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--nsnews-red);
}
.comment-text-nsnews {
  font-size: 0.95rem;
  line-height: 1.4;
}

/* ===== Comment Form ===== */
.comment-form-nsnews {
  margin-top: 20px;
  background: #fff;
  border: 1px solid #eee;
  padding: 18px;
  border-radius: 8px;
}
.comment-form-nsnews h3 {
  margin-bottom: 14px;
  color: var(--nsnews-red-dark);
}
.comment-form-nsnews input,
.comment-form-nsnews textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 0.95rem;
  resize: vertical;
  min-height: 44px;
  transition: border-color .12s ease, box-shadow .12s ease;
}
.comment-form-nsnews input:focus,
.comment-form-nsnews textarea:focus {
  outline: none;
  border-color: var(--nsnews-red);
  box-shadow: 0 0 0 3px rgba(198,40,40,0.06);
}
.comment-form-nsnews textarea { min-height: 120px; }

.comment-form-nsnews button {
  background: var(--nsnews-red);
  color: #fff;
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  display: inline-block;
}
.comment-form-nsnews button:hover {
  background: var(--nsnews-red-dark);
}

/* on very small screens make button full width */
@media (max-width: 480px) {
  .comment-form-nsnews button { width: 100%; text-align: center; padding: 12px 16px; }
}

/* ===== Sidebar ===== */
.sidebar-nsnews {
  background: var(--nsnews-light);
  padding: clamp(14px, 2vw, 20px);
  border-radius: 10px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
}

/* keep sidebar heading proportionate */
.sidebar-nsnews h3 {
  margin-bottom: 16px;
  color: var(--nsnews-red-dark);
  font-size: clamp(1rem, 1.2vw, 1.1rem);
}

/* Latest Posts Cards */
.latest-item-nsnews {
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 18px;
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: grid;
  grid-template-rows: auto 1fr;
}
.latest-item-nsnews:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

/* thumbnail uses aspect-ratio for consistent appearance */
.latest-thumb-nsnews {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  height: auto;
  min-height: 70px;
}

/* card body */
.latest-body-nsnews {
  padding: 12px;
  text-align: left;
}
.latest-link-nsnews {
  font-size: 1rem;
  font-weight: 600;
  color: var(--nsnews-red);
  text-decoration: none;
  display: block;
  line-height: 1.3;
}
.latest-link-nsnews:hover { text-decoration: underline; }

/* small screens - reduce thumbnail height slightly */
@media (max-width: 480px) {
  .latest-thumb-nsnews { aspect-ratio: 4/3; }
}

/* utility: reduce radius and padding when space is tight */
@media (max-width: 360px) {
  .article-nsnews, .sidebar-nsnews, .comment-form-nsnews {
    padding: 12px;
    border-radius: 8px;
  }
}

/* news and stories single page ends */



    /* new home slider starts */
    .slider-careslider{
      width:100vw;
      height:100vh;
      position:relative;
      overflow:hidden;
      font-family:sans-serif;
    }

    .slides-careslider{
      display:flex;
      transition:transform 400ms ease;
      will-change:transform;
      height:100%;
    }

    .slide-careslider{
      min-width:100%;
      height:100%;
      position:relative;
    }

    .slide-careslider img{
      width:100%;
      height:100%;
      object-fit:cover;
      display:block;
    }

    .caption-wrapper-careslider{
      position:absolute;
      top:0;
      left:0;
      width:100%;
      height:100%;
      display:flex;
      align-items:center;
      justify-content:center;
      /* z-index:15; */
      background:rgba(0,0,0,0.5);
    }

    .caption-careslider{
      text-align:center;
      /* border: 1px solid rgba(255, 255, 255, 0.671); */
      padding: 10px;
      font-weight:bold;
      border-top-left-radius: 100px;
      border-bottom-right-radius: 100px;
      /* text-shadow:2px 2px 8px rgba(0,0,0,0.9); */
      z-index:20;
    }
    .caption-careslider h1,
    .caption-careslider h2{
      margin:0;
      font-family: "Rajdhani", sans-serif;
      letter-spacing:2px;
      /* font-weight:900; */
      color:#ff0000;
    }
    .caption-careslider h1{font-size:8rem;}
    .caption-careslider h2{font-size:10rem;}
    .caption-careslider p{
      margin-top:15px;
      font-weight:600;
      font-size: 4rem;
      color:rgb(255, 255, 255);
      /* font-family: 'Alex Brush', cursive; */
    }

    @media(max-width:768px){
      .caption-careslider h1{font-size:3rem;}
      .caption-careslider h2{font-size:4rem;}
      /* .caption-careslider p{font-size: rem;} */
    }

    .nav-btn-careslider{
      position:absolute;
      top:50%;
      transform:translateY(-50%);
      width:44px;
      height:44px;
      border-radius:6px;
      background:rgba(0,0,0,0.45);
      color:#fff;
      border:0;
      display:flex;
      align-items:center;
      justify-content:center;
      cursor:pointer;
      z-index:30;
      backdrop-filter:blur(4px);
    }
    .nav-btn-careslider:active{transform:translateY(-50%) scale(0.98)}

    .prev-careslider{left:10px}
    .next-careslider{right:10px}

    .indicators-careslider{
      position:absolute;
      left:50%;
      transform:translateX(-50%);
      bottom:20px;
      display:flex;
      gap:6px;
      z-index:30;
    }
    .indicator-careslider{
      width:20px;height:20px;border-radius:50%;background:rgba(255,255,255,0.45);cursor:pointer;border:0
    }
    .indicator-careslider.active{background:rgba(255,255,255,0.95)}

    @media(max-width:768px){
      .caption-careslider h1{font-size:3rem;}
      .caption-careslider h2{font-size:4rem;}
      .caption-careslider p{font-size: 2rem;}

      .nav-btn-careslider{display:none;}
    }
    /* new home slider ends */





/* news single comment starts */
/* Modal overlay */
.nscc-modal-overlay {
  display: none; 
  position: fixed; 
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center; 
  align-items: center;
  z-index: 1000;
}

/* Modal box */
.nscc-modal-content {
  background: #fff;
  padding: 20px 30px;
  border-top-left-radius: 12px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  position: relative;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  animation: nsccFadeInUp 0.4s ease;
  font-size: 16px;
}

/* Close button */
.nscc-close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 25px;
  cursor: pointer;
  color: #333;
}

/* Fade-in animation */
@keyframes nsccFadeInUp {
  from {opacity: 0; transform: translateY(30px);}
  to {opacity: 1; transform: translateY(0);}
}
/* news single comment ends */



.covf19 i{
  color: rgb(109, 0, 0);
}

.covf {
  color: rgb(7, 38, 63);
}

.specialcontrol{
  font-size: 2.2rem !important;
}


@media only screen and (max-width: 1005px) {
  .specialcontrol{
    font-size: 1.8rem !important;
  }
}

@media only screen and (max-width: 887px) {
  .specialcontrol{
    font-size: 2rem !important;
  }
}

.ttbg{
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.514);
  border-radius: 20px;
}

.withbg3{
  background-color: rgb(222, 222, 222);
}

.cpadd{
  padding: 10px;
}




.withbg23{
  background-color: rgba(250, 140, 67, 0.301);
}


.covf1920{
  font-family: "Rajdhani", sans-serif;
  font-weight: 600;
  font-weight: lighter;
  /* font-family: 'Teko', sans-serif; */
  background-color: #3f2a0f !important;
}

.dcbg{
  background-color: rgb(196, 7, 7);
}



/* other social media links starts */
.letsc{
  color: rgba(0, 0, 0, 1);
}

 .social-grid-ssaffin {
      display: grid;
      gap: 1rem;
      grid-template-columns: repeat(6, minmax(0, 1fr));
      align-items: stretch;
      max-width: 1200px;
      margin: 0 auto;
    }

    .social-card-ssaffin {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-decoration: none;
      padding: 1rem;
      border: 1px solid #ccc;
      border-radius: 6px;
      background: #fff;
      color: inherit;
      transition: transform 0.12s ease;
      min-height: 110px;
    }

    .social-card-ssaffin:hover {
      transform: translateY(-4px);
      background: #dad7d7;
      border-radius: none;
    }

    .social-icon-ssaffin {
      font-size: 1.6rem;
      line-height: 1;
      margin-bottom: 0.5rem;
      color: rgb(145, 12, 12);
    }

    .social-name-ssaffin {
      margin: 0;
      font-size: 0.8rem;
      text-align: center;
      /* font-weight: 600; */
      color: rgb(104, 104, 104);
    }

    @media (max-width: 1280px) {
      .social-grid-ssaffin { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    }

    @media (max-width: 1100px) {
      .social-grid-ssaffin { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    }

    @media (max-width: 860px) {
      .social-grid-ssaffin { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    }

    @media (max-width: 600px) {
      .social-grid-ssaffin {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
        padding: 10px;
      }
      .social-card-ssaffin { padding: 0.75rem; min-height: 96px; }
      .social-icon-ssaffin { font-size: 1.4rem; }
      .social-name-ssaffin { font-size: 0.9rem; }
    }

    .social-card-ssaffin:focus {
      outline: 3px solid rgba(21,156,228,0.18);
      outline-offset: 2px;
    }
/* other social media links ends */




/* home socials starts */
.footer-container-hss1 {
    background-color: #e6c6c6;
    color: white;
    padding: 30px 20px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 150px;        
}

.social-icons-hss1 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.social-icon-hss1 {
    width: 40px;
    height: 40px;
    background-color: #f00909;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: bold;
    font-size: 18px;
    text-decoration: none;
    transition: transform 0.2s;
}

.social-icon-hss1:hover {
    transition: 0.5s ease-in;
    transform: scale(1.1);
    background-color: rgb(179, 0, 0);
}

.directory-text-hss1 {
    color: #460101;
    font-size: 14px;
    margin-left: 15px;
    font-weight: 500;
    letter-spacing: 0.5px;
    display: inline-block;
}

.directory-text-hss1:hover {
    color: white;
}

.university-text-hss1 {
    color: #612121;
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 1px;
    margin-top: 10px;
}

@media (max-width: 600px) {
    .social-icons-hss1 { gap: 15px; }
    .social-icon-hss1 {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    .directory-text-hss1,
    .university-text-hss1 { font-size: 13px; }
}
/* home socials ends */




/* home vision starts */
/* vision page start - affinvvs version */

/* ===== Page Wrapper - Full Viewport Width ===== */
.page-visionaffinvvs {
  width: 100vw;
  margin: 0 auto;
  padding: 24px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  background: #f6f7fb;
  color: #111;
  box-sizing: border-box;
}

/* ===== Header - Left Aligned ===== */
.header-visionaffinvvs h1 {
  font-size: 1.8rem;
  margin-bottom: 6px;
  text-align: left;
  color: var(--nsnews-red);
}
.header-visionaffinvvs p {
  color: #555;
  margin-bottom: 24px;
  text-align: left;
  max-width: 800px;
}

/* ===== Grid: 3 per row on desktop, 1 on mobile ===== */
.vision-grid-visionaffinvvs {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ===== Mobile: 1 per row ===== */
@media (max-width: 768px) {
  .page-visionaffinvvs{
    padding: 3px;
  }
  .vision-grid-visionaffinvvs {
    grid-template-columns: 1fr;
    padding: 0 12px;
  }
  .header-visionaffinvvs h1,
  .header-visionaffinvvs p {
    text-align: center;
  }
}

/* ===== Card - No Border Radius ===== */
.vision-card-visionaffinvvs {
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  /* border-radius removed */
}
.vision-card-visionaffinvvs:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.14);
}

/* ===== Card Image - No Border Radius ===== */
.vision-image-visionaffinvvs {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  margin: 12px 0;
  /* border-radius removed */
}

/* ===== Card Content ===== */
.vision-content-visionaffinvvs {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.vision-title-visionaffinvvs {
  font-size: 1.25rem;
  font-weight: 700;
  color: #500808;
  text-decoration: none;
  text-align: center;
}

.vision-excerpt-visionaffinvvs {
  color: #425466;
  font-size: 0.98rem;
  line-height: 1.5;
  flex: 1;
  /* text-align: justify; */
}

/* ===== Red 50% Width Divider ===== */
.vision-divider-visionaffinvvs {
  width: 50%;
  height: 3px;
  background-color: #eb1f1f;
  border: none;
  margin: 16px 0 8px 0; /* Left-aligned */
}

/* vision page ends - affinvvs */
/* home vision ends */




/* new gallery cards starts */
/* New Gallery Grid */
.affin9-grid-vs {
  display: grid;
  gap: 15px;
  margin: 20px 0;
  grid-template-columns: repeat(4, 1fr); /* 4 per row on desktop */
}

.affin9-card-vs {
  border: 1px solid #f0f0f0;
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  padding: 10px;
  background: #f9f9f9;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.affin9-card-vs:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.affin9-card-vs img {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 1px solid #ddd;
}

/* Modal */
.affin9-modal-vs {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
}

.affin9-modal-content-vs {
  max-width: 90%;
  max-height: 90%;
}

.affin9-close-vs {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 30px;
  color: white;
  cursor: pointer;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .affin9-grid-vs {
    grid-template-columns: repeat(2, 1fr); /* 2 per row on mobile */
  }
}

/* new gallery cards ends */




/* new home news starts */
.blog-wrapper-hnwsaffin * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Wrapper */
.blog-wrapper-hnwsaffin {
    position: relative;
    color: #333;
    line-height: 1.6;
    padding: 40px 0;
    background-image: url("../images/uni/50.webp");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    }

/* Overlay for transparency (light and fast) */
.blog-wrapper-hnwsaffin::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.5); /* subtle white overlay */
    z-index: 1;
}

/* Inner content above overlay */
.blog-wrapper-hnwsaffin > * {
    position: relative;
    z-index: 2;
}

/* Container */
.container-hnwsaffin {
    margin: 0 auto;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    padding: 30px;
    background: rgba(255,255,255,0.85);
    border-radius: 12px;
}

/* Main content */
.main-content-hnwsaffin {
    flex: 3;
    min-width: 300px;
}

/* Sidebar */
.sidebar-hnwsaffin {
    flex: 1;
    min-width: 250px;
    background-color: rgba(241, 166, 166, 0.9);
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    height:100%;
    position: sticky;
    top: 20px;
}

/* Section title */
.section-title-hnwsaffin {
    font-size: 25px;
    /* font-weight: 700; */
    margin-bottom: 10px;
    color: #222;
    position: relative;
    padding-bottom: 10px;
}
.section-title-hnwsaffin::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: #ff0000;
    border-radius: 2px;
}

/* Section intro */
.section-intro-hnwsaffin {
    margin-bottom: 30px;
    color: #444;
    font-size: 16px;
    line-height: 1.7;
}

/* Cards grid: always 2 per row */
.cards-grid-hnwsaffin {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* Card */
.card-hnwsaffin {
    background: rgba(255,255,255,0.95);
    /* border-radius: 12px; */
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card-hnwsaffin:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.12);
}

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

.card-content-hnwsaffin {
    padding: 18px;
}

.card-title-hnwsaffin {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1d3557;
    line-height: 1.3;
}

.card-excerpt-hnwsaffin {
    font-size: 16px;
    color: #555;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta-hnwsaffin {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #888;
}

.read-more-hnwsaffin {
    background-color: #eb0000;
    color: white;
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 13px;
    transition: background-color 0.2s ease;
}
.read-more-hnwsaffin:hover {
    background-color: #b30000;
}

/* Sidebar styles */
.sidebar-hnwsaffin h3 {
    font-size: 20px;
    margin-bottom: 18px;
    color: #1d3557;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}
.category-list-hnwsaffin {
    list-style: none;
}
.category-list-hnwsaffin li {
    margin-bottom: 12px;
    padding: 10px;
}
.category-list-hnwsaffin li:hover {
    margin-bottom: 12px;
    background-color: rgb(255, 219, 219);
}
.category-list-hnwsaffin a {
    text-decoration: none;
    color: #252525;
    /* font-weight: 500; */
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    transition: color 0.2s ease;
    font-size: 16px;
    
}
.category-list-hnwsaffin a:hover {
    color: #b30000;
}
.category-count-hnwsaffin {
    background: #f1f2f6;
    color: #666;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 12px;
}

/* Mobile */
@media (max-width: 768px) {
    .container-hnwsaffin {
        flex-direction: column;
    }
    .sidebar-hnwsaffin {
        display: none;
    }
    .cards-grid-hnwsaffin {
        grid-template-columns: 1fr; /* 1 card per row on mobile */
    }
}

.ddbtn {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100px;
  width: 100%;
  margin: 30px 0;
}

.ddbtn a {
  display: flex;
  align-items: center;
  justify-content: center;
  /* gap: 8px; */
  padding: 15px 20px;
  border: 1px solid #a7a7a7;
  text-decoration: none;
  font-size: 1.5rem;
    border-radius: 50px;
}

.ddbtn a i {
  /* font-size: 1em; */
  padding: 10px;
  padding-top: 15px;
  color: red;

}

.ddbtn a:hover{
 border: none; 
 background-color: rgb(255, 219, 219);
}
/* new home news ends */


.mobibgh1{
  font-size: 2rem;
  padding: 10px;
  color: rgb(36, 18, 4);
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
  margin-bottom: 50px;
  font-family: 'Teko', sans-serif;
}

.mobibgh1 h1{
  max-width: 1200px;
  padding: 10px;
  text-align: center;
  line-height: 0.5;
}

.mobibgh1 h1 span{
  color: red;
  transform: rotate('10');
}



  @media screen and (max-width: 1075px) {
    .mobibgh1{
      font-size: 1.5rem;
      padding: 10px;
      margin-top: 50px;
      margin-bottom: 50px;
    }

    .mobibgh1 h1{
      line-height: 2rem;
    }
  }

  @media screen and (max-width: 771px) {
    .mobibgh1 h1{
      line-height: 2.5rem;
    }
  }
 
 
  @media screen and (max-width: 481px) {
    .mobibgh1{
      font-size: 1rem;
    }

    .mobibgh1 h1{
      line-height: 2rem;
    }
  }
 
 




/* new home we invent starts */
    .cardsmoaff57 {
      display: flex;
      justify-content: space-between;
      align-items: stretch;
      gap: 5%;
      width: 90%;
      height: 90vh;
      max-height: 300px;
      margin: auto;
    }

    .cardmoaff57 {
      flex: 1;
      background: #cc8c5a;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: space-between;
    }

    .icon-wrapmoaff57 {
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .icon-wrapmoaff57 i {
      font-size: 120px;
      color: #000000;
    }

    .footermoaff57 {
      width: 100%;
      background: #583f1e;
      color: #ffffff;
      text-align: center;
      padding: 20px 0;
      font-size: 22px;
      /* font-weight: 500; */
      font-family: Arial, Helvetica, sans-serif;
    }

    @media screen and (max-width: 743px) {
      .cardsmoaff57 {
        gap: 2%;
        width: 100%;
        height: auto;
        max-height: 300px;
        min-height: 200px;
        margin: auto;
      }


      .icon-wrapmoaff57 i {
        font-size: 50px;
        padding: 15px;
      }
    }
    
    @media screen and (max-width: 405px) {
      .footermoaff57 {
        font-size: 18px;
      }
    }
/* new home we invent ends */


/* new sitemap starts */
/* Background container */
.bg-container-subnp {
  background-color: #f8f9fa; /* light neutral background */
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 60px 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Content wrapper */
.content-subnp {
  max-width: 500px;
  width: 100%;
  background-color: #fff; /* neutral card background */
  padding: 40px 30px;
  /* border-radius removed */
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  /* text-align: center; */
}

/* Heading */
.content-subnp h1 {
  font-size: 2rem;
  color: #800000; /* wine red heading */
  margin-bottom: 30px;
  position: relative;
}

.content-subnp h1::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: #800000; /* wine red underline */
  /* margin: 12px auto 0; */
}

/* Links */
.content-subnp p {
  margin: 12px 0;
}

.content-subnp p a {
  text-decoration: none;
  color: #b30000; /* red link color */
  font-size: 1.1rem;
  transition: all 0.3s ease;
  position: relative;
}

.content-subnp p a:hover {
  color: #ff4d4d; /* lighter red on hover */
}

.content-subnp p a::after {
  content: '→';
  margin-left: 8px;
  color: #b30000; /* match link color */
  transition: margin-left 0.3s ease;
}

.content-subnp p a:hover::after {
  margin-left: 12px;
}

/* Responsive */
@media (max-width: 600px) {
  .content-subnp {
    padding: 30px 20px;
  }

  .content-subnp h1 {
    font-size: 1.6rem;
  }

  .content-subnp p a {
    font-size: 1rem;
  }
}
/* new sitemap ends */




.content-sub h1{
  color: rgb(255, 255, 255) !important;
  text-shadow: none !important;
}




/* new caption starts */

    .heroafamily {
      min-height: 120vh;
      display: grid;
      place-items: center;
      position: relative;
      overflow: hidden;
      text-align: center;
      padding: 2rem;
      background-image: url('../images/city/1.webp');
      background-size: cover;
      background-position: top;
      background-repeat: no-repeat;
      color: #ffffff;
      font-family: 'Poppins', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
      background-attachment: fixed;

    }

    .heroafamily::after {
      content: "";
      position: absolute;
      inset: 0;
    }

    .containerafamily {
      width: 100%;
      max-width: 1200px;
      z-index: 2;
    }

    
    .containerafamily img{
        width: 30vw;
    }

    @media screen and (max-width: 920px) {
      .containerafamily img{
        width: 50vw;
      }
    }
    
    @media screen and (max-width: 470px) {
      .containerafamily img{
        width: 70vw;
      }
    }

    @media screen and (max-width: 373px) {
      .containerafamily img{
        width: 90vw;
      }
    }

    .hero__titleafamily {
      margin: 0;
      font-weight: 800;
      font-size: 8rem;
      line-height: 0.9;
      letter-spacing: -0.02em;
      text-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
      padding-bottom: 20px;
      padding-top: 20px;
    }

    .heroafamily::after {
      background: rgba(150, 0, 0, 0.562); 
      z-index: 1;
    }

  @media screen and (max-width: 857px) {
    .hero__titleafamily {
      font-size: 6rem;
      line-height: 0.9;
      letter-spacing: unset;
    }
  }

  @media screen and (max-width: 677px) {
    .hero__titleafamily {
      font-size: 4rem;
      line-height: 0.9;
      letter-spacing: unset;
    }

    .heroafamily {
      padding: 1rem;
      min-height: 100vh;
    }
  }
  
  @media screen and (max-width: 460px) {
    .hero__titleafamily {
      font-size: 3.8rem;
      line-height: 0.9;
      letter-spacing: unset;
    }
  }
/* new caption ends */




/* different schools section starts */
/* GRID */
  .sector-grid-affinschoolsc {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 40px;
      margin: 40px auto;
      /* max-width: 1200px; */
      padding: 0 20px;
  }

  /* CARD WRAPPER */
  .sector-card-affinschoolsc {
      display: flex;
      height: 260px;
      overflow: hidden;
  }

  .sector-card-affinschoolsc.reverse-affinschoolsc {
      flex-direction: row-reverse;
  }

  /* IMAGE SIDE */
  .sector-img-affinschoolsc {
      width: 50%;
      background-size: cover;
      background-position: center;
  }

  /* TEXT SIDE */
  .sector-info-affinschoolsc {
      width: 50%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      color: #fff;
      text-align: center;
      padding: 20px;
  }

  .sector-info-affinschoolsc h2 {
      font-size: 28px;
      margin-bottom: 10px;
      font-weight: bold;
  }

  .sector-info-affinschoolsc p {
      font-size: 17px;
      margin: 0;
  }

  .readmore-affinschoolsc {
      margin-top: 12px;
      display: inline-block;
      color: #ffffffbd;
      text-decoration: underline;
      font-size: 16px;
  }

  /* COLORS */
  .bg-pink-affinschoolsc { background: #ff1e1e; }
  .bg-teal-affinschoolsc { background: #63402d; }
  .bg-blue-affinschoolsc { background: #b10202; }
  .bg-orange-affinschoolsc { background: #77571b; }

  .bg-pink-affinschoolsc:hover { background: #77571b;  }
  .bg-teal-affinschoolsc:hover { background: red; }
  .bg-blue-affinschoolsc:hover { background: red; }
  .bg-orange-affinschoolsc:hover { background: red; }

  /* RESPONSIVE */
  @media (max-width: 900px) {
      .sector-grid-affinschoolsc {
          grid-template-columns: 1fr;
      }
      .sector-card-affinschoolsc,
      .sector-card-affinschoolsc.reverse-affinschoolsc {
          flex-direction: column;
          height: auto;
      }
      .sector-img-affinschoolsc,
      .sector-info-affinschoolsc {
          width: 100%;
          height: 200px;
      }
      .sector-info-affinschoolsc {
          height: auto;
          padding: 40px 20px;
      }
      
      .sector-info-affinschoolsc p{
          font-size: 1.2rem;
      }
  }
/* different schools section ends */





/* outline section home starts */
.wrapper-sttitle {
    display: flex;
    justify-content: center;
    align-items: center;
    /* min-height: ; */
    background: rgb(255, 255, 255);
    font-family: Arial, sans-serif;
  }

  .box-sttitle {
    position: relative;
    /* border: 2px solid rgba(116, 0, 0, 0.192); */
    padding: 60px 80px 40px;   /* top padding makes room for the title */
    max-width: 1200px;
    min-width: 90%;
    text-align: center;
    border-top-left-radius: 30px;
    border-bottom-right-radius: 30px;
    background-color: rgb(255, 164, 164);
  }

  .title-sttitle {
    position: absolute;
    top: -28px;
    left: 0;
    right: 0;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.904);
    padding: 0 20px;
    width: fit-content;
    font-family: "Aladin", system-ui;
    color: rgb(255, 0, 0);
    font-size: 48px;
    font-weight: bold;
    /* text-transform: uppercase; */
    letter-spacing: 2px;
    border-bottom-left-radius: 20px;
    border-top-right-radius: 20px;
    z-index: 11;
    padding: 10px;
  }

  .text-sttitle {
    color: rgb(43, 43, 43);
    font-size: 1.2rem;
    /* line-height: 1.6; */
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  }


  @media only screen and (max-width: 400px) {
   
  .box-sttitle {
    padding: 60px 10px 40px;
  }

  .title-sttitle {
    padding: 0 20px;
    font-size: 30px;
  }

  /* .text-sttitle {
    
  } */

  }

/* outline section home ends */


.lightredbg{
  background-color: rgba(58, 41, 17, 0.938) !important;
  color: white !important;
}

.nhstories{
  width: 100%;
  margin-top: 50px;
  margin-bottom: 10px;
  font-size: 4rem;
  font-weight: lighter;
  font-family: "Rajdhani", sans-serif;
  display: flex;
  text-align: center;
  justify-content: center;
  color: rgb(204, 0, 0);
}

.nhstories span{
  color: rgb(99, 1, 1);
  padding-left: 10px;
}











/* small cards starts */
.affin-cards-wrapperlittlecsaffin {
  width: 100%;
  padding: 24px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
}

.affin-cardslittlecsaffin {
  width: 100%;
  max-width: 1200px;
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
  align-items: stretch;
}

.affin-cardlittlecsaffin {
  background: rgb(243, 199, 199);
  /* border-radius: 5px; */
  padding: 18px;
  box-shadow: 0 6px 10px rgba(20,20,30,0.08);
  transition: transform 260ms cubic-bezier(.2,.9,.2,1), box-shadow 260ms ease;
  cursor: default;
  font-size: 18px;
  line-height: 1.45;
  color: #0f1724;
  display: flex;
  align-items: center;
  min-height: 82px;
  border: 1px solid rgba(15,23,36,0.04);
  will-change: transform;
}

.affin-cardlittlecsaffin:hover,
.affin-cardlittlecsaffin:focus {
  transform: scale(1.035);
  box-shadow: 0 18px 36px rgba(15,23,36,0.12);
  outline: none;
}

.affin-cardlittlecsaffin:active {
  transform: scale(0.99);
  transition-duration: 120ms;
}

@media (min-width: 640px) {
  .affin-cardslittlecsaffin {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .affin-cardslittlecsaffin {
    grid-template-columns: repeat(3, 1fr);
  }

  .affin-cardlittlecsaffin {
    word-break: break-word;
  }
}


@media only screen and (max-width: 500px) {
  .affin-cardlittlecsaffin {
    font-size: 20px;
  }   
}


.affin-cardlittlecsaffin {
  word-break: break-word;
}
/* small cards ends */






/* swiper js slider starts */
.swiperwsslide {
    width: 100%;
    min-height: 80vh;
    position: relative;
}

/* SLIDES */
.swiper-slidewsslide img {
    width: 100%;
    height: 80vh;
    object-fit: cover;
    transition: transform 1.2s ease, opacity 1.2s ease;
}

/* ZOOM-OUT EFFECT */
.swiper-slidewsslide.swiper-slide-active img {
    transform: scale(1);
    opacity: 1;
}
.swiper-slidewsslide.swiper-slide-prev img,
.swiper-slidewsslide.swiper-slide-next img {
    transform: scale(1.15);
    opacity: 0;
}

/* OVERLAY */
.overlaywsslide {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.849);
    z-index: 10;
}

/* TEXT CONTENT */
.textwsslide {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 20;
    color: #000000;
    padding: 20px;
    width: 90%;
    max-width: 800px;
}

.textwsslide h1 {
  font-size: 10rem;
  margin-bottom: 10px;
  /* text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.685); */
}

.textwsslide h1 span{
  color: red;
}

.textwsslide p {
  font-size: 1.2rem;
  line-height: 1.6;
}

/* NAV BUTTONS */
.swiper-button-nextwsslide,
.swiper-button-prevwsslide {
    position: absolute;
    top: 50%;
    width: 50px;
    height: 50px;
    margin-top: -25px;
    z-index: 30;
    cursor: pointer;
    /* background: rgba(0,0,0,0.5); */
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 1.5rem;
}
.swiper-button-nextwsslide { right: 20px; }
.swiper-button-prevwsslide { left: 20px; }

.hombtn{
  background-color: rgb(202, 9, 9);
  padding: 10px;
  padding-right: 5rem;
  padding-left: 5rem;
  color: rgb(255, 255, 255);
  /* margin-top: 20px; */
  border-radius: 30px;
}

.hombtn:hover{
  background-color: rgb(255, 180, 180);
  transition: 0.5s ease-in-out;
  color: rgb(0, 0, 0);
}

/* HIDE BUTTONS ON PHONE */
@media (max-width: 768px){
    .textwsslide h1 { 
      font-size: 6rem;
      /* line-height: -100px !important; */
     }
    .textwsslide p { font-size: 1.5rem; }

    /* remove buttons entirely */
    .swiper-button-nextwsslide,
    .swiper-button-prevwsslide {
        display: none !important;
    }
}
/* swiper js slider ends */




/* new socials starts */

/* Container */
.iniaffin-social-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    width: 100vw;
    /* border: 1px solid #080a183d; */
    background-color: rgba(255, 255, 255, 1);
    overflow: hidden;
}

/* Card */
.iniaffin-social-card {
    display: flex;
    align-items: center;
    justify-content: center;
    /* border-right: 1px solid #080a183d; */
    padding: 2vw 0;
}

.iniaffin-social-card:last-child {
    border-right: none;
}

/* Clickable circle (anchor) */
.iniaffin-social-circle {
    width: min(12vw, 64px);
    height: min(12vw, 64px);
    /* background-color: rgba(129, 0, 0, 0.153); */
    /* border-radius: 50%; */
    /* border-top-left-radius: 10px; */
    display: flex;
    align-items: center;
    justify-content: center;
    /* background: transparent; */
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.25s ease, border-color 0.25s ease;
}

/* Icon */
.iniaffin-social-circle i {
    font-size: min(5vw, 26px);
    color: #000000;
    transition: color 0.25s ease;
}

/* Hover / Focus */
.iniaffin-social-circle:hover,
.iniaffin-social-circle:focus-visible {
    border-radius: 50%;
    color: red;
}

.iniaffin-social-circle:hover i,
.iniaffin-social-circle:focus-visible i {
    color: rgb(255, 0, 0);
}

.ff22{
  cursor: none !important;
}
/* new socials ends */




/* loader starts */

.affinloader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgb(37, 37, 37);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 99999999999999;
  padding: 20px;
  text-align: center;
}

/* Logo pop-in */
@keyframes affinloader-popIn {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.affinloader-logo {
  width: 30%;
  max-width: 300px;
  height: auto;
  animation: affinloader-popIn 0.5s ease-out forwards;
}

/* Text fly-in from bottom */
@keyframes affinloader-flyInFromBottom {
  0% {
    opacity: 0;
    transform: translateY(100%);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.affinloader-message {
  color: rgb(255, 255, 255);
  font-size: 1.2rem;
  margin-top: 25px;
  opacity: 0;
  /* font-family: Arial, Helvetica, sans-serif; */
  font-weight: lighter;
}

/* Show message animation trigger */
.affinloader-show-message {
  animation: affinloader-flyInFromBottom 1s ease forwards;
}

/* Mobile Tweaks */
 @media screen and (max-width: 600px) {
  .affinloader-logo {
    width: 60%;
    max-width: none;
  }

  .affinloader-message {
    margin-top: 25px;
  }
}
/* loader ends */




/* new home banner caro starts */
.slider-container-affin2 {
  position: relative;
  width: 100%;
  height: 80vh;
  overflow: hidden;
}

.slider-wrapper-affin2 {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 1s ease-in-out;
}

.slide-affin2 {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.slidexaf3{
  background-position: top;
}

.slidexaf2{
  background-position: top;
}



@media only screen and (max-width: 825px) {
  .slidexaf3{
    background-position: right;
  }
  
  .slidexaf2{
    background-position: left;
  }
}

.overlayp0-affin2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.582);
  z-index: 1;
}


.containerpo-affin2 {
  position: absolute;
  top: 20%;
  /* left: 50%; */
  /* transform: translateX(-50%); */
  z-index: 2;
  display: flex;
  align-items: center;
  text-align: center;
  color: rgb(255, 255, 255);
  justify-content: center;
  width: 100%;
  padding: 10px;
}

.titlep0-affin2 {
  font-size: 10rem;
  text-align: right;
  justify-content: center;
  align-items: center;
  text-align: center;
  /* font-family: "Rajdhani", sans-serif; */
  /* font-weight: 600; */
  line-height: 10rem;
}




.titlep0-affin2 span {
  color: rgba(255, 255, 255, 0.904);
  /* font-family: "Coda", system-ui;
  font-weight: 800;
  font-style: normal; */
  /* max-width: 500px; */
  background-color: rgba(255, 255, 255, 0.412);
  padding: 15px;
  /* border-radius: 20px; */
  border-bottom-right-radius: 20px;
  border-top-left-radius: 20px;
  text-shadow: 2px 6px 18px rgba(0, 0, 0, 0.6);
}


.txcdl{
  display: flex;
  align-items: center;
  justify-content: center;
}

.dividerp0-affin2 {
  width: 3px;
  height: 100px;
  background-color: white;
  margin: 0 20px;
}

.descriptionp0-affin2 {
  font-size: 1rem;
  max-width: 600px;
  line-height: 1.5;
  text-align: left;
}

.slider-buttons-affin2 {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}



.slider-buttons-affin2 button {
  padding: 10px;
  font-size: 1.2rem;
  background-color: rgba(0, 0, 0, 0.479);
  border: none;
  cursor: pointer;
  color: white;
  transition: background 0.3s ease;
  border-radius: 10px;
}

.slider-buttons-affin2 button:hover {
  background-color: rgba(0, 0, 0, 0.651);
}

.brcc{
  display: none;
}

@media only screen and (max-width: 814px) {
  .titlep0-affin2 span{
    font-size: 8rem;
    line-height: -10rem;
  }

  .brcc{
    display: unset;
  }
}

@media only screen and (max-width: 660px) {
  .titlep0-affin2 span {
      font-size: 6rem;
      line-height: 1;
      display: block;
  }
}

@media only screen and (max-width: 512px) {
  .titlep0-affin2 span{
    padding-top: 50px;
    font-size: 6rem;
    /* line-height: 4rem; */
  }
}
/* new home banner caro ends */




/* TRUSTED PARTNERS STARTS */
 @keyframes slidesxyzaffin {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
    }

    .logosAffin {
    overflow: hidden;
    padding: 30px 0px;
    white-space: nowrap;
    position: relative;
    display: flex;
    }

    .logosAffin:before, .logosAffin:after {
    position: absolute;
    top: 0;
    content: '';
    width: 250px;
    height: 100%;
    z-index: 2;
    }

    .logosAffin:before {
    left: 0;
    background: linear-gradient(to left, rgba(255,255,255,0), rgb(255, 255, 255));
    }

    .logosAffin:after {
    right: 0;
    background: linear-gradient(to right, rgba(255,255,255,0), rgb(255, 255, 255));
    }

    .logo_itemsAffin {
    display: inline-block;
    animation: 90s slidesxyzaffin infinite linear;
    display: flex;
    }

    .logosAffin:hover .logo_itemsAffin {
    animation-play-state: paused;
    }

    .logo_itemsAffin img{
    height: 100px;
    }

    .logosAffin:before,
    .logosAffin:after {
        background: none;
        width: 0;
    }
/* TRUSTED PARTNERS ENDS */






/* Home carosel starts */
 @keyframes slidesxyzaffin {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
    }

    .logosAffincaro {
    overflow: hidden;
    /* padding: 30px 0px; */
    white-space: nowrap;
    position: relative;
    display: flex;
    }

    .logosAffincaro:before, .logosAffincaro:after {
    position: absolute;
    top: 0;
    content: '';
    width: 250px;
    height: 100%;
    z-index: 2;
    }

    .logosAffincaro:before {
    left: 0;
    background: linear-gradient(to left, rgba(255,255,255,0), rgb(255, 255, 255));
    }

    .logosAffincaro:after {
    right: 0;
    background: linear-gradient(to right, rgba(255,255,255,0), rgb(255, 255, 255));
    }

    .logo_itemsAffinCaro {
    display: inline-block;
    animation: 90s slidesxyzaffin infinite linear;
    display: flex;
    }


    .logo_itemsAffinCaro img{
      height: 200px;
    }

    .logosAffincaro:before,
    .logosAffincaro:after {
        background: none;
        width: 0;
    }

    
  @media screen and (max-width: 712px) {
    .logo_itemsAffinCaro img{
      height: 130px;
    }
  }
/* Home carosel ends */



.hero-contentaffin27hero h1 {
  font-size: 8rem;
  font-weight: bolder;
  margin-bottom: 1rem;
  color: #ffffffe7;
  font-family: 'Teko', sans-serif;
  letter-spacing: 0.04em;
}

.hero-contentaffin27hero p {
  font-size: 1.25rem;
  color: #ffffff;
  background-color: rgba(216, 11, 11, 0.774);
  padding: 50px;
  animation: cornerSwap 3s ease-in-out infinite;
}



/* new hero hom starts */
.heroaffin27hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0;
}

/* fallback image */
.heroFallbackaffin27hero {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Background video */
.heroaffin27hero video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 1;
}


/* Overlay gradient */
.heroaffin27hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgb(0, 0, 0),
    rgba(255, 255, 255, 0)
  );
  z-index: 2;
}

/* Content */
.hero-contentaffin27hero {
  position: relative;
  z-index: 3;
  max-width: 1000px;
  padding: 1rem;
}


/* Animation */
@keyframes cornerSwap {
  0% {
    border-top-left-radius: 0;
    border-top-right-radius: 50px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 50px;
  }
  50% {
    border-top-left-radius: 50px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 50px;
    border-bottom-left-radius: 0;
  }
  100% {
    border-top-left-radius: 0;
    border-top-right-radius: 50px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 50px;
  }
}





  @media screen and (max-width: 848px) {
    .hero-contentaffin27hero h1 {
      font-size: 6rem;
      margin-bottom: 0;
      /* letter-spacing: 0.04em; */
    }

    .hero-contentaffin27hero p {
      font-size: 1.25rem;
      padding: 30px;
    }
  }
  
  
  @media screen and (max-width: 610px) {
    .hero-contentaffin27hero h1 {
      font-size: 4rem;
      margin-bottom: 0;
      /* letter-spacing: 0.04em; */
    }

    .hero-contentaffin27hero p {
      font-size: 1.2rem;
      padding: 20px;
    }
  }
  
  
  @media screen and (max-width: 388px) {
    .hero-contentaffin27hero h1 {
      font-size: 5rem;
      margin-bottom: 0;
      /* letter-spacing: 0.04em; */
      line-height: 4rem;
    }

    .hero-contentaffin27hero p {
      font-size: 1.2rem;
      padding: 20px;
    }
  }
/* new hero hom ends */









/* bank account starts */
.payment-list-ps {
    font-family: Arial, Helvetica, sans-serif;
    background: #f7f7f7;
    max-width: 900px;
    margin: 40px auto;
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    color: #333;
    overflow-x: auto; /* make container scrollable on small screens */
}
.payment-title-ps {
    text-align: center;
    font-size: 24px;
    margin-bottom: 30px;
    font-weight: bold;
    color: #2c3e50;
}
.payment-table-ps {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    min-width: 600px; /* ensures table doesn’t shrink too much */
}
.payment-table-ps th,
.payment-table-ps td {
    padding: 14px 10px;
    border-bottom: 1px solid #e6e6e6;
    vertical-align: middle;
}
.payment-table-ps th {
    font-size: 16px;
    color: #ffffff;
    letter-spacing: 0.5px;
}
.payment-table-ps td {
    font-size: 16px;
    color: #333;
}
.ac-number-ps {
    font-weight: bold;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.ac-name-ps {
    font-size: 15px;
    color: #34495e;
    text-transform: uppercase; /* keep account name in caps */
}
.currency-tag-ps {
    font-size: 13px;
    padding: 6px 12px;
    font-weight: bold;
    border-radius: 8px;
    background: #fc2525;
    color: #fff;
    display: inline-block;
}
.copy-btn-ps {
    cursor: pointer;
    font-size: 14px;
    padding: 4px 8px;
    border-radius: 6px;
    background: #eef1f5;
    border: 1px solid #d6dae2;
    transition: 0.3s;
}
.copy-btn-ps:hover {
    background: #dfe3ea;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .payment-table-ps th,
    .payment-table-ps td {
        padding: 10px 6px;
        font-size: 14px;
    }
    .ac-number-ps {
        font-size: 16px;
    }
    .ac-name-ps {
        font-size: 14px;
    }
    .currency-tag-ps {
        font-size: 12px;
        padding: 4px 8px;
    }
    .copy-btn-ps {
        font-size: 12px;
        padding: 3px 6px;
    }
}
@media (max-width: 480px) {
    .payment-table-ps {
        min-width: 500px; /* horizontal scroll on very small screens */
    }
}
/* bank account ends */




/* share starts */
.share-nsnews{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    align-items:center;
    margin:25px 0;
}

.share-nsnews span{
    font-weight:600;
    font-size:14px;
}

.share-nsnews a{
    padding:7px 14px;
    border-radius:6px;
    background:#f2f2f2;
    text-decoration:none;
    font-size:13px;
    color:#000;
    transition:.3s;
    white-space:nowrap;
}

.share-nsnews a:hover{
    background:#ddd;
}
/* share ends */



/* new tiles home starts */
    .cards-container-icv {
      display: flex;
      flex-wrap: nowrap;          
      max-width: 1400px;
      margin: 0 auto;
      padding: 0 1rem;
    }

    
    .card-icv {
      flex: 1 1 0;               
      min-width: 0;              
      min-height: 400px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 1.8rem 1rem;
      text-align: center;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.267);
      transition: transform 0.15s ease, box-shadow 0.15s ease;
      border-bottom-right-radius: 40%;
      border-bottom-left-radius: 40%;
      background:
        linear-gradient(rgba(255, 255, 255, 0.363), rgba(255, 255, 255, 0.384)),
        url("../images/city//15.webp");
    }
    

    .card-icv h3 {
      font-size: clamp(1.1rem, 3.5vw, 1.35rem);
      margin: 0.9rem 0 0.6rem;
      color: black;
      /* font-weight: 600; */
      font-family: Arial, Helvetica, sans-serif;
    }

    .icon-icv {
      font-size: clamp(2.2rem, 6vw, 3.6rem);
      color: red;
      margin-bottom: 0.4rem;
    }


    @media screen and (max-width: 900px) {
        .card-icv {           
          min-height: 200px;
          border-bottom-right-radius: 40%;
          border-bottom-left-radius: 40%;
        }
    }
    
    @media screen and (max-width: 513px) {
        .card-icv {           
          min-height: 100px;
          border-bottom-right-radius: 30%;
          border-bottom-left-radius: 30%;
        }

        .cards-container-icv {
          padding: 0;
        }

        .card-icv h3 {
          margin: 0.5rem 0 0.5rem;
          font-size: 16px;
        }

        .icon-icv {
          font-size: 20px;
          margin-bottom: 0.2rem;
        }
    }
    
    

/* new tiles home ends */