/* ============================================
   STARTUP WEBSITE - MAIN STYLESHEET
   Mobile-first responsive design system
   ============================================ */

/* Color Variables */
:root {
  /* Primary - Deep Tech Blue */
  --primary-color: #1e3a5f;
  --primary-dark: #152a45;
  --primary-light: #2a4a73;
  /* Accent - Electric Blue */
  --accent-color: #00d4ff;
  --accent-dark: #00b8e0;
  --accent-light: #33ddff;
  /* Secondary - Vibrant Green (for success states) */
  --secondary-color: #10b981;
  --secondary-dark: #059669;
  --secondary-light: #34d399;
  /* Text Colors */
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --text-light: #9ca3af;
  /* Background Colors */
  --bg-light: #f8fafc;
  --bg-dark: #0f172a;
  --white: #ffffff;
  --border-color: #e2e8f0;
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.12);
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

/* Base Styles - Mobile First */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 14px;
  position: relative;
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 700;
  line-height: 1.2;
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-dark);
}

/* Focus States for Accessibility */
.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem var(--accent-color);
}

*:focus-visible {
  outline: 3px solid var(--accent-color);
  outline-offset: 2px;
}

/* Enhanced focus for links */
a:focus-visible {
  outline: 3px solid var(--accent-color);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Focus indicator for navigation links */
.nav-link:focus-visible {
  outline: 3px solid var(--accent-color);
  outline-offset: 2px;
  background-color: rgba(30, 58, 95, 0.1);
  border-radius: 6px;
}

/* Focus indicator for service cards (when tabbed to) */
.service-card:focus-within,
.expertise-card:focus-within,
.why-us-item:focus-within {
  box-shadow: 0 0 0 3px var(--accent-color);
  border-radius: 12px;
}

/* High contrast focus for form elements */
.form-control:focus-visible {
  outline: 3px solid var(--accent-color);
  outline-offset: 0;
  border-color: var(--primary-color);
}

/* Focus indicator for select elements */
.form-select:focus-visible {
  outline: 3px solid var(--accent-color);
  outline-offset: 0;
  border-color: var(--primary-color);
}

.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Main Content Area */
main {
  flex: 1;
}

/* Tablet and up */
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
  
  .container {
    padding: 0 1.5rem;
  }
}

/* Desktop */
@media (min-width: 992px) {
  .container {
    padding: 0 2rem;
  }
}

/* ============================================
   NAVIGATION STYLES
   ============================================ */

/* Navbar Base */
.navbar {
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  padding: 0.75rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow var(--transition-normal);
}

.navbar:hover {
  box-shadow: var(--shadow-md);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* Brand */
.navbar-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  padding: 0.5rem 0;
}

.brand-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  transition: color var(--transition-fast);
}

.navbar-brand:hover .brand-text {
  color: var(--primary-dark);
}

/* Mobile Toggle Button */
.navbar-toggler {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  background: transparent;
  border: 2px solid var(--border-color);
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.navbar-toggler:hover {
  border-color: var(--primary-color);
  background-color: var(--bg-light);
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.2);
}

.navbar-toggler-icon {
  width: 24px;
  height: 24px;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
}

/* Navigation Menu */
.navbar-collapse {
  width: 100%;
  display: none;
  padding-top: 1rem;
}

.navbar-collapse.show {
  display: block;
}

.navbar-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.nav-item {
  margin: 0;
}

.nav-link {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--text-dark);
  font-weight: 500;
  text-decoration: none;
  border-radius: 6px;
  transition: all var(--transition-fast);
}

.nav-link:hover {
  color: var(--primary-color);
  background-color: var(--bg-light);
}

.nav-link.active {
  color: var(--primary-color);
  background-color: rgba(30, 58, 95, 0.1);
  font-weight: 600;
}

/* Tablet and up - Horizontal Nav */
@media (min-width: 768px) {
  .navbar-toggler {
    display: none;
  }
  
  .navbar-collapse {
    display: flex !important;
    width: auto;
    padding-top: 0;
  }
  
  .navbar-nav {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
  }
  
  .nav-link {
    padding: 0.5rem 1rem;
  }
  
  .nav-link.active {
    background-color: transparent;
    position: relative;
  }
  
  .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background-color: var(--primary-color);
    border-radius: 1px;
  }
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 3rem 0;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

/* Tablet */
@media (min-width: 768px) {
  .hero-section {
    padding: 5rem 0;
  }
  
  .hero-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
  }
}

/* Desktop */
@media (min-width: 992px) {
  .hero-section {
    padding: 7rem 0;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.35rem;
  }
}

/* ============================================
   HERO WITH IMAGE
   ============================================ */

.hero-with-image {
  position: relative;
  min-height: 450px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--primary-dark);
  padding: 4rem 0;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.9);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(30, 58, 95, 0.75) 0%,
    rgba(21, 42, 69, 0.70) 40%,
    rgba(15, 23, 42, 0.65) 100%
  );
  /* Add subtle animated gradient effect */
  background-size: 200% 200%;
}

/* Accent glow effect for hero */
.hero-with-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    ellipse at 30% 20%,
    rgba(0, 212, 255, 0.15) 0%,
    transparent 50%
  );
  z-index: 1;
  pointer-events: none;
}

.hero-with-image .container {
  position: relative;
  z-index: 2;
}

.hero-with-image .hero-content {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-with-image .hero-title {
  font-size: 1.85rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  letter-spacing: -0.02em;
}

.hero-with-image .hero-subtitle {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  opacity: 0.95;
}

/* Hero CTA button with accent color */
.hero-with-image .btn-cta {
  background-color: var(--accent-color);
  color: var(--primary-dark);
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
}

.hero-with-image .btn-cta:hover {
  background-color: var(--accent-light);
  box-shadow: 0 6px 24px rgba(0, 212, 255, 0.5);
}

/* Tablet */
@media (min-width: 768px) {
  .hero-with-image {
    min-height: 550px;
    padding: 6rem 0;
  }
  
  .hero-with-image .hero-title {
    font-size: 2.85rem;
  }
  
  .hero-with-image .hero-subtitle {
    font-size: 1.25rem;
  }
}

/* Desktop */
@media (min-width: 992px) {
  .hero-with-image {
    min-height: 650px;
    padding: 8rem 0;
  }
  
  .hero-with-image .hero-title {
    font-size: 3.75rem;
  }
  
  .hero-with-image .hero-subtitle {
    font-size: 1.4rem;
  }
}

/* ============================================
   CTA BUTTONS
   ============================================ */

.btn-cta {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--primary-dark);
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all var(--transition-normal);
  border: none;
  cursor: pointer;
}

.btn-cta:hover {
  background-color: var(--accent-light);
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 212, 255, 0.4);
}

.btn-cta:focus {
  outline: 3px solid var(--accent-color);
  outline-offset: 2px;
}

.btn-cta:active {
  transform: translateY(0);
}

.btn-cta-secondary {
  display: inline-block;
  background-color: var(--white);
  color: var(--primary-color);
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all var(--transition-normal);
  border: 2px solid var(--primary-color);
  cursor: pointer;
}

.btn-cta-secondary:hover {
  background-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(30, 58, 95, 0.4);
}

.btn-cta-secondary:focus {
  outline: 3px solid var(--accent-color);
  outline-offset: 2px;
}

.btn-cta-secondary:active {
  transform: translateY(0);
}

/* Tablet and up */
@media (min-width: 768px) {
  .btn-cta,
  .btn-cta-secondary {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
  }
}

/* ============================================
   SERVICES SECTION (Homepage)
   ============================================ */

.services-section {
  padding: 3rem 0;
  background-color: var(--bg-light);
}

.section-title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  text-align: center;
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

/* Tablet and up */
@media (min-width: 768px) {
  .services-section {
    padding: 5rem 0;
  }
  
  .section-title {
    font-size: 2rem;
    margin-bottom: 0.75rem;
  }
  
  .section-subtitle {
    font-size: 1.1rem;
    margin-bottom: 3rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

/* Desktop */
@media (min-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================
   SERVICE CARDS
   ============================================ */

.service-card {
  background: var(--white);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--white);
  transition: transform var(--transition-normal);
}

.service-card:hover .service-icon {
  transform: scale(1.05);
}

.service-icon svg {
  width: 32px;
  height: 32px;
}

/* Service Icon with Image */
.service-icon-wrapper {
  width: 64px;
  height: 64px;
  margin-bottom: 1.25rem;
  transition: transform var(--transition-normal);
  overflow: hidden;
  border-radius: 12px;
}

.service-card:hover .service-icon-wrapper {
  transform: scale(1.08);
}

.service-icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
  transition: transform var(--transition-normal), filter var(--transition-normal);
}

.service-card:hover .service-icon-img {
  transform: scale(1.1);
  filter: brightness(1.05);
}

.service-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.service-description {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.7;
  font-size: 0.95rem;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-features li {
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-dark);
  font-size: 0.9rem;
}

.service-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-weight: 700;
}

/* Tablet and up */
@media (min-width: 768px) {
  .service-card {
    padding: 2rem;
  }
  
  .service-icon {
    width: 72px;
    height: 72px;
    margin-bottom: 1.5rem;
  }
  
  .service-icon svg {
    width: 40px;
    height: 40px;
  }
  
  .service-icon-wrapper {
    width: 72px;
    height: 72px;
    margin-bottom: 1.5rem;
  }
  
  .service-title {
    font-size: 1.35rem;
    margin-bottom: 1rem;
  }
  
  .service-description {
    margin-bottom: 1.5rem;
  }
  
  .service-features li {
    padding: 0.5rem 0;
    font-size: 0.95rem;
  }
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
  padding: 3rem 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
  color: var(--white);
  text-align: center;
}

.cta-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.cta-subtitle {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

/* Tablet and up */
@media (min-width: 768px) {
  .cta-section {
    padding: 5rem 0;
  }
  
  .cta-title {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  .cta-subtitle {
    font-size: 1.15rem;
    margin-bottom: 2rem;
  }
}

/* Desktop */
@media (min-width: 992px) {
  .cta-title {
    font-size: 2.5rem;
  }
}

/* ============================================
   WHY PARTNER WITH US SECTION
   ============================================ */

.partner-section {
  padding: 3rem 0;
  background: linear-gradient(180deg, var(--white) 0%, var(--bg-light) 100%);
}

.partner-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.partner-card {
  background: var(--white);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  border-left: 4px solid var(--primary-color);
}

.partner-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-left-color: var(--secondary-color);
}

.partner-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(30, 58, 95, 0.1) 0%, rgba(30, 58, 95, 0.05) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--primary-color);
  transition: all var(--transition-normal);
}

.partner-card:hover .partner-icon {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: var(--white);
  transform: scale(1.05);
}

.partner-icon svg {
  width: 28px;
  height: 28px;
}

.partner-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.partner-description {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
  margin: 0;
}

/* Tablet */
@media (min-width: 768px) {
  .partner-section {
    padding: 5rem 0;
  }
  
  .partner-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .partner-card {
    padding: 2rem;
  }
  
  .partner-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1.25rem;
  }
  
  .partner-icon svg {
    width: 32px;
    height: 32px;
  }
  
  .partner-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
  }
}

/* Desktop */
@media (min-width: 992px) {
  .partner-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}


/* ============================================
   SERVICES PAGE STYLES
   ============================================ */

.services-hero-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 3rem 0;
  text-align: center;
}

.services-hero-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.services-hero-subtitle {
  font-size: 1rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* Tablet and up */
@media (min-width: 768px) {
  .services-hero-section {
    padding: 5rem 0;
  }
  
  .services-hero-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  
  .services-hero-subtitle {
    font-size: 1.25rem;
  }
}

/* Desktop */
@media (min-width: 992px) {
  .services-hero-title {
    font-size: 3rem;
  }
  
  .services-hero-subtitle {
    font-size: 1.35rem;
  }
}

/* ============================================
   SERVICE DETAIL SECTIONS
   ============================================ */

.service-detail-section {
  padding: 3rem 0;
}

.service-detail-alt {
  background-color: var(--bg-light);
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

/* Tablet and up */
@media (min-width: 768px) {
  .service-detail-section {
    padding: 4rem 0;
  }
  
  .service-detail-grid {
    gap: 3rem;
  }
}

/* Desktop */
@media (min-width: 992px) {
  .service-detail-section {
    padding: 5rem 0;
  }
  
  .service-detail-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
  
  .service-detail-grid-reverse .service-detail-content {
    order: 2;
  }
  
  .service-detail-grid-reverse .service-detail-features {
    order: 1;
  }
}

.service-detail-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--white);
  transition: transform var(--transition-normal);
}

.service-detail-icon:hover {
  transform: scale(1.05);
}

.service-detail-icon svg {
  width: 32px;
  height: 32px;
}

.service-detail-icon-ai {
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
}

.service-detail-icon-automation {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
}

.service-detail-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.service-detail-description {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* Tablet and up */
@media (min-width: 768px) {
  .service-detail-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
  }
  
  .service-detail-icon svg {
    width: 40px;
    height: 40px;
  }
  
  .service-detail-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }
  
  .service-detail-description {
    font-size: 1.1rem;
  }
}

/* ============================================
   FEATURES LIST
   ============================================ */

.service-detail-features {
  background: var(--white);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  transition: box-shadow var(--transition-normal);
}

.service-detail-features:hover {
  box-shadow: var(--shadow-lg);
}

.service-detail-alt .service-detail-features {
  background: var(--white);
}

.features-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--primary-color);
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.features-list li {
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transition: background-color var(--transition-fast);
}

.features-list li:hover {
  background-color: var(--bg-light);
  margin: 0 -0.5rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  border-radius: 6px;
}

.features-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.features-list li:first-child {
  padding-top: 0;
}

.features-list li strong {
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.95rem;
}

.features-list li span {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* Tablet and up */
@media (min-width: 768px) {
  .service-detail-features {
    padding: 2rem;
  }
  
  .features-title {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
  }
  
  .features-list li {
    padding: 1rem 0;
  }
  
  .features-list li strong {
    font-size: 1rem;
  }
  
  .features-list li span {
    font-size: 0.9rem;
  }
}


/* ============================================
   ABOUT PAGE STYLES
   ============================================ */

.about-hero-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 3rem 0;
  text-align: center;
}

.about-hero-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.about-hero-subtitle {
  font-size: 1rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* Tablet and up */
@media (min-width: 768px) {
  .about-hero-section {
    padding: 5rem 0;
  }
  
  .about-hero-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  
  .about-hero-subtitle {
    font-size: 1.25rem;
  }
}

/* Desktop */
@media (min-width: 992px) {
  .about-hero-title {
    font-size: 3rem;
  }
  
  .about-hero-subtitle {
    font-size: 1.35rem;
  }
}

/* ============================================
   MISSION SECTION
   ============================================ */

.mission-section {
  padding: 3rem 0;
}

.mission-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.mission-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
}

.mission-text {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.mission-text:last-child {
  margin-bottom: 0;
}

/* Tablet and up */
@media (min-width: 768px) {
  .mission-section {
    padding: 5rem 0;
  }
  
  .mission-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }
  
  .mission-text {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
  }
}

/* ============================================
   EXPERTISE SECTION
   ============================================ */

.expertise-section {
  padding: 3rem 0;
  background-color: var(--bg-light);
}

.expertise-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

/* Tablet and up */
@media (min-width: 768px) {
  .expertise-section {
    padding: 5rem 0;
  }
  
  .expertise-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

/* Desktop */
@media (min-width: 992px) {
  .expertise-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================
   EXPERTISE CARDS
   ============================================ */

.expertise-card {
  background: var(--white);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

.expertise-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.expertise-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--white);
  transition: transform var(--transition-normal);
}

.expertise-card:hover .expertise-icon {
  transform: scale(1.05);
}

.expertise-icon svg {
  width: 28px;
  height: 28px;
}

.expertise-icon-ai {
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
}

.expertise-icon-automation {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
}

.expertise-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.expertise-description {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

.expertise-credentials {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
}

.expertise-credentials li {
  padding: 0.35rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-dark);
  font-size: 0.85rem;
}

.expertise-credentials li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-weight: 700;
}

/* Tablet and up */
@media (min-width: 768px) {
  .expertise-card {
    padding: 2rem;
  }
  
  .expertise-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
  }
  
  .expertise-icon svg {
    width: 32px;
    height: 32px;
  }
  
  .expertise-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }
  
  .expertise-description {
    margin-bottom: 1.5rem;
  }
  
  .expertise-credentials li {
    padding: 0.4rem 0;
    font-size: 0.9rem;
  }
}

/* ============================================
   WHY US SECTION
   ============================================ */

.why-us-section {
  padding: 3rem 0;
}

.why-us-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.why-us-item {
  text-align: center;
  padding: 1.25rem;
  border-radius: 12px;
  transition: background-color var(--transition-fast);
}

.why-us-item:hover {
  background-color: var(--bg-light);
}

.why-us-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  opacity: 0.3;
  margin-bottom: 0.75rem;
}

.why-us-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.why-us-description {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Tablet */
@media (min-width: 768px) {
  .why-us-section {
    padding: 5rem 0;
  }
  
  .why-us-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .why-us-item {
    padding: 1.5rem;
  }
  
  .why-us-number {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  
  .why-us-title {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
  }
  
  .why-us-description {
    font-size: 0.95rem;
  }
}

/* Desktop */
@media (min-width: 992px) {
  .why-us-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}


/* ============================================
   CONTACT PAGE STYLES
   ============================================ */

.contact-hero-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 3rem 0;
  text-align: center;
}

.contact-hero-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.contact-hero-subtitle {
  font-size: 1rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* Tablet and up */
@media (min-width: 768px) {
  .contact-hero-section {
    padding: 5rem 0;
  }
  
  .contact-hero-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  
  .contact-hero-subtitle {
    font-size: 1.25rem;
  }
}

/* Desktop */
@media (min-width: 992px) {
  .contact-hero-title {
    font-size: 3rem;
  }
  
  .contact-hero-subtitle {
    font-size: 1.35rem;
  }
}

/* ============================================
   CONTACT FORM SECTION
   ============================================ */

.contact-form-section {
  padding: 3rem 0;
  background-color: var(--bg-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

/* Tablet and up */
@media (min-width: 768px) {
  .contact-form-section {
    padding: 5rem 0;
  }
  
  .contact-grid {
    gap: 3rem;
  }
}

/* Desktop */
@media (min-width: 992px) {
  .contact-grid {
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
  }
}

/* ============================================
   FORM WRAPPER
   ============================================ */

.contact-form-wrapper {
  background: var(--white);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.form-label .required {
  color: #ef4444;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  transition: all var(--transition-fast);
  background-color: var(--white);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
}

.form-control::placeholder {
  color: var(--text-light);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.75rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: 2.5rem;
  cursor: pointer;
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

.btn-submit {
  width: 100%;
  padding: 0.875rem;
  font-size: 1rem;
  margin-top: 0.5rem;
}

/* Tablet and up */
@media (min-width: 768px) {
  .contact-form-wrapper {
    padding: 2.5rem;
  }
  
  .form-group {
    margin-bottom: 1.5rem;
  }
  
  .form-label {
    font-size: 0.95rem;
  }
  
  .form-control {
    padding: 0.875rem 1rem;
  }
  
  textarea.form-control {
    min-height: 120px;
  }
  
  .btn-submit {
    padding: 1rem;
    font-size: 1.1rem;
  }
}

/* ============================================
   VALIDATION STYLES
   ============================================ */

.field-validation {
  display: block;
  font-size: 0.8rem;
  margin-top: 0.375rem;
  color: #ef4444;
}

.validation-summary {
  margin-bottom: 1.5rem;
}

.input-validation-error {
  border-color: #ef4444 !important;
}

.input-validation-error:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

/* ============================================
   SUCCESS MESSAGE
   ============================================ */

.submission-success {
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
  border: 2px solid var(--secondary-color);
  color: #065f46;
  padding: 1.25rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  animation: slideInSuccess 0.4s ease-out;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
}

.submission-success::before {
  content: "✓";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  min-width: 32px;
  background-color: var(--secondary-color);
  color: white;
  border-radius: 50%;
  font-weight: 700;
  font-size: 1rem;
}

.submission-success-content {
  flex: 1;
}

.submission-success strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
}

.submission-success p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

@keyframes slideInSuccess {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tablet and up */
@media (min-width: 768px) {
  .submission-success {
    padding: 1.5rem;
  }
  
  .submission-success::before {
    width: 40px;
    height: 40px;
    min-width: 40px;
    font-size: 1.25rem;
  }
  
  .submission-success strong {
    font-size: 1.15rem;
  }
}

/* ============================================
   CONTACT INFO
   ============================================ */

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-info-card {
  background: var(--white);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
}

.contact-info-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--primary-color);
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--border-color);
  transition: background-color var(--transition-fast);
}

.contact-method:hover {
  background-color: var(--bg-light);
  margin: 0 -0.5rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  border-radius: 6px;
}

.contact-method:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-method-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.contact-method:hover .contact-method-icon {
  transform: scale(1.05);
}

.contact-method-icon svg {
  width: 20px;
  height: 20px;
}

.contact-method-details {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.contact-method-details strong {
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.9rem;
}

.contact-method-details span {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.privacy-note {
  background: var(--white);
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: var(--shadow-md);
}

.privacy-note p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.6;
  margin: 0;
}

/* Tablet and up */
@media (min-width: 768px) {
  .contact-info {
    gap: 1.5rem;
  }
  
  .contact-info-card {
    padding: 2rem;
  }
  
  .contact-info-title {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
  }
  
  .contact-method {
    gap: 1rem;
    padding: 1rem 0;
  }
  
  .contact-method-icon {
    width: 48px;
    height: 48px;
  }
  
  .contact-method-icon svg {
    width: 24px;
    height: 24px;
  }
  
  .contact-method-details strong {
    font-size: 0.95rem;
  }
  
  .contact-method-details span {
    font-size: 0.9rem;
  }
  
  .privacy-note {
    padding: 1.5rem;
  }
  
  .privacy-note p {
    font-size: 0.9rem;
  }
}


/* ============================================
   FOOTER STYLES
   ============================================ */

.footer {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 2rem 0;
  margin-top: auto;
}

.footer .container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
}

.footer a {
  color: var(--text-light);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer a:hover {
  color: var(--white);
}

/* Tablet and up */
@media (min-width: 768px) {
  .footer .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

/* Skip Link for Keyboard Navigation */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--primary-color);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  z-index: 10000;
  text-decoration: none;
  font-weight: 600;
  border-radius: 0 0 8px 0;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 0;
  outline: 3px solid var(--accent-color);
  outline-offset: 2px;
}

/* Visually Hidden - for screen readers only */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.text-center {
  text-align: center;
}

.text-muted {
  color: var(--text-muted);
}

.text-danger {
  color: #ef4444;
}

.mb-0 {
  margin-bottom: 0;
}

.mt-1 {
  margin-top: 0.25rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.pb-3 {
  padding-bottom: 1rem;
}

/* Alert Styles */
.alert {
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.alert-success {
  background-color: #d1fae5;
  border: 1px solid var(--secondary-color);
  color: #065f46;
}

.alert-danger {
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
  border: 2px solid #ef4444;
  color: #991b1b;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  animation: shakeError 0.4s ease-out;
}

.alert-danger::before {
  content: "!";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  min-width: 24px;
  background-color: #ef4444;
  color: white;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.9rem;
}

@keyframes shakeError {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-5px); }
  40%, 80% { transform: translateX(5px); }
}

/* ============================================
   ANIMATIONS & TRANSITIONS
   ============================================ */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.3s ease-out;
}

/* Smooth scroll behavior */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
  .navbar,
  .footer,
  .btn-cta,
  .btn-cta-secondary {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    color: #000;
  }
  
  .hero-section,
  .cta-section {
    background: none !important;
    color: #000 !important;
    padding: 1rem 0;
  }
}


/* ============================================
   PRIVACY PAGE STYLES
   ============================================ */

.privacy-hero-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 3rem 0;
  text-align: center;
}

.privacy-hero-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.privacy-hero-subtitle {
  font-size: 1rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* Tablet and up */
@media (min-width: 768px) {
  .privacy-hero-section {
    padding: 5rem 0;
  }
  
  .privacy-hero-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  
  .privacy-hero-subtitle {
    font-size: 1.25rem;
  }
}

/* Desktop */
@media (min-width: 992px) {
  .privacy-hero-title {
    font-size: 3rem;
  }
  
  .privacy-hero-subtitle {
    font-size: 1.35rem;
  }
}

.privacy-content-section {
  padding: 3rem 0;
}

.privacy-content {
  max-width: 800px;
  margin: 0 auto;
}

.privacy-article {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.privacy-article:last-of-type {
  border-bottom: none;
  margin-bottom: 1.5rem;
  padding-bottom: 0;
}

.privacy-article h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.privacy-article p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.privacy-article ul {
  color: var(--text-muted);
  line-height: 1.8;
  padding-left: 1.5rem;
  margin-bottom: 0;
}

.privacy-article ul li {
  margin-bottom: 0.5rem;
}

.privacy-article ul li:last-child {
  margin-bottom: 0;
}

.privacy-article a {
  color: var(--primary-color);
  text-decoration: underline;
}

.privacy-article a:hover {
  color: var(--primary-dark);
}

.privacy-updated {
  font-size: 0.9rem;
  color: var(--text-light);
  font-style: italic;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

/* Tablet and up */
@media (min-width: 768px) {
  .privacy-content-section {
    padding: 5rem 0;
  }
  
  .privacy-article {
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
  }
  
  .privacy-article h3 {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
  }
  
  .privacy-article p,
  .privacy-article ul {
    font-size: 1.05rem;
  }
}


/* ============================================
   TECHNOLOGY STACK BADGES
   ============================================ */

.tech-stack {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.tech-stack-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.tech-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0.75rem;
  background: linear-gradient(135deg, rgba(30, 58, 95, 0.1) 0%, rgba(30, 58, 95, 0.05) 100%);
  color: var(--primary-color);
  font-size: 0.8rem;
  font-weight: 500;
  border-radius: 20px;
  border: 1px solid rgba(30, 58, 95, 0.2);
  transition: all var(--transition-fast);
}

.tech-badge:hover {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: var(--white);
  transform: translateY(-1px);
}

/* Tablet and up */
@media (min-width: 768px) {
  .tech-stack {
    margin-top: 2rem;
    padding-top: 2rem;
  }
  
  .tech-stack-title {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }
  
  .tech-badges {
    gap: 0.625rem;
  }
  
  .tech-badge {
    padding: 0.4rem 0.875rem;
    font-size: 0.85rem;
  }
}

/* ============================================
   USE CASES SECTION
   ============================================ */

.use-cases {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.use-cases-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.use-cases-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.use-cases-list li {
  position: relative;
  padding: 0.375rem 0;
  padding-left: 1.25rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

.use-cases-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-weight: 600;
}

/* Tablet and up */
@media (min-width: 768px) {
  .use-cases {
    margin-top: 2rem;
    padding-top: 2rem;
  }
  
  .use-cases-title {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }
  
  .use-cases-list li {
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    font-size: 0.9rem;
  }
}

/* ============================================
   SERVICE DETAIL ICON WRAPPER (for images)
   ============================================ */

.service-detail-icon-wrapper {
  width: 80px;
  height: 80px;
  margin-bottom: 1.25rem;
  transition: transform var(--transition-normal);
  overflow: hidden;
  border-radius: 16px;
}

.service-detail-icon-wrapper:hover {
  transform: scale(1.05);
}

.service-detail-icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 16px;
  transition: transform var(--transition-normal), filter var(--transition-normal);
}

.service-detail-icon-wrapper:hover .service-detail-icon-img {
  transform: scale(1.08);
  filter: brightness(1.05);
}

/* Tablet and up */
@media (min-width: 768px) {
  .service-detail-icon-wrapper {
    width: 96px;
    height: 96px;
    margin-bottom: 1.5rem;
  }
}


/* ============================================
   ABOUT PAGE - HERO WITH IMAGE
   ============================================ */

.about-hero-with-image {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--primary-dark);
  padding: 4rem 0;
}

.about-hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.about-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.9);
}

.about-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(30, 58, 95, 0.72) 0%,
    rgba(21, 42, 69, 0.68) 50%,
    rgba(15, 23, 42, 0.65) 100%
  );
}

/* Accent glow effect for about hero */
.about-hero-with-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    ellipse at 70% 30%,
    rgba(0, 212, 255, 0.12) 0%,
    transparent 50%
  );
  z-index: 1;
  pointer-events: none;
}

.about-hero-with-image .container {
  position: relative;
  z-index: 2;
}

.about-hero-content {
  text-align: center;
  color: var(--white);
}

.about-hero-with-image .about-hero-title {
  font-size: 1.85rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  letter-spacing: -0.02em;
}

.about-hero-with-image .about-hero-subtitle {
  font-size: 1rem;
  opacity: 0.95;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* Tablet */
@media (min-width: 768px) {
  .about-hero-with-image {
    min-height: 500px;
    padding: 6rem 0;
  }
  
  .about-hero-with-image .about-hero-title {
    font-size: 2.85rem;
    margin-bottom: 1.25rem;
  }
  
  .about-hero-with-image .about-hero-subtitle {
    font-size: 1.25rem;
  }
}

/* Desktop */
@media (min-width: 992px) {
  .about-hero-with-image {
    min-height: 550px;
    padding: 8rem 0;
  }
  
  .about-hero-with-image .about-hero-title {
    font-size: 3.5rem;
  }
  
  .about-hero-with-image .about-hero-subtitle {
    font-size: 1.35rem;
  }
}

/* ============================================
   SUBCONTRACTOR SECTION (Why Choose Us)
   ============================================ */

.subcontractor-section {
  padding: 3rem 0;
  background: linear-gradient(180deg, var(--bg-light) 0%, var(--white) 100%);
}

.subcontractor-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.subcontractor-card {
  background: var(--white);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  border-top: 4px solid var(--primary-color);
}

.subcontractor-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.subcontractor-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--white);
  transition: transform var(--transition-normal);
}

.subcontractor-card:hover .subcontractor-icon {
  transform: scale(1.08);
}

.subcontractor-icon-comm {
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
}

.subcontractor-icon-quality {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
}

.subcontractor-icon-flex {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.subcontractor-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.subcontractor-description {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

.subcontractor-points {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
}

.subcontractor-points li {
  padding: 0.35rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-dark);
  font-size: 0.85rem;
}

.subcontractor-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-weight: 700;
}

/* Tablet */
@media (min-width: 768px) {
  .subcontractor-section {
    padding: 5rem 0;
  }
  
  .subcontractor-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .subcontractor-card {
    padding: 2rem;
  }
  
  .subcontractor-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
  }
  
  .subcontractor-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }
  
  .subcontractor-description {
    margin-bottom: 1.5rem;
  }
  
  .subcontractor-points li {
    padding: 0.4rem 0;
    font-size: 0.9rem;
  }
}

/* Desktop */
@media (min-width: 992px) {
  .subcontractor-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ============================================
   EXPERTISE ICON WRAPPER (Image-based icons)
   ============================================ */

.expertise-icon-wrapper {
  width: 64px;
  height: 64px;
  margin-bottom: 1.25rem;
  transition: transform var(--transition-normal);
  overflow: hidden;
  border-radius: 12px;
}

.expertise-card:hover .expertise-icon-wrapper {
  transform: scale(1.08);
}

.expertise-icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
  transition: transform var(--transition-normal), filter var(--transition-normal);
}

.expertise-card:hover .expertise-icon-img {
  transform: scale(1.1);
  filter: brightness(1.05);
}

/* Tablet and up */
@media (min-width: 768px) {
  .expertise-icon-wrapper {
    width: 72px;
    height: 72px;
    margin-bottom: 1.5rem;
  }
}

/* ============================================
   PARTNERSHIP SECTION
   ============================================ */

.partnership-section {
  padding: 3rem 0;
  background-color: var(--white);
}

.partnership-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.partnership-image-wrapper {
  display: flex;
  justify-content: center;
}

.partnership-image {
  width: 150px;
  height: 150px;
  object-fit: contain;
}

.partnership-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
  text-align: center;
}

.partnership-description {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  text-align: center;
}

.partnership-values {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.partnership-value {
  background: var(--bg-light);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--primary-color);
  transition: all var(--transition-fast);
}

.partnership-value:hover {
  background: linear-gradient(90deg, rgba(30, 58, 95, 0.08) 0%, var(--bg-light) 100%);
  transform: translateX(4px);
}

.partnership-value strong {
  display: block;
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
}

.partnership-value span {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Tablet */
@media (min-width: 768px) {
  .partnership-section {
    padding: 5rem 0;
  }
  
  .partnership-content {
    grid-template-columns: 200px 1fr;
    gap: 3rem;
  }
  
  .partnership-image {
    width: 180px;
    height: 180px;
  }
  
  .partnership-title {
    font-size: 2rem;
    margin-bottom: 1.25rem;
    text-align: left;
  }
  
  .partnership-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    text-align: left;
  }
  
  .partnership-value {
    padding: 1.25rem 1.5rem;
  }
  
  .partnership-value strong {
    font-size: 1rem;
  }
  
  .partnership-value span {
    font-size: 0.95rem;
  }
}

/* Desktop */
@media (min-width: 992px) {
  .partnership-content {
    grid-template-columns: 220px 1fr;
    gap: 4rem;
  }
  
  .partnership-image {
    width: 200px;
    height: 200px;
  }
}


/* ============================================
   IMAGE HOVER EFFECTS AND TRANSITIONS
   ============================================ */

/* General image hover effect for cards */
.card-image-wrapper {
  overflow: hidden;
  border-radius: 12px;
  transition: box-shadow var(--transition-normal);
}

.card-image-wrapper:hover {
  box-shadow: 0 8px 24px rgba(0, 212, 255, 0.15);
}

.card-image-wrapper img {
  transition: transform var(--transition-normal), filter var(--transition-normal);
}

.card-image-wrapper:hover img {
  transform: scale(1.05);
  filter: brightness(1.02);
}

/* Service card enhanced hover with accent glow */
.service-card {
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 212, 255, 0) 0%,
    rgba(0, 212, 255, 0) 100%
  );
  opacity: 0;
  transition: opacity var(--transition-normal);
  pointer-events: none;
  border-radius: 12px;
}

.service-card:hover::before {
  background: linear-gradient(
    135deg,
    rgba(0, 212, 255, 0.03) 0%,
    rgba(30, 58, 95, 0.02) 100%
  );
  opacity: 1;
}

/* Expertise card enhanced hover */
.expertise-card {
  position: relative;
  overflow: hidden;
}

.expertise-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 212, 255, 0) 0%,
    rgba(0, 212, 255, 0) 100%
  );
  opacity: 0;
  transition: opacity var(--transition-normal);
  pointer-events: none;
  border-radius: 12px;
}

.expertise-card:hover::before {
  background: linear-gradient(
    135deg,
    rgba(0, 212, 255, 0.03) 0%,
    rgba(30, 58, 95, 0.02) 100%
  );
  opacity: 1;
}

/* Partner card enhanced hover with accent border */
.partner-card {
  position: relative;
  transition: all var(--transition-normal), border-left-color var(--transition-fast);
}

.partner-card:hover {
  border-left-color: var(--accent-color);
}

/* Subcontractor card enhanced hover */
.subcontractor-card {
  position: relative;
  transition: all var(--transition-normal), border-top-color var(--transition-fast);
}

.subcontractor-card:hover {
  border-top-color: var(--accent-color);
}

/* Hero image subtle parallax-like effect on scroll (CSS only) */
@media (prefers-reduced-motion: no-preference) {
  .hero-image,
  .about-hero-image {
    transition: transform 0.5s ease-out;
  }
}

/* Image loading placeholder */
.image-placeholder {
  background: linear-gradient(
    135deg,
    var(--bg-light) 0%,
    rgba(30, 58, 95, 0.05) 50%,
    var(--bg-light) 100%
  );
  background-size: 200% 200%;
  animation: imagePlaceholderShimmer 1.5s ease-in-out infinite;
}

@keyframes imagePlaceholderShimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Smooth image reveal on load */
.image-reveal {
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.image-reveal.loaded {
  opacity: 1;
  transform: scale(1);
}

/* Icon glow effect on hover */
.service-icon:hover,
.expertise-icon:hover,
.partner-icon:hover {
  box-shadow: 0 4px 16px rgba(0, 212, 255, 0.25);
}

/* Tech badge glow on hover */
.tech-badge:hover {
  box-shadow: 0 2px 12px rgba(0, 212, 255, 0.2);
}
