﻿@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

html, body 
{
  overflow-x: hidden;
  scroll-behavior: smooth;
}

.top-bar {
  width: 100%;
  background-color: #5271ff;
  color: #fff;
  font-size: 13px;
  padding: 5px 15px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 3000;
  height: 36px;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
  height: 100%;
  flex-wrap: nowrap;
  overflow: hidden;
  white-space: nowrap;
}

.top-left span {
  margin-right: 20px;
}

.top-bar i {
  margin-right: 5px;
}

.top-right a {
  color: #fff;
  margin-left: 10px;
  font-size: 14px;
  text-decoration: none;
}

.top-right a:hover {
  color: #ffd700;
}

/* ✅ RESPONSIVE - Reduce font & spacing on small screens */
@media (max-width: 575.98px) {
  .top-bar {
    font-size: 11px;
    height: auto;
    padding: 6px 10px;
  }

  .top-left span {
    margin-right: 12px;
  }

  .top-right a {
    margin-left: 8px;
    font-size: 13px;
  }

  .top-bar-content {
    flex-wrap: wrap;
    gap: 5px;
    justify-content: space-between;
  }
}





/* === HEADER SPLIT DESIGN === */
header {
  display: flex;
  width: 100%;
  height: 90px;
  position: fixed;
  top: 35px; /* space for top bar */
  left: 0;
  z-index: 2000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* Left Side (Logo Area) */
.header-left {
  background-color: #ffffff;
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0 30px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 80px;
  width: auto;
  margin-right: 10px;
}

.logo-text {
  font-size: 20px;
  font-weight: 600;
  color: #000;
}

/* Right Side (Navigation Area) with Diagonal Cut */
.header-right {
  background-color: #5271ff;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 30px;
  position: relative;
  clip-path: polygon(6% 0%, 100% 0%, 100% 100%, 0% 100%);
}

/* Nav Links */
nav.nav-links {
  display: flex;
  gap: 20px;
}

nav.nav-links a {
  color: #fff;
  text-decoration: none;
  padding: 10px 15px;
  font-size: 16px;
  border-radius: 4px;
  transition: background 0.3s;
}

nav.nav-links a.active,
nav.nav-links a:hover {
  background-color: #fff;
  color: #5271ff;
}

/* Hamburger Icon – hidden on desktop */
.menu-toggle {
  display: none;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
}

@media (max-width: 768px) {
  header {
    flex-direction: row;        /* Keep left & right side in one row */
    flex-wrap: nowrap;
    height: auto;
    background-color: #ffffff;  /* White background for full header */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }

  .header-left, .header-right {
    flex: 1;
    width: auto;
    clip-path: none;
    padding: 10px 15px;
    background-color: transparent; /* Inherit white from header */
  }

  .header-left {
    justify-content: flex-start;
  }

  .header-right {
    justify-content: flex-end;
    align-items: center;
  }

  .menu-toggle {
    display: block;
    color: #5271ff;
    font-size: 26px;
  }

  nav.nav-links {
  display: none;
  position: fixed;              /* Use fixed to overlay full width */
  top: 90px;                    /* Below header */
  left: 0;
  width: 100vw;                 /* Full viewport width */
  max-height: 100vh;            /* Prevent going beyond screen */
  background-color: #5271ff;
  flex-direction: column;
  z-index: 1999;
  overflow-y: auto;             /* Scroll if items overflow */
}

nav.nav-links.show {
  display: flex;
}

nav.nav-links a {
  width: 100%;
  padding: 15px 20px;
  border-bottom: 1px solid #ffffff33;
  color: #fff;
  text-decoration: none;
  box-sizing: border-box;
}


  nav.nav-links a:hover,
  nav.nav-links a.active {
    background-color: #fff;
    color: #5271ff;
  }
}

@media (max-width: 768px) {
  .header-left {
    display: flex;
    flex-direction: row;       /* Keep logo + text in one row */
    align-items: center;
    justify-content: flex-start;  /* Keep content aligned to the left */
    padding: 18px 15px;
  }

  .logo img {
    height: 50px;              /* Adjust size for mobile */
    margin-right: 10px;
  }

  .logo-text {
    font-size: 18px;
    font-weight: 600;
    color: #000;
    white-space: nowrap;      /* Prevent wrapping to 2 lines */
  }
}


/* === CAROUSEL SECTION === */
.carousel {
  width: 100vw;
  height: calc(100vh - 125px); /* adjusted height to avoid overlap */
  margin-top: 125px; /* top-bar (35px) + header (90px) */
  overflow: hidden;
  position: relative;
}

.carousel .list .item {
  width: 180px;
  height: 250px;
  position: absolute;
  top: 80%;
  transform: translateY(-70%);
  left: 70%;
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
  background-position: 50% 50%;
  background-size: cover;
  z-index: 0;
  transition: 1s;
}

.carousel .list .item:nth-child(1),
.carousel .list .item:nth-child(2) {
  top: 0;
  left: 0;
  transform: translate(0, 0);
  border-radius: 0;
  width: 100%;
  height: 100%;
}

.carousel .list .item:nth-child(3) { left: 67%; }
.carousel .list .item:nth-child(4) { left: calc(67% + 200px); }
.carousel .list .item:nth-child(5) { left: calc(67% + 400px); }
.carousel .list .item:nth-child(6) { left: calc(67% + 600px); }
.carousel .list .item:nth-child(n + 7) { left: calc(67% + 800px); opacity: 0; }

.item .content {
  position: absolute;
  top: 50%;
  left: 100px;
  transform: translateY(-50%);
  width: 400px;
  text-align: left;
  color: #FFFFFF;
  display: none;
}
.list .item:nth-child(2) .content { display: block; }

.content .title {
  font-size: 100px;
  text-transform: uppercase;
  color: #ffc107;
  font-weight: bold;
  line-height: 1;
  opacity: 0;
  animation: animate 1s ease-in-out .3s forwards;
}
.content .name {
  font-size: 100px;
  text-transform: uppercase;
  font-weight: bold;
  line-height: 1;
  text-shadow: 3px 4px 4px rgba(255, 255, 255, 0.8);
  opacity: 0;
  animation: animate 1s ease-in-out .6s forwards;
}
.content .des {
  margin: 10px 0 20px 5px;
  font-size: 18px;
  opacity: 0;
  animation: animate 1s ease-in-out .9s forwards;
}
.content .btn {
  margin-left: 5px;
  opacity: 0;
  animation: animate 1s ease-in-out 1.2s forwards;
}
@keyframes animate {
  from {
    opacity: 0;
    transform: translate(0, 100px);
    filter: blur(33px);
  }
  to {
    opacity: 1;
    transform: translate(0);
    filter: blur(0);
  }
}
.content .btn button {
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  font-size: 16px;
  border: 2px solid #fff;
}
.content .btn button:nth-child(1) { margin-right: 15px; }
.content .btn button:nth-child(2) {
  background: transparent;
  color: #ffc107;
  border: 2px solid #fff;
  transition: 0.3s;
}
.content .btn button:nth-child(2):hover {
  background: #5271ff;
  color: #fff;
  border-color: #ffc107;
}

.arrows {
  position: absolute;
  top: 80%;
  right: 52%;
  z-index: 100;
  width: 300px;
  max-width: 30%;
  display: flex;
  gap: 10px;
  align-items: center;
}
.arrows button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #5271ff;
  color: #FFFFFF;
  border: none;
  outline: none;
  font-size: 16px;
  font-family: monospace;
  font-weight: bold;
  transition: 0.5s;
  cursor: pointer;
}
.arrows button:hover {
  background: #FFFFFF;
  color: #000000;
}

.carousel .timeRunning {
  position: absolute;
  z-index: 1000;
  width: 0%;
  height: 4px;
  background-color: #5271ff;
  left: 0;
  top: 0;
  animation: runningTime 7s linear forwards;
}
@keyframes runningTime {
  from { width: 0%; }
  to { width: 100%; }
}

/* === Responsive Fixes === */
@media screen and (max-width: 999px) {
  header { padding-left: 50px; }
  .list .item .content { left: 50px; }
  .content .title, .content .name { font-size: 70px; }
  .content .des { font-size: 16px; }
}

@media screen and (max-width: 690px) {
  header nav a { font-size: 14px; margin-right: 0; }
  .list .item .content { top: 40%; }
  .content .title, .content .name { font-size: 45px; }
  .content .btn button { padding: 10px 15px; font-size: 14px; }
}

@media screen and (max-width: 450px) {
  .item .content { width: 300px; }
  .list .item .content { left: 20px; }
}










.about-section {
  position: relative;
  width: 100vw;
  overflow: hidden;
  height: auto;
}


.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100vw;
  min-height: 100vh;
  object-fit: cover;
  z-index: 1;
}





.about-overlay {
  position: relative;
  z-index: 2;
  padding: 100px 20px;
 

}

.about-card {
  max-width: 1100px;
  margin: auto;
  background: #ffffff;
  border-radius: 25px;
  padding: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  gap: 30px;
}

.about-text {
  flex: 1 1 300px;
}

.about-text h2 {
  font-size: 36px;
  color: #2c3e50;
  margin-bottom: 20px;
}

.about-text p {
  font-size: 18px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 25px;
}

.about-links p {
  font-size: 16px;
  color: #555;
  margin-bottom: 5px;
}

.about-links i {
  margin-right: 8px;
  color: #5271ff;
}

.about-image {
  flex: 1 1 250px;
  text-align: center;
}

.about-image img {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.about-image img:hover {
  transform: scale(1.05);
}
.about-image video {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  animation: spin 20s linear infinite; /* Add this line */
  transition: transform 0.3s ease;
}





/* Responsive */
@media (max-width: 768px) {
  .about-card {
    flex-direction: column-reverse;
    text-align: center;
  }

  .about-image img {
    width: 200px;
    height: 200px;
  }

  .about-text h2 {
    font-size: 28px;
  }
}













.vision-mission-3d {
      background: linear-gradient(to bottom right, #e0eaff, #f5faff);
      padding: 100px 20px;
      text-align: center;
      position: relative;
      overflow: hidden;
    }

    .circle-section-title {
      font-size: 36px;
      color: #2c3e50;
      font-weight: bold;
      margin-bottom: 60px;
      z-index: 2;
      position: relative;
    }

    .circle-wrapper {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 60px;
      position: relative;
      z-index: 2;
    }

    .circle-card {
      width: 300px;
      height: 300px;
      background: #ffffff;
      border-radius: 50%;
      box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.15),
        inset 0 -3px 10px rgba(0, 0, 0, 0.05);
      transition: all 0.6s ease-in-out;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 30px;
      cursor: pointer;
      position: relative;
      overflow: hidden;
    }

    .circle-card:hover {
      border-radius: 30% 70% 50% 50% / 50% 30% 70% 50%;
      box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.2),
        inset 0 -5px 15px rgba(0, 0, 0, 0.1);
      transform: scale(1.06);
    }

    .circle-content {
      text-align: center;
      z-index: 1;
    }

    .circle-card i {
      font-size: 40px;
      color: #5271ff;
      margin-bottom: 15px;
      transition: color 0.3s ease;
    }

    .circle-card:hover i {
      color: #354ed9;
    }

    .circle-card h3 {
      font-size: 20px;
      margin-bottom: 15px;
      font-weight: 600;
      color: #2c3e50;
    }

    .circle-card p {
      font-size: 15px;
      line-height: 1.6;
      color: #555;
    }

    .circle-card:hover p {
      color: #333;
    }

    @media (max-width: 768px) {
      .circle-wrapper {
        flex-direction: column;
        align-items: center;
      }
    }

    /* === BUBBLE BACKGROUND === */
    .bubbles-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  pointer-events: auto; /* enable hover */
}


   .bubbles-background span {
  position: absolute;
  display: block;
  bottom: -60px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.4), rgba(30, 60, 100, 0.9));
  box-shadow:
    inset -5px -5px 15px rgba(255, 255, 255, 0.2),
    0 8px 15px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(2px);
  animation: animateBubble 25s linear infinite;
  transition: all 0.6s ease-in-out;
  cursor: pointer;
}

.bubbles-background span:hover {
  border-radius: 30% 70% 60% 40% / 50% 60% 40% 70%;
  background: radial-gradient(circle at 100% 100%, rgba(255,255,255,0.5), rgba(10, 30, 60, 0.9));
  transform: scale(1.3) rotate(60deg);
  box-shadow:
    inset -8px -8px 20px rgba(255, 255, 255, 0.3),
    0 10px 20px rgba(0, 0, 0, 0.4);
}



    @keyframes animateBubble {
      0% {
        transform: translateY(0) scale(1);
        opacity: 0.5;
      }
      50% {
        opacity: 0.3;
      }
      100% {
        transform: translateY(-1000px) scale(1.2);
        opacity: 0;
      }
    }





.value-section {
  padding: 80px 20px;
  background: url('assets/img/valueimg.png') no-repeat center center;
  background-size: cover;
  text-align: center;
  position: relative;
  z-index: 1;
  color: #000; /* ensures text stays dark and visible */
}

/* Light overlay to soften background image */
.value-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(255, 255, 255, 0.7); /* even lighter */

  z-index: -1;
}


    .value-section h2 {
      font-size: 36px;
      font-weight: bold;
      color: #2c3e50;
      margin-bottom: 60px;
    }

    .card-grid {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 30px;
    }

    .flip-card {
      background: transparent;
      width: 300px;
      height: 380px;
      perspective: 1000px;
    }

    .flip-card-inner {
      position: relative;
      width: 100%;
      height: 100%;
      transition: transform 0.8s;
      transform-style: preserve-3d;
      border-radius: 20px;
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    }

    .flip-card:hover .flip-card-inner {
      transform: rotateY(180deg);
    }

    .flip-card-front,
    .flip-card-back {
      position: absolute;
      width: 100%;
      height: 100%;
      backface-visibility: hidden;
      border-radius: 20px;
      overflow: hidden;
      background: #fff;
      display: flex;
      flex-direction: column;
    }

    .flip-card img {
      width: 100%;
      height: 300px;
      object-fit: cover;
    }

    .card-content {
      padding: 20px;
    }

    .front-content {
      justify-content: center;
      display: flex;
      flex-direction: column;
      flex-grow: 1;
    }

    .front-content p {
      display: none; /* hide any p tag on front if present */
    }

    .card-content h3 {
      font-size: 20px;
      color: #5271ff;
      margin: 10px 0 0;
    }

    .back-content p {
      font-size: 14px;
      color: #555;
      line-height: 1.6;
      margin-top: 15px;
    }

    .flip-card-back {
      transform: rotateY(180deg);
    }

    /* Responsive */
    @media (max-width: 992px) {
      .card-grid {
        flex-direction: column;
        align-items: center;
      }
    }











.site-footer {
  background-color: #5271ff;
  color: #ffffff;
  padding: 40px 20px 20px;
  font-size: 14px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-left h4 {
  font-size: 20px;
  margin-bottom: 10px;
}

.footer-left p {
  max-width: 400px;
  line-height: 1.6;
}

.footer-right h5 {
  font-size: 16px;
  margin-bottom: 10px;
}

.footer-right ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-right ul li {
  margin-bottom: 6px;
}

.footer-right ul li a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-right ul li a:hover {
  color: #ffd700;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding-top: 15px;
  font-size: 13px;
}

.footer-bottom a {
  color: #fff;
  font-weight: bold;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #ffd700;
}





