/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0.75rem 0;
  transition: all 0.3s ease;
  background: rgba(17, 5, 43, 0.98); /* More solid background */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.navbar.scrolled {
  background: rgba(25, 13, 64, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.nav-logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: #000 !important;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  padding: 0.4rem 0;
  background: none;
  border: none;
  box-shadow: none;
}

.nav-logo:hover {
  background: none;
  transform: none;
  box-shadow: none;
  opacity: 0.8;
}

.nav-logo span {
  color: var(--electric-pink);
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: 0.75rem; /* Reduced gap between nav items */
}

.nav-link {
  color: #000 !important;
  font-weight: 500;
  padding: 0.5rem 1rem 0.25rem;
  margin: 0 0.5rem;
  transition: all 0.2s ease;
  position: relative;
  font-size: 0.95rem;
  text-decoration: none !important;
  background: none;
  border: none;
  box-shadow: none;
  display: inline-block;
  line-height: 1.2;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px; /* Positioned directly below the text */
  left: 0;
  background-color: #2563eb; /* Blue color */
  transition: all 0.3s ease;
  transform: none;
  border-radius: 1px;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%; /* Full width of the text */
}

.nav-link:hover,
.nav-link.active {
  color: #000 !important;
  background: none !important;
  transform: none;
  box-shadow: none;
  border: none;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--electric-pink);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  cursor: pointer;
  padding: 0.75rem;
  z-index: 1001;
  transition: all 0.3s ease;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  margin: 5px 0;
  transition: all 0.3s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Mobile Menu Styles */
@media (max-width: 992px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: rgba(17, 5, 43, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.5s ease;
    padding: 2rem;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
  }

  .nav-link {
    font-size: 1.2rem;
    padding: 0.75rem 1.5rem;
    margin: 0.5rem 0;
    width: 100%;
    text-align: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
  }

  .nav-link:hover,
  .nav-link.active {
    background: rgba(255, 255, 255, 0.15);
  }
  .nav-menu.active .nav-link:nth-child(3) { transition-delay: 0.3s; }
  .nav-menu.active .nav-link:nth-child(4) { transition-delay: 0.4s; }
  .nav-menu.active .nav-link:nth-child(5) { transition-delay: 0.5s; }

  .nav-toggle {
    display: block;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  .nav-open {
    overflow: hidden;
  }
}

@media (max-width: 992px) {
  .navbar {
    padding: 0.5rem 0;
    background: rgba(255, 255, 255, 0.95) !important;
  }
  
  .nav-link {
    padding: 0.75rem 1.5rem;
    width: auto;
  }
  
  .nav-link::after {
    display: none;
  }
  
  .nav-logo {
    padding: 0.4rem 0.8rem;
    margin-left: 0.5rem;
  }
  
  .nav-link {
    margin: 0.5rem 0;
    width: 90%;
    text-align: center;
    background: rgba(255, 255, 255, 0.1) !important;
  }
}

/* Ensure proper contrast for all navigation text */
.nav-menu a,
.nav-logo,
.nav-toggle span {
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  text-align: center;
  opacity: 0.7;
  transition: all 0.3s ease;
  cursor: pointer;
  padding: 1rem 0;
  pointer-events: none;
}

.scroll-indicator a {
  pointer-events: auto;
}

.scroll-down {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.scroll-down:hover {
  color: white;
}

.scroll-down__mouse {
  width: 30px;
  height: 50px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 15px;
  display: flex;
  justify-content: center;
  padding: 5px 0;
  margin-bottom: 0.75rem;
  position: relative;
}

.scroll-down__wheel {
  width: 4px;
  height: 10px;
  background: white;
  border-radius: 2px;
  animation: scrollWheel 2s infinite;
}

.scroll-down__text {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.scroll-down:hover .scroll-down__text {
  opacity: 1;
}

@keyframes scrollWheel {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(12px);
    opacity: 0;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate(-50%, 20px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

/* ===== SECTION STYLES ===== */
.section-padding {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 5rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--deep-purple);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--electric-pink), var(--lighter-purple));
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #555;
  margin: 0 auto;
  max-width: 700px;
}

/* ===== FEATURES GRID ===== */
.features-grid {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin: 2rem auto 0;
  max-width: 1200px;
  width: 100%;
  padding: 0 2rem;
  box-sizing: border-box;
}

.features-row {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  width: 100%;
  margin: 0 auto;
  max-width: 1000px;
}

.feature-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  width: calc(50% - 1rem);
  max-width: 450px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  min-height: 300px;
  margin: 0;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  height: 200px;
  overflow: hidden;
  position: relative;
}

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

.feature-card:hover .feature-icon img {
  transform: scale(1.05);
}

.feature-content {
  padding: 1.8rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.feature-content h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--deep-purple);
  font-weight: 600;
}

.feature-content p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 1rem;
  }
}

@media (max-width: 1100px) {
  .features-row {
    max-width: 800px;
  }
}

@media (max-width: 900px) {
  .features-row {
    max-width: 600px;
  }
  
  .feature-card {
    min-height: 320px;
  }
}

@media (max-width: 768px) {
  .features-row {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    max-width: 500px;
  }
  
  .feature-card {
    width: 100%;
    max-width: 100%;
    min-height: auto;
  }
  .section-padding {
    padding: 3rem 0;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
    max-width: 90%;
    margin: 0 auto 2rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 1.5rem;
    padding: 0 1.5rem;
    max-width: 500px;
  }
  
  .feature-icon {
    height: 200px;
  }
  
  .feature-card {
    min-height: auto;
    margin: 0 auto;
    max-width: 100%;
  }
}

/* ===== SOLUTIONS SECTION ===== */
.bg-light {
  background-color: #f9f9ff;
  position: relative;
}

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

.solution-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.solution-card.featured {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.solution-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--electric-pink);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 2;
  box-shadow: 0 4px 15px rgba(240, 72, 247, 0.4);
}

.solution-image {
  height: 220px;
  overflow: hidden;
  position: relative;
}

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

.solution-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: white;
  padding: 2rem 1.5rem 1.5rem;
  z-index: 1;
}

.solution-overlay h3 {
  font-size: 1.6rem;
  margin: 0 0 0.3rem;
  color: white;
}

.solution-overlay p {
  margin: 0;
  opacity: 0.9;
  font-size: 1rem;
}

.solution-content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.solution-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  flex-grow: 1;
}

.solution-features li {
  padding: 0.5rem 0;
  color: #555;
  display: flex;
  align-items: flex-start;
  line-height: 1.5;
}

.solution-features i {
  color: var(--electric-pink);
  margin-right: 10px;
  margin-top: 3px;
  font-size: 1.1rem;
}

.solution-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* Hover Effects */
.solution-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.solution-card.featured:hover {
  transform: translateY(-15px);
}

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

/* Responsive Adjustments */
@media (max-width: 1200px) {
  .solutions-container {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .solution-card:last-child {
    grid-column: span 2;
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .solutions-container {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .solution-card:last-child {
    grid-column: auto;
    max-width: 100%;
  }
  
  .solution-image {
    height: 200px;
  }
  
  .solution-overlay h3 {
    font-size: 1.4rem;
  }
}

/* Trusted by text */
.trusted-by-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(0.7rem, 0.8vw + 0.4rem, 0.9rem);
  font-weight: 400;
  max-width: 800px;
  margin: 0.5rem auto 1.5rem;
  padding: 0.5rem 1.25rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 50px;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: inline-block;
  transition: all 0.3s ease;
  line-height: 1.4;
  text-align: center;
  width: auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 95%;
  position: relative;
  z-index: 2;
}

.trusted-by-text:hover {
  background: rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

/* Web-like grid effect */
.hero-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.15;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.15) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 20s linear infinite;
  pointer-events: none;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--bright-blue), var(--electric-pink));
  z-index: -1;
  transition: var(--transition);
}

.btn:hover::before {
  opacity: 0.9;
  transform: scale(1.05);
}

.btn--primary {
  color: white;
  background: transparent;
  box-shadow: 0 4px 15px rgba(0, 163, 255, 0.3);
}

.btn--outline {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: white;
  transition: all 0.3s ease;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Full Width Card Section */
.full-width-container {
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin-bottom: 40px;
}

.full-width-container .container {
  max-width: 100%;
  padding: 0;
}

.full-width-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin: 0 auto;
  max-width: 1400px;
  width: 100%;
}

/* Telco card specific styles */
.telco-card {
  flex-direction: row; /* This places the image on the left and text on the right */
}

@media (max-width: 1024px) {
  .telco-card {
    flex-direction: column;
  }
  
  .telco-card .full-width-card-image {
    order: -1; /* Keep image on top in mobile view */
  }
}

.full-width-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.full-width-card-content {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.full-width-card-image {
  width: 45%;
  overflow: hidden;
}

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

.full-width-card:hover .full-width-card-image img {
  transform: scale(1.03);
}

.card-badge {
  display: inline-block;
  background: #f0f7ff;
  color: #0066cc;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 20px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.card-title {
  font-size: 36px;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 12px;
  font-family: 'Poppins', sans-serif;
}

.card-subtitle {
  font-size: 18px;
  color: #666;
  margin-bottom: 32px;
  line-height: 1.6;
}

.card-features {
  margin-bottom: 40px;
}

.feature-item {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.feature-item i {
  color: #00c853;
  font-size: 20px;
  margin-top: 4px;
  flex-shrink: 0;
}

.feature-text h4 {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 4px;
}

.feature-text p {
  color: #666;
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #0066cc 0%, #0099ff 100%);
  color: white;
  padding: 14px 16px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 120px;
  max-width: 140px;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
  text-align: center;
  font-size: 15px;
  line-height: 1.4;
  box-sizing: border-box;
  height: 48px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Specific style for Agencies card button */
.agencies-card .cta-button {
  min-width: 140px;
  max-width: 160px;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
  background: linear-gradient(90deg, #0052a3 0%, #0080ff 100%);
}

.cta-button i {
  margin-left: 8px;
  font-size: 14px;
  transition: transform 0.3s ease;
}

.cta-button:hover i {
  transform: translateX(4px);
}

/* Responsive styles */
@media (max-width: 1024px) {
  .full-width-card {
    flex-direction: column;
  }
  
  .full-width-card-image {
    width: 100%;
    height: 300px;
    order: -1;
  }
  
  .full-width-card-content {
    padding: 30px;
  }
  
  .card-title {
    font-size: 30px;
  }
}

@media (max-width: 768px) {
  .card-title {
    font-size: 26px;
  }
  
  .card-subtitle {
    font-size: 16px;
  }
  
  .feature-text h4 {
    font-size: 16px;
  }
  
  .feature-text p {
    font-size: 14px;
  }
  
  .cta-button {
    width: 100%;
    max-width: 100%;
  }
}

/* Solutions Cards Section */
.solutions-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.full-width-container .solutions-container {
  max-width: 100%;
  padding: 0;
}

.solutions-cards-section {
  background: #f8f9fa;
  padding: 60px 0 80px;
}

.solutions-cards-section .container {
  max-width: 100%;
  padding: 0;
}

.solution-card {
  flex: 1;
  min-width: 300px;
  max-width: 400px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.solution-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.solution-card.featured {
  position: relative;
  border: 2px solid #0066cc;
}

.solution-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #0066cc;
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  z-index: 2;
}

.solution-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

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

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

.solution-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: white;
  padding: 20px;
  z-index: 1;
}

.solution-overlay h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
}

.solution-overlay p {
  margin: 5px 0 0;
  opacity: 0.9;
  font-size: 16px;
}

.solution-content {
  padding: 25px;
}

.solution-features {
  list-style: none;
  padding: 0;
  margin: 0 0 25px;
}

.solution-features li {
  padding: 5px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #555;
}

.solution-features i {
  color: #00c853;
  margin-top: 4px;
  flex-shrink: 0;
}

.btn--primary {
  display: inline-block;
  background: #0066cc;
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn--primary:hover {
  background: #0052a3;
  transform: translateY(-2px);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.solution-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.solution-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-title-overlay {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 8px 15px;
  border-radius: 5px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.card-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #ff4081;
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
}

.feature-list li {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  color: #555;
  font-size: 15px;
}

.feature-list li i {
  color: #28a745;
  margin-right: 10px;
  font-size: 18px;
}

.card-btn {
  display: block;
  width: 100%;
  padding: 14px 20px;
  border-radius: 8px;
  text-align: center;
  color: white;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: auto; /* Pushes button to the bottom */
}

.gradient-btn-1 {
  background: linear-gradient(45deg, #6a11cb 0%, #2575fc 100%);
  box-shadow: 0 4px 15px rgba(106, 17, 203, 0.3), 0 4px 15px rgba(37, 117, 252, 0.3);
}

.gradient-btn-1:hover {
  background: linear-gradient(45deg, #2575fc 0%, #6a11cb 100%);
  box-shadow: 0 6px 20px rgba(106, 17, 203, 0.4), 0 6px 20px rgba(37, 117, 252, 0.4);
}

.gradient-btn-2 {
  background: linear-gradient(45deg, #f7971e 0%, #ffd200 100%);
  box-shadow: 0 4px 15px rgba(247, 151, 30, 0.3), 0 4px 15px rgba(255, 210, 0, 0.3);
}

.gradient-btn-2:hover {
  background: linear-gradient(45deg, #ffd200 0%, #f7971e 100%);
  box-shadow: 0 6px 20px rgba(247, 151, 30, 0.4), 0 6px 20px rgba(255, 210, 0, 0.4);
}

.gradient-btn-3 {
  background: linear-gradient(45deg, #00c6ff 0%, #0072ff 100%);
  box-shadow: 0 4px 15px rgba(0, 198, 255, 0.3), 0 4px 15px rgba(0, 114, 255, 0.3);
}

.gradient-btn-3:hover {
  background: linear-gradient(45deg, #0072ff 0%, #00c6ff 100%);
  box-shadow: 0 6px 20px rgba(0, 198, 255, 0.4), 0 6px 20px rgba(0, 114, 255, 0.4);
}

/* Responsive styles for cards */
@media (max-width: 992px) {
  .cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .solutions-cards-section {
    padding: 60px 0;
  }
  
  .cards-grid {
    gap: 25px;
  }
  
  .solution-card {
    margin-bottom: 20px;
  }
  
  .card-image {
    height: 180px;
  }
  
  .card-title-overlay {
    font-size: 18px;
    padding: 6px 12px;
  }
  
  .feature-list li {
    font-size: 14px;
  }
  
  .card-btn {
    padding: 12px 18px;
    font-size: 13px;
  }
}

.btn--outline:hover {
  background: white;
  color: var(--deep-purple);
  border-color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-shadow: none;
}

.btn--lg {
  padding: 0.8rem 1.75rem;
  font-size: 1rem;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.navbar--scrolled {
  padding: 0.5rem 0;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--nav-height);
  padding: 0 var(--space-md);
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--deep-purple);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo span {
  color: var(--bright-blue);
}

.nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  color: var(--gray-900);
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
  transition: var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--bright-blue);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  max-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-height) + 1rem) 1.5rem 1.5rem;
  background: linear-gradient(135deg, #1a0f4a 0%, #2d1372 100%);
  color: white;
  text-align: center;
  isolation: isolate;
  z-index: 1;
  box-sizing: border-box;
  justify-content: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 50%, rgba(120, 53, 191, 0.3) 0%, transparent 50%),
              radial-gradient(circle at 70% 30%, rgba(240, 72, 247, 0.2) 0%, transparent 50%);
  z-index: 1;
  animation: gradientPulse 15s ease infinite;
  opacity: 0.8;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1rem 2rem;
  text-align: center;
  flex: 1;
  min-height: calc(100vh - var(--nav-height) - 3rem);
  box-sizing: border-box;
}

.hero-title {
  font-size: clamp(2rem, 5.5vw, 4rem);
  margin: 0 0 0.5rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 800;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
  width: 100%;
  padding: 0 0.5rem;
  box-sizing: border-box;
  transform: translateY(-0.5rem);
}

.hero-title .text-gradient {
  background: linear-gradient(90deg, #fff, #f0f0ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  display: inline-block;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.25vw + 0.5rem, 1.5rem);
  color: rgba(255, 255, 255, 0.95);
  margin: 0 auto 1.5rem;
  max-width: 750px;
  line-height: 1.5;
  font-weight: 400;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  padding: 0 1.5rem;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  display: block;
}

/* Badge */
.badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  border-radius: 10rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.badge--primary {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: clamp(0.75rem, 0.8vw + 0.5rem, 0.9rem);
  margin-bottom: 1.25rem;
  white-space: nowrap;
  display: inline-block;
  transform: none;
  padding: 0.65rem 1.5rem;
  margin-top: 0.5rem;
}

/* Shape Divider */
.shape-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 2;
}

.shape-divider--bottom {
  bottom: -1px;
}

.shape-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 100px;
}

.shape-divider--bottom svg {
  transform: rotate(180deg);
}

/* Animation Classes */
.animate-fade-in {
  animation: fadeIn 1s ease-out forwards;
  opacity: 0;
}

@keyframes fadeIn {
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .hero-title {
    font-size: clamp(2rem, 6vw, 3.5rem);
    margin-bottom: 0.75rem;
  }
  
  .hero-subtitle {
    font-size: clamp(1rem, 1.1vw + 0.6rem, 1.25rem);
    margin-bottom: 1.5rem;
    line-height: 1.6;
  }
  
  .flex {
    gap: 0.75rem;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: calc(var(--nav-height) + 0.5rem) 1rem 0.5rem;
    min-height: 90vh;
  }
  
  .trusted-by-text {
    white-space: normal;
    padding: 0.4rem 1rem;
    margin: 0.5rem auto 1rem;
    line-height: 1.3;
  }
  
  .scroll-indicator {
    bottom: 0.75rem;
  }
  
  .hero-content {
    min-height: calc(90vh - var(--nav-height) - 2rem);
    padding: 0.5rem 0.5rem 1rem;
  }
  
  .badge--primary {
    margin-bottom: 1rem;
    padding: 0.4rem 1rem;
  }
  
  .hero-title {
    line-height: 1.2;
    margin-bottom: 0.5rem;
  }
  
  .hero-subtitle {
    margin-bottom: 1.5rem;
    padding: 0 0.5rem;
  }
  
  .trusted-by-text {
    white-space: normal;
    line-height: 1.4;
    padding: 0.5rem 1rem;
    margin-top: 0.5rem;
  }
  
  .hero-title {
    font-size: clamp(2rem, 8vw, 3.5rem);
    margin-bottom: 1.25rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
  }
  
  .shape-divider svg {
    height: 60px;
  }
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.feature-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--bright-blue), var(--electric-pink));
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--bright-blue), var(--electric-pink));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  color: white;
  font-size: 1.5rem;
}

.feature-title {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
  color: var(--gray-900);
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--gray-900);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 1rem;
  transition: var(--transition);
  background-color: var(--gray-100);
}

.form-control:focus {
  outline: none;
  border-color: var(--bright-blue);
  box-shadow: 0 0 0 3px rgba(0, 163, 255, 0.2);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* Footer */
.footer {
  background: var(--bg-dark);
  color: white;
  padding: var(--space-2xl) 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: var(--space-md);
  display: inline-block;
}

.footer-links h3 {
  color: white;
  margin-bottom: var(--space-md);
  font-size: 1.125rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--bright-blue);
  padding-left: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-lg);
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

/* Responsive Navigation */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--deep-purple);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1001;
}

@media (max-width: 992px) {
  .nav-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: white;
    flex-direction: column;
    align-items: flex-start;
    padding: 6rem 2rem 2rem;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    z-index: 1000;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-link {
    font-size: 1.25rem;
    padding: 0.75rem 0;
  }
}
