 /* Reset & Base Styles */
 * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Typography */
:root {
/* Colors from brand guide */
--primary: #533DA4;
--dark-purple: #171738;
--white: #FFFFFF;

/* Neutral colors */
--neutral-900: #2C2C2C;
--neutral-800: #8C8C8C;
--neutral-700: #B3B3B3;
--neutral-600: #D9D9D9;
--neutral-500: #E0E0E0;
--neutral-400: #F2F2F2;
--neutral-200: #E5E7EB;
            --neutral-50: #F9FAFB;

/* Purple tints */
--purple-900: #533DA4;
--purple-800: #5D48AF;
--purple-700: #6955BB;
--purple-600: #7563C7;
--purple-500: #8170D3;
--purple-400: #8D7DDF;
--purple-300: #998BEA;
--purple-200: #A598F6;


/* Navy shades */
--navy-900: #171738;
--navy-800: #24244A;
--navy-700: #32325C;
--navy-600: #40406E;
--navy-500: #4D4D80;
--navy-400: #5B5B92;
--navy-300: #6967A4;
--navy-200: #7775B6;

/* Typography Scale (1.2 ratio - more conservative) */
--text-xs: 0.75rem;      /* 12px */
--text-sm: 1rem;         /* 16px */
--text-base: 1.2rem;     /* 19.2px */
--text-lg: 1.44rem;      /* 23px */
--text-xl: 2.5rem;     /* 27.6px */
--text-2xl: 2.074rem;    /* 33.2px */
--text-3xl: 2.488rem;    /* 39.8px */
}

/* Base Typography */
body {
font-family: 'Inter Tight', sans-serif;
font-size: var(--text-sm);
font-weight: 400;
line-height: 1.6;
color: var(--neutral-900);
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
font-weight: 600;
line-height: 1.2;

margin-bottom: 1rem;
}

h1 {
font-size: var(--text-3xl);
}

h2 {
font-size: var(--text-2xl);
}

h3 {
font-size: var(--text-xl);
}

h4 {
font-size: var(--text-lg);
}

h5 {
font-size: var(--text-base);
}

h6 {
font-size: var(--text-sm);
}

/* Paragraphs */
p {
margin-bottom: 1rem;

}

/* Text Weights */
.font-regular {
font-weight: 400;
}

.font-medium {
font-weight: 500;
}

.font-semibold {
font-weight: 600;
}

/* Title Cases */
.title-case {
text-transform: capitalize;
}

.sentence-case {
text-transform: none;
}

/* Links */
a {
color: var(--primary);
text-decoration: none;
transition: color 0.3s ease;
}

a:hover {
color: var(--purple-600);
}

/* Responsive Typography */
@media (max-width: 768px) {
h1 {
  font-size: var(--text-2xl);
}

h2 {
  font-size: var(--text-xl);
}

h3 {
  font-size: var(--text-lg);
}

h4 {
  font-size: var(--text-base);
}

body {
  font-size: var(--text-sm);
}
}

/* //////////////////////////////// */

/* Preloader */

/* /////////////////////////////// */

/* Modern Preloader Styles */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--navy-900);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: transform 0.7s cubic-bezier(0.7, 0, 0.3, 1);
}

.preloader.fade-out {
  transform: translateY(-100%);
}

/* Animated Background */
.preloader-bg {
position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    left: 0;
    top: 0;
}

.circle-1, .circle-2, .circle-3 {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--primary), var(--purple-400));
  filter: blur(40px);
  opacity: 0.3;
  animation: floatAnimation 8s infinite alternate;
}

.circle-1 {
  width: 300px;
  height: 300px;
  top: 20%;
  left: 20%;
  animation-delay: 0s;
}

.circle-2 {
  width: 400px;
  height: 400px;
  top: 40%;
  right: 20%;
  animation-delay: -2s;
}

.circle-3 {
  width: 250px;
  height: 250px;
  bottom: 20%;
  left: 30%;
  animation-delay: -4s;
}

@keyframes floatAnimation {
  0% {
      transform: translate(0, 0) scale(1);
  }
  100% {
      transform: translate(30px, 30px) scale(1.1);
  }
}

/* Logo Container */
.logo-container-p {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 2rem;
}

.preloader-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: logoAnimation 2s infinite alternate;
  position: relative;
  z-index: 2;
}

.logo-blur {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80%;
  height: 80%;
  background: var(--primary);
  filter: blur(30px);
  opacity: 0.5;
  transform: translate(-50%, -50%);
  animation: glowAnimation 2s infinite alternate;
}

@keyframes logoAnimation {
  0% {
      transform: translateY(0) scale(1);
  }
  100% {
      transform: translateY(-10px) scale(1.05);
  }
}

@keyframes glowAnimation {
  0% {
      opacity: 0.3;
      transform: translate(-50%, -50%) scale(1);
  }
  100% {
      opacity: 0.6;
      transform: translate(-50%, -50%) scale(1.2);
  }
}

/* Modern Progress Bar */
.loading-bar {
  width: 200px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  margin: 1rem auto;
  position: relative;
  overflow: hidden;
}

.loading-progress {
  width: 0%;
  height: 100%;
  background: var(--primary);
  border-radius: 2px;
  transition: width 0.3s ease-out;
}

.loading-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 50px;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: glowMove 1.5s infinite;
  transform: skewX(-20deg);
}

@keyframes glowMove {
  0% {
      left: -50px;
  }
  100% {
      left: 250px;
  }
}

/* Loading Text */
.loading-text {
  color: var(--white);
  font-size: 1rem;
  letter-spacing: 1px;
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

.loading-dots {
  display: inline-flex;
}

.dot {
  opacity: 0;
  animation: dotAnimation 1.4s infinite;
}

.dot:nth-child(2) {
  animation-delay: 0.2s;
}

.dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes dotAnimation {
  0%, 100% {
      opacity: 0;
  }
  50% {
      opacity: 1;
  }
}

/* Percentage Counter */
.loading-percentage {
  font-size: 2rem;
  font-weight: 600;
  color: var(--white);
  margin-top: 1rem;
  background: linear-gradient(45deg, var(--primary), var(--purple-300));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  animation: fadeIn 0.5s forwards;
}

@keyframes fadeIn {
  to {
      opacity: 1;
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .circle-1, .circle-2, .circle-3 {
      transform: scale(0.7);
  }
  
  .logo-container {
    left: 2rem;
    top: 1rem;
    position: absolute !important;
  }
  
  .loading-percentage {
      font-size: 1.5rem;
  }
}


/* Animated Background SVG */
.bg-circles {
  position: fixed;
  width: 100%;
  height: 100vh;
  pointer-events: none;
  z-index: -1;
  opacity: 0.1;
}

.header {
position: absolute; /* Changed from fixed to absolute for natural scroll */
top: 0;
left: 0;
width: 100%;
padding: 2rem;
z-index: 1000;
transition: var(--transition);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  padding: 1rem 2rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.header.scrolled .nav-link {
  color: var(--dark-purple);
}

.header.scrolled .logo-white {
  display: none;
}

.header.scrolled .logo-color {
  display: block;
}


/* Sticky Header - Initially hidden above viewport */
.sticky-header {
  position: fixed;
  top: -100px;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
  z-index: 1000;
  transition: var(--transition);
  height: 5rem;
}

.sticky-header.visible {
top: 0;
}

.sticky-header .logo-container {
width: 150px; /* Smaller logo for sticky header */
height: 50px;
}

.sticky-header .nav-link {
color: var(--dark-purple);
font-size: 1rem; /* Slightly smaller font */
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

/* Logo Container */
.logo-container {
  position: relative;
  width: 180px;
  height: 60px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.logo-white, .logo-color {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: var(--transition);
}

.logo-color {
  display: none;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  transition: var(--transition);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background: var(--primary);
  transition: var(--transition);
  transform: translateX(-50%);
}

.nav-link:hover:after {
  width: 100%;
}

/* Arrow SVG Animation */
.arrow-svg {
  position: absolute;
  width: 150px;
  height: 149px;
  opacity: 0.1;
}

/* CTA Button Styles */
.cta-button {
  margin-left: 1rem;
}

.btn-consultation {
  background: var(--primary);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
}

.btn-consultation:hover {
  background: var(--purple-600);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(83, 61, 164, 0.2);
  color: white;
}

/* Submenu Styles */
.has-submenu {
  position: relative;
}

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 100;
}

.has-submenu:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu li {
  list-style: none;
}

.submenu li a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--neutral-900);
  text-decoration: none;
  transition: all 0.3s ease;
}

.submenu li a:hover {
  background: var(--neutral-50);
  color: var(--primary);
}

/* Mobile Menu Updates */
.mobile-nav .has-submenu .submenu {
  position: static;
  background: transparent;
  box-shadow: none;
  opacity: 1;
  visibility: visible;
  transform: none;
  padding-left: 1.5rem;
  border-left: 2px solid var(--primary);
  margin: 0.5rem 0;
}

.mobile-nav .submenu li a {
  color: var(--white);
  padding: 0.5rem 1rem;
}

.mobile-cta {
  margin-top: 1.5rem;
  padding: 0 1rem;
}

.mobile-nav .btn-consultation {
  width: 100%;
  text-align: center;
}

/* Sticky Header CTA */
.sticky-header .btn-consultation {
  background: var(--primary);
  color: var(--white);
}

.sticky-header .menu-icon,
.sticky-header .menu-icon::before,
.sticky-header .menu-icon::after {
    background: var(--dark-purple);
}


/* Responsive Adjustments */
@media (max-width: 1200px) {
  .nav-menu {
      gap: 2rem;
  }
  
  .cta-button {
      margin-left: 1rem;
  }
}

@media (max-width: 768px) {
  .cta-button {
      display: none;
  }
}



/* Mobile Menu Enhanced */
.mobile-menu-btn {
  display: none;
  cursor: pointer;
  width: 30px;
  height: 30px;
  position: relative;
}

.menu-icon {
	position: relative;
    width: 100%;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
    margin-top: 15px;
}

.scrolled .menu-icon {
  background: var(--dark-purple);
}

.menu-icon::before,
.menu-icon::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background: inherit;
  left: 0;
  transition: var(--transition);
}

.menu-icon::before {
  top: -8px;
}

.menu-icon::after {
  bottom: -8px;
}


/* Off-canvas menu container */
.off-canvas {
position: fixed;
top: 0;
right: -100%;
width: 85%;
max-width: 400px;
height: 100vh;
background: rgba(23, 23, 56, 0.95); /* Using --navy-900 with opacity */
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
padding: 2rem;
transition: all 0.4s ease-in-out;
z-index: 1001;
display: flex;
flex-direction: column;
gap: 2.5rem;
overflow-y: auto;
}

/* Active state */
.off-canvas.active {
right: 0;
box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
}

/* Backdrop overlay */
.off-canvas-backdrop {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
backdrop-filter: blur(5px);
-webkit-backdrop-filter: blur(5px);
opacity: 0;
visibility: hidden;
transition: all 0.3s ease;
z-index: 1000;
}

.off-canvas-backdrop.active {
opacity: 1;
visibility: visible;
}

/* Close button */
.close-btn {
position: absolute;
top: 2rem;
right: 2rem;
width: 30px;
height: 30px;
cursor: pointer;
}

.close-btn::before,
.close-btn::after {
content: '';
position: absolute;
width: 100%;
height: 2px;
background: var(--white);
top: 50%;
left: 0;
transition: background 0.3s ease;
}

.close-btn::before {
transform: rotate(45deg);
}

.close-btn::after {
transform: rotate(-45deg);
}

.close-btn:hover::before,
.close-btn:hover::after {
background: var(--primary);
}

/* Logo container */
.off-canvas-logo {
width: 160px;
margin-bottom: 1rem;
padding-top: 2rem;
}

.off-canvas-logo img {
width: 100%;
height: auto;
}

/* Mobile navigation menu */
.mobile-nav {
list-style: none;
display: flex;
flex-direction: column;
/* gap: 1.5rem; */
margin: 2rem 0;
}

.mobile-nav li a {
color: var(--white);
text-decoration: none;
font-size: 1.25rem;
font-weight: 500;
transition: all 0.3s ease;
display: block;
padding: 0.5rem 0;
}

.mobile-nav li a:hover {
color: var(--primary);
transform: translateX(10px);
}

/* Social icons section */
.mobile-social {
margin-top: auto;
padding-top: 2rem;
border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-social-title {
color: var(--white);
font-size: 1rem;
margin-bottom: 1rem;
opacity: 0.8;
}

.mobile-social-links {
display: flex;
gap: 1rem;
}

.mobile-social-link {
width: 40px;
height: 40px;
border-radius: 50%;
background: rgba(255, 255, 255, 0.1);
display: flex;
align-items: center;
justify-content: center;
color: var(--white);
text-decoration: none;
transition: all 0.3s ease;
}

.mobile-social-link:hover {
background: var(--primary);
transform: translateY(-3px);
}

/* Prevent body scroll when menu is open */
body.menu-open {
overflow: hidden;
}

/* Responsive adjustments */
@media (min-width: 769px) {
.off-canvas,
.off-canvas-backdrop {
    display: none;
}
}

@media (max-width: 768px) {
  .nav-right {
    gap: 1rem;
}

.nav-menu, .cta-button {
    display: none;
}

.mobile-menu-btn {
    display: block;
}

.nav-right {
  justify-content: flex-end;
  position: absolute;
  right: 1rem;
  top: 1.5rem;
}



.sticky-header-transition {
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
  transform: translateY(-100%);
  opacity: 0;
}

.sticky-header.visible {
  opacity: 1;
}

.sticky-header.slide-down {
  transform: translateY(0);
}

.sticky-header.slide-up {
  transform: translateY(-100%);
}

/* Update submenu interaction styles */
.sticky-header .has-submenu {
  position: relative;
}

.sticky-header .submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 1001; /* Higher than sticky header */
  pointer-events: none; /* Initially disable pointer events */
}

.sticky-header .has-submenu:hover .submenu,
.sticky-header .submenu:hover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: all; /* Enable pointer events when visible */
}

/* Add a small transparent overlap to prevent mouse gap */
.sticky-header .submenu::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  width: 100%;
  height: 10px;
  background: transparent;
}

/* Ensure submenu items are clickable */
.sticky-header .submenu li {
  position: relative;
  z-index: 1002;
}

.sticky-header .submenu a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--dark-purple);
  text-decoration: none;
  transition: all 0.3s ease;
}

.sticky-header .submenu a:hover {
  background: var(--neutral-50);
  color: var(--primary);
}

.sticky-header .submenu a {
  color: var(--dark-purple);
}

.sticky-header .submenu a:hover {
  background: var(--neutral-50);
  color: var(--primary);
}
}
/* Responsive adjustments */
@media (max-width: 768px) {
  .sticky-header .nav-right {
      gap: 1rem;
  }

  .sticky-header .nav-menu,
  .sticky-header .cta-button {
      display: none;
  }

  .sticky-header .mobile-menu-btn {
      display: block;
  }
}

.footer {
background: var(--dark-purple);
color: var(--white);
position: relative;
overflow: hidden;
padding: 6rem 2rem 2rem;
}

.footer-bg-pattern {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
z-index: 1;
}

.footer-circle {
position: absolute;
width: 600px;
height: 600px;
opacity: 0.1;
}

.footer-container {
max-width: 1400px;
margin: 0 auto;
display: grid;
grid-template-columns: 2fr 1fr 1fr 1.5fr;
gap: 4rem;
position: relative;
z-index: 2;
}

.footer-brand {
display: flex;
flex-direction: column;
gap: 1.5rem;
}

.footer-logo {
width: 180px;
height: auto;
}

.footer-desc {
color: rgba(255, 255, 255, 0.8);
line-height: 1.6;
}

.social-links {
display: flex;
gap: 1rem;
}

.social-link {
width: 40px;
height: 40px;
border-radius: 50%;
background: rgba(255, 255, 255, 0.1);
display: flex;
align-items: center;
justify-content: center;
color: var(--white);
text-decoration: none;
transition: var(--transition);
}

.social-link:hover {
background: var(--primary);
transform: translateY(-3px);
}

.footer-col h4 {
font-size: 1.2rem;
margin-bottom: 1.5rem;
position: relative;
}

.footer-col h4::after {
content: '';
position: absolute;
left: 0;
bottom: -0.5rem;
width: 30px;
height: 2px;
background: var(--primary);
}

.footer-links {
list-style: none;
display: flex;
flex-direction: column;
gap: 1rem;
}

.footer-links a {
color: rgba(255, 255, 255, 0.8);
text-decoration: none;
transition: var(--transition);
display: inline-block;
}

.footer-links a:hover {
color: var(--white);
transform: translateX(5px);
}

.contact-info {
display: flex;
flex-direction: column;
gap: 1rem;
}

.contact-info p {
display: flex;
align-items: center;
gap: 0.5rem;
color: rgba(255, 255, 255, 0.8);
}

.contact-info i {
color: var(--primary);
}

.footer-bottom {
margin-top: 4rem;
padding-top: 2rem;
border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
max-width: 1400px;
margin: 0 auto;
display: flex;
justify-content: space-between;
align-items: center;
}

.footer-bottom-links {
display: flex;
gap: 2rem;
}

.footer-bottom-links a {
color: rgba(255, 255, 255, 0.8);
text-decoration: none;
transition: var(--transition);
}

.footer-bottom-links a:hover {
color: var(--white);
}

@media (max-width: 1200px) {
.footer-container {
  grid-template-columns: repeat(2, 1fr);
}
}

@media (max-width: 768px) {
.footer-container {
  grid-template-columns: 1fr;
  gap: 3rem;
}

.footer-bottom-content {
  flex-direction: column;
  gap: 1rem;
  text-align: center;
}

.footer-bottom-links {
  flex-direction: column;
  gap: 0.5rem;
}
}

/* Preserve existing button styles and add loading functionality */
.submit-btn {
  width: 100%;
  padding: 0.75rem 1.5rem;
  background: var(--primary);
  color: var(--white);
  border: none;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 45px; /* Add fixed height if needed */
}

.submit-btn:hover {
  background: #4a3693;
}

.submit-btn .btn-icon {
  width: 16px;  /* Reduce from 300px to 16px */
  height: 16px;
  margin-left: 8px;
}

/* Center the button text */
.submit-btn span {
  display: inline-block;
}

/* Loading state */
.submit-btn.loading {
  background: var(--primary);
  opacity: 0.7;
  pointer-events: none;
}

/* Spinner styles */
.btn-loader {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid var(--white);
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 0.8s linear infinite;
  display: none;
}

.submit-btn.loading .btn-icon {
  display: none;
}

@keyframes spin {
  to {
      transform: rotate(360deg);
  }
}

/* Notification styles */
.form-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 12px 24px;
  border-radius: 4px;
  color: var(--white);
  font-weight: 500;
  transform: translateY(-100%);
  opacity: 0;
  animation: slideIn 0.3s forwards;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-notification.success {
  background: var(--primary);
}

.form-notification.error {
  background: #dc3545;
}

.form-notification::before {
  content: '';
  width: 20px;
  height: 20px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.form-notification.success::before {
  content: '✓';
}

.form-notification.error::before {
  content: '✕';
}

@keyframes slideIn {
  to {
      transform: translateY(0);
      opacity: 1;
  }
}

@keyframes slideOut {
  from {
      transform: translateY(0);
      opacity: 1;
  }
  to {
      transform: translateY(-100%);
      opacity: 0;
  }
}
@media (max-width: 768px) {
  .container{
    width:100%;
  }
}