:root {
  --color-bg: #050509;
  --color-header: rgba(8, 8, 11, 0.96);
  --color-header-border: rgba(255, 255, 255, 0.06);
  --color-text-main: #ffffff;
  --color-text-muted: #c7c7d4;
  --color-accent: #ffffff;
  --color-button-bg: #ffffff;
  --color-button-text: #111217;
  --color-button-secondary-bg: transparent;
  --color-button-secondary-border: rgba(255, 255, 255, 0.55);
  --color-badge: #fc3147;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.65);

  --header-height: 96px;
  --transition-fast: 180ms ease-out;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text-main);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  border: none;
  background: none;
  color: inherit;
  cursor: pointer;
}

.container {
  max-width: 1200px;
  width: 92%;
  margin: 0 auto;
}

/* Hide mobile header on desktop */
@media (min-width: 768px) {
  .mobile-header {
    display: none !important;
  }
}

/* HEADER */

.main-header {
  position: absolute;
  inset-inline: 0;
  top: 0;
  z-index: 20;
  color: var(--color-text-main);
  background: transparent;
}

.top-bar {
  background: transparent;
  border-bottom: none;
  font-size: 0.75rem;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 32px;
}

.ticker {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  opacity: 0.8;
}

.ticker-label {
  font-weight: 600;
  letter-spacing: 0.03em;
}

.ticker-change {
  color: #f35a5a;
}

.top-links a {
  opacity: 0.75;
  font-weight: 500;
}

.top-links a:hover {
  opacity: 3;
}

.nav-bar {
  background: transparent;
  border-bottom: none;
  box-shadow: none;
  backdrop-filter: none;
}

.nav-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.25rem 0;
  position: relative;
}

@media (min-width: 768px) {
  .nav-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

.brand {
  z-index: 100;
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .brand {
    margin-bottom: 0;
  }
}

.brand-logo {
  display: block;
  height: 65px; /* Significantly increased from 40px (original) */
  width: auto;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-right: 1rem; /* Add some spacing from navigation */
}

.brand-logo:hover {
  transform: scale(1.1);
  filter: brightness(1.15) drop-shadow(0 0 8px rgba(59, 130, 246, 0.3));
}

/* Ensure header can accommodate the larger logo */
.nav-inner {
  padding: 1.5rem 0; /* Increased padding for better spacing */
}

.nav {
  flex: 1;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.9rem;
  margin: 1rem 0;
  padding: 0;
  width: 100%;
  position: relative;
}

@media (min-width: 768px) {
  .nav-links {
    margin: 0;
    width: auto;
    gap: 1.5rem;
    justify-content: flex-end;
  }
}

.nav-links > li {
  position: relative;
}

.nav-links a {
  opacity: 0.8;
  font-weight: 500;
  transition: opacity var(--transition-fast), color var(--transition-fast);
}

/* Navigation links color */
.nav-links a {
  color: #ffffff;
}

/* Dark navigation links on service pages */
.service-page .nav-links a {
  color: #1e293b;
}

.service-page .nav-links a:hover {
  color: var(--primary);
  opacity: 1;
}

.service-page .nav-links .active {
  color: var(--primary);
  font-weight: 600;
  opacity: 1;
}

.service-page .nav-links a::after {
  background-color: var(--primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.4rem;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: #ffffff;
  transition: width 160ms ease-out;
}

.nav-links a:hover {
  opacity: 1;
}

.nav-links a:hover::after {
  width: 18px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.9rem;
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.nav-toggle {
  display: none;
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  position: absolute;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: #ffffff;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.nav-toggle span:first-child {
  transform: translateY(-3px);
}

.nav-toggle span:last-child {
  transform: translateY(3px);
}

.nav-toggle.is-active span:first-child {
  transform: rotate(45deg);
}

.nav-toggle.is-active span:last-child {
  transform: rotate(-45deg);
}

/* Navigation CTA Button */
.nav-cta {
  margin-left: 1.5rem;
  display: flex;
  align-items: center;
}

.btn-arena {
  display: inline-block;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: white !important;
  padding: 0.6rem 1.25rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.btn-arena:hover {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  transform: translateY(-1px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Responsive adjustments */
@media (max-width: 1023px) {
  .nav-cta {
    margin: 1.5rem 0 0;
    width: 100%;
  }
  
  .btn-arena {
    display: block;
    text-align: center;
    width: 100%;
    padding: 0.75rem 1.5rem;
  }
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(12, 17, 29, 0.98);
  min-width: 280px;
  border-radius: 8px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.08);
  list-style: none;
  padding: 0.75rem 0;
  margin: 0.75rem 0 0 0;
  z-index: 1000;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  position: relative;
  margin: 0;
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  padding: 0.8rem 1.75rem;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 450;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.dropdown-menu a:hover {
  background: rgba(59, 130, 246, 0.1);
  color: #3b8cff;
  padding-left: 2rem;
  transform: translateX(2px);
}

.dropdown-menu a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 3px;
  background: #3b82f6;
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dropdown-menu a:hover::before {
  transform: scaleY(1);
}

/* Submenu */
.dropdown-submenu {
  position: relative;
}

.dropdown-submenu-list {
  position: absolute;
  left: 100%;
  top: -0.75rem;
  background: rgba(12, 17, 29, 0.98);
  min-width: 260px;
  border-radius: 0 8px 8px 0;
  box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateX(15px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: none;
  list-style: none;
  padding: 0.75rem 0;
  margin: 0;
  z-index: 1001;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.dropdown-submenu:hover .dropdown-submenu-list {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  transition-delay: 0.1s;
}

/* Dropdown Arrows */
.dropdown-arrow {
  font-size: 0.5rem;
  margin-left: 0.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  opacity: 0.7;
}

.dropdown:hover .dropdown-arrow,
.dropdown.active .dropdown-arrow {
  transform: rotate(180deg);
  opacity: 1;
  color: #3b8cff;
}

/* Active state for navigation items */
.nav-links > li > a.active,
.nav-links > li > a:focus,
.dropdown-menu a.active {
  color: #3b82f6;
  opacity: 1;
}

.nav-links > li > a.active::after,
.nav-links > li > a:focus::after {
  width: 18px;
}

/* Prevent body scroll when mobile menu is open */
body.no-scroll {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}

/* Smooth transitions */
.dropdown-menu,
.dropdown-submenu-list {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Improve touch targets on mobile */
@media (max-width: 1023px) {
  .dropdown > a,
  .dropdown-submenu > a {
    padding: 1rem 1.75rem;
    width: 100%;
  }
  
  .dropdown-menu a {
    padding: 0.9rem 2.25rem;
    font-size: 0.95rem;
  }
  
  .dropdown-submenu-list a {
    padding: 0.9rem 2.5rem;
  }
  
  .dropdown-menu,
  .dropdown-submenu-list {
    position: static;
    width: 100%;
    box-shadow: none;
    border: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(255, 255, 255, 0.03);
    margin: 0;
    padding: 0;
  }
  
  .dropdown-submenu-list {
    padding-left: 1.5rem !important;
  }
  
  .dropdown-menu a::before {
    display: none;
  }
  
  .dropdown-menu a:hover {
    padding-left: 2.25rem;
    transform: none;
  }
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

@media (max-width: 1023px) {
  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #0f172a;
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem 0;
    opacity: 0;
    pointer-events: none;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s ease, opacity 0.3s ease;
    gap: 0;
    max-height: 80vh;
    overflow-y: auto;
  }

  .nav-links--open {
    opacity: 1;
    pointer-events: auto;
    transform: scaleY(1);
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(0, 0, 0, 0.1);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border: none;
    border-radius: 0;
  }

  .dropdown.active .dropdown-menu {
    max-height: 1000px;
    padding: 0.5rem 0;
  }

  .dropdown-submenu-list {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding-left: 1.5rem;
    border: none;
    border-left: 2px solid rgba(59, 130, 246, 0.3);
  }

  .dropdown-submenu.active .dropdown-submenu-list {
    max-height: 1000px;
  }

  .nav-links li {
    margin: 0;
  }

  .nav-links a {
    padding: 0.8rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .dropdown-arrow {
    transition: transform 0.3s ease;
  }

  .dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
  }
}

/* HERO */

.hero-slider {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background-color: #0a0e17;
  color: #fff;
}

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.video-background video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 14, 23, 0.3);
  z-index: 1;
  backdrop-filter: none;
}

.hero-inner,
.hero-arrow,
.hero-play {
  position: relative;
  z-index: 2;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 600ms ease-in-out;
  background-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.35) 35%,
      rgba(2, 7, 20, 0.7) 100%
    ),
    var(--hero-bg);
  background-size: cover;
  background-position: center;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-inner {
  display: flex;
  align-items: center;
  height: 100%;
  padding-top: 80px; /* Account for header */
  position: relative;
  z-index: 3;
}

.hero-text {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.75rem;
}

.hero-text h1 {
  font-size: clamp(2.8rem, 4.3vw, 4.2rem);
  line-height: 1.05;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero-text h1 span {
  display: block;
}

.subtitle {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  max-width: 480px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 2rem;
  justify-content: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.9rem;
  border-radius: 999px;
  background: var(--color-button-bg);
  color: var(--color-button-text);
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.6);
}

.btn-primary:hover {
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.7rem;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.06);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #ffffff;
  backdrop-filter: none;
}

.hero-arrow--prev {
  left: 2rem;
}

.hero-arrow--next {
  right: 2rem;
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.15);
}

.hero-play {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 76px;
  height: 76px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.7);
}

.hero-play-icon {
  width: 0;
  height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 14px solid #ffffff;
  transform: translateX(2px);
}

/* CONTENT PLACEHOLDER */

.placeholder-section {
  padding-block: 4rem 5rem;
  color: var(--color-text-muted);
}

.placeholder-section h2 {
  color: var(--color-text-main);
  margin-bottom: 0.5rem;
}

.placeholder-section p {
  max-width: 560px;
}

/* RESPONSIVE */

@media (max-width: 960px) {
  .nav-inner {
    gap: 0.75rem;
  }

  .nav {
    order: 3;
    flex-basis: 100%;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: rgba(5, 5, 10, 0.98);
    padding: 0.9rem 4%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
    transform-origin: top;
    transform: scaleY(0.2);
    opacity: 0;
    pointer-events: none;
  }

  .nav-links--open {
    opacity: 1;
    pointer-events: auto;
    transform: scaleY(1);
  }

  .hero-inner {
    padding-block: 6.8rem 4.5rem;
  }

  .hero-arrow {
    width: 40px;
    height: 40px;
  }

  .hero-play {
    width: 68px;
    height: 68px;
  }
}

@media (max-width: 768px) {
  .hero-slider {
    height: auto;
    min-height: 80vh;
  }
  
  .hero-inner {
    padding-top: 100px;
    padding-bottom: 60px;
  }
  
  .video-background video {
    width: auto;
    height: 100%;
  }
  
  .hero-text h1 {
    font-size: 2.35rem;
  }

  .hero-ctas {
    flex-wrap: wrap;
  }

  .hero-arrow {
    display: none;
  }
}

@media (max-width: 720px) {
  .top-bar-inner {
    justify-content: center;
  }

  .top-links {
    display: none;
  }

  .brand-text {
    font-size: 1.1rem;
  }

  .hero-inner {
    padding-block: 6.3rem 3.6rem;
  }
}

/* New Sections Styles */
.section-spacing {
  padding: 6rem 0;
  position: relative;
}

.about-section {
  text-align: center;
  background: var(--color-bg);
  color: var(--color-text-main);
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding: 4rem 2rem;
}

.about-text {
  font-size: 2.2rem;
  line-height: 1.4;
  margin-bottom: 3rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.about-line {
  height: 2px;
  background: var(--color-accent);
  width: 0;
  margin: 0 auto 3rem;
  transition: width 1.2s ease 0.3s;
}

.profile-silhouette {
  width: 120px;
  height: 120px;
  margin: 0 auto;
}

/* Services Section */
.services-section {
  background: #0a0a0f;
  color: var(--color-text-main);
  padding: 6rem 0;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin: 0 auto 1.5rem;
  position: relative;
  display: block;
  width: 100%;
  max-width: 800px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--color-accent);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  padding: 0 1rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 2rem;
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.service-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

.service-card h3 {
  font-size: 1.25rem;
  margin: 1.5rem 0 1rem;
  color: #1e293b;
  font-weight: 700;
}

.service-card p {
  color: #4b5563;
  margin-bottom: 1.5rem;
  line-height: 1.7;
  flex-grow: 1;
  font-size: 0.95rem;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.service-features li {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
  font-size: 0.7rem;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  color: #3b82f6;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  margin-top: auto;
}

.service-link:hover {
  color: #2563eb;
  text-decoration: none;
}

.service-link span {
  margin-left: 0.5rem;
  transition: transform 0.2s ease;
}

.service-link:hover span {
  transform: translateX(3px);
}

/* Full width card - now matching other cards */
.service-card.full-width {
  grid-column: 1 / -1;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  position: relative;
  overflow: hidden;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  max-width: 100%;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.service-card.full-width .service-content {
  display: flex;
  flex-direction: row;
  height: 100%;
}

.service-card.full-width .service-image {
  flex: 1;
  min-height: 300px;
  position: relative;
  overflow: hidden;
}

.service-card.full-width .service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card.full-width .service-details {
  flex: 1;
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.service-card.full-width h3,
.service-card.full-width p,
.service-card.full-width .service-link {
  color: #1e293b;
  position: relative;
  z-index: 2;
}

.service-card.full-width .service-link {
  color: #3b82f6;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
  width: 100%;
}

.service-card.full-width .service-link:hover {
  color: #2563eb;
}

@media (max-width: 768px) {
  .service-card.full-width .service-content {
    flex-direction: column;
  }
  
  .service-card.full-width .service-image {
    min-height: 200px;
  }
}

/* Projects Section */
.projects-section {
  background: #ffffff;
  color: #000000;
  padding: 6rem 0;
  text-align: center;
}

.projects-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
  flex-wrap: wrap;
  padding: 0 2rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.project-preview {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-preview.is-expanded {
  width: 300px;
  height: 300px;
  border-radius: 15px;
}

.project-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: all 0.5s ease;
  opacity: 0.7;
}

.project-preview:nth-child(1) .project-bg {
  background-image: linear-gradient(45deg, #ff6b6b, #ff8e8e);
}

.project-preview:nth-child(2) .project-bg {
  background-image: linear-gradient(45deg, #4ecdc4, #45b7d1);
}

.project-preview:nth-child(3) .project-bg {
  background-image: linear-gradient(45deg, #96e6a1, #d4fc79);
}

.project-title {
  color: white;
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s ease 0.2s;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
  color: white;
  text-align: center;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.cta-content h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: #2b6cb0; /* Dark blue accent */
  margin: 1.5rem auto 2rem;
  position: relative;
  border: none;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--color-accent);
  color: var(--color-button-text);
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.7);
  transform: scale(0);
  animation: ripple 0.6s linear;
  pointer-events: none;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
}

@keyframes ripple {
  to {
    transform: scale(10);
    opacity: 0;
  }
}

/* ===========================================
   New Section Styles
   =========================================== */

/* Base Section Styles */
.section-spacing {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

/* Industry Solutions Section */
.solutions-section {
  padding: 6rem 0;
  background: #f8f9fa;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #e9ecef;
  color: #1a1a1a;
}

.solutions-section .section-title {
  color: #1a1a1a;
}

.solutions-section .section-subtitle {
  color: #4a5568;
  font-weight: 500;
}

.solutions-section .section-description {
  color: #4a5568;
  max-width: 700px;
  margin: 1rem auto 0;
  line-height: 1.6;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.solution-card {
  background: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.solution-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.solution-card:hover {
  transform: translateY(-5px);
  border-color: #3b82f6;
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.1);
}

.solution-card:hover::before {
  transform: scaleX(1);
}


.solution-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #1a1a1a;
  font-weight: 600;
  position: relative;
  padding-bottom: 0.75rem;
}

.solution-card h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: rgba(59, 130, 246, 0.5);
  transition: width 0.3s ease;
}

.solution-card:hover h3::after {
  width: 80px;
}

.solution-card p {
  color: #4a5568;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  flex-grow: 1;
}

.solution-card .btn-outline {
  border: 1px solid #e2e8f0;
  color: #3b82f6;
  padding: 0.6rem 1.5rem;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #f8fafc;
}

.solution-card .btn-outline:hover {
  background: #3b82f6;
  border-color: #3b82f6;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.1);
}

.solution-card .btn-outline::after {
  content: '→';
  transition: transform 0.3s ease;
  color: inherit;
}

.solution-card .btn-outline:hover::after {
  transform: translateX(3px);
  color: white;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .solutions-grid {
    grid-template-columns: 1fr;
  }
  
  .solutions-section {
    padding: 4rem 0;
  }
  
  .solution-card {
    padding: 2rem 1.5rem;
  }
}

.section-header {
  text-align: center;
  margin: 0 auto 4rem;
  position: relative;
  max-width: 100%;
  padding: 0 1.5rem;
  z-index: 2;
}

.section-subtitle {
  display: inline-block;
  color: var(--color-accent);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  position: relative;
  padding-left: 1.5rem;
}

.section-subtitle::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 2px;
  background: var(--color-accent);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #fff;
  line-height: 1.2;
}

.section-divider {
  display: none;
  width: 0;
  height: 0;
  margin: 1rem 0 0;
}

.section-divider::after {
  display: none;
  width: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.2);
  right: -40px;
  top: 0;
}

.section-description {
  color: rgba(255, 255, 255, 0.7);
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.7;
}

/* Minimal About Section */
.about-section {
  background: #ffffff;
  color: #000000;
  position: relative;
  z-index: 1;
  padding: 4rem 0;
  text-align: center;
}

.about-section .section-title,
.about-section h2,
.about-section h3 {
  color: #1a365d; /* Dark blue for headings */
}

.about-section .section-subtitle {
  color: #2c5282; /* Slightly lighter blue for subtitle */
}

.about-section .about-description {
  color: #2d3748; /* Dark gray for better readability */
  max-width: 700px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.about-section .btn {
  background: #2b6cb0;
  color: white;
  border: none;
  transition: all 0.3s ease;
}

.about-section .btn:hover {
  background: #2c5282;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(43, 108, 176, 0.2);
}

.minimal-about {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.about-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2.5rem;
}

.about-cta {
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: #3b82f6;
  color: white;
  border-color: #3b82f6;
}

.btn-primary:hover {
  background: #2563eb;
  border-color: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .about-section {
    padding: 3rem 1rem;
  }
  
  .about-section .about-description {
    font-size: 1rem;
    padding: 0 1rem;
  }
  
  .about-description {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  
  .btn {
    width: 100%;
    max-width: 300px;
  }
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .about-content {
    padding-right: 0;
  }
  
  .about-text > p {
    max-width: 100%;
  }
  
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .about-cta {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .experience-badge {
    top: 1rem;
    left: 1rem;
    padding: 0.8rem 1rem;
  }
  
  .experience-badge .years {
    font-size: 1.8rem;
  }
}

.about-text .lead {
  content: '"';
  position: absolute;
  left: 0;
  top: -1rem;
  font-size: 4rem;
  color: var(--color-accent);
  line-height: 1;
  font-family: Georgia, serif;
  opacity: 0.3;
}

.about-text p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  line-height: 1.8;
  font-size: 1.05rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0 0;
  padding: 1.5rem;
  background: rgba(8, 8, 11, 0.8);
  border-radius: 12px;
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  z-index: 2;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stat-item {
  text-align: center;
  padding: 1.2rem 0.5rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-item:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-image {
  position: relative;
  border-radius: 10px;
  overflow: visible;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transform: perspective(1000px) rotateY(-5deg);
  transition: transform 0.5s ease;
  margin-top: -50px;
  z-index: 1;
}

.about-image:hover {
  transform: perspective(1000px) rotateY(0);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.about-image:hover img {
  transform: scale(1.05);
}

.experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--color-accent);
  color: var(--color-text-dark);
  padding: 1.2rem 1.8rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  z-index: 2;
  transform: rotate(2deg);
  transition: all 0.3s ease;
}

.experience-badge:hover {
  transform: rotate(0) scale(1.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.experience-badge .years {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.experience-badge span:last-child {
  font-size: 0.9rem;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Services Section */
.services-section {
  background: linear-gradient(135deg, #f0f4f8 0%, #d9e2ec 100%);
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
  background-color: #f0f5ff;
}

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

.services-section .section-subtitle {
  color: #3b82f6;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  display: block;
}

.services-section .section-title {
  color: #1e293b;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

.services-section .section-divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6);
  margin: 1.5rem auto;
  border: none;
  border-radius: 2px;
}

.services-section .section-description {
  color: #4b5563;
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 1rem;
}

.services-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 1.5rem;
}

/* 3-column grid for services */
.services-grid-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 0.5rem;
}

/* Service cards */
.service-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
}

.service-image {
  height: 120px;
  overflow: hidden;
  position: relative;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.1);
}

.service-details {
  padding: 1rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-details h3 {
  font-size: 1.1rem;
  margin: 0 0 0.5rem 0;
  color: #1e293b;
  font-weight: 600;
  line-height: 1.3;
}

.service-details p {
  color: #4b5563;
  font-size: 0.85rem;
  line-height: 1.4;
  margin-bottom: 0.75rem;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.service-features li {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
  font-size: 0.7rem;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  color: #3b82f6;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.85rem;
  transition: all 0.2s ease;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  width: 100%;
}

.service-link:hover {
  color: #60a5fa;
}

.service-link span {
  margin-left: 0.5rem;
  transition: transform 0.2s ease;
}

.service-link:hover span {
  transform: translateX(3px);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .services-grid-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .service-card.full-width .service-content {
    flex-direction: column;
  }
  
  .service-card.full-width .service-image,
  .service-card.full-width .service-details {
    flex: 1 1 100%;
    max-width: 100%;
  }
  
  .service-card.full-width .service-image {
    height: 250px;
  }
}

@media (max-width: 768px) {
  .services-grid-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .service-card.full-width .service-features {
    grid-template-columns: 1fr;
  }
  
  .service-card .service-image {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .service-card.full-width .service-details {
    padding: 1.5rem;
  }
  
  .service-card h3 {
    font-size: 1.1rem;
  }
  
  .service-card p {
    font-size: 0.85rem;
  }
  
  .service-features li {
    font-size: 0.8rem;
  }
}

/* Portfolio Section */
.portfolio-section {
  padding: 5rem 0;
  background-color: #f8fafc;
  color: #1e293b; /* Dark text color for better contrast */
}

.portfolio-section .section-header {
  margin-bottom: 3rem;
}

.portfolio-section .section-subtitle {
  color: #3b82f6; /* Blue color for subtitle */
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
  display: block;
}

.portfolio-section .section-title {
  color: #1e293b; /* Dark color for title */
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

.portfolio-section .section-description {
  color: #4b5563; /* Slightly lighter color for description */
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto 2rem;
  padding: 0 1rem;
}

.portfolio-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 50px;
  color: #64748b;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: #3b82f6;
  color: white;
  border-color: #3b82f6;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.portfolio-item {
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.portfolio-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.portfolio-image {
  position: relative;
  overflow: hidden;
  padding-top: 75%; /* 4:3 aspect ratio */
}

.portfolio-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-image img {
  transform: scale(1.05);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(30, 41, 59, 0.9);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: white;
  font-weight: 600;
}

.portfolio-overlay p {
  color: #e2e8f0;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.portfolio-overlay .btn-outline {
  color: white;
  border: 1px solid white;
  background: transparent;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.portfolio-overlay .btn-outline:hover {
  background: white;
  color: #1e293b;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .portfolio-filters {
    gap: 0.75rem;
  }
  
  .filter-btn {
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 576px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  
  .portfolio-section {
    padding: 3rem 0;
  }
}

/* Animation for service cards */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-card {
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
}

/* Add delay to each card */
.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }
.service-card:nth-child(7) { animation-delay: 0.7s; }

.popular-tag {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--color-accent);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(0, 123, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 123, 255, 0);
  }
}

/* Projects Section */
.projects-section {
  background: #ffffff;
  color: #000000;
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
}

.projects-section .section-title,
.projects-section h2,
.projects-section h3 {
  color: #1a365d; /* Dark blue for headings */
}

.projects-section .section-subtitle {
  color: #2c5282; /* Slightly lighter blue for subtitle */
}

.projects-section .section-description {
  color: #2d3748; /* Dark gray for better readability */
  max-width: 700px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}

.projects-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHZpZXdCb3g9IjAgMCA0MCA0MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxnIGZpbGw9IiMxYjFiMWIiIGZpbGwtb3BhY2l0eT0iMC4wNSI+PHBhdGggZD0iTTIxLjI2MyAyMS4yNjNhMSAxIDAgMTEtMS40MTQtMS40MTRMMjEuMjYzIDIxLjI2M3ptLTIuODI5LTIuODI5YTEgMSAwIDExLTEuNDE0LTEuNDE0bDEuNDE0IDEuNDE0ek0xOCA0MGEyMCAyIDAgMTAwLTQgMiAyIDAgMDAwIDR6bTAtMzZhMTYgMTYgMCAwMTExLjMxNCA0LjY4NmwtMi44MjggMi44MjhBMTQgMTQgMCAwMDE4IDh2LTRhMTggMTggMCAwMTEyLjcyOCA1LjI3MmwzLjQxNC0zLjQxM0EzNCAzNCAwIDAwMTggMEgwdjRoMTh2MThoNHYtMThoLS4wMDF2NGgtM3YtNHptLTMgMjF2LTNoLTJ2M2gtM3YyaDN2M2gydi0zaDN2LTJoLTN6bS0xMS42Mi0xMy4zNTZsLTIuODI4LTIuODI4QTE2IDE2IDAgMDEyIDE4aDRhMjAgMjAgMCAwMDUuODc1LTEzLjkzOGwtMi44MjgtMi44MjhBMjQgMjQgMCAwMC0yIDE4aDRhMjggMjggMCAwNC4zOC0xNS4zNjd6TTE4IDNhMTUgMTUgMCAwMC0xMC42MDcgNC4zOTNsMS40MTQgMS40MTRBMTMgMTMgMCAwMTE4IDV2LTJ6bS0xMC42MDcgMTEuMjE0YTEzIDEzIDAgMDEwLTE4LjM4NWwtMS40MTQtMS40MTRBMTUgMTUgMCAwMDAgMThoNHYtM3ptLTEuNDE0IDEuNDE0bDEuNDE0IDEuNDE0QTEzIDEzIDAgMDAxOCA4VjVhMTUgMTUgMCAwMC0xMC42MDcgNC4zOTNsMS40MTQgMS40MTR6TTE4IDM0YTE2IDE2IDAgMDEtMTEuMzE0LTQuNjg2bDIuODI4LTIuODI4QTE0IDE0IDAgMDAxOCAzMnY0YTE4IDE4IDAgMDEtMTIuNzI4LTUuMjcyTDEuODU4IDMzLjQxNEEzNCAzNCAwIDAwMTggNDBoMTh2LTRIMTh6bTExLjMxNC0xMS4zMTRsMi44MjggMi44MjhBMTYgMTYgMCAwMTM0IDM0aC00YTIwIDIwIDAgMDA1Ljg3NS0xMy45MzhsMi44MjgtMi44MjhBMjQgMjQgMCAwMDQyIDIyaC00YTI4IDI4IDAgMDEtNC4zOCAxNS4zNjd6Ii8+PC9nPjwvZz48L3N2Zz4=');
  opacity: 0.1;
  z-index: 1;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.project-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(0, 123, 255, 0.2);
}

.project-image {
  position: relative;
  overflow: hidden;
  height: 250px;
  background: #0a0e17;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.1);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s ease;
  padding: 2rem;
  text-align: center;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-content h3 {
  color: #1a365d;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  transform: translateY(20px);
  transition: transform 0.4s ease 0.1s;
  opacity: 0;
}

.project-content p {
  color: #4a5568;
  margin-bottom: 1.5rem;
  transform: translateY(20px);
  transition: transform 0.4s ease 0.2s;
  opacity: 0;
}

.project-link {
  display: inline-flex;
  align-items: center;
  color: #2b6cb0;
  font-weight: 500;
  text-decoration: none;
  transform: translateY(20px);
  transition: all 0.4s ease 0.3s;
  opacity: 0;
}

.project-link span {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.project-link:hover {
  color: #1a365d;
}

.project-link:hover span {
  transform: translateX(5px);
}

.project-card:hover .project-content h3,
.project-card:hover .project-content p,
.project-card:hover .project-link {
  transform: translateY(0);
  opacity: 1;
}

.project-info {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  transition: all 0.3s ease;
}

.project-card:hover .project-info {
  background: rgba(255, 255, 255, 0.05);
}

.project-info h3 {
  color: #1a365d;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.project-info span {
  color: #2b6cb0;
  font-size: 0.9rem;
  font-weight: 500;
}

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

.mt-5 {
  margin-top: 3rem;
}

/* Footer Section */
.footer-section {
  background: #0a0e17;
  color: #fff;
  padding: 4rem 0 0;
  position: relative;
  overflow: hidden;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-brand h3 {
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 1rem;
  font-weight: 700;
}

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

.footer-contact h4,
.footer-social h4 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.contact-info {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-info li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.contact-info svg {
  margin-right: 1rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
  color: #3b82f6;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: #3b82f6;
  transform: translateY(-3px);
}

.footer-bottom {
  margin-top: 4rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  margin: 0.5rem 0;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

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

.footer-links a:hover {
  color: #3b82f6;
}

.footer-links span {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.8rem;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .contact-info {
    max-width: 300px;
    margin: 0 auto;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .footer-links span {
    display: none;
  }
}

.cta-section {
  background: linear-gradient(135deg, #0a0e17 0%, #0c111d 100%);
  position: relative;
  overflow: hidden;
  color: #fff;
  width: 100%;
  height: 100%;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 60%);
  z-index: 0;
}

/* CTA Content */
.cta-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.cta-text {
  max-width: 600px;
}

.cta-subtitle {
  display: inline-block;
  color: #3b82f6;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  position: relative;
  padding-left: 1.5rem;
}

.cta-subtitle::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 2px;
  background: #3b82f6;
}

.cta-text h2 {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 0.75rem;
  color: #fff;
}

.cta-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.25rem;
  max-width: 100%;
}

/* CTA Features */
.cta-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  transition: all 0.2s ease;
}

.feature-item:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(59, 130, 246, 0.2);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(59, 130, 246, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #3b82f6;
}

.feature-text h4 {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 0.3rem;
  font-weight: 600;
}

.feature-text p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  line-height: 1.6;
}

/* CTA Form */
.cta-form {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.cta-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
}

.cta-form h3 {
  font-size: 1.5rem;
  margin-bottom: 1.8rem;
  color: #fff;
  text-align: center;
}

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

.form-group:last-child {
  margin-bottom: 0;
}

.cta-form input,
.cta-form select,
.cta-form textarea {
  width: 100%;
  padding: 0.9rem 1.2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #fff;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.cta-form input:focus,
.cta-form select:focus,
.cta-form textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.cta-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238b9bb4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
  padding-right: 2.5rem;
}

.cta-form textarea {
  min-height: 120px;
  resize: vertical;
}

.btn-block {
  display: block;
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Trust Badges */
.trust-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  font-weight: 500;
}

.trust-item svg {
  color: #3b82f6;
  flex-shrink: 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .cta-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .cta-text {
    max-width: 100%;
    text-align: center;
  }
  
  .cta-description {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  
  .cta-features {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .cta-form {
    max-width: 600px;
    margin: 0 auto;
  }
  
  .cta-subtitle::before {
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
  }
}

@media (max-width: 640px) {
  .cta-section {
    padding: 4rem 0;
  }
  
  .cta-text h2 {
    font-size: 2rem;
  }
  
  .cta-features {
    grid-template-columns: 1fr;
  }
  
  .trust-badges {
    flex-direction: column;
    gap: 1rem;
  }
  
  .cta-form {
    padding: 2rem 1.5rem;
  }
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cta-content > * {
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
}

.cta-content > *:nth-child(1) { 
  animation-delay: 0.1s; 
}
.cta-content > *:nth-child(2) { 
  animation-delay: 0.3s; 
}

.cta-text h2 {
  font-size: 2.5rem;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.3;
  }

  .cta-text p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.7;
  }

.cta-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
  box-sizing: border-box;
}

.btn-primary {
  background: var(--color-accent);
  color: #111217; /* Dark text for better contrast on light background */
  font-weight: 500; /* Slightly bolder text */
}

.btn-primary:hover {
  background: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.btn-outline {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.3);
}

.cta-image {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transform: perspective(1000px) rotateY(5deg);
  transition: transform 0.5s ease;
}

.cta-image:hover {
  transform: perspective(1000px) rotateY(0);
}

.cta-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.cta-image:hover img {
  transform: scale(1.05);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .about-content,
  .cta-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .about-image,
  .cta-image {
    max-width: 600px;
    margin: 0 auto;
  }
  
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section-spacing {
    padding: 4rem 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .services-grid,
  .projects-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-content {
    padding: 2rem;
  }
  
  .cta-text h2 {
    font-size: 2rem;
  }
  
  .btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
  }
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Section Navigation Buttons */
.section-navigation {
  text-align: center;
  margin-top: 4rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease 0.3s, transform 0.6s ease 0.3s;
}

.about-section .about-content .section-next-btn {
  margin-top: 2rem;
  display: inline-block;
  color: #2b6cb0;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.about-section .about-content .section-next-btn:hover {
  color: #1a365d;
}

.section-next-btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  color: var(--color-text-main);
  border: 2px solid var(--color-accent);
  border-radius: 50px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  font-size: 1rem;
  letter-spacing: 0.5px;
  z-index: 1;
}

.section-next-btn span {
  margin-left: 0.5rem;
  display: inline-block;
  transition: transform 0.3s ease;
}

.section-next-btn:hover {
  background: var(--color-accent);
  color: var(--color-button-text);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

.section-next-btn:hover span {
  transform: translateX(5px);
}

/* Animate in when section is in view */
.about-section.in-view .section-next-btn,
.services-section.in-view .section-navigation,
.projects-section.in-view .section-navigation,
.cta-section.in-view .section-navigation {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .project-preview {
    width: 100px;
    height: 100px;
  }
  
  .project-preview.is-expanded {
    width: 100%;
    height: 200px;
  }
  
  .section-title, .cta-content h2 {
    font-size: 2rem;
  }
  
  .about-text {
    font-size: 1.8rem;
  }
}
