/* ===== CSS VARIABLES ===== */
:root {
  /* Colors extracted from DOIT logo */
  --primary-color: #323232;        /* Dark Gray */
  --primary-light: #323232;        /* Dark Gray */
  --primary-dark: #323232;         /* Dark Gray */
  --accent-color: #15a1b0;         /* Teal Blue */
  --accent-light: #15a1b0;         /* Teal Blue */
  --accent-dark: #15a1b0;          /* Teal Blue */
  --secondary-color: #15a1b0;      /* Secondary color for gradients */
  
  /* Neutral Colors */
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --black: #000000;
  
  /* Background Colors */
  --bg-primary: #ffffff;
  --bg-secondary: #f9fafb;
  --bg-tertiary: #f3f4f6;
  
  /* Text Colors */
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --text-light: #9ca3af;
  --success: #10b981;
  --warning: #15a1b0;
  --error: #ef4444;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  --gradient-accent: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
  --gradient-hero: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 50%, var(--primary-light) 100%);
  
  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  --font-size-6xl: 3.75rem;
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  --spacing-4xl: 6rem;
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  
  /* Transitions */
  --transition-fast: 0.15s ease-in-out;
  --transition-normal: 0.3s ease-in-out;
  --transition-slow: 0.5s ease-in-out;
  
  /* Z-index */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal: 1040;
  --z-popover: 1050;
  --z-tooltip: 1060;
}


@media (max-width: 480px) {
  .floating-card {
    padding: 12px;
    min-width: 130px;
    gap: 8px;
  }
  
  .floating-card i {
    font-size: 1.2rem;
  }
  
  .floating-card__number {
    font-size: 1rem;
  }
  
  .floating-card__label {
    font-size: 0.75rem;
  }
  
  .floating-card:nth-child(1) {
    top: 5px;
    left: -10px;
  }
  
  .floating-card--2 {
    top: 50%;
    right: -15px;
  }
  
  .floating-card--3 {
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
  }
}

/* Responsive styles for floating cards in tablet view */
@media (max-width: 768px) {
  .floating-card {
    padding: 15px;
    min-width: 150px;
    gap: 10px;
  }
  
  .floating-card i {
    font-size: 1.5rem;
  }
  
  .floating-card__number {
    font-size: 1.2rem;
  }
  
  .floating-card__label {
    font-size: 0.8rem;
  }
  
  .floating-card:nth-child(1) {
    top: 10px;
    left: -15px;
  }
  
  .floating-card--2 {
    top: 50%;
    right: -20px;
  }
  
  .floating-card--3 {
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
  }
}

/* ===== DARK THEME VARIABLES ===== */
[data-theme="dark"] {
  /* Colors */
  --primary-color: #323232;
  --primary-light: #323232;
  --primary-dark: #323232;
  --accent-color: #15a1b0;
  --accent-light: #15a1b0;
  --accent-dark: #15a1b0;
  
  /* Neutral Colors */
  --white: #111827;
  --gray-50: #111827;
  --gray-100: #1f2937;
  --gray-200: #374151;
  --gray-300: #4b5563;
  --gray-400: #6b7280;
  --gray-500: #9ca3af;
  --gray-600: #d1d5db;
  --gray-700: #e5e7eb;
  --gray-800: #f3f4f6;
  --gray-900: #f9fafb;
  --black: #ffffff;
  
  /* Background Colors */
  --bg-primary: #111827;
  --bg-secondary: #1f2937;
  --bg-tertiary: #374151;
  
  /* Text Colors */
  --text-primary: #f9fafb;
  --text-secondary: #d1d5db;
  --text-light: #9ca3af;
  
  /* Shadows for dark theme */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.4);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6), 0 10px 10px -5px rgba(0, 0, 0, 0.5);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
}

/* ===== RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  line-height: 1.6;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--gray-700);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; /* prevent horizontal scroll */
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.3;
  color: var(--gray-900);
  margin-bottom: var(--spacing-lg);
  letter-spacing: -0.01em;
}

h1 { 
  font-size: var(--font-size-5xl); 
  font-weight: 800;
  margin-bottom: var(--spacing-xl);
}
h2 { 
  font-size: var(--font-size-4xl); 
  font-weight: 700;
  margin-bottom: var(--spacing-lg);
}

/*=============== IOT ENABLER PAGE ===============*/
/* IoT Hero Section */
.iot-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: var(--spacing-6xl) 0;
  margin-top: 80px;
}

.iot-hero__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-4xl);
  align-items: center;
}

.iot-hero__title {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.iot-hero__title i {
  color: #15a1b0;
  font-size: 3rem;
}

.iot-hero__subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  color: #15a1b0;
  margin-bottom: var(--spacing-md);
}

.iot-hero__description {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--spacing-2xl);
}

.iot-hero__buttons {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.iot-hero__image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.iot-hero__visual {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, #15a1b0, #1291a0);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 60px rgba(21, 161, 176, 0.3);
}

.iot-hero__visual i {
  font-size: 8rem;
  color: white;
}

/* IoT Features Section */
.iot-features {
  padding: var(--spacing-6xl) 0;
  background: var(--white);
}

.iot-features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--spacing-2xl);
  margin-top: var(--spacing-4xl);
}

.feature-card {
  background: var(--white);
  padding: var(--spacing-2xl);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.feature-card__icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #15a1b0, #1291a0);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-lg);
}

.feature-card__icon i {
  font-size: 2rem;
  color: white;
}

.feature-card__title {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
}

.feature-card__description {
  font-size: var(--font-size-md);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* IoT Use Cases Section */
.iot-usecases {
  padding: var(--spacing-6xl) 0;
  background: #f8fafc;
}

.usecases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-4xl);
}

.usecase-item {
  background: var(--white);
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.usecase-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.usecase-item__icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #15a1b0, #1291a0);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-lg) auto;
}

.usecase-item__icon i {
  font-size: 1.8rem;
  color: white;
}

.usecase-item__title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--spacing-sm);
}

.usecase-item__description {
  font-size: var(--font-size-md);
  color: var(--text-secondary);
  line-height: 1.5;
}

/* IoT CTA Section */
.iot-cta {
  padding: var(--spacing-6xl) 0;
  background: linear-gradient(135deg, #15a1b0, #1291a0);
  color: white;
  text-align: center;
}

.iot-cta__title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: var(--spacing-lg);
}

.iot-cta__description {
  font-size: var(--font-size-lg);
  margin-bottom: var(--spacing-2xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.95;
}

.iot-cta__buttons {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}

.whatsapp-float__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  color: white;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.whatsapp-float__btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float__btn i {
  font-size: 1.8rem;
}

@keyframes pulse {
  0% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 10px rgba(37, 211, 102, 0.1);
  }
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md) var(--spacing-xl);
  border-radius: var(--radius-full);
  text-decoration: none;
  font-weight: 600;
  font-size: var(--font-size-md);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn--primary {
  background: #25D366;
  color: white;
  border-color: #25D366;
}

.btn--primary:hover {
  background: #22c55e;
  border-color: #22c55e;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.btn--outline {
  background: transparent;
  color: #15a1b0;
  border-color: #15a1b0;
}

.btn--outline:hover {
  background: #15a1b0;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(21, 161, 176, 0.3);
}

.btn--large {
  padding: var(--spacing-lg) var(--spacing-2xl);
  font-size: var(--font-size-lg);
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: var(--spacing-4xl);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
}

.section-subtitle {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 768px) {
  .iot-hero__content {
    grid-template-columns: 1fr;
    gap: var(--spacing-2xl);
    text-align: center;
  }
  
  .iot-hero__title {
    font-size: 2.5rem;
    justify-content: center;
  }
  
  .iot-hero__title i {
    font-size: 2rem;
  }
  
  .iot-hero__visual {
    width: 200px;
    height: 200px;
  }
  
  .iot-hero__visual i {
    font-size: 5rem;
  }
  
  .iot-features__grid {
    grid-template-columns: 1fr;
  }
  
  .usecases-grid {
    grid-template-columns: 1fr;
  }
  
  .iot-cta__title {
    font-size: 2rem;
  }
  
  .iot-cta__buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .section-title {
    font-size: 2rem;
  }
}
h3 { 
  font-size: var(--font-size-3xl); 
  font-weight: 600;
  margin-bottom: var(--spacing-md);
}
h4 { 
  font-size: var(--font-size-2xl); 
  font-weight: 600;
  margin-bottom: var(--spacing-md);
}
h5 { 
  font-size: var(--font-size-xl); 
  font-weight: 500;
  margin-bottom: var(--spacing-sm);
}
h6 { 
  font-size: var(--font-size-lg); 
  font-weight: 500;
  margin-bottom: var(--spacing-sm);
}

p {
  margin-bottom: var(--spacing-md);
  color: var(--gray-600);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--primary-dark);
}

/* ===== UTILITY CLASSES ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* Standardized Section Spacing */
.section {
  padding: var(--spacing-4xl) 0;
  position: relative;
}

/* Consistent Section Header Styling */
.section__header {
  text-align: center;
  margin-bottom: var(--spacing-4xl);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Unified Subtitle Styling */
.section__subtitle {
  display: inline-block;
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--primary-color);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--spacing-sm);
  line-height: 1.5;
}

/* Standardized Title Styling */
.section__title {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--spacing-lg);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

/* Consistent Description Styling */
.section__description {
  font-size: var(--font-size-lg);
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
  font-weight: 400;
}

/* Responsive Typography for Sections */
@media (max-width: 768px) {
  .section {
    padding: var(--spacing-3xl) 0;
  }
  
  .section__header {
    margin-bottom: var(--spacing-3xl);
  }
  
  .section__title {
    font-size: var(--font-size-3xl);
    margin-bottom: var(--spacing-md);
  }
  
  .section__description {
    font-size: var(--font-size-base);
  }
}

@media (max-width: 480px) {
  .section {
    padding: var(--spacing-2xl) 0;
  }
  
  .section__header {
    margin-bottom: var(--spacing-2xl);
  }
  
  .section__title {
    font-size: var(--font-size-2xl);
  }
  
  .section__subtitle {
    font-size: var(--font-size-xs);
  }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md) var(--spacing-xl);
  font-size: var(--font-size-base);
  font-weight: 600;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
  color: var(--white);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ===== MODERN HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  z-index: var(--z-fixed);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, background-color;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.02) 0%, rgba(245, 158, 11, 0.02) 100%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.header.scrolled .header__overlay {
  opacity: 1;
}

/* ===== MODERN NAVIGATION ===== */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  position: relative;
}

/* ===== BRAND SECTION ===== */
.nav__brand {
  position: relative;
  z-index: 10;
}

.nav__brand-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav__brand-link:hover {
  transform: translateY(-1px);
}

.nav__logo-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.nav__logo-container:hover {
  background: rgba(37, 99, 235, 0.05);
}

.nav__logo {
  height: 52px;
  width: auto;
  transition: all 0.3s ease;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.nav__title {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
  font-family: 'Inter', sans-serif;
}

/* ===== NAVIGATION MENU ===== */
.nav__menu {
  position: relative;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__list li {
  position: relative;
}

.nav__link {
  display: inline-block;
  padding: var(--spacing-sm) 0;
  font-weight: 500;
  font-size: var(--font-size-base);
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #15a1b0;
  transition: width 0.3s ease;
}

.nav__link:hover {
  color: #15a1b0;
}

.nav__link:hover::after {
  width: 100%;
}

.nav__link.active {
  color: #15a1b0;
  font-weight: 600;
}

.nav__link.active::after {
  width: 100%;
}

.nav__link--cta {
  background: none;
  color: #15a1b0;
  font-weight: 600;
  border: 2px solid #15a1b0;
  border-radius: var(--radius-full);
  padding: var(--spacing-sm) var(--spacing-lg);
  margin-left: var(--spacing-md);
}

.nav__link--cta::after {
  display: none;
}

.nav__link--cta:hover {
  background: #15a1b0;
  color: var(--white);
  transform: translateY(-1px);
}

/* ===== DROPDOWN MENU ===== */
.nav__dropdown {
  position: relative;
}

.nav__dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav__dropdown-icon {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.nav__dropdown:hover .nav__dropdown-icon,
.nav__dropdown.active .nav__dropdown-icon {
  transform: rotate(180deg);
}

.nav__dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  padding: 0.75rem;
  margin-top: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: var(--z-dropdown);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

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

.nav__dropdown-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.875rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.nav__dropdown-link:hover {
  background: linear-gradient(135deg, rgba(21, 161, 176, 0.08), rgba(21, 161, 176, 0.12));
  color: #15a1b0;
  transform: translateX(4px);
}

.nav__dropdown-link.active {
  background: linear-gradient(135deg, #15a1b0, #127a85);
  color: white;
}

.nav__dropdown-link i {
  font-size: 1.1rem;
  color: #15a1b0;
  width: 20px;
  text-align: center;
}

.nav__dropdown-link.active i {
  color: white;
}

.nav__dropdown-link span {
  font-size: 0.95rem;
}

/* Mobile Dropdown Styles */
@media screen and (max-width: 767px) {
  .nav__dropdown-menu {
    position: static;
    width: 100%;
    background: rgba(21, 161, 176, 0.05);
    border-radius: 8px;
    box-shadow: none;
    margin: 0.5rem 0;
    padding: 0.5rem;
    opacity: 1;
    visibility: visible;
    transform: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
  }
  
  .nav__dropdown.active .nav__dropdown-menu {
    max-height: 400px;
    padding: 0.75rem;
  }
  
  .nav__dropdown-link {
    padding: 0.75rem;
    margin-bottom: 0.25rem;
    background: white;
    border-radius: 6px;
    border: 1px solid rgba(21, 161, 176, 0.1);
  }
  
  .nav__dropdown-link:hover {
    transform: none;
    background: #15a1b0;
    color: white;
  }
  
  .nav__dropdown-link:hover i {
    color: white;
  }
}

/* ===== THEME TOGGLE ===== */
.nav__theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(37, 99, 235, 0.1);
  border: none;
  border-radius: 12px;
  color: var(--primary-color);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-left: 1rem;
}

.nav__theme-toggle:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

/* ===== MOBILE MENU TOGGLE ===== */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: 1rem;
  transition: all 0.3s ease;
}

.nav__toggle-line {
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

.nav__toggle-line:not(:last-child) {
  margin-bottom: 5px;
}

.nav__toggle:hover .nav__toggle-line {
  background: var(--primary-color);
}

.nav__toggle.active .nav__toggle-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.nav__toggle.active .nav__toggle-line:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.nav__toggle.active .nav__toggle-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.nav__close {
  display: none;
  position: absolute;
  top: var(--spacing-lg);
  right: var(--spacing-lg);
  width: 40px;
  height: 40px;
  background: none;
  border: 2px solid var(--text-primary);
  border-radius: 50%;
  color: var(--text-primary);
  cursor: pointer;
  font-size: var(--font-size-lg);
  transition: all 0.3s ease;
}

.nav__close:hover {
  border-color: #15a1b0;
  color: #15a1b0;
  transform: rotate(90deg);
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--bg-primary) url('../images/background.png') center/cover no-repeat;
  position: relative;
  padding: var(--spacing-6xl) 0;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.85);
  z-index: 1;
  animation: backgroundPulse 8s ease-in-out infinite;
}

/* Animated background particles */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(21, 161, 176, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(21, 161, 176, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(21, 161, 176, 0.05) 0%, transparent 50%);
  z-index: 1;
  animation: particleFloat 15s ease-in-out infinite;
}

.hero__container {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.hero__content {
  text-align: center;
  padding: var(--spacing-sm) var(--spacing-md);
  max-width: 840px;
  width: 100%;
  margin: 0 auto;
}

.hero__title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: var(--spacing-lg);
  color: var(--text-primary);
  letter-spacing: -0.02em;
  animation: titleReveal 1.2s ease-out 0.2s both;
  transform-origin: center;
}

.hero__title-accent {
  color: #15a1b0;
  position: relative;
  animation: accentGlow 2s ease-in-out 0.8s both, textShimmer 3s ease-in-out 2s infinite;
  background: linear-gradient(45deg, #15a1b0, #1291a0, #15a1b0);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__title-accent::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #15a1b0, #1291a0);
  border-radius: 2px;
  animation: expandWidth 1.2s ease-out 1s both, glowPulse 2s ease-in-out 2.5s infinite;
  box-shadow: 0 0 10px rgba(21, 161, 176, 0.5);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes expandWidth {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

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

.hero__description {
  font-size: var(--font-size-xl);
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto var(--spacing-2xl);
  line-height: 1.6;
  font-weight: 400;
  animation: fadeInSlide 1s ease-out 0.6s both;
  transform: translateY(10px);
}

.hero__cta {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
  margin-top: var(--spacing-md);
  animation: ctaReveal 1.2s ease-out 1s both;
}

.hero__btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-lg) var(--spacing-2xl);
  background: linear-gradient(135deg, #15a1b0, #1291a0);
  color: var(--white);
  text-decoration: none;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: var(--font-size-lg);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 20px rgba(21, 161, 176, 0.3);
  transform: translateY(0) scale(1);
  animation: buttonFloat 4s ease-in-out infinite;
  animation-delay: 1.5s;
  position: relative;
  overflow: hidden;
}

.hero__btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.hero__btn-primary:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 40px rgba(21, 161, 176, 0.5);
  background: linear-gradient(135deg, #1291a0, #15a1b0);
}

.hero__btn-primary:hover::before {
  left: 100%;
}

.hero__btn-primary:active {
  transform: translateY(-2px) scale(1.02);
}

.hero__btn-primary i {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero__btn-primary:hover i {
  transform: translateX(6px) rotate(15deg);
}

.hero__btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: var(--spacing-lg) var(--spacing-xl);
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  font-size: var(--font-size-lg);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid transparent;
  border-radius: var(--radius-full);
  position: relative;
  overflow: hidden;
  animation: secondaryButtonFloat 5s ease-in-out infinite;
  animation-delay: 2s;
}

.hero__btn-secondary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(21, 161, 176, 0.1), rgba(18, 145, 160, 0.1));
  border-radius: var(--radius-full);
  transform: scale(0);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: -1;
}

.hero__btn-secondary:hover {
  color: #15a1b0;
  transform: translateY(-2px) scale(1.02);
  border-color: rgba(21, 161, 176, 0.3);
}

.hero__btn-secondary:hover::before {
  transform: scale(1);
}

.hero__btn-secondary::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #15a1b0, #1291a0);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform: translateX(-50%);
  border-radius: 1px;
}

.hero__btn-secondary:hover::after {
  width: 100%;
}

.stat {
  text-align: center;
  padding: var(--spacing-lg);
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(10px);
}

.stat__number {
  display: block;
  font-size: var(--font-size-3xl);
  font-weight: 900;
  color: var(--accent-light);
  margin-bottom: var(--spacing-sm);
}

.stat__label {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===== ABOUT US SECTION ===== */
.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.about__image img {
    width: 100%;
    border-radius: var(--border-radius-lg);
}

.about__content .about__description {
    margin-bottom: 1.5rem;
}

/* Responsive adjustments for the about section */
@media (max-width: 768px) {
    .about__grid {
        grid-template-columns: 1fr;
    }
}

/* ===== SERVICES SECTION ===== */


/* Modern geometric background elements */
.services::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: 
    /* Animated geometric shapes */
    radial-gradient(ellipse 800px 600px at 10% 20%, rgba(21, 161, 176, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 600px 400px at 90% 80%, rgba(50, 50, 50, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse 400px 300px at 70% 30%, rgba(21, 161, 176, 0.06) 0%, transparent 50%);
  animation: float 20s ease-in-out infinite;
  z-index: 1;
  pointer-events: none;
}

/* Floating animation for background elements */
@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(-20px, -10px) rotate(1deg); }
  50% { transform: translate(10px, -20px) rotate(-1deg); }
  75% { transform: translate(-10px, 10px) rotate(0.5deg); }
}

/* ===== ANIMATED BACKGROUND ELEMENTS ===== */

/* Background Container */
.services__background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

/* Particles Animation */
.services__particles {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.particle {
  position: absolute;
  background: radial-gradient(circle, rgba(21, 161, 176, 0.6) 0%, rgba(21, 161, 176, 0.2) 50%, transparent 100%);
  border-radius: 50%;
  animation: particleFloat 15s infinite ease-in-out;
}

.particle--1 {
  width: 8px;
  height: 8px;
  top: 10%;
  left: 15%;
  animation-delay: 0s;
  animation-duration: 12s;
}

.particle--2 {
  width: 12px;
  height: 12px;
  top: 25%;
  left: 75%;
  animation-delay: -2s;
  animation-duration: 18s;
}

.particle--3 {
  width: 6px;
  height: 6px;
  top: 60%;
  left: 20%;
  animation-delay: -4s;
  animation-duration: 14s;
}

.particle--4 {
  width: 10px;
  height: 10px;
  top: 80%;
  left: 85%;
  animation-delay: -6s;
  animation-duration: 16s;
}

.particle--5 {
  width: 14px;
  height: 14px;
  top: 40%;
  left: 60%;
  animation-delay: -8s;
  animation-duration: 20s;
}

.particle--6 {
  width: 7px;
  height: 7px;
  top: 15%;
  left: 45%;
  animation-delay: -10s;
  animation-duration: 13s;
}

.particle--7 {
  width: 9px;
  height: 9px;
  top: 70%;
  left: 10%;
  animation-delay: -12s;
  animation-duration: 17s;
}

.particle--8 {
  width: 11px;
  height: 11px;
  top: 35%;
  left: 90%;
  animation-delay: -14s;
  animation-duration: 15s;
}

@keyframes particleFloat {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.7;
  }
  25% {
    transform: translate(-30px, -40px) scale(1.2);
    opacity: 1;
  }
  50% {
    transform: translate(40px, -60px) scale(0.8);
    opacity: 0.5;
  }
  75% {
    transform: translate(-20px, 30px) scale(1.1);
    opacity: 0.8;
  }
}

/* Geometric Shapes Animation */
.services__shapes {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.shape {
  position: absolute;
  animation: shapeFloat 20s infinite ease-in-out;
}

.shape--circle {
  border-radius: 50%;
  background: linear-gradient(45deg, rgba(21, 161, 176, 0.1), rgba(21, 161, 176, 0.3));
}

.shape--triangle {
  width: 0;
  height: 0;
  background: transparent;
}

.shape--triangle::before {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-bottom: 26px solid rgba(21, 161, 176, 0.2);
  top: -13px;
  left: -15px;
}

.shape--square {
  background: linear-gradient(135deg, rgba(21, 161, 176, 0.15), rgba(21, 161, 176, 0.05));
  transform: rotate(45deg);
}

.shape--1 {
  width: 40px;
  height: 40px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.shape--2 {
  width: 30px;
  height: 30px;
  top: 70%;
  left: 80%;
  animation-delay: -5s;
}

.shape--3 {
  width: 25px;
  height: 25px;
  top: 45%;
  left: 25%;
  animation-delay: -10s;
}

.shape--4 {
  width: 35px;
  height: 35px;
  top: 15%;
  left: 70%;
  animation-delay: -15s;
}

.shape--5 {
  width: 28px;
  height: 28px;
  top: 85%;
  left: 40%;
  animation-delay: -20s;
}

@keyframes shapeFloat {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
    opacity: 0.6;
  }
  25% {
    transform: translate(-50px, -30px) rotate(90deg) scale(1.3);
    opacity: 0.8;
  }
  50% {
    transform: translate(60px, -80px) rotate(180deg) scale(0.7);
    opacity: 0.4;
  }
  75% {
    transform: translate(-30px, 40px) rotate(270deg) scale(1.1);
    opacity: 0.7;
  }
}

/* Wave Animation */
.services__waves {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.wave {
  position: absolute;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse 800px 400px, rgba(21, 161, 176, 0.05) 0%, transparent 50%);
  animation: waveMove 25s infinite linear;
}

.wave--1 {
  top: -50%;
  left: -50%;
  animation-delay: 0s;
}

.wave--2 {
  top: -50%;
  left: -50%;
  animation-delay: -8s;
  background: radial-gradient(ellipse 600px 300px, rgba(21, 161, 176, 0.03) 0%, transparent 50%);
}

.wave--3 {
  top: -50%;
  left: -50%;
  animation-delay: -16s;
  background: radial-gradient(ellipse 1000px 500px, rgba(21, 161, 176, 0.02) 0%, transparent 50%);
}

@keyframes waveMove {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  100% {
    transform: translate(-100px, -50px) rotate(360deg);
  }
}

/* Pulse Animation for Enhanced Effect */
@keyframes pulse {
  0%, 100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

/* Additional floating elements */
.services__background::before {
  content: '';
  position: absolute;
  top: 30%;
  right: 15%;
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, rgba(21, 161, 176, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse 8s infinite ease-in-out;
}

.services__background::after {
  content: '';
  position: absolute;
  bottom: 20%;
  left: 25%;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(21, 161, 176, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse 12s infinite ease-in-out;
  animation-delay: -4s;
}

/* ===== PERFORMANCE OPTIMIZATIONS ===== */

/* Hardware acceleration for smooth animations */
.services__background,
.particle,
.shape,
.wave {
  will-change: transform, opacity;
  transform: translateZ(0);
  backface-visibility: hidden;
  perspective: 1000px;
}

/* ===== ACCESSIBILITY & REDUCED MOTION ===== */

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
  .services__background,
  .particle,
  .shape,
  .wave,
  .services::before,
  .services__background::before,
  .services__background::after {
    animation: none !important;
    transform: none !important;
  }
  
  /* Provide subtle static alternatives */
  .particle {
    opacity: 0.3;
    transform: scale(0.8);
  }
  
  .shape {
    opacity: 0.2;
    transform: scale(0.9);
  }
  
  .wave {
    opacity: 0.1;
  }
}

/* ===== RESPONSIVE DESIGN FOR ANIMATIONS ===== */

/* Tablet adjustments */
@media (max-width: 768px) {
  .particle {
    animation-duration: 10s;
  }
  
  .shape {
    animation-duration: 15s;
  }
  
  .wave {
    animation-duration: 20s;
  }
  
  /* Reduce particle count on smaller screens */
  .particle--7,
  .particle--8 {
    display: none;
  }
  
  .shape--4,
  .shape--5 {
    display: none;
  }
}

/* Mobile adjustments */
@media (max-width: 480px) {
  .services__background {
    opacity: 0.7;
  }
  
  /* Further reduce elements for performance */
  .particle--5,
  .particle--6 {
    display: none;
  }
  
  .shape--3 {
    display: none;
  }
  
  .wave--3 {
    display: none;
  }
  
  /* Simplify remaining animations */
  .particle {
    animation-duration: 8s;
  }
  
  .shape {
    animation-duration: 12s;
  }
}

/* Additional decorative elements */
.services::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    /* Subtle grid pattern */
    linear-gradient(90deg, rgba(21, 161, 176, 0.02) 1px, transparent 1px),
    linear-gradient(rgba(21, 161, 176, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.5;
  z-index: 1;
  pointer-events: none;
}

/* Services Container */
.services .container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Services Carousel */
.services__carousel {
  margin-top: var(--spacing-xl);
  position: relative;
  z-index: 3;
  width: 100%;
}

/* Ensure section header is above background elements */
.services .section__header {
  position: relative;
  z-index: 3;
  margin-top: 0;
  padding-top: 0;
  margin-bottom: var(--spacing-2xl);
}
/* Center description text within Services section */
.services .section__description {
  text-align: center;
}



.service__card {
  position: relative;
  height: 100%;
  width: 100%;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  flex: 1;
  min-width: 0;
  perspective: 1000px;
  transform-style: preserve-3d;
}

.service__card:hover {
  transform: translateY(-8px);
}

.service__card-inner {
  background: 
    linear-gradient(135deg, 
      rgba(255, 255, 255, 0.95) 0%,
      rgba(255, 255, 255, 0.85) 30%,
      rgba(255, 255, 255, 0.9) 70%,
      rgba(255, 255, 255, 0.98) 100%
    );
  backdrop-filter: blur(30px) saturate(200%);
  -webkit-backdrop-filter: blur(30px) saturate(200%);
  border: 2px solid transparent;
  background-clip: padding-box;
  border-radius: 32px;
  /* Extra top padding to prevent top clipping of icon glow */
  padding: calc(var(--spacing-2xl) + 12px) var(--spacing-xl);
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    0 12px 40px rgba(21, 161, 176, 0.1),
    0 6px 20px rgba(21, 161, 176, 0.06),
    0 3px 8px rgba(0, 0, 0, 0.05),
    0 1px 3px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(21, 161, 176, 0.12);
  display: flex;
  flex-direction: column;
  z-index: 2;
}

.service__card-inner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 32px;
  padding: 2px;
  background: linear-gradient(
    135deg,
    rgba(21, 161, 176, 0.3) 0%,
    rgba(21, 161, 176, 0.1) 25%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(21, 161, 176, 0.1) 75%,
    rgba(21, 161, 176, 0.3) 100%
  );
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: xor;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.service__card-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(21, 161, 176, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(21, 161, 176, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 60% 20%, rgba(255, 255, 255, 0.3) 0%, transparent 30%),
    linear-gradient(
      135deg,
      rgba(21, 161, 176, 0.03) 0%,
      rgba(21, 161, 176, 0.08) 50%,
      rgba(21, 161, 176, 0.03) 100%
    );
  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: 1;
}



.service__card:hover .service__card-inner {
  transform: translateY(-4px);
  box-shadow: 
    0 20px 40px rgba(21, 161, 176, 0.15),
    0 8px 16px rgba(21, 161, 176, 0.1);
  border-color: rgba(21, 161, 176, 0.3);
}

.service__card:hover .service__card-inner::before {
  opacity: 0.5;
}

.service__card:hover .service__card-inner::after {
  opacity: 0.7;
}



.service__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    transparent 0%,
    rgba(21, 161, 176, 0.05) 50%,
    rgba(21, 161, 176, 0.1) 100%
  );
  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.service__overlay::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 70%
  );
  transform: translateX(-100%) translateY(-100%) rotate(45deg);
  transition: transform 0.8s ease;
}

.service__card:hover .service__overlay {
  opacity: 0.6;
}

.service__content {
  position: relative;
  z-index: 3;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service__icon-wrapper {
  position: relative;
  margin-bottom: var(--spacing-xl);
  z-index: 3;
  display: flex;
  justify-content: center;
}

.service__icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--accent-color) 0%, #1291a0 100%);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    0 8px 24px rgba(21, 161, 176, 0.25),
    0 2px 8px rgba(21, 161, 176, 0.15);
}

.service__icon-bg {
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  background: linear-gradient(135deg, rgba(21, 161, 176, 0.1) 0%, rgba(18, 145, 160, 0.1) 100%);
  border-radius: 28px;
  opacity: 0;
  transition: all 0.6s ease;
  z-index: -1;
}

.service__card:hover .service__icon {
  transform: scale(1.05);
  box-shadow: 
    0 12px 24px rgba(21, 161, 176, 0.3),
    0 4px 8px rgba(21, 161, 176, 0.2);
}

.service__card:hover .service__icon-bg {
  opacity: 0.8;
}

.service__icon i {
  font-size: 32px;
  color: var(--white);
  transition: all 0.3s ease;
}

.service__card:hover .service__icon i {
  transform: scale(1.02);
}

.service__title {
  font-size: 24px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--spacing-lg);
  line-height: 1.3;
  transition: color 0.3s ease;
  text-align: center;
}

.service__card:hover .service__title {
  color: var(--accent-color);
}

.service__description {
  color: var(--gray-600);
  margin-bottom: var(--spacing-xl);
  line-height: 1.7;
  font-size: 16px;
  transition: color 0.3s ease;
  flex-grow: 1;
  text-align: center;
}

.service__card:hover .service__description {
  color: var(--gray-700);
}

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

.service__feature {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
  color: var(--gray-700);
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.service__feature:last-child {
  margin-bottom: 0;
}

.service__card:hover .service__feature {
  color: var(--gray-800);
  transform: translateX(2px);
}

.service__check {
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, rgba(21, 161, 176, 0.1) 0%, rgba(21, 161, 176, 0.2) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
  border: 1px solid rgba(21, 161, 176, 0.2);
}

.service__check i {
  color: var(--accent-color);
  font-size: 12px;
  font-weight: 600;
}

.service__card:hover .service__check {
  background: linear-gradient(135deg, var(--accent-color) 0%, #1291a0 100%);
  border-color: var(--accent-color);
  transform: scale(1.05);
}

.service__card:hover .service__check i {
  color: var(--white);
}

/* ===== PORTFOLIO SECTION ===== */
.portfolio__filters {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-3xl);
  flex-wrap: wrap;
}

.portfolio__filter {
  padding: var(--spacing-sm) var(--spacing-lg);
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-full);
  font-weight: 500;
  color: var(--gray-600);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.portfolio__filter::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.portfolio__filter:hover::before {
  left: 100%;
}

.portfolio__filter:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.portfolio__filter.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
}

.portfolio__filter:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}

.portfolio__filter.filtering {
  pointer-events: none;
  opacity: 0.7;
}

.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--spacing-xl);
  align-items: start;
}

.portfolio__item {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 1;
  transform: translateY(0) scale(1);
  visibility: visible;
}

.portfolio__item.filtering-out {
  opacity: 0;
  transform: translateY(-20px) scale(0.95);
  visibility: hidden;
}

.portfolio__item.filtering-in {
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  animation: portfolioFadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.portfolio__item.hidden {
  opacity: 0;
  transform: translateY(-20px) scale(0.95);
  visibility: hidden;
  pointer-events: none;
}

@keyframes portfolioFadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
  .portfolio__item {
    transition: opacity 0.2s ease-out;
  }
  
  .portfolio__item.filtering-out {
    transform: none;
  }
  
  .portfolio__item.filtering-in {
    animation: none;
    transform: none;
  }
  
  .portfolio__filter {
    transition: background-color 0.2s ease-out, color 0.2s ease-out;
  }
  
  .portfolio__filter::before {
    display: none;
  }
  
  .portfolio__filter:hover {
    transform: none;
  }
}

.portfolio__card {
  background: var(--white);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
}

.portfolio__card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-2xl);
}

.portfolio__image {
  height: 200px;
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
}

.portfolio__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--white);
  text-align: center;
  padding: var(--spacing-lg);
}

.portfolio__placeholder i {
  font-size: var(--font-size-3xl);
  margin-bottom: var(--spacing-md);
}

.portfolio__placeholder h4 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
  color: var(--white);
}

.portfolio__placeholder p {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.portfolio__content {
  padding: var(--spacing-xl) var(--spacing-lg);
}

.portfolio__title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: var(--spacing-sm);
  line-height: 1.4;
}

.portfolio__description {
  color: var(--gray-600);
  margin-bottom: var(--spacing-lg);
  line-height: 1.6;
  font-weight: 400;
}

.portfolio__tags {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
}

.tag {
  padding: var(--spacing-xs) var(--spacing-sm);
  background: var(--gray-100);
  color: var(--gray-700);
  font-size: var(--font-size-xs);
  font-weight: 500;
  border-radius: var(--radius-sm);
}
/* ===== PORTFOLIO – MODERN REFRESH ===== */

/*=============== CONSULTATION HERO SECTION ===============*/
.consultation-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: var(--spacing-6xl) 0;
  margin-top: 80px;
  position: relative;
  overflow: hidden;
}

.consultation-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 70%, rgba(21, 161, 176, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 70% 30%, rgba(37, 211, 102, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.consultation-hero__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-4xl);
  align-items: center;
  position: relative;
  z-index: 2;
}

.consultation-hero__text {
  animation: fadeInUp 0.8s ease-out;
}

.consultation-hero__title {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  line-height: 1.2;
}

.consultation-hero__title i {
  color: #15a1b0;
  font-size: 3rem;
  animation: bounce 2s infinite;
}

.consultation-hero__subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  color: #15a1b0;
  margin-bottom: var(--spacing-md);
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.consultation-hero__description {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--spacing-2xl);
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.consultation-hero__buttons {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.consultation-hero__image {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 0.8s ease-out 0.3s both;
}

.consultation-hero__visual {
  position: relative;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: linear-gradient(135deg, #15a1b0, #1291a0);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 60px rgba(21, 161, 176, 0.3);
  animation: float 3s ease-in-out infinite;
}

.consultation-hero__img {
  width: 80%;
  height: 80%;
  object-fit: contain;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2));
  animation: pulse 2s infinite;
}

.consultation-hero__visual::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(21, 161, 176, 0.1), rgba(37, 211, 102, 0.1));
  animation: rotate 20s linear infinite;
  z-index: -1;
}

/* Enhanced Button Styles for Consultation Hero */
.consultation-hero .btn--primary {
  background: linear-gradient(135deg, #25D366, #22c55e);
  color: white;
  border: none;
  padding: var(--spacing-lg) var(--spacing-2xl);
  font-size: var(--font-size-lg);
  font-weight: 600;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.consultation-hero .btn--primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.consultation-hero .btn--primary:hover::before {
  left: 100%;
}

.consultation-hero .btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.4);
}

.consultation-hero .btn--outline {
  background: transparent;
  color: #15a1b0;
  border: 2px solid #15a1b0;
  padding: var(--spacing-lg) var(--spacing-2xl);
  font-size: var(--font-size-lg);
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.consultation-hero .btn--outline::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(21, 161, 176, 0.1), transparent);
  transition: left 0.5s;
}

.consultation-hero .btn--outline:hover::before {
  left: 100%;
}

.consultation-hero .btn--outline:hover {
  background: #15a1b0;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(21, 161, 176, 0.3);
}

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

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes bounce {
  0%, 20%, 53%, 80%, 100% {
    transform: translateY(0);
  }
  40%, 43% {
    transform: translateY(-8px);
  }
  70% {
    transform: translateY(-4px);
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* Floating Cards for Consultation Hero */
.consultation-hero__visual {
  position: relative;
  width: 400px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-card {
  position: absolute;
  background: white;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 180px;
  z-index: 10;
  animation: float 3s ease-in-out infinite;
}

.floating-card i {
  font-size: 2rem;
  color: #15a1b0;
}

.floating-card__number {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0A2540;
  line-height: 1;
}

.floating-card__label {
  font-size: 0.9rem;
  color: #666;
  font-weight: 500;
}

.floating-card:nth-child(1) {
  top: 20px;
  left: -20px;
  animation-delay: 0s;
}

.floating-card--2 {
  top: 50%;
  right: -30px;
  transform: translateY(-50%);
  animation-delay: 1s;
}

.floating-card--3 {
  bottom: 20px;
  left: 10px;
  animation-delay: 2s;
}

/* Responsive Design for Consultation Hero */
@media (max-width: 768px) {
  .consultation-hero {
    min-height: 80vh;
    padding: var(--spacing-4xl) 0;
  }
  
  .consultation-hero__content {
    grid-template-columns: 1fr;
    gap: var(--spacing-2xl);
    text-align: center;
  }
  
  .consultation-hero__title {
    font-size: 2.5rem;
    justify-content: center;
  }
  
  .consultation-hero__title i {
    font-size: 2rem;
  }
  
  .consultation-hero__subtitle {
    font-size: 1.2rem;
  }
  
  .consultation-hero__description {
    font-size: var(--font-size-base);
  }
  
  .consultation-hero__visual {
    width: 300px;
    height: 300px;
  }
  
  .consultation-hero__buttons {
    justify-content: center;
  }
  
  .consultation-hero .btn--primary,
  .consultation-hero .btn--outline {
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: var(--font-size-base);
  }
}

@media (max-width: 480px) {
  .consultation-hero {
    min-height: 70vh;
    padding: var(--spacing-3xl) 0;
  }
  
  .consultation-hero__title {
    font-size: 2rem;
    flex-direction: column;
    gap: var(--spacing-sm);
  }
  
  .consultation-hero__title i {
    font-size: 1.8rem;
  }
  
  .consultation-hero__subtitle {
    font-size: 1.1rem;
  }
  
  .consultation-hero__visual {
    width: 250px;
    height: 250px;
  }
  
  .consultation-hero__buttons {
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
  }
  
  .consultation-hero .btn--primary,
  .consultation-hero .btn--outline {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}
/* Filters: pill, glassy, subtle motion */
.portfolio__filters {
  gap: var(--spacing-lg);
}

.portfolio__filter {
  border: 1px solid rgba(21, 161, 176, 0.2);
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  box-shadow: 0 6px 16px rgba(21, 161, 176, 0.08);
  letter-spacing: 0.01em;
  transition: all 0.25s ease;
}

.portfolio__filter:hover,
.portfolio__filter.active {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(21, 161, 176, 0.18);
}

.portfolio__filter:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(21, 161, 176, 0.25);
}

/* Card: glassmorphism, accent bar, refined hover */
.portfolio__card {
  position: relative;
  background:
    linear-gradient(135deg,
      rgba(255, 255, 255, 0.96) 0%,
      rgba(255, 255, 255, 0.88) 40%,
      rgba(255, 255, 255, 0.98) 100%);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(21, 161, 176, 0.12);
  box-shadow:
    0 10px 30px rgba(21, 161, 176, 0.10),
    0 6px 18px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.portfolio__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), #1291a0);
  opacity: 0.7;
}

.portfolio__card:hover {
  transform: translateY(-10px);
  box-shadow:
    0 16px 44px rgba(21, 161, 176, 0.18),
    0 8px 24px rgba(0, 0, 0, 0.08);
  border-color: rgba(21, 161, 176, 0.22);
}

/* Image/placeholder: center and accent */
.portfolio__image {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 20% 30%, rgba(21, 161, 176, 0.14) 0%, transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(21, 161, 176, 0.10) 0%, transparent 50%),
    var(--gradient-primary);
}

.portfolio__placeholder i {
  font-size: var(--font-size-4xl);
}

/* Content: clean center layout */
.portfolio__content {
  text-align: center;
}

.portfolio__title {
  text-align: center;
  letter-spacing: -0.01em;
}

.portfolio__description {
  text-align: center;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.portfolio__tags {
  justify-content: center;
}

.tag {
  border-radius: var(--radius-full);
  background: rgba(21, 161, 176, 0.08);
  border: 1px solid rgba(21, 161, 176, 0.15);
  color: var(--gray-800);
  transition: all 0.25s ease;
}

.tag:hover {
  transform: translateY(-1px);
  background: rgba(21, 161, 176, 0.12);
  border-color: rgba(21, 161, 176, 0.25);
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
  background: var(--gray-50);
}

.testimonials__slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto var(--spacing-2xl);
}

.testimonial__card {
  display: none;
  background: var(--white);
  padding: var(--spacing-2xl) var(--spacing-xl);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.testimonial__card.active {
  display: block;
}

.testimonial__stars {
  display: flex;
  justify-content: center;
  gap: var(--spacing-xs);
  margin-bottom: var(--spacing-lg);
}

.testimonial__stars i {
  color: var(--accent-color);
  font-size: var(--font-size-lg);
}

.testimonial__text {
  font-size: var(--font-size-lg);
  color: var(--gray-700);
  line-height: 1.6;
  margin-bottom: var(--spacing-2xl);
  font-style: italic;
  font-weight: 400;
}

.testimonial__author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-lg);
}

.testimonial__avatar {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial__avatar i {
  font-size: var(--font-size-xl);
  color: var(--white);
}

.testimonial__info {
  text-align: left;
}

.testimonial__name {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: var(--spacing-xs);
  line-height: 1.4;
}

.testimonial__position {
  font-size: var(--font-size-sm);
  color: var(--gray-500);
  line-height: 1.4;
  font-weight: 400;
}

.testimonials__navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-lg);
}

.testimonial__nav {
  width: 50px;
  height: 50px;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.testimonial__nav:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white);
}

.testimonial__dots {
  display: flex;
  gap: var(--spacing-sm);
}

.testimonial__dot {
  width: 12px;
  height: 12px;
  background: var(--gray-300);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-fast);
}

.testimonial__dot.active {
  background: var(--primary-color);
}

/* ===== CONTACT SECTION ===== */
.contact__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: start;
}

.contact__card {
  display: flex;
  gap: var(--spacing-lg);
  padding: var(--spacing-xl) var(--spacing-lg);
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  margin-bottom: var(--spacing-lg);
  transition: var(--transition-normal);
}

.contact__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.contact__icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact__icon i {
  font-size: var(--font-size-xl);
  color: var(--white);
}

.contact__details h3 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: var(--spacing-sm);
  line-height: 1.4;
}

.contact__details p {
  color: var(--gray-600);
  margin: 0;
  line-height: 1.6;
  font-weight: 400;
}

.contact__social {
  padding: var(--spacing-xl) var(--spacing-lg);
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.contact__social h3 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: var(--spacing-lg);
  line-height: 1.4;
}

.social__links {
  display: flex;
  gap: var(--spacing-md);
}

.social__link {
  width: 50px;
  height: 50px;
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-600);
  transition: var(--transition-fast);
}

.social__link:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
}

/* ===== FORM STYLES ===== */
.contact__form {
  background: var(--white);
  padding: var(--spacing-3xl);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
}

.form__group {
  position: relative;
  margin-bottom: var(--spacing-xl);
}

.form__input,
.form__textarea,
.form__select {
  width: 100%;
  padding: var(--spacing-lg) var(--spacing-md);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  font-size: var(--font-size-base);
  font-family: inherit;
  background: var(--white);
  transition: var(--transition-fast);
}

.form__input:focus,
.form__textarea:focus,
.form__select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.form__label {
  position: absolute;
  top: var(--spacing-lg);
  left: var(--spacing-md);
  color: var(--gray-500);
  font-size: var(--font-size-base);
  pointer-events: none;
  transition: var(--transition-fast);
  background: var(--white);
  padding: 0 var(--spacing-xs);
}

.form__input:focus + .form__label,
.form__input:not(:placeholder-shown) + .form__label,
.form__textarea:focus + .form__label,
.form__textarea:not(:placeholder-shown) + .form__label,
.form__select:focus + .form__label,
.form__select:not([value=""]) + .form__label {
  top: -8px;
  left: var(--spacing-sm);
  font-size: var(--font-size-sm);
  color: var(--primary-color);
}

.form__error {
  display: block;
  color: #ef4444;
  font-size: var(--font-size-sm);
  margin-top: var(--spacing-xs);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--gray-900);
  color: var(--white);
  padding: var(--spacing-4xl) 0 var(--spacing-xl);
}

.footer__content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--spacing-2xl);
  margin-bottom: var(--spacing-3xl);
  align-items: start;
}

.footer__brand {
  max-width: 400px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.footer__logo-img {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer__title {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--white);
  line-height: 1.4;
}

.footer__description {
  color: var(--gray-300);
  margin-bottom: var(--spacing-lg);
  line-height: 1.6;
  font-weight: 400;
}

.footer__social {
  display: flex;
  gap: var(--spacing-md);
}

.footer__social-link {
  width: 45px;
  height: 45px;
  background: var(--gray-800);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-300);
  transition: var(--transition-fast);
}

.footer__social-link:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
}

.footer__links h3 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--spacing-lg);
  line-height: 1.4;
}

.footer__list {
  list-style: none;
}

.footer__list li {
  margin-bottom: var(--spacing-sm);
}

.footer__link {
  color: var(--gray-300);
  transition: var(--transition-fast);
  line-height: 1.6;
  font-weight: 400;
}

.footer__link:hover {
  color: var(--primary-light);
}

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
  color: var(--gray-300);
  line-height: 1.6;
  font-weight: 400;
}

.footer__contact-item i {
  color: var(--primary-light);
  width: 20px;
}

.footer__bottom {
  border-top: 1px solid var(--gray-800);
  padding-top: var(--spacing-xl);
  text-align: center;
}

.footer__copyright {
  color: var(--gray-400);
  margin: 0;
  line-height: 1.6;
  font-weight: 400;
}

.footer__copyright i {
  color: #ef4444;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .hero__title {
    font-size: 3rem;
  }
  
  .section__title {
    font-size: 2.5rem;
  }
}

@media (max-width: 1024px) {
  .container {
    padding: 0 var(--spacing-lg);
  }
  
  .hero__title {
    font-size: var(--font-size-5xl);
  }
  
  .section__title {
    font-size: var(--font-size-3xl);
  }
  
  .contact__container {
    grid-template-columns: 1fr;
    gap: var(--spacing-2xl);
  }
  
  .footer__content {
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
  }
}

@media (max-width: 992px) {
  .container {
    max-width: 960px;
    padding: 0 1.5rem;
  }
  
  .nav__list {
    gap: 0.25rem;
  }
  
  .nav__link {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }
  
  .nav__icon {
    font-size: 0.8rem;
  }
  
  .nav__theme-toggle {
    width: 40px;
    height: 40px;
    margin-left: 0.75rem;
  }
  
  .hero {
    padding: var(--spacing-5xl) 0;
  }
  
  .hero__container {
    max-width: 700px;
  }
  
  .hero__title {
    font-size: clamp(2.2rem, 4.5vw, 3rem);
  }
  
  .hero__cta {
    flex-direction: row;
    gap: var(--spacing-lg);
  }
  
  .hero__btn-primary,
  .hero__btn-secondary {
    width: auto;
    max-width: none;
  }
  
  .section__title {
    font-size: 2rem;
  }
  
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-xl);
  }
  

  
  .portfolio__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .testimonials__slider {
    padding: 0 1rem;
  }
}

@media (max-width: 768px) {
  .container {
    max-width: 720px;
    padding: 0 var(--spacing-lg);
  }
  
  .header {
    padding: 0.75rem 0;
  }
  
  .nav {
    padding: 0.75rem 0;
  }
  
  .nav__logo {
    height: 44px;
  }
  
  .nav__title {
    font-size: 1.5rem;
  }
  
  .nav__theme-toggle {
    display: none;
  }
  
  .nav__toggle {
    display: flex;
  }
  
  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    padding: 2rem;
  }
  
  .nav__menu.show {
    right: 0;
  }
  
  .nav__list {
    flex-direction: column;
    gap: var(--spacing-2xl);
    width: 100%;
    max-width: 300px;
  }
  
  .nav__link {
    display: block;
    width: 100%;
    padding: var(--spacing-lg) 0;
    font-size: var(--font-size-xl);
    font-weight: 500;
    text-align: center;
    border-bottom: 1px solid transparent;
  }
  
  .nav__link:hover {
    border-bottom-color: #15a1b0;
  }
  
  .nav__link::after {
    display: none;
  }
  
  .nav__link--cta {
    margin: var(--spacing-lg) 0 0 0;
    padding: var(--spacing-md) var(--spacing-xl);
    border: 2px solid #15a1b0;
    border-radius: var(--radius-full);
  }
  
  .nav__close {
    display: block;
  }
  
  /* Mobile Dropdown Styles */
  .nav__dropdown-menu {
    position: static;
    background: rgba(21, 161, 176, 0.05);
    box-shadow: none;
    border-radius: var(--radius-sm);
    margin: var(--spacing-sm) 0 0 0;
    padding: var(--spacing-sm);
    min-width: auto;
    width: 100%;
    transform: none;
    opacity: 1;
    visibility: visible;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
  }
  
  .nav__dropdown.active .nav__dropdown-menu {
    max-height: 400px;
    padding: var(--spacing-md);
  }
  
  .nav__dropdown-link {
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: var(--font-size-base);
    text-align: center;
    border-left: none;
    border-bottom: 1px solid rgba(21, 161, 176, 0.1);
  }
  
  .nav__dropdown-link:last-child {
    border-bottom: none;
  }
  
  .nav__dropdown-link:hover {
    background: rgba(21, 161, 176, 0.1);
    transform: none;
  }
  
  .nav__dropdown-toggle {
    justify-content: center;
  }
  
  .hero {
    padding: var(--spacing-4xl) 0;
    min-height: 80vh;
  }
  
  .hero__container {
    max-width: 100%;
    padding: 0 var(--spacing-lg);
  }
  
  .hero__title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: var(--spacing-lg);
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  
  .hero__description {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-2xl);
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  
  .hero__cta {
    flex-direction: column;
    gap: var(--spacing-md);
    align-items: stretch;
    width: 100%;
  }
  
  .hero__btn-primary,
  .hero__btn-secondary {
    width: 100%;
    max-width: 360px;
    justify-content: center;
    padding: var(--spacing-md) var(--spacing-xl);
    margin: 0 auto;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .section__title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }
  
  .section__subtitle {
    font-size: 0.9rem;
    margin-bottom: 3rem;
  }
  
  .hero__buttons {
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
  }
  
  .hero__stats {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
  }
  
  .services__grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-lg);
  }
  /* Center carousel wrapper on mobile */
  .services__carousel {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
  }
  


  /* Services section: tidy layout on mobile */
  .service__content {
    align-items: center;
  }
  
  .service__features {
    text-align: center;
  }
  
  .service__feature {
    justify-content: center;
    gap: var(--spacing-sm);
    font-size: 14px;
    margin-bottom: var(--spacing-sm);
  }
  
  .service__check {
    width: 20px;
    height: 20px;
  }
  
  .service__icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
  }
  
  .service__icon i {
    font-size: 24px;
  }
  
  .service__title {
    font-size: 20px;
  }
  
  .portfolio__grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    justify-items: center; /* center items within grid column */
  }

  /* Center and constrain portfolio cards on mobile */
  .portfolio__item {
    display: flex;
    justify-content: center;
  }
  .portfolio__card {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
  }
  
  .portfolio__filters {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
  }
  
  .portfolio__filter {
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: var(--font-size-sm);
  }
  
  /* Optimize animations for mobile */
  .portfolio__item {
    transition: all 0.3s ease-out;
  }
  
  .portfolio__item.filtering-in {
    animation-duration: 0.3s;
  }
  
  .stat {
    padding: 1.5rem;
  }
  
  .stat__number {
    font-size: 2rem;
  }
  
  .testimonial__card {
    padding: 2rem 1.5rem;
  }
  
  .testimonial__text {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }
  
  .testimonial__author {
    flex-direction: column;
    text-align: center;
  }
  
  .testimonial__info {
    text-align: center;
  }
  
  .contact__card {
    flex-direction: column;
    text-align: center;
  }
  
  .social__links {
    justify-content: center;
  }
  
  .footer__content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer__social {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .container {
    max-width: 540px;
    padding: 0 var(--spacing-md);
  }
  
  .hero {
    padding: 4rem 0 2.5rem;
  }
  
  .hero__title {
    font-size: 1.65rem;
    line-height: 1.2;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  
  .hero__description {
    font-size: 0.95rem;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  
  .hero__logo-img {
    height: 50px;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .section__title {
    font-size: 1.5rem;
  }
  
  .section__subtitle {
    font-size: 0.85rem;
  }
  
  .services {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-lg) 0;
  }
  
  .services .container {
    padding: 0 var(--spacing-md);
  }
  
  .services .section__header {
    margin-bottom: var(--spacing-lg);
  }
  
  .services__carousel {
    margin-top: var(--spacing-md);
  }
  

    margin-right: auto;
  }
  
  .service__icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
  }
  
  .service__icon i {
    font-size: 20px;
  }
  
  .service__title {
    font-size: 18px;
  }

  /* Extra-small mobile tweaks for services list */
  .service__feature {
    font-size: 13px;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-xs);
  }
  
  .service__check {
    width: 18px;
    height: 18px;
  }
  
  .hero__stats {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
  
  .stat__number {
    font-size: 1.75rem;
  }
  
  .portfolio__filters {
    gap: 0.5rem;
  }
  
  .portfolio__filter {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }
  
  .testimonial__card {
    padding: 1.5rem 1rem;
  }
  
  .testimonial__text {
    font-size: 0.9rem;
  }
  
  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
  }
  
  .form__input,
  .form__textarea,
  .form__select {
    padding: 0.75rem;
    font-size: 0.9rem;
  }

  /* Extra-small: center and constrain portfolio cards */
  .portfolio__grid {
    justify-items: center;
    gap: var(--spacing-md);
  }
  .portfolio__item {
    display: flex;
    justify-content: center;
  }
  .portfolio__card {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
  }
  
  .contact__form {
    padding: var(--spacing-xl);
  }
  
  .testimonials__navigation {
    gap: var(--spacing-md);
  }
  
  .testimonial__nav {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 1.5rem;
  }
  
  .section__title {
    font-size: 1.3rem;
  }
  
  .nav__link {
    font-size: 1.25rem;
  }
  
  .service__card {
    padding: 1.25rem 0.75rem;
  }
  
  .testimonial__card {
    padding: 1.25rem 0.75rem;
  }
  
  .contact__card {
    padding: 0.75rem;
  }
}

/* ===== LANDSCAPE MOBILE ===== */
@media (max-width: 768px) and (orientation: landscape) {
  .hero {
    padding: 3rem 0 2rem;
  }
  
  .section {
    padding: 2.5rem 0;
  }
  
  .nav__menu {
    padding: 2rem 0;
  }
  
  .nav__list {
    gap: 1.5rem;
  }
  
  .nav__link {
    font-size: 1.25rem;
  }
}

/* ===== TOUCH OPTIMIZATIONS ===== */
@media (hover: none) and (pointer: coarse) {
  .btn,
  .portfolio__filter,
  .nav__link {
    min-height: 44px;
    min-width: 44px;
  }
  
  .service__card:hover,
  .portfolio__card:hover {
    transform: none;
  }
  
  .btn:hover {
    transform: none;
  }
}





/* ===== ALERT NOTIFICATIONS ===== */
.alert {
  position: fixed;
  top: 2rem;
  right: 2rem;
  max-width: 400px;
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 9999;
  animation: slideInRight 0.3s ease-out;
}

.alert-success {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
}

.alert-error {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
}

.alert i {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.alert-close {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  padding: 0.25rem;
  margin-left: auto;
  border-radius: 0.25rem;
  transition: background-color 0.2s ease;
}

.alert-close:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* ===== FORM ERROR STYLING ===== */
.form__error {
  display: block;
  color: #ef4444;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  font-weight: 500;
}

.form__input.error,
.form__textarea.error,
.form__select.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* ===== SCROLL TO TOP BUTTON ===== */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  z-index: 1000;
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

/* ===== SIMPLIFIED SERVICE CARD ANIMATIONS ===== */
/* Smooth transitions for all interactive elements */
.service__card * {
  transition: all 0.3s ease;
}

/* Focus states for accessibility */
.service__card:focus-within {
  outline: 2px solid var(--accent-color);
  outline-offset: 4px;
}

.service__card:focus-within .service__card-inner {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 
    0 24px 48px rgba(21, 161, 176, 0.12),
    0 6px 24px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

/* ===== RESPONSIVE DESIGN FOR SERVICES BACKGROUND ===== */
@media (max-width: 768px) {
  .services {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xl) 0;
    background: 
      /* Simplified gradient for mobile */
      linear-gradient(135deg, 
        rgba(21, 161, 176, 0.04) 0%, 
        rgba(255, 255, 255, 0.96) 30%,
        rgba(21, 161, 176, 0.02) 70%,
        rgba(255, 255, 255, 0.98) 100%
      ),
      /* Reduced geometric patterns for performance */
      radial-gradient(circle at 30% 30%, rgba(21, 161, 176, 0.08) 0%, transparent 40%),
      radial-gradient(circle at 70% 70%, rgba(50, 50, 50, 0.03) 0%, transparent 40%),
      /* Base background */
      linear-gradient(45deg, 
        rgba(255, 255, 255, 0.98) 0%, 
        rgba(249, 250, 251, 0.96) 100%
      );
  }
  
  .services::before {
    /* Reduced animation complexity on mobile */
    animation: float 30s ease-in-out infinite;
    background: 
      radial-gradient(ellipse 600px 400px at 20% 30%, rgba(21, 161, 176, 0.06) 0%, transparent 50%),
      radial-gradient(ellipse 400px 300px at 80% 70%, rgba(50, 50, 50, 0.03) 0%, transparent 50%);
  }
  
  .services::after {
    /* Larger grid pattern for mobile */
    background-size: 80px 80px;
    opacity: 0.3;
  }
  
  .service__card-inner {
    padding: var(--spacing-2xl);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
  }
}

@media (max-width: 480px) {
  .services {
    padding: var(--spacing-3xl) 0;
    background: 
      /* Minimal gradient for small screens */
      linear-gradient(135deg, 
        rgba(21, 161, 176, 0.03) 0%, 
        rgba(255, 255, 255, 0.98) 50%,
        rgba(21, 161, 176, 0.02) 100%
      ),
      /* Single geometric element */
      radial-gradient(circle at 50% 50%, rgba(21, 161, 176, 0.05) 0%, transparent 60%),
      /* Simple background */
      rgba(255, 255, 255, 0.98);
  }
  
  .services::before {
    display: none; /* Disable complex animations on very small screens */
  }
  
  .services::after {
    background-size: 100px 100px;
    opacity: 0.2;
  }
  
  .service__card-inner {
    padding: var(--spacing-xl);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 24px;
  }
}

@media (min-width: 1200px) {
  .services::before {
    /* Enhanced animation for larger screens */
    background: 
      radial-gradient(ellipse 1000px 800px at 15% 25%, rgba(21, 161, 176, 0.1) 0%, transparent 50%),
      radial-gradient(ellipse 800px 600px at 85% 75%, rgba(50, 50, 50, 0.05) 0%, transparent 50%),
      radial-gradient(ellipse 600px 400px at 60% 40%, rgba(21, 161, 176, 0.08) 0%, transparent 50%),
      radial-gradient(ellipse 400px 300px at 30% 80%, rgba(21, 161, 176, 0.06) 0%, transparent 50%);
  }
  
  .services::after {
    background-size: 50px 50px;
    opacity: 0.6;
  }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .services::before {
    animation: none;
  }
  
  .service__card {
    animation: none;
  }
  
  .service__icon {
    animation: none;
  }
  
  .service__card-inner {
    animation: none;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .services {
    background: 
      linear-gradient(135deg, 
        rgba(21, 161, 176, 0.1) 0%, 
        rgba(255, 255, 255, 1) 50%,
        rgba(21, 161, 176, 0.1) 100%
      );
  }
  
  .service__card-inner {
    background: rgba(255, 255, 255, 1);
    border: 2px solid rgba(21, 161, 176, 0.5);
  }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Enhanced Hero Animations */
@keyframes fadeInSlide {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ctaReveal {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes buttonFloat {
  0%, 100% {
    transform: translateY(0px) scale(1);
  }
  25% {
    transform: translateY(-8px) scale(1.02);
  }
  50% {
    transform: translateY(-4px) scale(1.01);
  }
  75% {
    transform: translateY(-12px) scale(1.03);
  }
}

@keyframes secondaryButtonFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  33% {
    transform: translateY(-3px);
  }
  66% {
    transform: translateY(-6px);
  }
}

@keyframes ripple {
  0% {
    transform: scale(0);
    opacity: 1;
  }
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

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

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.animate-in {
  animation: fadeInUp 0.6s ease-out;
}

.animate-pulse {
  animation: pulse 2s infinite;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

.fa-spin {
  animation: spin 1s linear infinite;
}



/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus styles for keyboard navigation */
.btn:focus,
.nav__link:focus,
.portfolio__filter:focus,
.form__input:focus,
.form__textarea:focus,
.form__select:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Nav focus refinement: remove heavy box outline, keep underline */
.nav__link:focus,
.nav__link:focus-visible {
  outline: none;
}

.nav__link:focus::after,
.nav__link:focus-visible::after {
  width: 100%;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --gray-600: #000000;
    --gray-700: #000000;
    --gray-900: #000000;
  }
}

/* ===== CLIENTS SECTION ===== */
.clients {
  padding: var(--spacing-4xl) 0;
  background: 
    linear-gradient(135deg, 
      rgba(255, 255, 255, 0.98) 0%, 
      rgba(248, 250, 252, 0.95) 50%,
      rgba(255, 255, 255, 0.98) 100%
    ),
    radial-gradient(ellipse 800px 400px at 50% 50%, rgba(21, 161, 176, 0.03) 0%, transparent 70%);
  position: relative;
  overflow: hidden;
}

.clients::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 100px,
      rgba(21, 161, 176, 0.01) 100px,
      rgba(21, 161, 176, 0.01) 102px
    );
  pointer-events: none;
}

.clients__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-lg);
  margin-top: var(--spacing-3xl);
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

/* Client Item Styling */
.client__item {
  padding: var(--spacing-lg);
  transition: all 0.3s ease;
  cursor: pointer;
  animation: clientFadeIn 0.6s ease forwards;
  opacity: 0;
}

/* Staggered animation delays for grid items */
.client__item:nth-child(1) { animation-delay: 0.1s; }
.client__item:nth-child(2) { animation-delay: 0.2s; }
.client__item:nth-child(3) { animation-delay: 0.3s; }
.client__item:nth-child(4) { animation-delay: 0.4s; }
.client__item:nth-child(5) { animation-delay: 0.5s; }
.client__item:nth-child(6) { animation-delay: 0.6s; }
.client__item:nth-child(7) { animation-delay: 0.7s; }
.client__item:nth-child(8) { animation-delay: 0.8s; }
.client__item:nth-child(9) { animation-delay: 0.9s; }
.client__item:nth-child(10) { animation-delay: 1.0s; }
.client__item:nth-child(11) { animation-delay: 1.1s; }
.client__item:nth-child(12) { animation-delay: 1.2s; }
.client__item:nth-child(13) { animation-delay: 1.3s; }
.client__item:nth-child(14) { animation-delay: 1.4s; }
.client__item:nth-child(15) { animation-delay: 1.5s; }
.client__item:nth-child(16) { animation-delay: 1.6s; }

.client__logo {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  padding: var(--spacing-lg);
  box-shadow: 
    0 4px 6px rgba(0, 0, 0, 0.05),
    0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  border: 1px solid rgba(21, 161, 176, 0.1);
  position: relative;
  overflow: hidden;
}

.client__logo::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(21, 161, 176, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.client__image {
  max-width: 100%;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.7);
  transition: all 0.3s ease;
}

/* Hover Effects */
.client__item:hover {
  transform: translateY(-10px) scale(1.02);
}

.client__item:hover .client__logo {
  transform: translateY(-5px);
  box-shadow: 
    0 8px 25px rgba(21, 161, 176, 0.15),
    0 4px 10px rgba(0, 0, 0, 0.1);
  border-color: rgba(21, 161, 176, 0.2);
}

.client__item:hover .client__logo::before {
  left: 100%;
}

.client__item:hover .client__image,
.client__item.hovered .client__image {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.1);
}

/* Keyframe Animation for Grid Items */
@keyframes clientFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

@keyframes clientWave {
  0% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-15px) scale(1.05);
  }
  100% {
    transform: translateY(0px) scale(1);
  }
}

@keyframes rippleAnimation {
  0% {
    transform: scale(0);
    opacity: 1;
  }
  100% {
    transform: scale(2);
    opacity: 0;
  }
}



/* Loading State */
.client__image[data-src] {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Responsive Design for Clients */
@media (max-width: 1199px) {
  .clients-carousel .owl-nav .owl-prev {
    left: -20px;
  }
  
  .clients-carousel .owl-nav .owl-next {
    right: -20px;
  }
}

@media (max-width: 1024px) {
  .clients__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
  }
}

@media (max-width: 767px) {
  .clients {
    padding: var(--spacing-3xl) 0;
  }
  
  .clients__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-2xl);
  }
  
  .client__logo {
    height: 80px;
    padding: var(--spacing-md);
  }
  
  .client__image {
    max-height: 50px;
  }
}

@media (max-width: 479px) {
  .clients {
    padding: var(--spacing-2xl) 0;
  }
  
  .clients__grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
  }
  
  .client__item {
    padding: var(--spacing-md);
  }
  
  .client__logo {
    height: 70px;
    padding: var(--spacing-sm);
  }
  
  .client__image {
    max-height: 40px;
  }
}
  .hero__cta {
    flex-direction: column;
    gap: var(--spacing-md);
    align-items: stretch;
    width: 100%;
  }
  
  .hero__btn-primary,
  .hero__btn-secondary {
    width: 100%;
    max-width: 420px;
    justify-content: center;
    padding: 0.875rem 1.25rem;
    margin: 0 auto;
  }

/* ===== OWL CAROUSEL SERVICES STYLING ===== */
.services-carousel {
  padding: 15px var(--spacing-lg) 0; /* Added top padding to prevent clipping */
  margin-top: var(--spacing-xl);
  overflow: visible; /* Ensure hover effects are not clipped */
}

.services-carousel .owl-carousel {
  overflow: visible; /* Prevent clipping of hover effects */
  padding-top: 10px; /* Extra space for hover animation */
}

.services-carousel .owl-stage-outer {
  overflow: visible; /* Allow cards to move outside bounds on hover */
}

.services-carousel .owl-stage {
  overflow: visible; /* Ensure stage doesn't clip hover effects */
}

.services-carousel .service__card {
  margin: 0 var(--spacing-sm);
  height: 380px; /* Reduced height for more compact cards */
  min-height: 380px; /* Ensure minimum height */
  max-height: 380px; /* Prevent cards from growing too tall */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.services-carousel .service__card .service__card-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.services-carousel .service__card .service__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.services-carousel .service__card .service__description {
  flex: 1;
  display: flex;
  align-items: center;
  text-align: center;
  min-height: 45px; /* Reduced for more compact appearance */
}

.services-carousel .service__card:hover {
  transform: translateY(-8px);
}



/* Responsive adjustments */
@media (max-width: 991px) {
  .services-carousel {
    padding: 12px var(--spacing-md) 0; /* Top padding to prevent clipping on tablets */
  }
  
  .services-carousel .service__card {
    margin: 0 var(--spacing-xs);
    height: 350px; /* More compact height for tablets */
    min-height: 350px;
    max-height: 350px;
  }
}

@media (max-width: 767px) {
  .services-carousel {
    padding: 10px var(--spacing-sm) 0; /* Top padding to prevent clipping on mobile */
  }
  
  .services-carousel .service__card {
    height: 320px; /* More compact height for mobile */
    min-height: 320px;
    max-height: 320px;
  }
  
  .services-carousel .service__card .service__description {
    min-height: 40px; /* More compact description area for mobile */
  }
}

@media (max-width: 480px) {
  .services-carousel .service__card {
    height: 300px; /* Very compact for very small screens */
    min-height: 300px;
    max-height: 300px;
  }
}
/* ===== PRICING SECTION ===== */
.pricing {
  position: relative;
}

.pricing .container {
  position: relative;
  z-index: 2;
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-2xl);
  align-items: stretch;
}

.pricing__card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-xl);
  box-shadow: 0 12px 40px rgba(21, 161, 176, 0.12);
  border: 1px solid rgba(21, 161, 176, 0.12);
  padding: var(--spacing-xl);
  display: flex;
  flex-direction: column;
}

.pricing__card--featured {
  border: 2px solid #15a1b0;
  box-shadow: 0 20px 50px rgba(21, 161, 176, 0.25);
  transform: translateY(-6px);
}

.pricing__badge {
  align-self: flex-start;
  background: linear-gradient(135deg, #15a1b0, #1291a0);
  color: var(--white);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius-full);
  margin-bottom: var(--spacing-md);
}

.pricing__header {
  margin-bottom: var(--spacing-md);
}

.pricing__title {
  font-size: var(--font-size-2xl);
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 var(--spacing-xs) 0;
}

.pricing__subtitle {
  font-size: var(--font-size-md);
  color: var(--text-secondary);
  margin: 0;
}

.pricing__price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin: var(--spacing-md) 0 var(--spacing-lg) 0;
}

.pricing__currency {
  font-weight: 700;
  color: var(--text-primary);
}

.pricing__amount {
  font-size: var(--font-size-4xl);
  font-weight: 900;
  color: var(--accent-light);
  letter-spacing: -0.01em;
}

.pricing__features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--spacing-lg) 0;
  display: grid;
  gap: var(--spacing-sm);
}

.pricing__features li {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  color: var(--text-secondary);
}

.pricing__features li::before {
  content: '\2713'; /* check mark */
  color: #15a1b0;
  font-weight: 700;
}

.pricing__cta {
  margin-top: auto;
  display: flex;
  justify-content: center;
}

.btn.btn--primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-md) var(--spacing-xl);
  background: linear-gradient(135deg, #15a1b0, #1291a0);
  color: var(--white);
  border-radius: var(--radius-full);
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(21, 161, 176, 0.35);
}

/* ===== PRICING RESPONSIVE ===== */
@media (max-width: 992px) {
  .pricing__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .pricing__grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }

  .pricing__card--featured {
    transform: none;
  }
}

@media (max-width: 480px) {
  .pricing__amount {
    font-size: var(--font-size-3xl);
  }
}


