:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --secondary: #00f2ff;
  --dark: #0f172a;
  --light: #f8fafc;
  --gray: #64748b;
  --accent: #8b5cf6;
  --tech-gradient: linear-gradient(135deg, var(--primary), var(--secondary));
  --success: #10b981;
  --warning: #f59e0b;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 10% 20%,
      rgba(37, 99, 235, 0.1) 0%,
      transparent 20%
    ),
    radial-gradient(
      circle at 90% 80%,
      rgba(6, 182, 212, 0.1) 0%,
      transparent 20%
    );
  z-index: -1;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 60px 0;
}

.section-title {
  font-size: 2.5rem;
  font-family: "Orbitron", sans-serif;
  text-align: center;
  padding: 30px;
  margin-bottom: 3rem;
  position: relative;
}

.section-title span {
  color: var(--secondary);
  position: relative;
}

.section-title span.pulse {
  animation: pulse 2s infinite;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--tech-gradient);
  border-radius: 2px;
}

/* ===== Header Styles ===== */
header {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(100, 116, 139, 0.2);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo {
  font-family: "Orbitron", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--light);
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo span {
  color: var(--secondary);
}

.logo .tech {
  color: var(--secondary);
}

.logo i {
  margin-right: 10px;
  color: var(--secondary);
  font-size: 1.5rem;
}

.nav-links {
  display: flex;
  gap: 25px;
  align-items: center;
}

.nav-links a {
  color: var(--light);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a:not(.cta-button):hover {
  color: var(--secondary);
}

.cta-button {
  background: var(--tech-gradient);
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.cta-button i {
  font-size: 14px;
  margin-right: 0;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.6);
}

.mobile-menu-btn {
  display: none;
  color: var(--light);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Custom Software Section */
.software-section {
  padding: 120px 0 2px;
  position: relative;
}

.software-hero {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.hero-title {
  font-family: "Orbitron", sans-serif;
  font-size: 3.5rem;
  margin-bottom: 20px;
  background: var(--tech-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--secondary);
  margin-bottom: 30px;
}

.hero-description {
  font-size: 1.1rem;
  color: #cbd5e1;
  margin-bottom: 40px;
  line-height: 1.8;
}

.overview-section {
  background: rgba(10, 10, 26, 0.7);
  border-radius: 10px;
  padding: 60px;
  margin-bottom: 60px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.overview-section h2 {
  text-align: center;
  color: var(--secondary);
  margin-bottom: 40px;
  font-size: 2.2rem;
}

.overview-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.overview-text {
  font-size: 1.1rem;
  color: var(--gray);
  line-height: 1.8;
  text-align: left;
  /* Ensure text is left-aligned */
}

.overview-text p {
  margin-bottom: 20px;
  text-align: justify;
  /* Optional: makes text look more polished */
}

.overview-highlight-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.overview-highlight {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--secondary);
  text-align: center;
  padding: 30px;
  background: rgba(0, 102, 255, 0.1);
  border-radius: 10px;
  border: 1px solid rgba(0, 102, 255, 0.3);
  line-height: 1.4;
}

.overview-highlight-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 3px solid var(--secondary);
  box-shadow: 0 5px 15px rgba(0, 242, 255, 0.3);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.benefit-card {
  background: rgba(15, 23, 42, 0.6);
  border-radius: 15px;
  padding: 30px;
  border: 1px solid rgba(100, 116, 139, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--tech-gradient);
}

.benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(37, 99, 235, 0.3);
}

.benefit-icon {
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 20px;
}

.benefit-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.benefit-text {
  color: #94a3b8;
  line-height: 1.7;
}

/* Service Types Section */
.service-types {
  margin-bottom: 50px;
}

.service-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-type-card {
  background: rgba(15, 23, 42, 0.6);
  border-radius: 15px;
  padding: 30px;
  border: 1px solid rgba(100, 116, 139, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-type-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--tech-gradient);
}

.service-type-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(37, 99, 235, 0.3);
}

.service-type-icon {
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 20px;
}

.service-type-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.service-type-text {
  color: #94a3b8;
  line-height: 1.7;
}

/* Challenges Section */
.challenges-section {
  margin-bottom: 50px;
}

.challenges-container {
  background: rgba(15, 23, 42, 0.5);
  border-radius: 20px;
  padding: 50px;
  border: 1px solid rgba(100, 116, 139, 0.2);
}

.challenges-title {
  text-align: center;
  font-family: "Orbitron", sans-serif;
  font-size: 2.2rem;
  margin-bottom: 50px;
  background: var(--tech-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.challenges-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.challenge-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.challenge-icon {
  color: #ef4444;
  margin-right: 15px;
  font-size: 1.2rem;
  margin-top: 3px;
}

.challenge-text {
  color: #94a3b8;
  line-height: 1.7;
}

/* What We Bring Section */
.what-we-bring {
  margin-bottom: 50px;
}

.what-we-bring-container {
  background: rgba(15, 23, 42, 0.5);
  border-radius: 20px;
  padding: 50px;
  border: 1px solid rgba(100, 116, 139, 0.2);
}

.what-we-bring-title {
  text-align: center;
  font-family: "Orbitron", sans-serif;
  font-size: 2.2rem;
  margin-bottom: 50px;
  background: var(--tech-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.what-we-bring-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.what-we-bring-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.what-we-bring-icon {
  color: var(--success);
  margin-right: 15px;
  font-size: 1.2rem;
  margin-top: 3px;
}

.what-we-bring-text {
  color: #94a3b8;
  line-height: 1.7;
}

/* Development Process Section - Updated to match Web App Development page */
.process-section {
  margin-bottom: 50px;
}

.process-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-top: 50px;
}

.process-steps::before {
  content: "";
  position: absolute;
  top: 40px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  z-index: 1;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 2;
  flex: 1;
  padding: 0 15px;
}

.step-number {
  width: 80px;
  height: 80px;
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark);
  position: relative;
}

.step-title {
  font-size: 1.2rem;
  font-family: "Orbitron", sans-serif;
  color: var(--light);
  margin-bottom: 10px;
  font-weight: 600;
}

.step-description {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Technology Stack Section */
.tech-section {
  background: rgba(10, 10, 26, 0.7);
  border-radius: 10px;
  margin-top: 40px;
  padding: 60px;
  margin-bottom: 60px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.tech-section h2 {
  text-align: center;
  font-family: "Orbitron", sans-serif;
  color: var(--secondary);
  margin-bottom: 40px;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.tech-category {
  text-align: center;
}

.tech-category h3 {
  color: var(--light);
  margin-bottom: 20px;
  margin-top: 30px;
  font-size: 1.3rem;
  font-family: "Orbitron", sans-serif;
}

.tech-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tech-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 12px 15px;
  border-radius: 8px;
  color: var(--gray);
  transition: all 0.3s ease;
}

.tech-itemm {
  background: rgba(255, 255, 255, 0.05);
  padding: 12px 15px;
  border-radius: 8px;
  color: var(--gray);
  margin-top: 30px;
  transition: all 0.3s ease;
}

.tech-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--light);
  transform: translateY(-3px);
}

.impact-section {
  margin-bottom: 50px;
}

.impact-container {
  background: rgba(15, 23, 42, 0.5);
  border-radius: 20px;
  padding: 50px;
  border: 1px solid rgba(100, 116, 139, 0.2);
}

.impact-title {
  text-align: center;
  font-family: "Orbitron", sans-serif;
  font-size: 2.2rem;
  margin-bottom: 50px;
  background: var(--tech-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.impact-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.impact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.impact-icon {
  color: var(--success);
  margin-right: 15px;
  font-size: 1.2rem;
  margin-top: 3px;
}

.impact-text {
  color: #94a3b8;
  line-height: 1.7;
}

.cta-container {
  background: var(--tech-gradient);
  border-radius: 20px;
  padding: 60px 40px;
  text-align: center;
  margin-bottom: 20px;
}

.cta-title {
  font-family: "Orbitron", sans-serif;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta-description {
  max-width: 700px;
  margin: 0 auto 30px;
  font-size: 1.1rem;
  line-height: 1.7;
}

.cta-button-large {
  background: var(--dark);
  color: white;
  padding: 15px 40px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: inline-block;
  text-decoration: none;
}

.cta-button-large:hover {
  transform: translateY(-3px);
  background: rgba(15, 23, 42, 0.9);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.faq-section {
  background: rgba(15, 23, 42, 0.5);
  border-radius: 20px;
  padding: 50px;
  border: 1px solid rgba(100, 116, 139, 0.2);
}

.faq-title {
  text-align: center;
  font-family: "Orbitron", sans-serif;
  font-size: 2.2rem;
  margin-bottom: 50px;
  background: var(--tech-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(100, 116, 139, 0.2);
  padding-bottom: 20px;
}

.faq-question {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  color: #94a3b8;
  line-height: 1.7;
  padding-right: 20px;
}

.faq-toggle {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(180deg);
}

.footer {
  /* background: rgba(2, 6, 23, 0.9); */
  padding: 30px 0 0;
  border-top: 1px solid rgba(100, 116, 139, 0.2);
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(5, minmax(255px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col {
  padding: 20px;
}

.footer-col h3 {
  font-family: "Orbitron", sans-serif;
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: var(--secondary);
  position: relative;
  padding-bottom: 10px;
}

/* .footer-col h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 3px;
            background: var(--tech-gradient);
            border-radius: 3px;
        } */

.footer-col p {
  color: #cbd5e1;
  margin-bottom: 20px;
  line-height: 1.7;
}

.footer-links a {
  display: flex;
  align-items: center;
  color: var(--gray);
  text-decoration: none;
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--secondary);
  transform: translateX(5px);
}

.footer-links i {
  margin-right: 10px;
  color: var(--gray);
  font-size: 0.8rem;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(37, 99, 235, 0.2);
  border-radius: 50%;
  color: var(--light);
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--tech-gradient);
  transform: translateY(-5px);
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-top: 15px;
}

.form-control {
  padding: 12px 15px;
  border-radius: 5px;
  border: 1px solid rgba(100, 116, 139, 0.3);
  background: rgba(15, 23, 42, 0.5);
  color: var(--light);
  font-size: 1rem;
  margin-bottom: 10px;
}

.form-control::placeholder {
  color: #94a3b8;
}

.submit-btn {
  background: var(--tech-gradient);
  color: white;
  padding: 12px 20px;
  border-radius: 5px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  margin-top: 10px;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.6);
}

/* ===== Dropdown Styles ===== */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
}

.dropdown-toggle i {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

/* Dropdown styles handled by allDropdown.css */

.dropdown-scroll {
  max-height: 300px;
  /* Slightly less than parent to account for padding */
  overflow-y: auto;
  /* Enable vertical scrolling */
  padding: 8px 0;
  /* Add padding to scroll container */
}

/* Custom scrollbar styling */
.dropdown-scroll::-webkit-scrollbar {
  width: 6px;
}

.dropdown-scroll::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.5);
  border-radius: 3px;
}

.dropdown-scroll::-webkit-scrollbar-thumb {
  background: var(--secondary);
  border-radius: 3px;
}

.dropdown-scroll::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

.footer-bottom {
  text-align: center;
  padding: 20px 0;
  border-top: 1px solid rgba(100, 116, 139, 0.2);
  color: #94a3b8;
  font-size: 0.9rem;
}

.footer-bottom i {
  color: #ef4444;
  margin: 0 5px;
}

/* ===== RESPONSIVE FIXES ===== */
@media (max-width: 1200px) {
  .process-steps {
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
  }

  .process-steps::before {
    display: none;
  }

  .process-step {
    flex: 0 0 calc(33.333% - 20px);
    margin-bottom: 30px;
  }
}

@media (max-width: 992px) {
  .hero-title {
    font-size: 2.8rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .process-step {
    flex: 0 0 calc(50% - 20px);
  }

  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .footer-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .cta-button,
  .cta-button-large,
  .nav-links a {
    min-height: 44px;
    /* display: flex; */
    align-items: center;
    justify-content: center;
  }

  .faq-question {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .services-hero-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cta-section {
    padding: 40px 20px;
  }

  .detailed-services {
    padding: 30px;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .cta-container {
    padding: 40px 20px;
  }

  .cta-title {
    font-size: 2rem;
  }

  .process-container,
  .faq-section,
  .challenges-container,
  .what-we-bring-container,
  .impact-container {
    padding: 30px 20px;
  }

  .hero-text h1 {
    font-size: 36px;
  }

  .hero-text p {
    font-size: 16px;
  }

  .hero-ai-face {
    display: none;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .cta-button,
  .secondary-button {
    width: 100%;
    text-align: center;
  }

  .section-header h2 {
    font-size: 30px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .form-row {
    flex-direction: column;
  }

  .form-group-modal {
    width: 100%;
  }

  /* Dropdown styles handled by allDropdown.css */

  .container {
    padding: 0 15px;
  }

  .software-section {
    padding: 120px 0 60px;
  }

  .software-hero {
    margin: 0 auto 50px;
  }

  .hero-title {
    font-size: 2.2rem;
    line-height: 1.3;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-description {
    font-size: 1rem;
    line-height: 1.6;
  }

  .benefits-grid,
  .service-types-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .benefit-card,
  .service-type-card {
    padding: 20px;
  }

  .process-steps {
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }

  .process-step {
    flex: 0 0 100%;
    max-width: 300px;
  }

  .step-number {
    width: 60px;
    height: 60px;
    font-size: 1.4rem;
  }

  .tech-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .tech-section {
    padding: 40px 20px;
    margin: 40px 0;
  }

  .challenges-container,
  .what-we-bring-container,
  .impact-container,
  .faq-section {
    padding: 30px 20px;
  }

  .challenges-title,
  .what-we-bring-title,
  .impact-title,
  .faq-title {
    font-size: 1.8rem;
  }

  .cta-container {
    padding: 40px 20px;
    margin-bottom: 20px;
  }

  .cta-title {
    font-size: 1.8rem;
  }

  .cta-description {
    font-size: 1rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .footer-col {
    padding: 15px 0;
  }
}

/* ===== RESPONSIVE STYLES FOR WEB APP DEVELOPMENT PAGE ===== */

/* Tablet Styles (768px - 1024px) */
@media (max-width: 1024px) {
  .container {
    padding: 0 15px;
  }

  .services-hero-title {
    font-size: 2.8rem;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .services-overview {
    flex-direction: column;
    gap: 30px;
  }

  .services-intro h2 {
    font-size: 2rem;
  }

  .flashcards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .footer-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }

  .overview-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    flex-wrap: wrap;
    gap: 30px;
  }

  .process-step {
    flex: 0 0 calc(50% - 15px);
  }
}

/* Mobile Styles (576px - 767px) */
@media (max-width: 768px) {
  .container {
    padding: 0 12px;
  }

  /* Mobile navigation styles removed to prevent conflict with mobile-menu.css */

  .mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 1000;
  }

  .hamburger-line {
    width: 25px;
    height: 3px;
    background: var(--light);
    transition: all 0.3s ease;
  }

  /* Hero Section */
  .services-hero {
    padding: 120px 0 60px;
  }

  .services-hero-title {
    font-size: 2.2rem;
    line-height: 1.3;
  }

  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }

  /* Overview Section */
  .overview-section {
    padding: 30px 20px;
    margin-bottom: 40px;
  }

  .overview-section h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .overview-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .overview-text {
    font-size: 1rem;
    line-height: 1.6;
    text-align: left;
  }

  .overview-text p {
    text-align: left;
    margin-bottom: 15px;
  }

  .overview-highlight-container {
    height: auto;
    min-height: 120px;
  }

  /* Flash Cards */
  .flashcards-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .flashcard {
    height: 300px;
  }

  .service-icon {
    font-size: 2.5rem;
  }

  .service-title {
    font-size: 1.3rem;
  }

  /* Features Section */
  .features-section {
    padding: 40px 0;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .feature-item {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .feature-icon {
    margin: 0 auto 15px;
  }

  /* Challenges Section */
  .challenges-container {
    padding: 20px;
  }

  .challenges-title {
    font-size: 1.3rem;
    margin-bottom: 30px;
  }

  /* Process Section */
  .process-steps {
    flex-direction: column;
    gap: 30px;
  }

  .process-steps::before {
    display: none;
  }

  .process-step {
    flex: 1 0 100%;
    padding: 0;
  }

  .step-number {
    width: 60px;
    height: 60px;
    font-size: 1.4rem;
  }

  /* Technology Stack */
  .tech-section {
    padding: 30px 20px;
    margin-bottom: 40px;
  }

  .tech-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Impact Section */
  .impact-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .impact-item {
    padding: 20px;
  }

  /* FAQ Section */
  .faq-question {
    padding: 15px;
    font-size: 0.95rem;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .faq-answer {
    padding: 0 15px;
  }

  .faq-item.active .faq-answer {
    padding: 0 15px 15px;
  }

  /* CTA Section */
  .cta-section {
    padding: 40px 20px;
    margin-bottom: 40px;
  }

  .cta-title {
    font-size: 1.8rem;
  }

  /* Footer */
  .footer-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-col {
    padding: 10px 0;
  }

  /* Stats Grid */
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .stat-card {
    padding: 15px;
  }

  .stat-value {
    font-size: 1.5rem;
  }

  /* Services Overview */
  .services-overview {
    flex-direction: column;
    gap: 30px;
    margin-bottom: 50px;
  }

  .services-image {
    height: 300px;
  }

  /* Touch-friendly improvements */
  .cta-button,
  .cta-button-large,
  .service-cta,
  .submit-btn {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .booking-time-slot {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* Small Mobile Styles (Below 576px) */
@media (max-width: 576px) {
  .services-hero-title {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 1.8rem;
    padding: 20px 0;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .cta-title {
    font-size: 1.5rem;
  }

  .cta-button-large {
    padding: 12px 30px;
    font-size: 1rem;
    width: 100%;
    text-align: center;
  }

  .flashcards-title {
    font-size: 2rem;
    margin-bottom: 40px;
  }

  .booking-modal-content {
    margin: 20px;
    padding: 20px;
  }

  .booking-time-slots {
    grid-template-columns: 1fr;
  }

  .booking-session-items-grid {
    grid-template-columns: 1fr;
  }

  /* Overview Section Mobile Fixes */
  .overview-section {
    padding: 25px 15px;
    margin-bottom: 30px;
  }

  .overview-section h2 {
    font-size: 1.6rem;
    margin-bottom: 25px;
  }

  .overview-content {
    gap: 25px;
  }

  .overview-text {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .overview-highlight {
    font-size: 1.2rem;
    padding: 18px 12px;
  }

  .overview-highlight-container {
    min-height: 100px;
  }
}

/* Extra Small Mobile Styles (Below 480px) */
@media (max-width: 480px) {
  .services-hero-title {
    font-size: 1.6rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .overview-section h2 {
    font-size: 1.4rem;
  }

  .overview-highlight {
    font-size: 1.1rem;
    padding: 15px 10px;
  }

  .overview-text {
    font-size: 0.9rem;
  }

  .flashcard {
    height: 280px;
  }

  .service-icon {
    font-size: 2rem;
  }

  .service-title {
    font-size: 1.2rem;
  }
}

/* Landscape Mobile Optimization */
@media (max-width: 767px) and (orientation: landscape) {
  .services-hero {
    padding: 100px 0 40px;
    min-height: auto;
  }

  .nav-links {
    overflow-y: auto;
  }

  .flashcards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* High-resolution devices */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

/* Ensure images are responsive */
img {
  max-width: 100%;
  height: auto;
}

/* Smooth scrolling */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* Prevent zoom on input focus for iOS */
@media (max-width: 767px) {
  input,
  select,
  textarea {
    font-size: 16px;
  }
}

/* Mobile dropdown styles */
@media (max-width: 768px) {
  .dropdown {
    width: 100%;
  }

  /* Dropdown styles handled by allDropdown.css */
}

/* Footer dropdown mobile styles */
@media (max-width: 768px) {
  .footer-dropdown-header {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 1.6rem;
    padding: 20px;
  }

  .benefit-icon,
  .service-type-icon {
    font-size: 2rem;
  }

  .benefit-title,
  .service-type-title {
    font-size: 1.3rem;
  }

  .process-step {
    max-width: 100%;
    padding: 0 10px;
  }

  .step-title {
    font-size: 1.1rem;
  }

  .step-description {
    font-size: 0.9rem;
  }

  .cta-button,
  .cta-button-large {
    width: 100%;
    text-align: center;
    padding: 12px 20px;
  }

  .faq-question {
    font-size: 1.1rem;
  }
}

/* Ensure images are responsive */
img {
  max-width: 100%;
  height: auto;
}

/* Overview Section - Mobile Responsive Fix */
.overview-section {
  background: rgba(10, 10, 26, 0.7);
  border-radius: 10px;
  padding: 60px;
  margin-bottom: 60px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.overview-section h2 {
  text-align: center;
  color: var(--secondary);
  margin-bottom: 40px;
  font-size: 2.2rem;
}

.overview-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.overview-text {
  font-size: 1.1rem;
  color: var(--gray);
  line-height: 1.8;
  text-align: left;
}

.overview-text p {
  margin-bottom: 20px;
  text-align: justify;
}

.overview-highlight-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.overview-highlight {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--secondary);
  text-align: center;
  padding: 30px;
  background: rgba(0, 102, 255, 0.1);
  border-radius: 10px;
  border: 1px solid rgba(0, 102, 255, 0.3);
  line-height: 1.4;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .overview-section {
    padding: 30px 20px;
    margin-bottom: 40px;
  }

  .overview-section h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    padding: 0;
  }

  .overview-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .overview-text {
    font-size: 1rem;
    line-height: 1.6;
    text-align: left;
  }

  .overview-text p {
    text-align: left;
    margin-bottom: 15px;
  }

  .overview-highlight {
    font-size: 1.4rem;
    padding: 20px 15px;
    line-height: 1.3;
  }

  .overview-highlight-container {
    height: auto;
    min-height: 120px;
  }
}

@media (max-width: 576px) {
  .overview-section {
    padding: 25px 15px;
    margin-bottom: 30px;
  }

  .overview-section h2 {
    font-size: 1.6rem;
    margin-bottom: 25px;
  }

  .overview-content {
    gap: 25px;
  }

  .overview-text {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .overview-highlight {
    font-size: 1.2rem;
    padding: 18px 12px;
  }

  .overview-highlight-container {
    min-height: 100px;
  }
}

@media (max-width: 480px) {
  .overview-section h2 {
    font-size: 1.4rem;
  }

  .overview-highlight {
    font-size: 1.1rem;
    padding: 15px 10px;
  }

  .overview-text {
    font-size: 0.9rem;
  }
}

/* Improve touch targets for mobile */

@media (min-width: 768px) {
  .dropdown-scroll {
    max-height: 250px;
    /* Smaller scroll container for mobile */
  }

  .footer-container {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-col {
    padding: 18px 1px;
  }

  .footer-col h3 {
    font-family: "Orbitron", sans-serif;
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--secondary);
    position: relative;
    padding-bottom: 10px;
  }
}

/* Responsive styles */
@media (max-width: 992px) {
  .services-overview {
    flex-direction: column;
  }

  .service-detail {
    flex-direction: column;
  }

  .process-step {
    min-width: 200px;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2.2rem;
    padding: 35px;
  }

  .process-step {
    min-width: 100%;
  }

  .cta-title {
    font-size: 1.8rem;
  }
}

/*  Get Start Button    */
.cta-buttons {
  background: linear-gradient(45deg, var(--primary), #5ed6eb);
  color: var(--dark);
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cta-buttons:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 102, 255, 0.3);
}

.cta-buttons:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(100, 149, 255, 0.4);
}

.faq-toggle {
  font-size: 1.2rem;
  color: white;
  /* or any color you prefer */
  transition: transform 0.3s ease;
}

.faq-toggle.active {
  transform: rotate(180deg);
}
