@import url('https://fonts.googleapis.com/css2?family=Forum&family=Italiana&family=Jost:ital,wght@0,100..900;1,100..900&family=Orbitron:wght@400..900&display=swap');

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Jost", sans-serif;
  overflow-x: hidden;
  background-color: white;
}

/* Loader */

#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #3a868f, #171994, #3a868f);
  background-size: 400% 400%;
  animation: gradientMove 6s ease infinite;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 9999;
  color: white;
  font-family: "Jost", sans-serif;
  font-size: 35px;
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.loader-dots span {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 5px;
  background: white;
  border-radius: 50%;
  animation: bounce 1s infinite;
}
.loader-dots span:nth-child(2) { animation-delay: 0.2s; }
.loader-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes bounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}

.fade-out {
  opacity: 0;
  transition: opacity 0.8s ease;
}

/* Loader End */

/* Header Start */

.navbar {
  width: 100%;
  background: white;
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 3px solid black;
}

.navbar .container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.navbar .logo img {
  height: 80px;
  width: auto;
  display: block;
  padding-left: 20px;
}

/* TEXT BLOCK LEFT OF LOGO */
.logo-text-left {
  position: static;
  transform: none;
  text-align: left;
  max-width: 260px;
  flex-shrink: 0;
}

.logo-text-left h2 {
  font-size: 22px;
  font-weight: 700;
  color: #173054;
  margin: 0 0 4px 0;
}

.logo-text-left a {
  display: block;
  font-size: 13px;
  text-decoration: none;
  color: #173054;
  line-height: 1.3;
}

.logo-text-left a:hover {
  color: #00a896;
}

@media (max-width: 768px) {
  .logo-text-left {
    position: static;
    transform: none;
    text-align: center;
    margin-bottom: 5px;
  }
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  margin-left: 40px;
  padding: 0;
}

.nav-links li a {
  text-decoration: none;
  font-size: 17px;
  font-weight: 500;
  color: #173054;
  transition: color 0.3s ease, border-bottom 0.3s ease;
}

.nav-links li a:hover {
  color: #00a896;
  border-bottom: 2px solid #00a896;
  padding-bottom: 2px;
}

/* DROPDOWN WRAPPER */
.nav-links li.dropdown {
  position: relative;
}

/* ARROW ICON */
.desktop-arrow {
  margin-left: 6px;
  font-size: 12px;
  transition: transform 0.3s ease;
}

/* ROTATE ARROW ON HOVER */
.nav-links li.dropdown:hover .desktop-arrow {
  transform: rotate(180deg);
}

/* DROPDOWN MENU BASE */
.dropdown-menu {
  position: absolute;
  top: 40px;
  left: 0;
  background: #ffffff;
  list-style: none;
  padding: 10px 0;
  margin: 0;
  width: 220px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border-radius: 4px;

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.3s ease;
  z-index: 2000;
}

/* SHOW DROPDOWN ON HOVER */
.nav-links li.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* DROPDOWN MENU LINKS */
.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 500;
  color: #173054;
  text-decoration: none;
  transition: 0.3s ease;
  border-bottom: none;
}

/* HOVER EFFECT */
.dropdown-menu li a:hover {
  color: #00a896;
}

/* REMOVE BORDER FROM LAST ITEM */
.dropdown-menu li:last-child a {
  border-bottom: none;
}

/* HIDE DROPDOWN ON MOBILE */
@media (max-width: 768px) {
  .dropdown-menu {
    display: none !important;
  }
}

/* MOBILE DROPDOWN */
.mobile-dropdown .mobile-dropdown-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-dropdown i {
  transition: transform 0.3s ease;
}

/* HIDDEN BY DEFAULT */
.mobile-submenu {
  max-height: 0;
  overflow: hidden;
  padding-left: 15px;
  transition: max-height 0.4s ease;
}

/* VISIBLE WHEN ACTIVE */
.mobile-dropdown.active .mobile-submenu {
  max-height: 500px; /* enough space for 5 items */
}

.mobile-dropdown.active i {
  transform: rotate(180deg);
}

.social-icons-header a {
  margin-left: 15px;
  font-size: 23px;
  color: #173054;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons-header a:hover {
  color: #00a896;
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  width: 25px;
  z-index: 1200;
}

.menu-toggle span {
  height: 3px;
  width: 100%;
  background: #173054;
  margin: 4px 0;
  border-radius: 2px;
  transition: 0.3s;
  transform-origin: left;
}

.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 70%;
  max-width: 300px;
  height: 100vh;
  background: white;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
  transition: 0.4s ease-in-out;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px 20px;
  z-index: 1100;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu ul li {
  margin: 20px 0;
}

.mobile-menu ul li a {
  text-decoration: none;
  font-size: 19px;
  font-weight: 500;
  color: #173054;
  transition: color 0.3s ease;
}

.mobile-menu ul li a:hover {
  color: #00a896;
  border-bottom: 2px solid #00a896;
  padding-bottom: 2px;
}

.mobile-icons {
  display: flex;
  justify-content: center;
}

.mobile-icons a {
  margin: 0 10px;
  font-size: 25px;
  color: #173054;
  transition: color 0.3s ease, transform 0.3s ease;
}

.mobile-icons a:hover {
  color: #00a896;
  transform: translateY(-2px);
}

.close-btn {
  display: none
}

/* Header End */

/* Hero Section for All */
.page-hero {
  position: relative;
  width: 100%;
  height: 50vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-hero .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.page-hero .hero-content-heading {
  position: relative;
  text-align: center;
  z-index: 2;
}

.page-hero h1 {
  font-size: 48px;
  color: #ddd;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  /* margin-top: 100px; */
}
/* All Hero Section End */

/* CTA Start */

.cta-section {
  padding: 40px 10%;
  background: linear-gradient(135deg, #3a868f, #171994);
  text-align: center;
  color: white;
  margin: 50px auto;
}

.cta-container h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.cta-container p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.bottom-cta-btn {
  display: inline-block;
  padding: 14px 32px;
  background: white;
  color: #171994;
  border: 2px solid transparent;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: 0.3s;
}

.bottom-cta-btn:hover {
  background: transparent;
  border: 2px solid white;
  color: white;
}

/* CTA End */

/* Footer */
.footer {
  background: linear-gradient(135deg, #171994, #173054, #0f4c61);
  color: #f1f1f1;
  padding: 50px 15px 15px;
  font-family: "Jost", sans-serif;
  position: relative;
  overflow: hidden;
  clip-path: ellipse(140% 100% at 50% 100%);
}

.footer-section.industries{
  max-width: 300px;
}

.footer-section.industries .about-text {
  font-size: 17px;
  margin: 8px 0;
  color: #ddd;
  line-height: 1.6;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

.footer-section h2 {
  font-size: 25px;
  margin-bottom: 20px;
  color: #f3f7fb;
  text-decoration: underline;
}

.footer-section.contact strong{
  color: lightskyblue;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin: 10px 0;
}

.footer-section a {
  text-decoration: none;
  color: #ddd;
  font-size: 17px;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: lightskyblue;
  text-decoration: underline;
}

.footer-section.contact p {
  font-size: 17px;
  margin: 8px 0;
}

.social-icons {
  margin-top: 15px;
}
.social-icons a {
  display: inline-block;
  margin-right: 15px;
  font-size: 25px;
  color: #ddd;
  transition: color 0.3s ease, transform 0.3s ease;
}
.social-icons a:hover {
  color: lightskyblue;
  transform: translateY(-3px);
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 15px;
  border-top: 1px solid rgb(255, 255, 255);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: 17px;
  color: #f3f7fb;
}

.visitor-counter {
  color: white;
  text-align: center;
  font-size: 18px;
}

.visitor-counter span {
  font-weight: 600;
  color: lightskyblue;
}
/* Footer End */

@media (max-width: 1140px) {
    .nav-links, .social-icons-header {
        display: none;
    }
    .menu-toggle {
        display: flex;
    }

    .logo-text-left {
    position: relative; /* remove absolute positioning */
    transform: none;
    margin-right: 10px; /* space from logo */
    text-align: left;
  }
}