/* ------------------------------------------------------
   MODERN 2025 AI DESIGN
   ------------------------------------------------------ */

/* Import a contemporary Google Font (e.g., Poppins). */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/* 
  COLOR PALETTE 
  Adjust these custom properties to your brand's color scheme. 
*/
:root {
  --color-bg: #1f140f;
  --color-primary: #ffffff; /* Primary brand color (purpleish) */
  --color-primary-accent: #2514dc; /* Lighter accent for gradients */
  --color-secondary: #0037ff; /* Optionally used for buttons or highlights */
  --color-text: #ffffff;      /* Main text color */
  --color-heading: #ffffff;   /* Headings color */
  --color-subtext: #c4c4c4;   /* Lighter gray for subtext */
  --color-card-bg: rgba(255,255,255,0.05); /* Card background for glassy effect */
  --color-nav-bg: rgba(255,255,255,0.07);  /* Navbar background for glass effect */
  --transition-speed: 0.3s;
  --container-width: 90%;
  --max-width: 1200px;
  --font-sans: 'Poppins', sans-serif;
}

/* Add these rules at the top of your CSS file, right after the :root section */
html, body {
  overflow-x: hidden;
  position: relative;
  width: 100%;
  -webkit-overflow-scrolling: touch;
  margin: 0;
  padding: 0;
}

/* RESET / GLOBALS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: 80px; /* Adjust this value based on your navbar height */
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  text-decoration: none;
  color: var(--color-primary);
  transition: color var(--transition-speed);
}
a:hover {
  color: var(--color-primary-accent);
}
.container {
  width: var(--container-width);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
  overflow: hidden;
}
#scrambleHeading {
  will-change: contents, transform;
  text-rendering: optimizeLegibility;

}
.scramble-char {
  will-change: filter, opacity;
}
.scramble-char {
  display: inline-block;
  filter: blur(1px);
  opacity: 0.8;
  transform: translateY(0.5px); /* NEW */
  transition: filter 0.2s ease, opacity 0.2s ease, transform 0.2s ease; /* UPDATED */
  transition-delay: 0.05s; /* NEW */
  
}


/* ------------------------------------------------------
   NAVBAR
   ------------------------------------------------------ */
   .navbar {
    position: fixed; /* Change from sticky to fixed */
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(15, 15, 25, 0.6); /* Slightly darker but transparent background */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background-color 0.3s ease;
  }
  
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
}
.logo img {
  filter: drop-shadow(0 2px 3px rgba(0,0,0,0.4));
}

/* Keep a static logo size; remove shrink styling */
.site-logo {
  height: 80px;
  /* you can adjust or remove the transition if you like */
  transition: transform 0.3s;
}

/* Removed the .site-logo.shrink rule entirely */

.nav-menu {
  display: flex;
  gap: 2rem;
}
.nav-menu a {
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav-menu a:hover {
  color: var(--color-primary);
}
/* Mobile menu toggle (hidden by default on desktop) */
.mobile-menu-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: var(--color-text);
  cursor: pointer;
}

/* ------------------------------------------------------
   HERO
   ------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 90vh;
  padding: 8rem 0 4rem;
  background: #0D0D2B;
  overflow: hidden;
  isolation: isolate;
}

/* Animated Background Elements */
.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

/* Gradient Circles */
.gradient-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  background: linear-gradient(45deg, #2600ff, #ff00ea);
  animation: circleFloat 20s infinite;
}

.circle-1 {
  width: 600px;
  height: 600px;
  top: -300px;
  left: -200px;
  animation-delay: 0s;
}

.circle-2 {
  width: 500px;
  height: 500px;
  bottom: -250px;
  right: -150px;
  animation-delay: -5s;
  background: linear-gradient(45deg, #2600ff, #00ffea);
}

/* Animated Grid */
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 15s linear infinite;
  opacity: 0.2;
}

/* Floating Lines */
.floating-lines {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.line {
  position: absolute;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.05),
    transparent
  );
  animation: lineFloat 10s linear infinite;
}

.line:nth-child(1) { top: 20%; animation-delay: 0s; }
.line:nth-child(2) { top: 40%; animation-delay: -2s; }
.line:nth-child(3) { top: 60%; animation-delay: -4s; }
.line:nth-child(4) { top: 80%; animation-delay: -6s; }

/* Glowing Dots */
.dots {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: dotsFloat 20s linear infinite;
  opacity: 0.3;
}

/* Animations */
@keyframes circleFloat {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(50px, 50px) rotate(90deg);
  }
  50% {
    transform: translate(0, 100px) rotate(180deg);
  }
  75% {
    transform: translate(-50px, 50px) rotate(270deg);
  }
}

@keyframes gridMove {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(50px);
  }
}

@keyframes lineFloat {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

@keyframes dotsFloat {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50px);
  }
}

/* Keep existing hero content styles */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* Preserve scramble text animation */
#scrambleHeading {
  position: relative;
  z-index: 2;
  margin-bottom: 1.5rem;
  color: #fff;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1.2;
}

.hero p {
  position: relative;
  z-index: 2;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Hero Button Styles */
.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  text-decoration: none;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.4s ease;
  overflow: hidden;
  isolation: isolate;
}

/* Glowing border effect */
.hero-btn::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(45deg, 
    #2600ff, #ff00ea, #2600ff, 
    #00ffea, #2600ff, #ff00ea);
  background-size: 400%;
  z-index: -2;
  animation: glowingBorder 20s linear infinite;
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* Fill effect */
.hero-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, #2600ff, #ff00ea);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

/* Button content */
.hero-btn .btn-content {
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 1;
}

/* Icon transition */
.hero-btn i {
  transition: transform 0.4s ease;
}

/* Hover effects */
.hero-btn:hover {
  color: #ffffff;
  border-color: transparent;
  letter-spacing: 2px;
}

.hero-btn:hover::before {
  opacity: 1;
}

.hero-btn:hover::after {
  transform: scaleX(1);
}

.hero-btn:hover i {
  transform: translateX(6px);
}

/* Glowing border animation */
@keyframes glowingBorder {
  0% { background-position: 0 0; }
  50% { background-position: 400% 0; }
  100% { background-position: 0 0; }
}

/* Subtle Animations */
@keyframes pulseGradient {
  0%, 100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 0.3;
    transform: scale(1.1);
  }
}

@keyframes lineMove {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .gradient-circle {
    filter: blur(60px);
    opacity: 0.1;
  }
  
  .grid-overlay,
  .dots {
    opacity: 0.15;
  }
  
  .line {
    opacity: 0.3;
  }
}

/* ------------------------------------------------------
   SECTIONS COMMON
   ------------------------------------------------------ */
.section {
  padding: 4rem 0;
  width: 100%;
  overflow: hidden;
}
.section h2 {
  text-align: center;
  color: var(--color-heading);
  font-size: 2rem;
  margin-bottom: 1rem;
}
.section p {
  text-align: center;
  color: var(--color-subtext);
  max-width: 650px;
  margin: 0.5rem auto 2rem auto;
}

/* ------------------------------------------------------
   SERVICES SECTION
   ------------------------------------------------------ */
.services-section {
  background: #141432;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.services-section h2 {
  margin-bottom: 0.5rem;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
}
.service-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.03) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.2);
}

.service-card:hover::before {
  opacity: 1;
}

/* Service Icon */
.service-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 24px;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.1);
}

/* Service Content */
.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #fff;
}

.service-card p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* Price Tag */
.price-tag {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  color: #fff;
  font-weight: 500;
  margin: 1rem 0;
  transition: all 0.3s ease;
}

.service-card:hover .price-tag {
  background: rgba(255, 255, 255, 0.1);
}

/* Service Card Button */
.service-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.service-btn:hover {
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.service-btn:hover::before {
  transform: translateX(0);
}

.service-btn i {
  font-size: 14px;
  transition: transform 0.3s ease;
}

.service-btn:hover i {
  transform: translateX(4px);
}

/* ------------------------------------------------------
   ABOUT SECTION
   ------------------------------------------------------ */
.about-section {
  background: #0f0f1f;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 4rem 0;
}

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

.about-content h2 {
  font-size: 2.5rem;
  color: var(--color-heading);
  margin-bottom: 3rem;
  position: relative;
}

.about-content h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--color-primary);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  text-align: left;
  width: 100%;
  margin: 0;
  padding: 0 1rem;
}

.about-text {
  font-size: 1.1rem;
  line-height: 1.8;
}

.about-text p {
  margin-bottom: 1.5rem;
  color: var(--color-subtext);
}

.about-text b {
  color: var(--color-text);
}

.about-image {
  text-align: center;
}

.about-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

/* ------------------------------------------------------
   CONTACT SECTION
   ------------------------------------------------------ */
.contact-section {
  background: #0f0f1f;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.contact-section h2 {
  margin-bottom: 0.5rem;
}
.contact-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  width: 100%;
  margin: 0;
  padding: 0 1rem;
}
.contact-card {
  background: var(--color-card-bg);
  padding: 1rem 2rem;
  border-radius: 1rem;
  text-align: center;
  min-width: 200px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}
.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}
.contact-card h3 {
  margin-bottom: 0.5rem;
  color: var(--color-heading);
}
.contact-card p a {
  color: var(--color-primary);
  font-weight: 500;
}
.contact-form {
  margin-top: 3rem;
  max-width: 600px;
  margin: 3rem auto 0 auto;
  display: grid;
  gap: 1.5rem;
}

/* Enhanced Send Message button spacing */
.contact-form button[type="submit"] {
  margin: 2.5rem auto 2rem auto; /* Increased top and bottom margin */
  min-width: 220px; /* Slightly wider minimum width */
  padding: 20px 40px; /* Increased padding */
  justify-content: center;
  font-size: 17px; /* Slightly larger font size */
  letter-spacing: 1.2px; /* Increased letter spacing */
}

/* Center the button content with more spacing */
.contact-form button[type="submit"] .btn-content {
  justify-content: center;
  text-align: center;
  gap: 12px; /* Increased space between text and icon */
}

/* Adjust icon size */
.contact-form button[type="submit"] i {
  font-size: 18px; /* Slightly larger icon */
}

/* Hover state adjustments */
.contact-form button[type="submit"]:hover {
  transform: translateY(-3px); /* Slightly more pronounced lift effect */
  padding: 20px 44px; /* Subtle width increase on hover */
}

::placeholder {
  color: #aaa; /* Light gray or any visible color */
  opacity: 1;  /* Ensure it's fully visible */
}

input, textarea {
  color: #fff; /* Make sure the user input text is also visible */
}


/* Style the SELECT itself to match the dark input fields */
/* Ensure these rules target the select in your contact form */
/* Container for the custom dropdown */
.custom-select {
  position: relative; 
  width: 100%;
}

/* The clickable "trigger" area (similar to an <input>) */
.custom-select-trigger {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.custom-select-trigger:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.1);
}

.custom-select.open .custom-select-trigger {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(77, 108, 250, 0.15);
}

/* The placeholder text (initial "Select your timeline/urgency") */
.custom-select-trigger .placeholder {
  opacity: 0.7; /* slightly different color to indicate it's a placeholder */
}

/* The hidden "options" list, shown on trigger click */
.custom-select-options {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  margin-top: 5px;
  background: #1f1f2f; /* match your dark background or something slightly different */
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 0.5rem;
  box-shadow: 0 6px 16px rgba(0,0,0,0.4);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
}

/* When we open the custom select (JS toggles "open" class), reveal it */
.custom-select.open .custom-select-options {
  max-height: 300px; /* or however tall you need for your items */
  opacity: 1;
  pointer-events: auto; 
  overflow-y: auto; /* scroll if needed */
}

/* Each individual option in the dropdown */
.custom-select-option {
  padding: 0.9rem;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}
.custom-select-option:hover {
  background: rgba(255,255,255,0.1);
}

/* If you want the selected option to appear "highlighted," 
   you can add logic to toggle a .selected class, e.g.:
.custom-select-option.selected {
  background: rgba(255,255,255,0.2);
}
*/


.contact-form input,
.contact-form textarea {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  color: var(--color-text);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(77, 108, 250, 0.15);
  background: rgba(255, 255, 255, 0.03);
}

.contact-form button {
  background: var(--color-primary);
  color: #0800ff;
  border-radius: 2rem;
  padding: 0.8rem 1.5rem;
  font-weight: 600;
  transition: background var(--transition-speed), transform var(--transition-speed);
  width: fit-content;
}
.contact-form button:hover {
  background: #0077ff;
  transform: translateY(-2px);
  color: #f2f2f2;
}

/* ------------------------------------------------------
   FOOTER
   ------------------------------------------------------ */
.footer {
  background: rgba(255, 255, 255, 0.02);
  padding: 2rem 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--color-primary);
  text-decoration: none;
  transition: opacity 0.3s ease;
  font-size: 0.95rem;
  padding: 0.5rem 0;
}

.footer-links a:hover {
  opacity: 0.8;
}

.footer p {
  color: var(--color-subtext);
  font-size: 0.9rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .footer-links {
    gap: 1.5rem;
  }
  
  .footer-links a {
    font-size: 0.9rem;
  }
}

/* ------------------------------------------------------
   RESPONSIVE
   ------------------------------------------------------ */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .about-text {
    text-align: center;
  }
  
  .about-image img {
    max-width: 400px;
    margin: 0 auto;
  }
}
@media (max-width: 480px) {
  #scrambleHeading {
    font-size: 1.5rem;
    line-height: 1.3;
  }
}
@media (prefers-reduced-motion: reduce) {
  .scramble-char {
    filter: none !important;
    opacity: 1 !important;
    animation: none !important;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    flex-direction: column;
    gap: 1rem;
    background: var(--color-nav-bg);
    position: absolute;
    top: 65px;
    right: 1rem;
    width: 200px;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.4);
  }
  .nav-menu.active {
    display: flex;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .hero {
    padding: 5rem 1rem 3rem 1rem;
  }
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .partners-track {
    gap: 2rem;
    padding: 0 1rem;
  }
  
  .partner-item {
    width: 120px;
    height: 50px;
  }
  
  .section {
    width: 100%;
    overflow: hidden;
  }
  
  .services-grid,
  .about-grid,
  .contact-info {
    width: 100%;
    margin: 0;
    padding: 0 1rem;
  }
}
@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
}

/* Newsletter Section Styles */
.newsletter-section {
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  color: #ffffff;
  padding: 4rem 0;
}

.newsletter-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.newsletter-text {
  flex: 1;
}

.newsletter-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.newsletter-text ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.newsletter-text li {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.newsletter-form {
  flex: 1;
}

.newsletter-signup {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 16px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.newsletter-signup:hover {
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.form-group {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.newsletter-signup input[type="email"] {
  flex: 1;
  padding: 1rem;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.9);
}

.newsletter-signup .btn-primary {
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.privacy-notice {
  font-size: 0.9rem;
  opacity: 0.8;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
  .newsletter-content {
    flex-direction: column;
    text-align: center;
  }

  .newsletter-text li {
    justify-content: center;
  }

  .form-group {
    flex-direction: column;
  }

  .newsletter-signup .btn-primary {
    width: 100%;
    justify-content: center;
  }
}

/* Newsletter Form Messages */
.success-message,
.error-message {
  padding: 1rem;
  border-radius: 5px;
  margin: 1rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: slideIn 0.3s ease-out;
}

.success-message {
  background: rgba(40, 167, 69, 0.1);
  border: 1px solid rgba(40, 167, 69, 0.2);
  color: #28a745;
}

.error-message {
  background: rgba(220, 53, 69, 0.1);
  border: 1px solid rgba(220, 53, 69, 0.2);
  color: #dc3545;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Partners Slider Styles */
.partners-section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 6rem auto;
  text-align: center;
  overflow: hidden;
  position: relative;
  padding: 2rem 0;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 1rem;
}

.partners-section h3 {
  font-size: 1.8rem;
  color: var(--color-text);
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.partners-section h3::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--color-primary);
}

.partners-slider {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 2rem 0;
}

.partners-track {
  display: flex;
  gap: 2rem;
  animation: scroll 20s linear infinite;
  width: fit-content;
}

.partner-item {
  flex: 0 0 auto;
  width: 180px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.partner-item:hover {
  transform: translateY(-5px);
}

.partner-item a {
  display: block;
  text-decoration: none;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%) brightness(0.8);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.partner-item:hover img {
  filter: grayscale(0%) brightness(1);
  transform: scale(1.05);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 1rem));
  }
}

/* Pause animation on hover */
.partners-slider:hover .partners-track {
  animation-play-state: paused;
}

/* Responsive Design */
@media (max-width: 768px) {
  .partner-item {
    width: 140px;
    height: 60px;
  }
  
  .partners-section h3 {
    font-size: 1.5rem;
  }
  
  .partners-track {
    gap: 1rem;
  }
}
/* 1. Merge duplicate scramble rules */
.scramble-char{
  display:inline-block;
  filter:blur(1px);
  opacity:.8;
  transition:filter .2s,opacity .2s,transform .2s;
  will-change:filter,opacity,transform;
}

/* 2. Accessibility fix for inputs */
.contact-form input,
.contact-form textarea{
  background:#1f1f2f;
  border:1px solid #3d3d3d;
  color:#f4f4ff;         /* high contrast */
}

/* 3. Hero clip-path safe mobile */
@media(max-width:480px){
  .hero{clip-path:none;padding-bottom:4rem;}
}

/* 4. Motion-safe wrapper */
@media(prefers-reduced-motion:no-preference){
  #scrambleHeading .scramble-char{/* animation rules here */}
}

/* Modern Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
}

::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 5px;
  border: 2px solid rgba(255, 255, 255, 0.02);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary-light);
}

/* Navigation Links Modern Hover */
.nav-menu a {
  position: relative;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 80%;
}

.nav-menu a.active {
  color: var(--color-primary);
  font-weight: 600;
}

/* Base Button Styles */
.btn-primary,
.hero-btn,
.newsletter-signup button,
.contact-form button,
.service-card .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  text-decoration: none;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.4s ease;
  overflow: hidden;
  isolation: isolate;
}

/* Hover effects for all buttons */
.btn-primary:hover,
.hero-btn:hover,
.newsletter-signup button:hover,
.contact-form button:hover,
.service-card .btn-primary:hover {
  color: #ffffff;
  border-color: transparent;
  letter-spacing: 2px;
}

/* Button content */
.btn-primary .btn-content,
.hero-btn .btn-content,
.newsletter-signup button .btn-content,
.contact-form button .btn-content,
.service-card .btn-primary .btn-content {
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 1;
  position: relative;
}

/* Icon styles */
.btn-primary i,
.hero-btn i,
.newsletter-signup button i,
.contact-form button i,
.service-card .btn-primary i {
  transition: transform 0.4s ease;
  color: inherit;
}

/* Icon hover effect */
.btn-primary:hover i,
.hero-btn:hover i,
.newsletter-signup button:hover i,
.contact-form button:hover i,
.service-card .btn-primary:hover i {
  transform: translateX(6px);
  color: #ffffff;
}

/* Active State */
.btn-primary:active,
.hero-btn:active,
.newsletter-signup button:active,
.contact-form button:active,
.service-card .btn-primary:active {
  transform: scale(0.98);
}

/* Animations */
@keyframes particleExplode {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(
      calc(-50% + var(--x-travel) * 50px),
      calc(-50% + var(--y-travel) * 50px)
    ) scale(0);
  }
}

@keyframes buttonGlow {
  0%, 100% {
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.1);
  }
  50% {
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
  }
}

/* Secondary Button Variation */
.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
}

/* Small Button Variation */
.btn-small {
  padding: 12px 24px;
  font-size: 14px;
}

/* Large Button Variation */
.btn-large {
  padding: 20px 40px;
  font-size: 18px;
}

/* Add subtle glow to text */
.hero h1 {
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

/* Optional: Change navbar background on scroll */
.navbar.scrolled {
  background: rgba(15, 15, 25, 0.8); /* Slightly more opaque when scrolled */
}

/* 404 Page Styles */
.error-section {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 0;
}

.error-content {
  max-width: 600px;
  margin: 0 auto;
}

.error-icon {
  font-size: 5rem;
  color: var(--primary-color);
  margin: 2rem 0;
}

.error-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}

/* Blog Styles */
.blog-hero {
  background: linear-gradient(135deg, #141432, #1a1a3a);
  color: #ffffff;
  text-align: center;
  padding: 4rem 0;
}

.blog-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

.blog-categories {
  padding: 2rem 0;
  background: #141432;
}

.category-filters {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.category-btn {
  padding: 0.5rem 1.5rem;
  border: 2px solid #4d6cfa;
  border-radius: 25px;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.category-btn.active,
.category-btn:hover {
  background: #4d6cfa;
  color: #ffffff;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
}

.blog-card {
  background: #141432;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card.featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.blog-card-image {
  position: relative;
  padding-top: 60%;
  overflow: hidden;
}

.blog-card-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-content {
  padding: 1.5rem;
}

.blog-card-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.blog-card-meta .category {
  color: #4d6cfa;
  font-weight: bold;
}

.blog-card-meta .date {
  color: #a0a0a0;
}

.blog-card h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: #ffffff;
}

.blog-card p {
  color: #e0e0e0;
  margin-bottom: 1rem;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #4d6cfa;
  text-decoration: none;
  margin-top: 1rem;
  font-weight: bold;
}

.read-more:hover {
  color: #6d8cff;
  text-decoration: underline;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

.pagination-btn {
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #141432;
  color: #ffffff;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pagination-btn.active,
.pagination-btn:hover {
  background: #4d6cfa;
  color: #ffffff;
  border-color: #4d6cfa;
}

.pagination-btn.next {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Responsive Blog Styles */
@media (max-width: 768px) {
  .blog-card.featured {
    grid-template-columns: 1fr;
  }

  .blog-hero h1 {
    font-size: 2rem;
  }

  .category-filters {
    flex-direction: column;
    align-items: stretch;
  }

  .category-btn {
    width: 100%;
  }
}

/* Blog Post Styles */
.blog-post {
  padding: 4rem 0;
  background: #0f0f1f;
  color: #ffffff;
}

.post-header {
  text-align: center;
  margin-bottom: 3rem;
}

.post-meta {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.post-meta .category {
  color: #4d6cfa;
  font-weight: bold;
}

.post-meta .date {
  color: #a0a0a0;
}

.post-header h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  line-height: 1.2;
  color: #ffffff;
}

.post-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.author-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info {
  text-align: left;
}

.author-name {
  display: block;
  font-weight: bold;
  color: #ffffff;
}

.author-title {
  display: block;
  color: #a0a0a0;
  font-size: 0.9rem;
}

.post-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
}

.post-content .lead {
  font-size: 1.3rem;
  color: #e0e0e0;
  margin-bottom: 2rem;
}

.post-content h2 {
  font-size: 2rem;
  margin: 2.5rem 0 1.5rem;
  color: #ffffff;
}

.post-content p {
  margin-bottom: 1.5rem;
  color: #e0e0e0;
}

.location-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.location-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  border-radius: 10px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.location-card h3 {
  color: #4d6cfa;
  margin-bottom: 1rem;
}

.location-card p {
  color: #e0e0e0;
}

.service-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-item h3 {
  margin-bottom: 1rem;
  color: #ffffff;
}

.service-item p {
  color: #e0e0e0;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-list i {
  color: var(--color-primary);
  font-size: 1.2rem;
  margin-top: 0.2rem;
}

.feature-list strong {
  color: #ffffff;
}

.feature-list p {
  color: #e0e0e0;
}

blockquote {
  margin: 2.5rem 0;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-left: 4px solid #4d6cfa;
  font-style: italic;
  font-size: 1.2rem;
  color: #e0e0e0;
}

.cta-section {
  text-align: center;
  margin: 3rem 0;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-section h3 {
  color: #ffffff;
  margin-bottom: 1rem;
}

.cta-section p {
  color: #e0e0e0;
}

/* Blog Search Styles */
.search-container {
  margin-bottom: 2rem;
  width: 100%;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.blog-search {
  width: 100%;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #ffffff;
  transition: all 0.3s ease;
}

.blog-search:focus {
  outline: none;
  border-color: #4d6cfa;
  box-shadow: 0 0 0 3px rgba(77, 108, 250, 0.15);
  background: rgba(255, 255, 255, 0.08);
}

.blog-search::placeholder {
  color: #a0a0a0;
}

/* Breadcrumbs Navigation */
.breadcrumbs {
  background-color: rgba(255, 255, 255, 0.02);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.breadcrumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}

.breadcrumbs li {
  display: flex;
  align-items: center;
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin: 0 0.5rem;
  color: rgba(255, 255, 255, 0.3);
}

.breadcrumbs a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.breadcrumbs a:hover {
  color: var(--color-primary);
  text-decoration: none;
}

.breadcrumbs span {
  color: rgba(255, 255, 255, 0.5);
}

/* Case Studies Page Styles */
.case-studies-hero {
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.6) 100%);
  position: relative;
  overflow: hidden;
}

.case-studies-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../img/hero-bg.jpg') center/cover no-repeat;
  z-index: -1;
  filter: blur(5px);
}

.case-studies-section {
  padding: 80px 0;
}

.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.case-study-card {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.case-study-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.case-study-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.case-study-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.case-study-card:hover .case-study-image img {
  transform: scale(1.05);
}

.case-study-content {
  padding: 24px;
}

.case-study-content h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--color-primary);
}

.case-study-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.case-study-results {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.result-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
}

.result-item i {
  color: var(--color-primary);
  font-size: 1.1rem;
}

.case-study-excerpt {
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.cta-section {
  text-align: center;
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.6) 100%);
  position: relative;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../img/cta-bg.jpg') center/cover no-repeat;
  z-index: -1;
  filter: blur(5px);
}

.cta-section h2 {
  margin-bottom: 16px;
  color: var(--color-primary);
}

.cta-section p {
  margin-bottom: 32px;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 768px) {
  .case-studies-grid {
    grid-template-columns: 1fr;
  }

  .case-study-results {
    grid-template-columns: 1fr;
  }

  .case-study-meta {
    flex-direction: column;
    gap: 8px;
  }
}

