/* ===== Modern AI Color Scheme ===== */
:root {
  --primary: #4776E6;       /* Electric blue - primary brand color */
  --secondary: #8E54E9;     /* Purple - secondary color */
  --accent: #00F5A0;        /* Neon green/teal - accent */
  --light: #f5f9fc;         /* Very light blue-white */
  --dark: #151c2e;          /* Deep navy for text and dark elements */
  --gray: #8491a7;          /* Soft blue gray */
  --white: #ffffff;         /* Pure white */
  --success: #0cce6b;       /* Success green */
  --warning: #ffcc00;       /* Warning yellow */
  --danger: #ff4757;        /* Danger red */
  --gradient-primary: linear-gradient(135deg, #4776E6 0%, #8E54E9 100%);
  --gradient-secondary: linear-gradient(135deg, #00F5A0 0%, #4776E6 100%);
  --card-shadow: 0 10px 20px rgba(0, 0, 0, 0.12), 0 4px 6px rgba(0, 0, 0, 0.06);
  --glow: 0 0 15px rgba(0, 245, 160, 0.5);
}

/* ===== Base Reset ===== */

/* linear-gradient(to bottom, #370b6f, #00429b, #006dba, #0095ce, #2dbcdc); */
/* ===== Base Mobile Styles ===== */
/* Applies to all screens, mobile first */
body {
  font-size: 16px;
  line-height: 1.5;
  padding: 0px;
  margin: 0px;

}
.bg-container-index{
  position: relative;
  width: 100%;
  overflow: hidden;
  /* #7d5454 */
}

.bg-container-service{
  position: relative;
  width: 100%;
  overflow: hidden;
  /* #7d5454 */
}

.background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  opacity: 0.8;
  z-index: 1;
}

#ams {
  position: relative;
  z-index: 2; /* text stays on top of the transparent background */
}

.bg-container, .bg-container1 {
  background: var(--gradient-primary);
  opacity: 0.8;
  width: 100%;
  /* #7d5454 */
}

.container {
  width: 95%;
  margin: 0 auto;
  padding: 0 10px;
}
.header-image{
  position: relative;
  z-index: -1;
  /* filter: blur(1px); Adjust the value to control blur amount */
  /* background-color: linear-gradient(to bottom, #370b6f, #00429b, #006dba, #0095ce, #2dbcdc); */
}
.header {
  position: absolute;
  top: 0px;
  display: flex;
  justify-content: center;
  width: 100%;
}

nav.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px; /* Fixed height */
  z-index: 999;
  background-color: rgba(21, 28, 46, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Center the navbar content */
nav.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  padding: 0 2rem;
}

/* Menu list positioning */
.menu-list {
  display: flex;
  gap: 2rem;
  align-items: center;
  margin: 0;
  padding: 0;
}

/* Menu item styles */
.menu-item {
  position: relative;
  height: 70px;
  display: flex;
  align-items: center;
}

/* Dropdown trigger styles */
.menu-item > .nav-link {
  color: white;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  position: relative;
  z-index: 2;
}

/* Fixed dropdown menu styles */
.dropdown-menu {
  background: #232a3d !important; /* solid background color for dropdown, override transparency */
  /* Remove or override any transparent/rgba backgrounds here */
  padding: 0.75rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.21, 1.05, 0.61, 1);
  z-index: 1001; /* Ensure it's above other elements */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  min-width: 180px;
  width: max-content;
  max-width: 320px;
  word-break: break-word;
  white-space: normal;
  overflow-wrap: break-word;
}

/* Prevent dropdown from being too narrow for short text */
.dropdown-menu li {
  min-width: 180px;
}

.menu-item .dropdown-menu {
  display: none;
  opacity: 0;
  visibility: hidden;
}

.menu-item.active .dropdown-menu,
.dropdown-menu.active {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(5px);
  pointer-events: all;
}

/* Dropdown menu items */
.dropdown-menu .nav-link {
  color: var(--dark);
  padding: 0.75rem 1rem;
  white-space: nowrap;
  display: block;
  border-radius: 8px;
  transition: all 0.2s ease;
  font-size: 0.95rem;
  max-width: 280px;
  overflow-wrap: break-word;
  white-space: normal;
}

.dropdown-menu .nav-link:hover {
  background: var(--gradient-primary);
  color: white;
  transform: translateX(5px);
}

/* Fix dropdown position for edge items */
.menu-item:first-child .dropdown-menu {
  left: 0;
  transform: translateX(0);
}

.menu-item:first-child:hover .dropdown-menu {
  transform: translateX(0) translateY(5px);
}

.menu-item:last-child .dropdown-menu {
  left: auto;
  right: 0;
  transform: translateX(0);
}

.menu-item:last-child:hover .dropdown-menu {
  transform: translateX(0) translateY(5px);
}

/* Fix navbar brand position */
.navbar-brand {
  padding: 0 1rem;
}

/* Mobile menu styles */
.mobile-menu-btn {
  display: block;
}

.desktop-nav {
  display: none;
}


/* ===== Tablet (768px and up) ===== */
@media (min-width: 768px) {
  .container {
    width: 90%;
    max-width: 720px;
  }
  
  .mobile-menu-btn {
    display: none;
  }
  
  .desktop-nav {
    display: flex;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== Desktop (992px and up) ===== */
@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
  
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .footer-content {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ===== Large Desktop (1200px and up) ===== */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* ===== Container & Layout ===== */
.container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px 30px;
  font-family: "Quicksand", Sans-serif;
}

.logo i {
  margin-right: 12px;
  font-size: 1.8rem;
}

.nav-links {
  display: flex;
  list-style: none;
  justify-content: space-between;
}

.nav-links li {
  position: relative;
}



.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(5px);
}

.dropdown-menu li {
  border-bottom: 1px solid rgba(0,0,0,0.05);
  text-align: left;
}



.dropdown-arrow {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}



/* ===== Hero Section ===== */
.hero1{
  text-align: center;
  color: #fff;
  margin-top: 180px;
  font-size: 2.7rem;
  margin-bottom: 0px;
  font-family: "Quicksand", Sans-serif;

}
.hero {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
}

.hero .lead {
  font-size: 2rem;
  /* max-width: 700px;
  margin: 0 auto 2.5rem; */
  color: #fff;
  margin: 0px;
  font-family: "Quicksand", Sans-serif;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  font-size: 1.1rem;
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(71, 118, 230, 0.4);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--glow);
}

.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
}

.btn:hover::after {
  left: 100%;
}

/* ===== Services Grid ===== */
.services-section {
  padding: 5rem 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.service-card {
  position: relative;
  background: rgba(255, 255, 255, 0.95);
  padding: 30px;
  height: 50vh;
  border-radius: 16px;
  box-shadow: var(--card-shadow);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
}
/* Animation on hover */
.service-card:hover {
  transform: translateY(-10px); /* Move the card UP */
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15); /* Stronger shadow when hovering */
  border-color: var(--accent);
}

/* .service-card {
  padding: 10px;
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
} */

/* font-awesome  sercice card */
.font-awesome {
  font-size: 3.2rem;
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
  display: inline-block;
  transition: transform 0.5s ease;
}

.service-card:hover .font-awesome {
  transform: translateY(-8px) scale(1.05);
}

.read-more {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 16px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  margin-top: 20px;
  transition: all 400ms ease-out;
  text-decoration: none;
  gap: 8px;
}

.read-more:hover {
  transform: translateX(5px);
}

/* ===== Footer ===== */
.footer {
  background: #181e2c; /* solid dark color, no gradient */
  color: var(--light);
  padding-top: 32px;
  padding-bottom: 0;
  border-top-left-radius: 1.2rem;
  border-top-right-radius: 1.2rem;
  box-shadow: 0 -4px 24px rgba(71, 118, 230, 0.08);
  position: relative;
  overflow: hidden;
  min-height: unset;
}

.footer::before {
  content: '';
  display: none; /* Remove the gradient wave overlay */
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.2rem;
  margin-bottom: 1.2rem;
  position: relative;
  z-index: 1;
  padding: 1.2rem 0 0.5rem 0;
}

.footer-about,
.footer-links,
.footer-contact {
  background: rgba(255,255,255,0.04);
  border-radius: 0.8rem;
  padding: 1.1rem 0.8rem;
  box-shadow: 0 1px 8px rgba(71, 118, 230, 0.03);
  margin-bottom: 0;
}

.footer-about h3,
.footer-links h3,
.footer-contact h3 {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
  color: var(--white);
  letter-spacing: 0.2px;
}

.footer-about p {
  opacity: 0.85;
  line-height: 1.6;
  color: #e0e7ef;
  font-size: 0.98rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li a {
  margin-bottom: 0.5rem;
  display: block;
  color: #e0e7ef;
  text-decoration: none;
  font-size: 0.98rem;
  border-radius: 0.4rem;
  padding: 0.25rem 0.5rem;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.footer-links li a:hover,
.footer-links li a:focus {
  color: var(--accent);
  background: rgba(0,245,160,0.08);
  text-decoration: none;
  transform: translateX(4px) scale(1.03);
}

.footer-contact p {
  margin-bottom: 0.7rem;
  display: flex;
  align-items: center;
  line-height: 1.5;
  gap: 0.7rem;
  color: #e0e7ef;
  font-size: 0.98rem;
}

.footer-contact i {
  color: var(--accent);
  font-size: 1.08rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 1.1rem 0 0.5rem 0;
  text-align: center;
  font-size: 0.95rem;
  color: #cbd5e1;
  background: rgba(255,255,255,0.02);
  border-bottom-left-radius: 1.2rem;
  border-bottom-right-radius: 1.2rem;
  margin-top: 0.5rem;
}

.legal-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.3rem;
}

.legal-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.95rem;
  border-radius: 0.4rem;
  padding: 0.15rem 0.5rem;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.legal-links a:hover,
.legal-links a:focus {
  color: var(--accent);
  background: rgba(0,245,160,0.08);
  text-decoration: underline;
  transform: translateY(-1px) scale(1.03);
}

/* Social icons row in footer */
.footer-about .footer-social {
  margin-top: 0.7rem;
  display: flex;
  gap: 0.7rem;
}
.footer-about .footer-social a {
  color: inherit;
  background: rgba(0,245,160,0.07);
  border-radius: 50%;
  padding: 0.35rem;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.footer-about .footer-social a:hover {
  background: var(--accent);
  color: var(--dark);
}

/* Responsive footer grid */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 0.7rem;
    padding: 0.7rem 0 0.2rem 0;
  }
  .footer-about,
  .footer-links,
  .footer-contact {
    text-align: center;
    padding: 0.8rem 0.5rem;
  }
  .legal-links {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* ===== Responsive Design ===== */
@media (max-width: 992px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  
  .hero {
    padding: 8rem 0 4rem;
  }
  
  .service-card {
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--primary);
    flex-direction: column;
    padding: 1rem 0;
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    text-align: center;
  }

  .nav-links a {
    padding: 1rem;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    width: 100%;
    display: none;
    background-color: rgba(0,0,0,0.1);
    border-radius: 0;
  }

  .dropdown.active .dropdown-menu {
    display: block;
  }

  .hero h1 {
    font-size: 2.3rem;
    margin-top: 115px;
  }

  .hero .lead {
    font-size: 1.2rem;
    padding-top: 17px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 576px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.8rem; }
  
  .hero {
    padding: 7rem 0 3rem;
  }
  
  .service-card {
    padding: 0.8rem;
  }
  
  .footer-about, 
  .footer-links, 
  .footer-contact {
    text-align: center;
  }
  
  .footer-contact p {
    justify-content: center;
  }
  
  .legal-links {
    flex-direction: column;
    gap: 0.8rem;
  }
}

.techvio-nav {
  padding-left: 0;
  padding-right: 0;
  /* padding-bottom: 15px; */
  /* background-color: transparent; */
  /* background-color: #29197a; */
}


.techvio-nav .navbar {
  /* padding-top: 20px; */
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 0;
  padding: 10px;
}
img {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
}
.techvio-nav .navbar .navbar-nav {
  margin: auto;
  /* column-gap: 20px; */
}
.techvio-nav .navbar ul {
  padding-left: 0;
  list-style-type: none;
  margin-bottom: 0;
  padding-right: 0px;
}
.techvio-nav .navbar .navbar-nav .nav-item {
  position: relative;
  padding-left: 0;
  padding-right: 0;
  text-align: center;
}
* {
  scroll-behavior: inherit !important;
}
.techvio-nav .navbar .navbar-nav .nav-item:first-child a {
  margin-left: 0;
}

.nav-item > .nav-link {
  color: white;
}
.nav-item > .nav-link:hover {
  color: white;
}

.dropdown-menu {
  background-color: black;
}
a{text-decoration: none;}
/* Style links inside the dropdown */
.dropdown-menu .nav-link {
  color:  #333; /* text color inside dropdown */
}

/* Optional: hover effect for dropdown links */
.dropdown-menu .nav-link:hover {
  color: #fff; /* light gray on hover */
  background-color: #222; /* slightly lighter black on hover */
}



.techvio-nav .navbar .navbar-nav .nav-item a i {
  position: relative;
  top: -1px;
  font-size: 10px;
  margin-left: 2px;
}
.techvio-nav {
  overflow: hidden;
  position: relative;
  z-index: 1;
  display: flex;
  height: 100vh;
  text-align: center;
  /* background: linear-gradient(to bottom, #370b6f, #00429b, #006dba, #0095ce, #2dbcdc); */
}

 .Homepage-img {
  width: 100%;
  height: 100vh;
}

.hero-content{
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}
.nav-item {
  position: relative;
  margin-left: 5px;
}

.nav-item a.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  color: #333;
  z-index: 1000;
  min-width: 200px;
  background-color: white; /* adjust based on your design */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.nav-item:hover > .dropdown-menu {
  display: block;
}

.nav-link {
  display: block;
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
}

.dropdown-menu .nav-item {
  /* width: 100%; */
  width: 300px;
}

.dropdown-menu .nav-link {
  padding: 10px;
  color:  #ffffff; /* text color inside dropdown */
}

.dropdown-menu .nav-link:hover {
  background-color: #0095ce;
}

/* Service pages  */
.service-img {
  width: 100%;
  height: 100vh;
}

.service-container{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  font-size: large;
  font-family: "Quicksand", Sans-serif;
  font-weight: bold;
  color: #fff;
}
.main-content1{
  position: absolute;
  top: 30%;
}
.container-2{
  background-color: ffffff;
}
.section-2{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: left;
  padding: 20px;
  font-size:large;
  font-family: "Quicksand", Sans-serif;
  color: #1D2C38;
  font-size: 18px;
}
.service-header{
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  font-size: x-large;
  font-family: "Quicksand", Sans-serif;
  font-weight: bold;
  color: #fff;
}

.service-header .lead{
  font-size: 1.5rem;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  color: rgba(255,255,255,0.9);
}

/* solutions pages */

.solutions-img{
  width: 100%;
  height: 100vh;
}

.bg-container3{
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: 20px;
  /* #7d5454 */
}
.main-soluions{
  position: absolute;
  top: 10%;
}

 /* contact page ---------------------------------------------*/

 .contact-img{
  width: 100%;
  height: 100vh;
}
.main-contact{
  position: absolute;
  top: 20%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: x-large;
  font-family: "Quicksand", Sans-serif;
  font-weight: bold;
  color: #fff;
}
.main-contact p{
  font-size: 1.5rem;
  max-width: 700px;
  margin: 0 auto 1.5rem;
  color: rgba(255,255,255,0.9);
  padding: 0px;
}
.main-contact h2{
  font-size: 2.5rem;
  max-width: 700px;
  margin: 0 auto 1.5rem;
  color: rgba(255,255,255,0.9);
  padding: 0px;
}

.contact-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.container-3 {
  padding: 2rem;
}

.section-2 h2 {
  text-align: center;
  margin-bottom: 0.5rem;
  color: #303e49;
}

.contact-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.full-width {
  width: 100%;
}

input[type="text"],
input[type="email"],
textarea {
  width: 80%;
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}

button.btn-primary {
  width: fit-content;
  padding: 0.8rem 1.5rem;
  border: none;
  background-color: #007bff;
  color: white;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
}

button.btn-primary:hover {
  background-color: #0056b3;
}

.contact-info {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 8px;
  margin-top: 4rem;
  border: solid 1px #ccc;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);

}

.contact-info p {
  margin: 1rem 0;
}
.section-3{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: start;
  padding: 20px;
  font-family: "Quicksand", Sans-serif;
  color: #1D2C38;
  font-size: 18px;
}

/* Menu-bars-------------------------------------------------------- */

/* .Menu-container{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  color: white;
  position: absolute;
  top: 0%;

} */

/* Header styling */
.Menu-container {
  background-color: white; /* White background */
  padding: 1rem 2rem;
}

.header-wrapper {
  position: fixed;
  top: 0%;
  /* max-width: 1200px; */
  /* margin: auto; */
  align-items: center;
  width: 100%;
}

/* Logo */
.logo {
  color: white; /* Black text */
  text-decoration: none;
}

h3{
  margin: 0px;
}

/* Navbar */
.navbar {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-around;
}

.navbar-menu {
  display: flex;
}

a.navbar-brand{
  padding-left: 200px;
}

.menu-list {
  display: flex;
  /* gap: 0.5rem; */
  list-style: none; /* REMOVE DOTS */
  align-items: center;
}

.menu-item {
  position: relative;
}

.nav-link {
  color: white; /* Black text */
  text-decoration: none;
  font-size: 1rem;
  padding-top: 0px;
}

/* Dropdown Menu */
.dropdown-menu {
  width: 250px;
  display: none;
  position: absolute;
  background-color: white; /* White dropdown */
  padding: 1rem;
  top: 100%;
  left: 0;
  border-radius: 8px;
  flex-direction: column;
  list-style: none; /* REMOVE DOTS */
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.dropdown-menu li {
  margin-bottom: 0.5rem;
  text-align: left;
}

.dropdown-menu li:last-child {
  margin-bottom: 0;
  text-align: left;
}

.menu-item:hover .dropdown-menu {
  /* display: flex; */
}

/* Hamburger Icon */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: black; /* Black color for menu icon */
  font-size: 1.8rem;
  cursor: pointer;
}
@media (max-width: 768px) {
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
}
.hero1{
  text-align: center;
  color: var(--white);
  margin-top: 0px;
  font-size: 3.5rem;
  margin-bottom: 0px;
  font-family: "Quicksand", Sans-serif;

}
.footer-links ul {
  list-style: none;
  padding-left: 0px;
}
}
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .navbar-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: white; /* White background for mobile menu */
  }

  .navbar-menu.active {
    display: flex;
  }

  .menu-list {
    flex-direction: column;
    gap: 1rem;
  }

  .dropdown-menu {
    position: static;
    background: none;
    padding: 0.5rem 1rem;
    box-shadow: none;
  }

  .menu-item:hover .dropdown-menu {
    display: none; /* No hover dropdowns on mobile */
  }
  .menu-item.active .dropdown-menu,
  .dropdown-menu.active {
    display: flex;
    opacity: 1;
    visibility: visible;
  }
}

/* --- Hamburger button --- */
.hamburger {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

/* --- Mobile Responsive --- */
@media (max-width: 768px) {
  .navbar-menu {
    display: none;
    flex-direction: column;
    background: #333;
    width: 100%;
    position: absolute;
    top: 40px;
    left: 0;
  }

  .navbar-menu.active {
    .navbar-menu.active {
      display: flex;
      background: #363636;
      opacity: 0.5;
      opacity: 0.8;
      margin-top: -20px;
  }
  }

  .menu-list {
    flex-direction: column;
    gap: 10px;
  }

  .hamburger {
    display: block;
  }

  .dropdown-menu {
    position: static;
    background: none;
    padding-left: 20px;
  }

  .menu-item:hover > .dropdown-menu,
  .menu-item.active > .dropdown-menu {
    display: flex;
    flex-direction: column;
  }
}

/* header modify the color  */

@media (max-width: 768px) {
  nav.navbar {
    padding: 10px 0;
    background-color: rgba(21, 28, 46, 0.95);
  }
  
  .navbar-menu.active {
    display: block;
    background-color: rgba(21, 28, 46, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(71, 118, 230, 0.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    padding: 20px 0;
  }
  
  .dropdown-menu .nav-link {
    padding: 12px 20px;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
  }
  
  .dropdown-menu .nav-link:hover {
    background: rgba(71, 118, 230, 0.1);
    color: var(--accent);
  }
  
  .dropdown-menu {
    background-color: rgba(21, 28, 46, 0.8);
    border: 1px solid rgba(71, 118, 230, 0.1);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
  }

  .hero1 {
    text-align: center;
    color: var(--white);
    margin-top: 0px;
    font-size: 2.8rem;
    margin-bottom: 0px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  }
}

/* Modern animations for AI feeling */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

.service-card {
  animation: float 5s ease-in-out infinite;
  animation-delay: calc(var(--order) * 0.5s);
}

/* Data visualization style elements */
.data-card {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 25px;
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
}

.data-card:hover {
  border-color: var(--accent);
  box-shadow: var(--glow);
}

/* Loading effects for AI interfaces */
.loading-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent);
  display: inline-block;
  margin: 0 3px;
  animation: pulse 1.5s infinite ease-in-out;
}

.loading-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.loading-dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes pulse {
  0% { transform: scale(0.8); opacity: 0.5; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.8); opacity: 0.5; }
}

/* AI Component Classes - Compatible with Tailwind */
.ai-card {
  @apply bg-white bg-opacity-95 rounded-xl shadow-lg p-6 border border-gray-200 transition-all duration-300;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.ai-card:hover {
  @apply transform -translate-y-2 shadow-xl;
  border-color: var(--accent);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1), 0 0 10px rgba(0, 245, 160, 0.3);
}

.ai-gradient-text {
  @apply font-bold;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ai-button {
  /* Apply padding, border-radius, and other styles */
  padding: 0.6rem 1.5rem;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  font-size: 1.1rem;
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(71, 118, 230, 0.4);
  display: inline-flex;
  align-items: center;
}

.ai-button:hover {
  transform: translateY(-3px);
  box-shadow: var(--glow);
}

.ai-button::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
}

.ai-button:hover::after {
  left: 100%;
}

/* AI Dashboard Elements */
.dashboard-card {
  @apply rounded-xl overflow-hidden border border-gray-200;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.dashboard-card:hover {
  @apply shadow-lg;
  transform: translateY(-5px);
  border-color: var(--accent);
}

/* AI-inspired Stats counters */
.stat-counter {
  @apply text-4xl font-bold;
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Animated features section */
.feature-icon {
  @apply text-3xl p-3 rounded-full mb-4 inline-block;
  background: rgba(71, 118, 230, 0.1);
  color: var(--primary);
  transition: all 0.3s ease;
}

.ai-feature:hover .feature-icon {
  @apply transform -translate-y-2;
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 10px 25px rgba(71, 118, 230, 0.3);
}

/* Glowing elements */
.glow-effect {
  position: relative;
}

.glow-effect::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: var(--gradient-primary);
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.glow-effect:hover::before {
  opacity: 1;
}

/* Data visualization elements with animations */
.data-point {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent);
  position: relative;
  display: inline-block;
}

.data-point::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: rgba(0, 245, 160, 0.3);
  transform: translate(-50%, -50%);
  animation: pulse-data 2s infinite;
}

@keyframes pulse-data {
  0% {
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0.8;
  }
  70% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0;
  }
}

/* Modern 3D Card for features */
.card-3d {
  transform-style: preserve-3d;
  perspective: 1000px;
}

.card-3d-inner {
  transition: transform 0.6s;
  transform: rotateY(0deg);
}

.card-3d:hover .card-3d-inner {
  transform: rotateY(10deg);
}

/* Loading state for buttons */
.ai-button.loading {
  position: relative;
  color: transparent !important;
}

.ai-button.loading::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Modern hero heading styles */
.modern-hero-heading {
  font-family: 'Inter', 'Quicksand', Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: 3.2rem;
  line-height: 1.1;
  text-align: center;
  color: #fff;
  letter-spacing: -1px;
  text-shadow: 0 4px 24px rgba(0,0,0,0.18);
  margin-top: 120px;
  margin-bottom: 0.5em;
}
@media (min-width: 640px) {
  .modern-hero-heading {
    font-size: 4rem;
  }
}
@media (min-width: 1024px) {
  .modern-hero-heading {
    font-size: 5rem;
  }
}

/* Stronger gradient for "Business" */
.ai-gradient-text {
  font-weight: 900;
  background: linear-gradient(90deg, #4776E6 10%, #8E54E9 60%, #00F5A0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  letter-spacing: 0.5px;
}

/* Modern hero subheading styles */
.modern-hero-subheading {
  font-family: 'Inter', 'Quicksand', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  color: #e0e7ef;
  text-align: center;
  font-weight: 400;
  line-height: 1.6;
  text-shadow: 0 2px 8px rgba(0,0,0,0.10);
  margin-bottom: 2.5em;
}
@media (min-width: 640px) {
  .modern-hero-subheading {
    font-size: 1.5rem;
  }
}
@media (min-width: 1024px) {
  .modern-hero-subheading {
    font-size: 1.7rem;
  }
}