/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
  /* color: #000; */
}

body {
  background: #fff;
  color: #fff !;
  min-height: 100vh;
  overflow-x: hidden;
}
.bac-margin-css{
    max-width: 800px;
    margin: 0 auto;
}
/* ================= HEADER ================= */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  position: relative;
  z-index: 10;
}

.logo {
  font-size: 26px;
  font-weight: bold;
  letter-spacing: 1px;
  animation: logo 0.5s ease-in-out;
}

@keyframes logo {
  from {
    transform: translateX(-20px);
    opacity: 0;
  }

  to {
    transform: translateX(0px);
    opacity: 1;
  }
}

/* ================= BURGER ================= */
.burger {
  width: 30px;
  cursor: pointer;
  animation: burger 0.5s ease-in-out;
  background: #169bd7;
  width: 50px;
  height: 43px;
  padding: 5px;
  border-radius: 4px;
}

@keyframes burger {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }

  to {
    transform: translateX(0px);
    opacity: 1;
  }
}

.burger span {
  display: block;
  height: 3px;
  background: #fff;
  margin: 6px 0;
  transition: 0.4s;
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ================= NAV MENU ================= */
.nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 250px;
  height: 100vh;
  background-color: #253b80;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  transition: 0.4s;
  z-index: 9;
  box-shadow: 0 0 10px rgb(251, 146, 163);
}

.nav.open {
  right: 0;
}

.nav a {
  color: #fff;

  text-decoration: none;
  font-size: 20px;
  transition: all 0.5s;
}

.nav a:hover {
  transform: scale(1.1);
  color: #169bd7;
}

/* ================= HERO ================= */
.hero {
  height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  animation: hero 0.5s ease-in-out;
}

@keyframes hero {
  from {
    transform: translateY(20px);
    opacity: 0;
  }

  to {
    transform: translateX(0px);
    opacity: 1;
  }
}



.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  color: #fff !important;
}

.hero p {
  /* max-width: 500px; */
  font-size: 18px;
  /* margin-bottom: 30px; */
  /* line-height: 1.6; */
  color: #fff !important;
}

.hero button,
.hero a,
.hero-btn {
  text-decoration: none;
  background: #169bd7;
  color: #fff;
  border: none;
  padding: 14px 30px;
  border-radius: 30px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
  display: inline-block;
  font-weight: 600;
  animation: logo 0.5s ease-in-out;
}

@keyframes logo {
  from {
    transform: scale(0.5);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.hero button:hover,
.hero a:hover,
.hero-btn:hover {
  box-shadow: 0px 0px 5px #fff;
  background-color: #253b80;
}

/* ================= SNOW (FIXED) ================= */
.snow::before,
.snow::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(#fff 1px, transparent 1px);
  background-size: 50px 50px;
  animation: snow 20s linear infinite;
  opacity: 0.3;
  pointer-events: none;
  /* ✅ FIX: NO CLICK BLOCKING */
  z-index: 1;
}

.snow::after {
  animation-duration: 30s;
  opacity: 0.2;
}

@keyframes snow {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 0 1000px;
  }
}

/* ================= FEATURES ================= */
.hero {
  /* background-position: center; */
  background-size: cover;
  background-repeat: no-repeat;
  height: 100vh;
}

.features,
.products,
.testimonials {
  padding: 80px 40px;
  text-align: center;
}

.features h2,
.products h2,
.testimonials h2 {
  font-size: 35px;
  margin-bottom: 40px;
  color: #169bd7;
}

.feature-grid,
.product-grid,
.test-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card,
.product-card,
.test-card {
  background: #253B80;
  padding: 30px;
  border-radius: 20px;
  border: 4px solid #169bd7;
  color: #fff !important;
}

.feature-card:hover,
.product-card:hover,
.test-card:hover {
  box-shadow: 0 0 5px #fff;
  transform: translateY(-10px);
}

/* ================= PRODUCTS ================= */
.product-img {
  height: 230px;
  background: linear-gradient(135deg, #8ccae3, #169bd7);
  border-radius: 15px;
  margin-bottom: 20px;
  transition: all 300ms;
  overflow: hidden;
}

.product-img:hover {
  transform: scale(0.99);
}

.product-card button {
  border: none;
  padding: 12px 20px;
  border-radius: 30px;
  cursor: pointer;
  margin-top: 15px;
  background: #169bd7;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.product-card button:hover {
  box-shadow: 0px 0px 5px #fff;
  background-color: #fff;
  color: #000;
  font-size: 14px;
  font-weight: 600;
}


/* ================= ABOUT ================= */
.about-hero {
  padding: 260px 40px;
  text-align: center;
  animation: about-hero 0.5s ease-in-out;
  background-repeat: no-repeat;
  background-position: right;
  background-size: cover;
}

@keyframes about-hero {
  from {
    transform: translateY(20px);
    opacity: 0;
  }

  to {
    transform: translateY(0px);
    opacity: 1;
  }
}



.about-hero h1 {
  font-size: 40px;
  margin-bottom: 10px;
  animation: h1 0.5s ease-in-out;
  color: #fff;
  font-weight: 600;
}

@keyframes h1 {
  from {
    transform: scale(0.5);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.about-hero p {
  font-size: 18px;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
  color: #fff !important;
}

.about-section {
  padding: 40px 40px;
  animation: about-section 0.5s ease-in-out;
}

@keyframes about-section {
  from {
    transform: translateY(20px);
    opacity: 0;
  }

  to {
    transform: translateY(0px);
    opacity: 1;
  }
}


.about-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.about-content h2 {
  font-size: 35px;
  margin-bottom: 5px;
  color: #169ad5;
}

.about-content p {
  font-size: 18px;
  line-height: 1.4;
  color: #000;
  font-weight: 400;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.about-card {
  background: #253B80;
  padding: 30px;
  border-radius: 20px;
  border: 4px solid #169ad5;
}

.team-card {
  background: #253B80;
  padding: 30px;
  border-radius: 20px;
  border: 4px solid #169bd7;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: center;
}

.team-img {
  height: 220px;
  border-radius: 20px;
  background: linear-gradient(135deg, lightpink, pink);
  margin-bottom: 15px;
  transition: all 300ms;
  overflow: hidden;
}

.team-img:hover {
  transform: scale(0.99);
}

/* BACK BUTTON */
/* .back {
  padding: 40px;
  text-align: center;
} */

/* .back a {
  color: #3b1d5a;
  text-decoration: none;
  font-size: 18px;
  border: 1px solid #3b1d5a;
  padding: 12px 25px;
  border-radius: 30px;
  transition: 0.3s;
}

.back a:hover {
  box-shadow: 0px 0px 5px #fff;
  background-color: #253B80;
} */

/* ================= CONTACT ================= */

.contact-section {
  padding: 60px 40px;
  animation: contact-section 0.5s ease-in-out;
}

@keyframes contact-section {
  from {
    transform: translateY(20px);
    opacity: 0;
  }

  to {
    transform: translateY(0px);
    opacity: 1;
  }
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.contact-info {
  background: #253B80;
  padding: 30px;
  border-radius: 20px;
  border: 1px solid #253B80;
}

.contact-info h2 {
  margin-bottom: 5px;
  font-size: 30px;
  font-weight: 600;
  color: #fff;
}

.info-card {
  background: #fff;
  padding: 20px;
  border-radius: 15px;
  margin-top: 15px;
  border: 1px solid #253B80;
}

.contact-form {
  background: #253B80;
  padding: 30px;
  border-radius: 20px;
  border: 1px solid #253B80;
}

.contact-form h2 {
  margin-bottom: 20px;
  font-size: 30px;
  font-weight: 600;
  color: #fff;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px;
  border-radius: 15px;
  border: 1px solid #253B80;
  box-shadow: 0 0 3px #253B80;
  margin-bottom: 15px;
  outline: none;
  background: #fff;
  color: #000;
}

.contact-form input:focus,
.contact-form input:active,
.contact-form textarea:focus,
.contact-form textarea:active {
  border: 1px solid #fff;
  box-shadow: 0 0 3px #fff;
}

.contact-form button {
  width: 100%;
  padding: 15px;
  border-radius: 30px;
  border: none;
  background: rgb(45 165 219);
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s;
  font-weight: 600;
  color: #fff;
}

.contact-form button:hover {
  box-shadow: 0px 0px 5px #fff;
  background-color: #253B80;
}

.success-msg {
  display: none;
  margin-top: 10px;
  background-color: #253B80;
  box-shadow: 0px 0px 5px #fff;
  padding: 10px;
  border-radius: 10px;
}

/* ================= FILTER ================= */
.filter-section {
  padding: 20px 40px;
  text-align: center;
}

.filters {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.filter-btn {
  padding: 12px 40px;
  border-radius: 5px;
  border: 2px solid #169ad6;
  background: transparent;
  cursor: pointer;
  transition: 0.3s;
  font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
  background-color: #253B80;
  color: #fff;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {

  .feature-grid,
  .product-grid,
  .test-grid,
  .about-grid,
  .team-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .filters {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 36px;
  }
}

@media (max-width: 475px) {
  .nav {
    width: 100%;
  }

  .hero {
    height: 400px;
  }
}

/* ================= FOOTER ================= */

.footer {
  background: #253b80;
  color: #fff;
  padding: 60px 20px 20px;
  margin-top: 80px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
}

/* FOOTER BOX */
.footer-box h3 {
  font-size: 28px;
  margin-bottom: 12px;
}

.footer-box h4 {
  font-size: 18px;
  margin-bottom: 15px;
  position: relative;
}

.footer-box h4::after {
  content: "";
  width: 40px;
  height: 3px;
  background: #fff;
  display: block;
  margin-top: 6px;
  border-radius: 2px;
}

.footer-box p {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.9;
}

/* LINKS */
.footer-box ul {
  list-style: none;
  padding: 0;
}

.footer-box ul li {
  margin-bottom: 10px;
}

.footer-box ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  opacity: 0.85;
  transition: 0.3s;
}

.footer-box ul li a:hover {
  opacity: 1;
  padding-left: 5px;
  color: #169bd7;
}

/* QUICK MESSAGE FORM */
.footer-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-form input,
.footer-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  outline: none;
  border: 1px solid #253B80;
}

.footer-form input:focus,
.footer-form input:active,
.footer-form textarea:focus,
.footer-form textarea:active {
  border: 1px solid #fff;
  box-shadow: 0 0 3px #fff;
}

.footer-form textarea {
  resize: none;
}

.footer-form button {
  background: #fff;
  border: none;
  padding: 10px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  font-size: 14px;
  letter-spacing: 1px;
}

.footer-form button:hover {
  background: rgb(45 165 219);
  box-shadow: 0 0 3px #fff;
  color: #fff;
}

/* FOOTER BOTTOM */
.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 14px;
  opacity: 0.9;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .footer {
    text-align: center;
  }

  .footer-box h4::after {
    margin: 8px auto 0;
  }
}


html:not(.aos-loaded) [data-aos] {
  opacity: 1;
  transform: none;
}

/* new css  */


.feature-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
  font-weight: 600;
}

.feature-card p {
  font-size: 14px;
  font-weight: 400;

}

.about-card h3 {
  font-size: 20px;
  color: #fff !important;
  font-weight: 600;
  margin-bottom: 10px;
}

.about-card p {
  font-size: 14px;
  color: #fff !important;
  font-weight: 400;
}

.team-card h4 {
  font-size: 20px;
  color: #fff !important;
  font-weight: 600;
  margin-bottom: 10px;
}

.team-card p {
  font-size: 14px;
  color: #fff !important;
  font-weight: 400;
}

.about-section h2 {
  font-size: 35px;
  margin-bottom: 20px;
  color: #169bd7;
  text-align: center;
}

.info-card p {
  font-size: 16px;
  color: #000 !important;
  font-weight: 600;
}

.font-clr {
  color: #fff;
}

.pro-clr {
  font-size: 35px;
  font-weight: 600;
  color: #169bd7;
  margin-bottom: 10px;
}

.her-mar {
  margin-top: 20px;
}

img.logo-css {
  max-width: 180px;
  height: 100px;
  filter: hue-rotate(158deg);
}

.text-underline-none {
  text-decoration: none;
}



/* Scrollbar width */
::-webkit-scrollbar {
  width: 12px;
  /* width of vertical scrollbar */
  height: 12px;
  /* height of horizontal scrollbar */
}

/* Scrollbar track (background) */
::-webkit-scrollbar-track {
  background: unset !important;
  /* light gray background */
  border-radius: none;
  /* rounded edges */
}

/* Scrollbar thumb (the draggable part) */
::-webkit-scrollbar-thumb {
  background-color: #1a73e8;
  /* blue thumb color */
  border-radius: 5px;
}

/* Scrollbar thumb hover effect */
::-webkit-scrollbar-thumb:hover {
  background-color: #0c47b7;
  /* darker blue on hover */
}

/* Optional: scrollbar corner (where horizontal & vertical meet) */
::-webkit-scrollbar-corner {
  background: #f0f0f0;
}

.product-card {
  max-width: 800px;
  margin: 40px auto;
}

.mar-style {
  margin-top: 20px;
  padding-left: 15px;
}

.mt-top {
  margin-top: 20px;
}

.mb-bot {
  margin-bottom: 20px;
}

.nav-child-css a {
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  margin-left: 55px;
  color: #ffffff;
}

.scrolled .nav-child-css a:hover {
  color: #169bd7;
  transition: 0.3s;
  font-weight: 600;

}

.style-btn {
  padding: 12px 40px;
  background-color: #169ad5;
  border-radius: 5px;
  border: 2px solid #169ad5;
  color: #fff;
  cursor: pointer;
  transition: 0.3s;
  font-weight: 500;
  font-size: 14px;
}



.header.scrolled a {
  color: black;
}