/* bg video code starts here */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: inter,sans-serif;
}

.profile {
    display: none; /* Hidden by default */
    margin-left: 0.75rem;
    position: relative;
    cursor: pointer;
}

.profile-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #3182ce;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.3s;
}

.profile:hover .profile-circle {
    transform: scale(1.05);
    box-shadow: 0 0 0 2px rgba(49, 130, 206, 0.3);
}

.profile-link {
    text-decoration: none;
    cursor: pointer;
    display: block;
}

.profile-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #2c4d88;
    color: #e6f0fd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.profile-link:hover .profile-circle {
    transform: scale(1.05);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.profile-link:active .profile-circle {
    transform: scale(0.95);
}

.hero {
    position: relative;
    height: 800px;
    width: 100%;
    background-color: grey;
    overflow: hidden;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 0;
}

.content {
    position: absolute;
    z-index: 1;
    color: white;
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    padding: 0 20px;
}

.content h1 {
    color: #EEE;
    text-align: center;
    font-family: Inter, sans-serif;
    font-size: 60px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    letter-spacing: 0.6px;
    margin-bottom: 20px;
}

.content p {
    color: #EEE;
    text-align: center;
    font-family: Inter, sans-serif;
    font-size: 25px;
    font-style: normal;
    font-weight: 400;
    line-height: 160%;
}

#background-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    background: rgba(0, 0, 0, 0.10);
}

@media screen and (max-width: 992px) {
    .hero {
        height: 600px;
    }
    
    .content {
        width: 90%;
    }
    
    .content h1 {
        font-size: 48px;
    }
    
    .content p {
        font-size: 22px;
    }
}

@media screen and (max-width: 576px) {
    .hero {
        height: 500px;
    }
    
    .content {
        width: 95%;
        top: 55%;
    }
    
    .content h1 {
        font-size: 36px;
        margin-bottom: 15px;
    }
    
    .content p {
        font-size: 18px;
    }
}

/* card code starts here */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f8f9fa;
}

.cards-section {
    width: 100%;
    height: auto;
    background-color: #fff;
    display: flex;
    padding: 90px 8%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 70px;
}

.card-1 {
    height: auto;
    width: 100%;
    max-width: 1125px;
    background-color: #F8F8F8;
    display: flex;
    padding: 0;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card-1:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.card-img, .card-img2 {
    height: 450px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex: 0 0 530px;
    position: relative;
    overflow: hidden;
}

.card-img::before, .card-img2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    transition: background-color 0.4s ease;
}

.card-1:hover .card-img::before, .card-1:hover .card-img2::before {
    background-color: rgba(0, 0, 0, 0.1);
}

.card-img {
    background-image: url(/Images/1_HomePage-img/home-card-img1.jpg);
}

.card-img2 {
    background-image: url(/Images/1_HomePage-img/home-card-img2.jpg);
}

.card-content {
    flex: 1;
    height: auto;
    display: flex;
    padding: 50px 40px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    transform: translateY(0);
    transition: transform 0.4s ease;
}

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

.card-logo {
    height: 60px;
    margin-bottom: 10px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.card-1:hover .card-logo {
    opacity: 1;
}

.card-heading {
    width: 100%;
    height: auto;
    color: #12326E;
    font-family: Inter, sans-serif;
    font-size: 42px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    position: relative;
    transition: color 0.3s ease;
}

.card-heading::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 70px;
    height: 3px;
    background-color: #E94B3C;
    transition: width 0.4s ease;
}

.card-1:hover .card-heading::after {
    width: 120px;
}

.card-para {
    width: 100%;
    height: auto;
    color: rgba(0, 0, 0, 0.65);
    font-family: Inter, sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 160%;
    letter-spacing: 0.25px;
}

.card-btn {
    margin-top: 15px;
    padding: 12px 28px;
    background-color: #12326E;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.card-1:hover .card-btn {
    opacity: 1;
    transform: translateY(0);
}

.card-btn:hover {
    background-color: #0A214E;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(18, 50, 110, 0.3);
}

@media screen and (max-width: 992px) {
    .cards-section {
        padding: 70px 5%;
        gap: 50px;
    }
    
    .card-1 {
        gap: 30px;
    }
    
    .card-img, .card-img2 {
        flex: 0 0 400px; 
        height: 400px;
    }
    
    .card-heading {
        font-size: 36px;
    }
    
    .card-para {
        font-size: 18px;
    }
    
    .card-content {
        padding: 40px 30px;
    }
}

@media screen and (max-width: 768px) {
    .cards-section {
        padding: 60px 20px;
        gap: 40px;
    }
    
    .card-1 {
        flex-direction: column;
        height: auto;
        gap: 0;
    }
    
    .card-img, .card-img2 {
        width: 100%;
        flex: none;
        height: 300px;
    }
    
    .card-content {
        width: 100%;
        padding: 35px 30px;
    }
    
    .card-heading {
        font-size: 30px;
    }
    
    .card-btn {
        opacity: 1;
        transform: translateY(0);
    }
}

@media screen and (max-width: 480px) {
    .cards-section {
        padding: 50px 15px;
        gap: 30px;
    }
    
    .card-img, .card-img2 {
        height: 220px;
    }
    
    .card-content {
        padding: 30px 20px;
    }
    
    .card-heading {
        font-size: 26px;
    }
    
    .card-para {
        font-size: 16px;
    }
    
    .card-logo {
        height: 40px;
    }
}

/* slider code starts here  */
.stories-slider-container {
    width: 100%;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 15px;
    margin-bottom:120px;
  }

  .stories-slider-heading {
    text-align: center;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: bold;
    width: 100%;
    margin-bottom: 3rem;
  }

  .stories-slider-wrapper {
    width: 100%;
    position: relative;
    overflow: visible;
  }

  .stories-slider-swiper {
    width: 100%;
    height: 100%;
  }

  .stories-slider-card {
    background: #F1F1F1;
    border-radius: 8px;
    height: auto;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
  }

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

  .stories-slider-card-content {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .stories-slider-image-container {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
  }

  .stories-slider-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
  }

  .stories-slider-caption {
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    color: black;
    padding: 1rem;
  }

  .stories-slider-button-next,
  .stories-slider-button-prev {
    color: black;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
  }

  .stories-slider-button-next:after{
    font-size: 18px;
    margin-right: -80px;
  }
  .stories-slider-button-prev:after {
    font-size: 18px;
    margin-left: -80px;
  }

  .stories-slider-button-next:hover,
  .stories-slider-button-prev:hover {
    color: orangered;
  }

  .stories-slider-pagination {
    position: relative;
    margin-bottom:-10px;
  }

  @media (max-width: 992px) {
    .stories-slider-button-next,
    .stories-slider-button-prev {
      display: flex;
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      margin: 0 10px;
    }
  }

  @media (max-width: 768px) {
    .stories-slider-container {
      padding: 0 10px;
    }
  }

  @media (max-width: 576px) {
    .stories-slider-button-next,
    .stories-slider-button-prev {
      width: 30px;
      height: 30px;
    }
    
    .stories-slider-button-next:after,
    .stories-slider-button-prev:after {
      font-size: 14px;
    }
  }

/* testimonials code css  */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:wght@500;600&display=swap');

a:link, a:active, a:visited, a:hover {
    color: white;
}

.outerdiv {
    width: 100%;
    min-height: 100vh;
    /* background: #EDF2F8; */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 100px;
    color: white;
}

.innerdiv {
    transform: scale(0.9);
    margin: 1rem;
    display: grid;
    grid-gap: 1.5rem;
    grid-template-rows: repeat(2, 22rem);
    grid-template-columns: repeat(4, 17rem);
}

.eachdiv {
    padding: 1rem 2rem;
    border-radius: 0.8rem;
    box-shadow: 5px 5px 20px #6d6b6b6b;
    color: white;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

/* Hover glow effect with color matching */
.div1:hover {
    box-shadow: 0 10px 30px rgba(241, 97, 54, 0.4);
    transform: translateY(-8px);
}

.div2:hover {
    box-shadow: 0 10px 30px rgba(73, 85, 107, 0.4);
    transform: translateY(-8px);
}

.div3:hover {
    box-shadow: 0 10px 30px rgba(120, 120, 120, 0.3);
    transform: translateY(-8px);
}

.div4:hover {
    box-shadow: 0 10px 30px rgba(120, 120, 120, 0.3);
    transform: translateY(-8px);
}

.div5:hover {
    box-shadow: 0 10px 30px rgba(10, 50, 120, 0.4);
    transform: translateY(-8px);
}

/* Background shimmer effect */
.eachdiv::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(45deg);
    z-index: 0;
    transition: all 0.6s ease;
    opacity: 0;
}

.eachdiv:hover::before {
    animation: shimmer 1.5s infinite;
    opacity: 1;
}

@keyframes shimmer {
    0% {
        left: -150%;
    }
    100% {
        left: 150%;
    }
}

.div1 {
    background: #F16136;
    grid-column: 1/3;
    grid-row: 1/2;
    background-repeat: no-repeat;
    background-position-x: 25rem;
}

.div2 {
    background: #49556B;
    grid-column: 3/4;
    grid-row: 1/2;
}

.div3 {
    background: white;
    grid-column: 4/5;
    grid-row: 1/3;
    color: black;
}

.div4 {
    background: white;
    grid-column: 1/2;
    grid-row: 2/3;
    color: black;
}

.div5 {
    background: #0A3278;
    grid-column: 2/4;
    grid-row: 2/3;
}

.userdetails {
    display: flex;
    position: relative;
    z-index: 1;
}

.imgbox {
    margin-right: 1rem;
}

.imgbox img {
    border-radius: 50%;
    width: 2rem;
    border: 2px solid rgba(206, 197, 197, 0.5);
    transition: all 0.4s ease;
}

.eachdiv:hover .imgbox img {
    transform: scale(1.2) rotate(10deg);
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.detbox {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.detbox p {
    margin: 0;
}

.detbox .name {
    color: white;
    font-size: 0.9rem;
    margin-bottom: 0.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.eachdiv:hover .detbox .name {
    transform: translateX(5px);
}

.detbox .name.dark {
    color: #49505A;
}

.detbox .designation {
    color: white;
    opacity: 50%;
    font-size: 0.8rem;
    transition: all 0.4s ease;
}

.eachdiv:hover .detbox .designation {
    opacity: 0.8;
    transform: translateX(5px);
}

.detbox .designation.dark {
    color: #49505A;
}

.review {
    position: relative;
    z-index: 1;
}

.review h4 {
    font-size: 1.4rem;
    color: white;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 0.8rem;
    position: relative;
    transition: all 0.3s ease;
}

/* Quote marks effect */
.review h4::before {
    content: '"';
    font-size: 3.5rem;
    position: absolute;
    opacity: 0.08;
    top: -1.5rem;
    left: -0.8rem;
    transition: all 0.4s ease;
}

.eachdiv:hover .review h4::before {
    opacity: 0.15;
    transform: scale(1.2) translateY(-5px);
}

.eachdiv:hover .review h4 {
    transform: translateY(-2px);
}

.review.dark h4 {
    color: #4B5258;
}

.review p {
    font-size: 0.95rem;
    color: white;
    font-weight: 500;
    opacity: 50%;
    line-height: 1.5;
    transition: all 0.4s ease;
}

.eachdiv:hover .review p {
    opacity: 0.75;
    transform: translateY(2px);
}

.review.dark p {
    color: #0e0e0e;
}

/* Add a subtle border highlight on hover */
.eachdiv::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.5), transparent);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.eachdiv:hover::after {
    transform: scaleX(1);
}

.attribution {
    font-size: 1rem;
    line-height: 1.5;
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    text-align: right;
}

.attribution a {
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.attribution a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: white;
    transition: width 0.3s ease;
}

.attribution a:hover::after {
    width: 100%;
}

/* Responsive adjustments */
@media only screen and (max-width: 1000px) {
    .innerdiv {
        transform: scale(0.7);
    }
}

@media only screen and (max-width: 800px) {
    .innerdiv {
        transform: scale(0.6);
    }
}

@media only screen and (max-width: 600px) {
    .div1 {
        background-position-x: 10rem;
    }
    
    .innerdiv {
        display: flex; 
        flex-direction: column;
        transform: scale(1);
        margin: 2rem;
        margin-bottom: 5rem;
    }
    
    .attribution {
        position: relative;
    }
    
    /* Make touch animations still work on mobile */
    .eachdiv:active {
        transform: translateY(-5px);
    }
    
    .eachdiv:active .imgbox img {
        transform: scale(1.1);
    }
}
/* footer  code starts here*/
.complete-footer {
    width: 100%;
    height: 1100px;
    position: relative;
    overflow: hidden;
    color: white;
}

.complete-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(270deg, rgba(0, 0, 0, 0.14) 0%, rgba(0, 0, 0, 0.14) 100%), 
                linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 100%) 60.59%, #000 100%);
    z-index: 1;
}

.complete-footer::after {
    content: "";
    position: absolute;
    top: -800px; 
    left: 0;
    width: 100%;
    height: 150%;
    background: url('/Images/footer-img.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.foot-logo {
    height: 100px;
    width: 460px;
    position: relative;
    top: 500px;
    left: 130px;
    z-index: 3;
}

.foot-logo img {
    max-width: 100%;
    height: auto;
}

.foot-links {
    font-family: inter,sans-serif;
    height: 300px;
    width: 1000px;
    position: relative;
    top: 550px;
    left: 145px;
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 100px;
}

h4 {
    margin-bottom: 10px;
}

.link1 {
    height: 250px;
    width: 310px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    flex: 1 0 0;
}

.address {
    height: 150px;
}

.helplines {
    height: 90px;
}

.link2 {
    height: 250px;
    width: 310px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1 0 0;
    align-self: stretch;
    gap: 10px;
}

.link3 {
    height: 250px;
    width: 310px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1 0 0;
}
.link2 a:hover, .link3 a:hover {
    color: #FAA831 !important;
}
.social {
    width: 200px;
    height: 30px;
    color: black;
    display: flex;
    align-items: center;
    gap: 10px;
}

.social i {
    color: grey;
}

.fb:hover {
    color: #3D5A98;
    transition: 0.2s ease-in-out;
}
.in:hover {
    color: #0A66C2;
    transition: 0.2s ease-in-out;
}
.yt:hover {
    color: #FF0000;
    transition: 0.2s ease-in-out;
}

.ig {
    color: gray; 
    transition: all 0.3s ease-in-out;
}

.ig:hover {
    background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.foot-copyright {
    height: 70px;
    width: 100%;
    border-top: 1px solid white;
    padding: 0px 145px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 3;
}

.copyright {
    height: 40px;
    display: flex;
    align-items: center;
}

.terms {
    height: 40px;
    display: flex;
    align-items: center;
    gap: 20px;
}
.terms a:hover {
    color: #FAA831 !important;
}

@media screen and (max-width: 1200px) {
    .foot-links {
        width: 90%;
        left: 5%;
        gap: 50px;
    }
    
    .foot-logo {
        left: 5%;
        width: 400px;
    }
    
    .foot-copyright {
        padding: 0 5%;
    }
}

@media screen and (max-width: 992px) {
    .foot-links {
        flex-wrap: wrap;
        height: auto;
        top: 450px;
        gap: 40px;
    }
    
    .foot-logo {
        top: 400px;
        width: 350px;
    }
    
    .link1, .link2, .link3 {
        width: 45%;
    }
    
    .complete-footer {
        height: 1200px;
    }
}

@media screen and (max-width: 768px) {
    .foot-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
        top: 400px;
    }
    
    .foot-logo {
        top: 350px;
        width: 300px;
    }
    
    .link1, .link2, .link3 {
        width: 100%;
        height: auto;
    }
    
    .complete-footer {
        height: 1400px;
    }
    
    .complete-footer::after {
        top: -600px;
    }
    
    .foot-copyright {
        flex-direction: column;
        height: auto;
        padding: 15px 5%;
    }
    
    .copyright, .terms {
        height: auto;
        text-align: center;
    }
}

@media screen and (max-width: 576px) {
    .foot-logo {
        width: 90%;
        left: 5%;
        top: 300px;
    }
    
    .foot-links {
        top: 350px;
    }
    
    h4 {
        font-size: 16px;
    }
    
    p, a {
        font-size: 14px;
    }
    
    .social {
        width: 160px;
    }
    
    .social i {
        font-size: 18px !important;
    }
    
    .complete-footer {
        height: 1350px;
    }
    
    .complete-footer::after {
        top: -500px;
    }
    
    .terms {
        gap: 10px;
    }
}

@media screen and (max-width: 400px) {
    .complete-footer {
        height: 1300px;
    }
    
    .complete-footer::after {
        top: -400px;
    }
    
    .foot-logo {
        top: 250px;
    }
    
    .foot-links {
        top: 300px;
    }
}