/* =======================================
   1. ROOT VARIABLES & THEME SETUP
======================================= */
:root {
  /* Colors */
  --color-primary: #00C6D7;
  --color-primary-dark: #009FB5;
  --color-primary-light: rgba(0, 198, 215, 0.1);
  
  /* Neutral scale */
  --color-white: #ffffff;
  --color-light-bg: #f5f7f9;
  --color-text: #596172;
  --color-text-dark: #2c2c2c;
  --color-border: #eaedf2;
  
  /* Hero / Dark Theme */
  --color-hero-bg-end: #0f2027;
  --color-hero-bg-mid: #203a43;
  --color-hero-bg-start: #2c5364;
  
  /* Typography */
  --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-secondary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Shadows & Layouts */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
  --shadow-hover: 0 25px 50px -12px rgba(0, 198, 215, 0.15); /* Primary color shadow */
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 24px;
  
  --transition-fast: 0.2s ease-out;
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  /* Spacing */
  --container-width: 1200px;
  --section-padding: 100px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth; /* Smooth scrolling for nav links */
}

body {
  font-family: var(--font-secondary);
  color: var(--color-text);
  line-height: 1.6;
  background-color: var(--color-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  color: var(--color-text-dark);
  font-weight: 700;
  line-height: 1.2;
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: var(--section-padding) 0;
}

.bg-light {
  background-color: var(--color-light-bg);
}

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

.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.mb-4 { margin-bottom: 1.5rem; }

/* =======================================
   3. TYPOGRAPHY & UTILITIES
======================================= */
.section-header {
  margin-bottom: 4rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.125rem;
  color: var(--color-text);
}

.text-gradient {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Base Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  text-align: center;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-large {
  padding: 16px 32px;
  font-size: 1.1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(0, 198, 215, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 198, 215, 0.4);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: -1;
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--color-text-dark);
  border: 2px solid var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

/* =======================================
   4. NAVIGATION
======================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition-normal);
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 15px 0;
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-white);
}

.navbar.scrolled .logo {
  color: var(--color-text-dark);
}

.logo-image {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-link {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  font-family: var(--font-primary);
  position: relative;
  font-size: 0.95rem;
}

.navbar.scrolled .nav-link {
  color: var(--color-text-dark);
}

/* Hover underline animation */
.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--color-primary);
  transition: width var(--transition-fast);
}

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

.nav-link:hover,
.nav-link.active {
  color: var(--color-white);
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
  color: var(--color-primary);
}

/* Hamburger Menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  z-index: 1001;
}

.menu-toggle .bar {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--color-white);
  transition: var(--transition-fast);
}

.navbar.scrolled .menu-toggle .bar {
  background-color: var(--color-text-dark);
}

/* =======================================
   5. HERO SECTION
======================================= */
.hero {
  position: relative;
  height: 100vh;
  max-height: 650px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--color-hero-bg-start), var(--color-hero-bg-mid), var(--color-hero-bg-end));
  overflow: hidden;
  padding-top: 70px;
}

.hero-bg-elements {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  z-index: 0;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: rgba(0, 198, 215, 0.2);
  top: -100px;
  right: -100px;
}

.orb-2 {
  width: 300px;
  height: 300px;
  background: rgba(0, 159, 181, 0.15);
  bottom: 10%;
  left: -50px;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 10;
}

.hero-content {
  color: var(--color-white);
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--color-white);
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2.5rem;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
}

.hero-visual {
  position: relative;
}

.hero-graphic {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  animation: float 6s ease-in-out infinite;
}

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

.growth-arrow {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.3));
}

.floating-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-white);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-primary);
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.floating-badge i {
  color: var(--color-primary);
  font-size: 1.2rem;
}

.badge-1 {
  top: 10%;
  left: -20px;
  animation: float 5s ease-in-out infinite reverse;
}

.badge-2 {
  bottom: 20%;
  right: -10px;
  animation: float 7s ease-in-out infinite 1s;
}

/* =======================================
   5.5 CLIENT LOGOS SLIDER
======================================= */
.client-slider-section {
  padding: 40px 0;
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
  position: relative;
}

.client-slider-section::before,
.client-slider-section::after {
  content: '';
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.client-slider-section::before {
  left: 0;
  background: linear-gradient(to right, var(--color-white) 0%, rgba(255, 255, 255, 0) 100%);
}

.client-slider-section::after {
  right: 0;
  background: linear-gradient(to left, var(--color-white) 0%, rgba(255, 255, 255, 0) 100%);
}

.slider-track {
  display: flex;
  width: max-content;
  gap: 80px;
  align-items: center;
  padding-right: 80px;
  animation: scroll 35s linear infinite;
}

.client-slider-section:hover .slider-track {
  animation-play-state: paused;
}

.slider-logo {
  font-size: 2.2rem;
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
  gap: 12px;
  filter: grayscale(100%) opacity(0.5);
  cursor: pointer;
}

.slider-logo span {
  font-size: 1.4rem;
  font-family: var(--font-primary);
  font-weight: 700;
  letter-spacing: -0.5px;
}

.client-slider-section:hover .slider-logo {
  filter: grayscale(100%) opacity(0.25); /* Dim all logos deeply on hover */
}

/* 1. Fully colorful on direct hover */
.client-slider-section:hover .slider-logo:hover {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.15);
  z-index: 10;
}

/* 2. Half colorful for the immediate previous sibling */
.client-slider-section:hover .slider-logo:has(+ .slider-logo:hover) {
  filter: grayscale(0%) opacity(0.3);
  transform: scale(1.05);
}

/* 3. Half colorful for the immediate next sibling */
.client-slider-section:hover .slider-logo:hover + .slider-logo {
  filter: grayscale(0%) opacity(0.3);
  transform: scale(1.05);
}

.slider-logo.brand-1 { color: #0088cc; }
.slider-logo.brand-2 { color: #8e44ad; }
.slider-logo.brand-3 { color: #27ae60; }
.slider-logo.brand-4 { color: #f39c12; }
.slider-logo.brand-5 { color: #f1c40f; } 
.slider-logo.brand-6 { color: #e74c3c; }
.slider-logo.brand-7 { color: #34495e; }
.slider-logo.brand-8 { color: #e67e22; }
.slider-logo.brand-9 { color: #1abc9c; }
.slider-logo.brand-10 { color: #c0392b; }

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =======================================
   6. SERVICES SECTION
======================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--color-white);
  padding: 40px 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  border: 1px solid var(--color-border);
  position: relative;
  z-index: 1;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-primary-light);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: var(--color-primary-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition-normal);
}

.service-icon i {
  font-size: 1.8rem;
  color: var(--color-primary);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
}

.service-card:hover .service-icon i {
  color: var(--color-white);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 15px;
}

.service-card p {
  color: var(--color-text);
  font-size: 0.95rem;
}

.hidden-service {
  display: none !important;
}

/* =======================================
   7. PORTFOLIO SECTION
======================================= */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.portfolio-item {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.portfolio-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.portfolio-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

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

.portfolio-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(15, 32, 39, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-normal);
}

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

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

.portfolio-link {
  width: 50px;
  height: 50px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transform: translateY(20px);
  transition: var(--transition-normal);
}

.portfolio-item:hover .portfolio-link {
  transform: translateY(0);
}

.portfolio-link:hover {
  background: var(--color-white);
  color: var(--color-primary);
}

.portfolio-info {
  padding: 25px;
}

.category-tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  font-size: 0.8rem;
  font-family: var(--font-primary);
  font-weight: 600;
  border-radius: 20px;
  margin-bottom: 10px;
}

.portfolio-info h3 {
  font-size: 1.4rem;
}

/* =======================================
   7.5 ABOUT US
======================================= */
.about-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
}

/* =======================================
   8. WHY CHOOSE US
======================================= */
.features-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.feature-item {
  display: flex;
  gap: 20px;
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.feature-icon i {
  color: var(--color-primary);
  font-size: 1.2rem;
}

.feature-text h4 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.feature-text p {
  color: var(--color-text);
}

.image-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.grid-img-1 {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  margin-top: 40px;
}

.grid-img-2 {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  margin-bottom: 40px;
}

/* =======================================
   9. TESTIMONIALS
======================================= */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: var(--color-white);
  padding: 40px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  position: relative;
}

.quote-icon {
  position: absolute;
  top: 30px;
  right: 30px;
  color: var(--color-primary-light);
  font-size: 3rem;
  line-height: 1;
}

.quote-text {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.client-avatar {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.client-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.client-details h4 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.client-details span {
  font-size: 0.85rem;
  color: var(--color-text);
}

/* =======================================
   10. TEAM SECTION
======================================= */
/* Team section now uses testimonials-grid and testimonial-card styles */

.team-section {
  background-color: var(--color-light-bg);
}

.team-linkedin-icon {
  color: #0A66C2;
  margin-left: 8px;
  font-size: 1.1rem;
  transition: var(--transition-fast);
}

.team-linkedin-icon:hover {
  color: var(--color-primary);
}

.linkedin-btn {
  width: 100%;
  padding: 10px;
  border-color: #0077b5;
  color: #0077b5;
}

.linkedin-btn:hover {
  background-color: #0077b5;
  color: var(--color-white);
}

/* =======================================
   11. CALL TO ACTION
======================================= */
.cta-section {
  padding: 0 24px;
  margin-top: var(--section-padding);
}

.cta-banner {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  border-radius: var(--radius-lg);
  padding: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-white);
  box-shadow: var(--shadow-lg);
}

.cta-content h2 {
  color: var(--color-white);
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.cta-content p {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 500px;
}

.cta-btn {
  background: var(--color-white);
  color: var(--color-primary-dark);
}

.cta-btn:hover {
  background: var(--color-light-bg);
  color: var(--color-primary-dark);
}

.cta-btn::before {
  display: none;
}

/* =======================================
   12. CONTACT
======================================= */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
}

.contact-method {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.contact-method .contact-icon {
  width: 50px;
  height: 50px;
  background: var(--color-primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-method .contact-icon i {
  color: var(--color-primary);
  font-size: 1.2rem;
}

.contact-method h5 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.contact-method p {
  color: var(--color-text);
}

.contact-form-wrapper {
  background: var(--color-white);
  padding: 40px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
  position: relative;
}

.form-group label {
  display: block;
  font-family: var(--font-primary);
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--color-text-dark);
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #dcdfe6;
  border-radius: var(--radius-sm);
  font-family: var(--font-secondary);
  font-size: 1rem;
  transition: var(--transition-fast);
  background-color: #fafafa;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  background-color: var(--color-white);
  box-shadow: 0 0 0 3px var(--color-primary-light);
}

.form-control.invalid {
  border-color: #f56c6c;
}

.error-message {
  color: #f56c6c;
  font-size: 0.8rem;
  margin-top: 5px;
  display: none;
}

.form-control.invalid + .error-message {
  display: block;
}

textarea.form-control {
  resize: vertical;
}

.btn-block {
  width: 100%;
  padding: 15px;
}

.form-success {
  margin-top: 20px;
  padding: 15px;
  background-color: #f0f9eb;
  color: #67c23a;
  border-radius: var(--radius-sm);
  text-align: center;
  font-weight: 500;
}

.hidden {
  display: none;
}

/* =======================================
   13. FOOTER
======================================= */
.footer {
  background-color: var(--color-text-dark);
  color: rgba(255, 255, 255, 0.7);
  padding-top: 80px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-desc {
  margin-bottom: 25px;
  max-width: 300px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--color-white);
}

.social-links a:hover {
  background: var(--color-primary);
  transform: translateY(-3px);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-group h4,
.footer-newsletter h4 {
  color: var(--color-white);
  font-size: 1.2rem;
  margin-bottom: 20px;
}

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

.footer-links a:hover,
.footer-links .unclickable:hover {
  color: var(--color-primary);
  padding-left: 5px;
}

.footer-links .unclickable {
  cursor: default;
}

.footer-newsletter p {
  margin-bottom: 20px;
}

.newsletter-form {
  display: flex;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 15px;
  border: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  outline: none;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-form button {
  padding: 0 20px;
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  cursor: pointer;
  transition: var(--transition-fast);
}

.newsletter-form button:hover {
  background: var(--color-primary-dark);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a:hover {
  color: var(--color-white);
}

/* =======================================
   14. ANIMATIONS & REVEAL CLASSES
======================================= */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.reveal-up.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-down {
  opacity: 0;
  transform: translateY(-40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.reveal-down.active {
  opacity: 1;
  transform: translateY(0);
}

/* =======================================
   15. RESPONSIVE MEDIA QUERIES
======================================= */
/* Tablet */
@media (max-width: 992px) {
  .hero-container,
  .features-wrapper,
  .about-wrapper,
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-content, .hero-title, .hero-subtitle {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-buttons {
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
  }
  
  .hero-visual {
    order: -1; /* Graphic above text on mobile */
  }

  .growth-arrow,
  .floating-badge {
    display: none;
  }
  
  .cta-banner {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
  
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .btn-large {
    padding: 12px 24px;
    font-size: 1rem;
  }

  .hero-title {
    font-size: 2rem!important;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .menu-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--color-white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-md);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-links {
    flex-direction: column;
    align-items: center;
  }
  
  .nav-link {
    color: var(--color-text-dark);
    font-size: 0.9rem;
  }
  
  .navbar .logo {
    color: var(--color-text-dark);
  }
  
  .menu-toggle .bar {
    background-color: var(--color-text-dark);
  }
  
  .menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* Section adjustments */
  .section-padding {
    padding: 60px 0;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

/* 320px specific adjustments (Small mobile performance) */
@media (max-width: 480px) {
  .reveal-up {
    transform: translateY(20px);
  }
  .reveal-down {
    transform: translateY(-20px);
  }
  .glass-panel {
     
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  }
  .card, .service-card, .portfolio-card {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  }
}

/* 320px specific adjustments (Small mobile) */
@media (max-width: 400px) {
  .container {
    padding: 0 15px;
  }
  
  .hero-title {
    font-size: 1.8rem !important;
  }
  
  .hero-subtitle {
    font-size: 0.85rem;
  }
  
  .newsletter-form {
    flex-direction: column;
    gap: 10px;
  }
  
  .newsletter-form input {
    border-radius: var(--radius-sm);
    width: 100%;
  }
  
  .newsletter-form button {
    border-radius: var(--radius-sm);
    padding: 12px;
    width: 100%;
  }

  .footer-links a, 
  .footer-links span,
  .contact-info p,
  .footer-desc {
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
  }

  .section-title {
    font-size: 1.8rem;
  }
}
