/* ===== GLOBAL STYLES ===== */
:root {
  --primary-color: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #a5b4fc;
  --secondary-color: #f59e0b;
  --text-dark: #1f2937;
  --text-light: #4b5563;
  --text-lighter: #9ca3af;
  --white: #ffffff;
  --light-bg: #f9fafb;
  --dark-bg: #111827;
  --gray-bg: #f3f4f6;
  --border-color: #e5e7eb;
  --success: #10b981;
  --error: #ef4444;
  --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);
  --transition: all 0.3s ease;
  --header-height: 80px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.3;
  margin-bottom: 1rem;
  font-weight: 600;
}

h1 {
  font-size: 2.75rem;
  font-weight: 700;
}

h2 {
  font-size: 2.25rem;
  color: var(--text-dark);
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

section {
  padding: 5rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 10px;
}

.section-header p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== BUTTONS ===== */
.cta-button,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  transition: var(--transition);
  cursor: pointer;
  text-align: center;
  font-size: 1rem;
}

.cta-button {
  background-color: var(--primary-color);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.cta-button:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--white);
}

.primary-button {
  background-color: var(--primary-color);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.primary-button:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var (--shadow-md);
  color: var(--white);
}

.primary-button i,
.secondary-button i {
  margin-right: 8px;
}

.secondary-button {
  background-color: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.secondary-button:hover {
  background-color: var(--primary-light);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

.cta-center {
  text-align: center;
  margin-top: 2rem;
}

/* ===== HEADER ===== */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: #ffffff;  /* Fixed solid white background */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  padding: 0;
  height: var(--header-height);
}

.header-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%236366f1' fill-opacity='0.05' d='M0,288L48,272C96,256,192,224,288,197.3C384,171,480,149,576,165.3C672,181,768,235,864,250.7C960,267,1056,245,1152,208C1248,171,1344,117,1392,90.7L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
  background-size: cover;
  background-position: bottom;
  z-index: -1;
  opacity: 0.8;
}

#header.transparent {
  background-color: #ffffff;  /* Keep it white even when "transparent" class is applied */
}

#header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  position: relative;
  z-index: 2;
}

.logo {
  display: flex;
  align-items: center;
  z-index: 1001;
}

.logo a {
  display: flex;
  align-items: center;
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1.8rem;
  transition: var(--transition);
}

.logo a:hover {
  transform: scale(1.05);
}

.logo i {
  font-size: 1.8rem;
  margin-right: 0.5rem;
  color: var(--primary-color);
  text-shadow: 0 0 10px rgba(99, 102, 241, 0.3);
}

#header.transparent .logo a,
#header.transparent .nav-links a {
  color: white;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

#header.transparent .hamburger div {
  background-color: white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.nav-links {
  display: flex;
  margin: 0;
}

.nav-links li {
  margin: 0 1.2rem;
}

.nav-links a {
  color: var(--text-dark);
  font-weight: 500;
  position: relative;
  padding: 8px 0;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--primary-color);
}

.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
}

#header .cta-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

#header .cta-button i {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

#header .cta-button:hover i {
  transform: translateX(4px);
}

.hamburger {
  display: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background-color: var(--text-dark);
  margin: 5px;
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* Mobile navigation styles */
@media (max-width: 991px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background-color: white;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transition: right 0.5s ease; /* Changed from transform to right */
    z-index: 1000;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
  }
  
  .nav-links.active { /* Changed from .open to .active */
    right: 0;
  }
  
  .hamburger {
    display: flex;
    flex-direction: column;
    margin-right: 15px;
  }
  
  /* Hamburger animation */
  .hamburger.active .line1 {
    transform: translateY(8px) rotate(45deg);
  }
  
  .hamburger.active .line2 {
    opacity: 0;
  }
  
  .hamburger.active .line3 {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .nav-links li {
    margin: 0;
  }
  
  .nav-links a {
    font-size: 1.2rem;
    padding: 8px 20px;
  }
}

/* ===== OVERLAY ===== */
.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.nav-overlay.active {
  display: block;
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #f8f9fb 0%, #eef1f8 100%);
  padding: 8rem 0 5rem;
  overflow: hidden;
  position: relative;
}

.hero-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5z' fill='%236366f1' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
  z-index: 0;
  opacity: 0.6;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.hero-content {
  flex: 1;
  position: relative;
  z-index: 999;
}

.hero-content h1 {
  margin-bottom: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 600px;
}

.cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  position: relative;
  z-index: 10; /* Increased z-index to be above wave */
}

.primary-button, .secondary-button {
  position: relative;
  z-index: 1000; /* Increased z-index to be above wave */
  cursor: pointer;
}

.hero-image {
  flex: 1;
  position: relative;
  z-index: 5;
}

.hero-image img {
  max-width: 100%;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}

.floating-badge {
  display: none;
}

.wave-shape {
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: -999;
}

.wave-shape svg {
  display: block;
  width: 100%;
}

/* ===== HOW IT WORKS SECTION ===== */
.how-it-works {
  background-color: var(--white);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.how-it-works::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%236366f1' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: 0;
}

.steps-container {
  position: relative;
  padding-top: 30px;
}

.steps-timeline {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background-color: var(--primary-light);
  transform: translateX(-50%);
  z-index: 0;
  border-radius: 4px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  position: relative;
  z-index: 1;
}

.step {
  text-align: center;
  padding: 2.5rem 2rem;
  background-color: var(--white);
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
  border: 1px solid rgba(99, 102, 241, 0.1);
  position: relative;
}

.step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: 16px;
  z-index: -1;
}

.step:hover::before {
  opacity: 1;
}

.step:hover {
  transform: translateY(-15px);
  box-shadow: 0 15px 30px rgba(99, 102, 241, 0.15);
}

.step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.25rem;
  box-shadow: 0 4px 10px rgba(99, 102, 241, 0.3);
  z-index: 10;
}

.step-icon {
  width: 80px;
  height: 80px;
  background-color: rgba(99, 102, 241, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.75rem;
  transition: all 0.3s ease;
  position: relative;
}

.step-icon::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px dashed var(--primary-color);
  animation: spin 30s linear infinite;
  opacity: 0.3;
  top: 0;
  left: 0;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.step-icon i {
  font-size: 2rem;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.step:hover .step-icon {
  transform: scale(1.1) rotate(5deg);
  background-color: var(--primary-color);
}

.step:hover .step-icon i {
  color: white;
  animation: bounce 1s ease;
}

.step h3 {
  margin-bottom: 1rem;
  color: var(--text-dark);
  font-weight: 700;
  font-size: 1.4rem;
}

.step p {
  color: var(--text-light);
  line-height: 1.7;
  font-size: 1.05rem;
}

.steps-bottom-cta {
  margin-top: 4rem;
  text-align: center;
  position: relative;
  z-index: 2;
}

.benefits-list {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.benefit-item {
  background: var(--white);
  padding: 1rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.benefit-icon {
  width: 40px;
  height: 40px;
  background-color: rgba(99, 102, 241, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
}

.benefit-icon i {
  color: var (--primary-color);
  font-size: 1.1rem;
}

.benefit-text {
  font-weight: 500;
  color: var(--text-dark);
  font-size: 0.95rem;
}

/* ===== ABOUT SECTION ===== */
.about {
  background-color: var(--light-bg);
  overflow: hidden;
  position: relative;
  padding: 7rem 0;
}

.about::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40%;
  height: 80%;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), transparent);
  border-top-left-radius: 50%;
  z-index: 0;
}

.about .container {
  display: flex;
  align-items: center;
  gap: 4rem;
  position: relative;
  z-index: 1;
}

.about-content {
  flex: 1;
}

.about-title {
  display: inline-block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-color);
  background: rgba(99, 102, 241, 0.1);
  padding: 0.5rem 1.25rem;
  border-radius: 30px;
  margin-bottom: 1.5rem;
}

.about-content h2 {
  margin-bottom: 1.5rem;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-dark);
  position: relative;
}

.about-content h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -15px;
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, var(--primary-color), var(--primary-light));
  border-radius: 5px;
}

.about-content p.lead {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-top: 2rem;
  margin-bottom: 2.5rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.stat-item {
  text-align: center;
  padding: 1rem;
  border-radius: 10px;
  background: white;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-light);
  font-size: 0.95rem;
}

.about-image {
  flex: 1;
  position: relative;
}

.about-image::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border: 3px dashed rgba(99, 102, 241, 0.2);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  animation: rotate 30s linear infinite;
}

@keyframes rotate {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.about-image img {
  max-width: 100%;
  position: relative;
  z-index: 1;
  animation: float 6s ease-in-out infinite;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  border: 1px solid rgba(99, 102, 241, 0.05);
  position: relative;
  overflow: hidden;
}

.feature::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
  bottom: 0;
  left: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.feature:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(99, 102, 241, 0.1);
}

.feature:hover::before {
  transform: scaleX(1);
}

.feature i {
  font-size: 2.5rem;
  background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  display: inline-block;
}

.feature h4 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
}

.feature p {
  color: var(--text-light);
  line-height: 1.7;
  font-size: 1rem;
}

.feature-link {
  display: inline-flex;
  align-items: center;
  margin-top: 1rem;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.feature-link i {
  font-size: 0.9rem;
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
  background: none;
  -webkit-text-fill-color: currentColor;
}

.feature-link:hover {
  color: var(--primary-dark);
}

.feature-link:hover i {
  transform: translateX(5px);
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  color: var(--white);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10zm10 8c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8zm40 40c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8z' /%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.4;
}

.testimonials .section-header h2,
.testimonials .section-header p {
  color: var(--white);
}

.testimonials .section-header h2::after {
  background-color: white;
  height: 3px;
  width: 60px;
}

.testimonial-slider {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  padding: 30px;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.testimonial {
  min-width: 100%;
  padding: 20px;
  transform: scale(0.95);
  opacity: 0.8;
  transition: all 0.5s ease;
}

.testimonial.active {
  transform: scale(1);
  opacity: 1;
}

.testimonial-content {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  padding: 35px;
  border-radius: 15px;
  position: relative;
  margin-bottom: 30px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(5px);
}

.testimonial-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.testimonial-content:after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 30px;
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(45deg);
  z-index: -1;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.testimonial-content i {
  font-size: 36px;
  margin-bottom: 25px;
  display: block;
  opacity: 0.6;
  color: #ffe1f0;
}

.testimonial-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: white;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.testimonial-content p::before {
  content: """;
  font-size: 5rem;
  font-family: Georgia, serif;
  position: absolute;
  left: -15px;
  top: -30px;
  opacity: 0.1;
  z-index: -1;
  color: white;
}

.rating {
  margin-top: 15px;
  color: #ffc107;
  font-size: 1.1rem;
}

.rating i {
  margin-right: 3px;
  display: inline;
  font-size: 1.1rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  margin-left: 20px;
}

.testimonial-author img {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.testimonial-author img:hover {
  transform: scale(1.1);
  border-color: rgba(255, 255, 255, 0.6);
}

.testimonial-author h4 {
  margin-bottom: 5px;
  font-size: 1.15rem;
  color: white;
  font-weight: 600;
}

.testimonial-author p {
  margin: 0;
  opacity: 0.8;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
}

.slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
  gap: 20px;
}

.prev-btn, .next-btn {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.prev-btn:hover, .next-btn:hover {
  background: white;
  color: var(--primary-color);
  transform: translateY(-3px);
}

.dots {
  display: flex;
  gap: 12px;
  margin: 0 20px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.dot::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.dot.active {
  background: white;
  transform: scale(1.2);
  box-shadow: 0 0 0 2px white, 0 0 10px rgba(255, 255, 255, 0.8);
}

.dot.active::after {
  border-color: rgba(255, 255, 255, 0.5);
}

.dot:hover {
  transform: scale(1.2);
  background: rgba(255, 255, 255, 0.5);
}

.wave-shape.top {
  top: -2px;
  bottom: auto;
  transform: rotate(180deg);
}

.wave-shape.bottom {
  bottom: -2px;
  transform: rotate(0);
}

/* ===== DEVELOPERS SECTION ===== */
.developers {
  background-color: var(--light-bg);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.developers::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%234f46e5' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.4;
}

.developer-profile {
  display: flex;
  gap: 50px;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
  position: relative;
  align-items: stretch; /* Ensure items stretch to full height */
}

.developer-image {
  width: 380px;
  height: auto; /* Changed from fixed height */
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  display: flex; /* Add flexbox */
}

.developer-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.33, 1, 0.68, 1);
  flex: 1; /* Make image fill container */
}

.developer-profile.visible {
  opacity: 1;
  transform: translateY(0);
}

.developer-profile:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.developer-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.4), rgba(124, 58, 237, 0.4));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.developer-profile:hover .developer-image::before {
  opacity: 1;
}

.developer-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.developer-profile:hover .developer-image img {
  transform: scale(1.05);
}

.developer-info {
  padding: 40px;
  flex: 1;
}

.developer-info h3 {
  margin-bottom: 10px;
  color: var(--text-dark);
  font-size: 2rem;
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.developer-info h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, var(--primary-color), var(--primary-color));
}

.developer-title {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 20px;
  margin-top: 15px;
  display: block;
  font-size: 1.1rem;
}

.developer-bio {
  margin-bottom: 30px;
  color: var(--text-light);
  line-height: 1.8;
  font-size: 1.05rem;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.social-links a {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: rgba(79, 70, 229, 0.1);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.social-links a:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-5px) rotate(360deg);
  box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3);
}

/* ===== FOOTER SECTION ===== */
#footer {
  background-color: var(--dark-bg);
  color: white;
  position: relative;
}

#footer::before {
  display: none;
}

.footer-top {
  padding: 80px 0 40px;
  position: relative;
  z-index: 1;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.footer-logo i {
  font-size: 2.2rem;
  color: var(--primary-color);
  margin-right: 15px;
}

.footer-logo h3 {
  font-size: 2rem;
  color: white;
  margin-bottom: 0;
  font-weight: 700;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin-bottom: 25px;
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social-icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.social-icon-link:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.social-icon-link:hover {
  transform: translateY(-6px) scale(1.15);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.social-icon-link:hover:before {
  opacity: 1;
}

.footer-links h4,
.footer-contact h4,
.footer-newsletter h4 {
  color: white;
  font-size: 1.3rem;
  margin-bottom: 25px;
  position: relative;
  display: inline-block;
}

.footer-links h4:after,
.footer-contact h4:after,
.footer-newsletter h4:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 3px;
  transition: width 0.3s ease;
}

.footer-links h4:hover:after,
.footer-contact h4:hover:after,
.footer-newsletter h4:hover:after {
  width: 100%;
}

.footer-links ul li {
  margin-bottom: 15px;
  position: relative;
}

.footer-link {
  color: rgba(255, 255, 255, 0.7);
  position: relative;
  display: inline-block;
  padding-left: 0;
  transition: all 0.3s ease;
}

.footer-link:hover {
  color: white;
  padding-left: 10px;
}

.footer-link span {
  position: relative;
  z-index: 1;
}

.footer-link:before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--primary-color);
  transition: all 0.3s ease;
}

.footer-link:hover:before {
  width: 100%;
}

.footer-contact p {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
}

.footer-contact p:hover {
  color: white;
  transform: translateX(5px);
}

.footer-contact p i {
  width: 20px;
  margin-right: 15px;
  color: var(--primary-color);
  font-size: 1.1rem;
}

.footer-newsletter p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
  line-height: 1.8;
}

.newsletter-form .form-group {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
}

.newsletter-form .form-group input {
  width: 100%;
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  color: white;
  transition: all 0.3s ease;
}

.newsletter-form .form-group input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--primary-color);
}

.newsletter-form .form-group input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.newsletter-form .form-group button {
  position: absolute;
  top: 5px;
  right: 5px;
  bottom: 5px;
  width: 50px;
  border-radius: 25px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter-form .form-group button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.5);
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.2);
  text-align: center;
  padding: 25px 0;
  position: relative;
  z-index: 1;
  font-size: 0.95rem;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  margin: 5px 0;
}

.footer-bottom a {
  color: var(--primary-color);
  font-weight: 600;
  transition: all 0.3s ease;
}

.footer-bottom a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

/* ===== ANIMATIONS and VISUAL EFFECTS ===== */
/* Step animation */
.step {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.step.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Developer profile animation */
.developer-profile {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.developer-profile.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Feature animation */
.feature {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.feature.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animation delays */
.step:nth-child(1),
.feature:nth-child(1) { transition-delay: 0.1s; }
.step:nth-child(2),
.feature:nth-child(2) { transition-delay: 0.2s; }
.step:nth-child(3),
.feature:nth-child(3) { transition-delay: 0.3s; }
.step:nth-child(4) { transition-delay: 0.4s; }

/* ===== ADDITIONAL RESPONSIVE STYLES ===== */
@media (max-width: 768px) {
  section {
      padding: var(--spacing-lg) 0;
  }
  
  .hamburger {
      display: flex;
  }
  
  .nav-links {
      position: fixed;
      top: 0;
      right: 0;
      width: 80%;
      max-width: 400px;
      height: 100vh;
      background-color: white;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: var(--spacing-md);
      transform: translateX(100%);
      transition: transform 0.5s ease-in-out;
      box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
      z-index: 1500;
  }
  
  .nav-links.open {
      transform: translateX(0);
  }
  
  .nav-links li {
      margin: 0;
  }
  
  /* Hamburger animation */
  .hamburger.active .line1 {
      transform: translateY(8px) rotate(45deg);
  }
  
  .hamburger.active .line2 {
      opacity: 0;
  }
  
  .hamburger.active .line3 {
      transform: translateY(-8px) rotate(-45deg);
  }
}

@media (max-width: 576px) {
  html {
      font-size: 14px;
  }
  
  h1 {
      font-size: 2.5rem;
  }
  
  h2 {
      font-size: 2rem;
  }
  
  .section-header {
      margin-bottom: var(--spacing-md);
  }
  
  .hero-cta {
      flex-direction: column;
  }
  
  .hero-image img {
      max-width: 80%;
  }
  
  .floating-badge {
      position: relative;
      display: inline-flex;
      margin: var(--spacing-sm) 0;
      animation: none;
  }
  
  .badge-ai, .badge-feedback {
      position: static;
      margin-right: var(--spacing-sm);
  }
  
  .primary-button, .secondary-button {
      width: 100%;
  }
  
  .step {
      padding: var(--spacing-sm);
  }
  
  .developer-profile {
      flex-direction: column;
  }
  
  .developer-image {
      width: 100%;
      max-height: 250px;
  }
  
  .footer-content {
      gap: var(--spacing-md);
  }
  
  .footer-links h4:after,
  .footer-contact h4:after {
      left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
      animation: none !important;
      transition-duration: 0.01ms !important;
  }
  
  .hero-image img,
  .floating-badge {
      animation: none !important;
  }
}

/* ===== TESTIMONIALS SECTION (additional styles) ===== */
.testimonials .wave-shape.bottom {
  bottom: -2px;
  transform: rotate(0);
}

.testimonial {
  transition: opacity 0.3s ease;
}

/* Responsive updates for footer, testimonials and developer */
@media (max-width: 992px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-logo {
    grid-column: span 2;
    text-align: center;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .developer-profile {
    flex-direction: column;
  }
  
  .developer-image {
    width: 100%;
    height: 300px;
  }
  
  .testimonial-slider {
    padding: 20px 10px;
  }
  
  .testimonial-content {
    padding: 25px 15px;
  }
  
  .testimonial-content p {
    font-size: 1rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-logo {
    grid-column: span 1;
  }
}

@media (max-width: 576px) {
  .testimonial-author {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-left: 0;
  }
  
  .testimonial-author img {
    margin-right: 0;
    margin-bottom: 10px;
  }
  
  .slider-controls {
    flex-wrap: wrap;
  }
  
  .social-links {
    justify-content: center;
  }
}

/* New animation for floating elements in developer section */
@keyframes float-element {
  0% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-15px) rotate(5deg); }
  100% { transform: translateY(0) rotate(0); }
}

/* Enhance the visibility of elements */
.testimonial-slider {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.testimonial-slider.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== CONTACT SECTION ===== */
.contact {
background: linear-gradient(135deg, #4f46e5, #7c3aed);
color: var(--white);
padding: 6rem 0;
position: relative;
overflow: hidden;
}

.contact::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10zm10 8c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8zm40 40c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8z' /%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
opacity: 0.4;
}

/* Remove wave shape from contact section */
.contact .wave-shape {
display: none;
}

.contact .section-header h2,
.contact .section-header p {
color: var(--white);
}

.contact .section-header h2::after {
background-color: white;
height: 3px;
width: 60px;
}

.contact-wrapper {
display: grid;
grid-template-columns: 1fr 2fr;
gap: 40px;
max-width: 1100px;
margin: 0 auto;
position: relative;
z-index: 1;
}

.contact-info {
display: flex;
flex-direction: column;
gap: 20px;
}

.contact-card {
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 15px;
padding: 25px;
transition: all 0.3s ease;
transform: translateY(30px);
opacity: 0;
animation: fadeInUp 0.6s forwards;
}

.contact-card:nth-child(1) {
animation-delay: 0.1s;
}

.contact-card:nth-child(2) {
animation-delay: 0.3s;
}

.contact-card:nth-child(3) {
animation-delay: 0.5s;
}

@keyframes fadeInUp {
to {
  opacity: 1;
  transform: translateY(0);
}
}

.contact-card:hover {
transform: translateY(-5px);
box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
background: rgba(255, 255, 255, 0.15);
}

.contact-icon {
background: white;
width: 60px;
height: 60px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 15px;
}

.contact-icon i {
color: var(--primary-color);
font-size: 24px;
}

.contact-card h4 {
color: white;
margin-bottom: 10px;
font-weight: 600;
}

.contact-card p {
color: rgba(255, 255, 255, 0.8);
margin-bottom: 0;
font-size: 1rem;
}

.contact-form-container {
background: white;
border-radius: 15px;
padding: 40px;
box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
transform: translateY(30px);
opacity: 0;
animation: fadeInUp 0.6s forwards 0.4s;
}

.contact-form .form-group {
margin-bottom: 25px;
position: relative;
}

.contact-form .form-group input,
.contact-form .form-group textarea {
width: 100%;
padding: 15px 20px;
border: 2px solid #e0e0ff;
border-radius: 10px;
background: #f9f9ff;
font-size: 16px;
transition: all 0.3s ease;
color: var(--text-dark);
}

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
border-color: var(--primary-color);
box-shadow: 0 0 0 5px rgba(99, 102, 241, 0.1);
outline: none;
}

.contact-form .form-group label {
position: absolute;
top: 15px;
left: 20px;
color: #a0a0a0;
font-size: 16px;
pointer-events: none;
transition: all 0.3s ease;
}

.contact-form .form-group input:focus ~ label,
.contact-form .form-group textarea:focus ~ label,
.contact-form .form-group input:not(:placeholder-shown) ~ label,
.contact-form .form-group textarea:not(:placeholder-shown) ~ label {
top: -10px;
left: 15px;
font-size: 12px;
background: white;
padding: 0 5px;
color: var(--primary-color);
}

.contact-form .form-group input::placeholder,
.contact-form .form-group textarea::placeholder {
color: transparent;
}

.contact-form .form-group textarea {
min-height: 150px;
resize: vertical;
}

.contact-form .submit-btn {
background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
color: white;
border: none;
border-radius: 30px;
padding: 15px 30px;
font-size: 16px;
font-weight: 600;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: all 0.3s ease;
position: relative;
overflow: hidden;
width: 100%;
}

.contact-form .submit-btn:hover {
transform: translateY(-3px);
box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.contact-form .submit-btn .submit-text {
position: relative;
z-index: 1;
transition: all 0.3s ease;
}

.contact-form .submit-btn .submit-icon {
position: absolute;
right: 30px;
opacity: 0;
transform: translateX(20px);
transition: all 0.3s ease;
}

.contact-form .submit-btn:hover .submit-text {
transform: translateX(-10px);
}

.contact-form .submit-btn:hover .submit-icon {
opacity: 1;
transform: translateX(0);
}

.contact-form .submit-btn::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: all 0.6s ease;
}

.contact-form .submit-btn:hover::before {
left: 100%;
}

/* ===== ENHANCED FOOTER SECTION ===== */
#footer {
background-color: var(--dark-bg);
color: white;
position: relative;
}

#footer::before {
display: none;
}

.footer-top {
padding: 80px 0 40px;
position: relative;
z-index: 1;
}

.footer-content {
display: grid;
grid-template-columns: 2fr 1fr 1fr 1.5fr;
gap: 40px;
}

.footer-brand {
display: flex;
flex-direction: column;
}

.footer-logo {
display: flex;
align-items: center;
margin-bottom: 20px;
}

.footer-logo i {
font-size: 2.2rem;
color: var(--primary-color);
margin-right: 15px;
}

.footer-logo h3 {
font-size: 2rem;
color: white;
margin-bottom: 0;
font-weight: 700;
}

.footer-brand p {
color: rgba(255, 255, 255, 0.8);
line-height: 1.8;
margin-bottom: 25px;
}

.social-icons {
display: flex;
gap: 12px;
}

.social-icon-link {
display: flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
border-radius: 50%;
background: rgba(255, 255, 255, 0.1);
color: white;
transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
position: relative;
overflow: hidden;
z-index: 1;
}

.social-icon-link:before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
opacity: 0;
transition: opacity 0.3s ease;
z-index: -1;
}

.social-icon-link:hover {
transform: translateY(-6px) scale(1.15);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.social-icon-link:hover:before {
opacity: 1;
}

.footer-links h4,
.footer-contact h4,
.footer-newsletter h4 {
color: white;
font-size: 1.3rem;
margin-bottom: 25px;
position: relative;
display: inline-block;
}

.footer-links h4:after,
.footer-contact h4:after,
.footer-newsletter h4:after {
content: '';
position: absolute;
left: 0;
bottom: -8px;
width: 40px;
height: 3px;
background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
border-radius: 3px;
transition: width 0.3s ease;
}

.footer-links h4:hover:after,
.footer-contact h4:hover:after,
.footer-newsletter h4:hover:after {
width: 100%;
}

.footer-links ul li {
margin-bottom: 15px;
position: relative;
}

.footer-link {
color: rgba(255, 255, 255, 0.7);
position: relative;
display: inline-block;
padding-left: 0;
transition: all 0.3s ease;
}

.footer-link:hover {
color: white;
padding-left: 10px;
}

.footer-link span {
position: relative;
z-index: 1;
}

.footer-link:before {
content: '';
position: absolute;
bottom: -2px;
left: 0;
width: 0;
height: 1px;
background: var(--primary-color);
transition: all 0.3s ease;
}

.footer-link:hover:before {
width: 100%;
}

.footer-contact p {
display: flex;
align-items: center;
margin-bottom: 15px;
color: rgba(255, 255, 255, 0.7);
transition: all 0.3s ease;
}

.footer-contact p:hover {
color: white;
transform: translateX(5px);
}

.footer-contact p i {
width: 20px;
margin-right: 15px;
color: var(--primary-color);
font-size: 1.1rem;
}

.footer-newsletter p {
color: rgba(255, 255, 255, 0.8);
margin-bottom: 20px;
line-height: 1.8;
}

.newsletter-form .form-group {
position: relative;
overflow: hidden;
border-radius: 30px;
}

.newsletter-form .form-group input {
width: 100%;
padding: 15px 20px;
background: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 30px;
color: white;
transition: all 0.3s ease;
}

.newsletter-form .form-group input:focus {
outline: none;
background: rgba(255, 255, 255, 0.15);
border-color: var(--primary-color);
}

.newsletter-form .form-group input::placeholder {
color: rgba(255, 255, 255, 0.6);
}

.newsletter-form .form-group button {
position: absolute;
top: 5px;
right: 5px;
bottom: 5px;
width: 50px;
border-radius: 25px;
background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
color: white;
border: none;
cursor: pointer;
transition: all 0.3s ease;
}

.newsletter-form .form-group button:hover {
transform: scale(1.05);
box-shadow: 0 0 15px rgba(99, 102, 241, 0.5);
}

.footer-bottom {
background: rgba(0, 0, 0, 0.2);
text-align: center;
padding: 25px 0;
position: relative;
z-index: 1;
font-size: 0.95rem;
}

.footer-bottom p {
color: rgba(255, 255, 255, 0.6);
margin: 5px 0;
}

.footer-bottom a {
color: var(--primary-color);
font-weight: 600;
transition: all 0.3s ease;
}

.footer-bottom a:hover {
color: var(--accent-color);
text-decoration: underline;
}

/* ===== ENHANCED HERO SECTION ===== */
.hero {
min-height: 100vh;
display: flex;
align-items: center;
background: linear-gradient(135deg, #f8f9fb 0%, #eef1f8 100%);
padding: 8rem 0 5rem;
overflow: hidden;
position: relative;
}

.hero::before {
content: '';
position: absolute;
top: 0;
right: 0;
width: 65%;
height: 100%;
background-image: radial-gradient(rgba(99, 102, 241, 0.1) 2px, transparent 2px);
background-size: 30px 30px;
opacity: 0.5;
z-index: 0;
}

.hero .container {
position: relative;
z-index: 1;
display: flex;
align-items: center;
justify-content: space-between;
gap: 2rem;
}

.hero-content {
flex: 1;
max-width: 600px;
}

.pre-heading {
display: inline-block;
background-color: rgba(99, 102, 241, 0.1);
color: var(--primary-color);
font-weight: 600;
font-size: 0.9rem;
text-transform: uppercase;
letter-spacing: 1px;
padding: 0.5rem 1rem;
border-radius: 20px;
margin-bottom: 1.5rem;
}

.hero-content h1 {
margin-bottom: 1.5rem;
font-weight: 800;
font-size: 3.25rem;
line-height: 1.2;
color: var(--text-dark);
position: relative;
}

.hero-content p {
font-size: 1.15rem;
line-height: 1.7;
color: var(--text-light);
margin-bottom: 2.5rem;
max-width: 550px;
}

.cta-group {
display: flex;
gap: 1rem;
flex-wrap: wrap;
margin-bottom: 2rem;
}

.feature-badges {
display: flex;
flex-wrap: wrap;
gap: 1.5rem;
margin-top: 1rem;
}

.feature-badge {
display: flex;
align-items: center;
gap: 0.5rem;
font-size: 0.95rem;
color: var(--text-light);
font-weight: 500;
}

.feature-badge i {
color: var (--success);
font-size: 1rem;
}

.hero-image {
flex: 1;
position: relative;
display: flex;
justify-content: center;
align-items: center;
}

.hero-image::after {
content: '';
position: absolute;
width: 80%;
height: 80%;
background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, rgba(99, 102, 241, 0) 70%);
border-radius: 50%;
z-index: -1;
}

.hero-image img {
max-width: 90%;
animation: float 6s ease-in-out infinite;
position: relative;
z-index: 1;
}

.floating-badge {
position: absolute;
background-color: var(--white);
box-shadow: var(--shadow-md);
border-radius: 50px;
padding: 0.5rem 1rem;
display: flex;
align-items: center;
gap: 0.5rem;
font-weight: 500;
font-size: 0.9rem;
z-index: 2;
}

.badge-ai {
top: 10%;
right: 5%;
animation: pulse 3s infinite;
}

.badge-feedback {
bottom: 20%;
left: 5%;
animation: pulse 3s infinite 1.5s;
}

.badge-practice {
top: 50%;
right: 15%;
animation: pulse 3s infinite 0.75s;
}

@keyframes float {
0% { transform: translateY(0px) rotate(0deg); }
50% { transform: translateY(-20px) rotate(2deg); }
100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes pulse {
0% { transform: scale(1); box-shadow: var(--shadow-md); }
50% { transform: scale(1.05); box-shadow: var(--shadow-lg); }
100% { transform: scale(1); box-shadow: var(--shadow-md); }
}

/* ===== ENHANCED HOW IT WORKS SECTION - UPDATED FOR 8 STEPS ===== */
.how-it-works {
background-color: var(--white);
padding: 7rem 0;
position: relative;
overflow: hidden;
}

/* ...existing code... */

.steps {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 2rem;
margin-top: 3rem;
position: relative;
z-index: 1;
}

/* Responsive layout for 8 steps */
@media (min-width: 1200px) {
.steps {
  grid-template-columns: repeat(4, 1fr);
}

.steps .step:nth-child(1),
.steps .step:nth-child(2),
.steps .step:nth-child(3),
.steps .step:nth-child(4) {
  margin-bottom: 2rem;
}
}

@media (min-width: 992px) and (max-width: 1199px) {
.steps {
  grid-template-columns: repeat(3, 1fr);
}

.steps .step:nth-child(1),
.steps .step:nth-child(2),
.steps .step:nth-child(3) {
  margin-bottom: 2rem;
}

.steps .step:nth-child(4),
.steps .step:nth-child(5),
.steps .step:nth-child(6) {
  margin-bottom: 2rem;
}
}

@media (max-width: 991px) and (min-width: 768px) {
.steps {
  grid-template-columns: repeat(2, 1fr);
}

.steps .step:not(:nth-child(7)):not(:nth-child(8)) {
  margin-bottom: 2rem;
}
}

@media (max-width: 767px) {
.steps {
  grid-template-columns: 1fr;
}

.steps .step:not(:last-child) {
  margin-bottom: 2.5rem;
}

.hero-content h1 {
  font-size: 2.5rem;
}

.hero .container {
  flex-direction: column;
}

.feature-badges {
  justify-content: center;
}
}

/* Additional responsive adjustments for hero section */
@media (max-width: 576px) {
.pre-heading {
  font-size: 0.8rem;
}

.hero-content h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.cta-group {
  justify-content: center;
}

.floating-badge {
  padding: 0.3rem 0.8rem;
  font-size: 0.8rem;
}
}

/* ...existing code... */

/* ===== ENHANCED HEADER WITH LOGO SPACE ===== */
#header {
position: fixed;
top: 0;
left: 0;
width: 100%;
z-index: 1000;
background-color: #ffffff;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
transition: all 0.4s ease;
padding: 0;
height: var(--header-height);
}

/* ...existing code... */

.logo a {
display: flex;
align-items: center;
color: var(--primary-color);
font-weight: 700;
font-size: 1.8rem;
transition: var(--transition);
}

.logo-icon {
background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
width: 42px;
height: 42px;
border-radius: 10px;
display: flex;
align-items: center;
justify-content: center;
margin-right: 10px;
box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
transition: all 0.3s ease;
}

.logo-icon i {
color: white;
font-size: 1.5rem;
text-shadow: none;
}

.logo a:hover .logo-icon {
transform: rotate(10deg) scale(1.1);
box-shadow: 0 6px 16px rgba(79, 70, 229, 0.3);
}

/* ===== ENHANCED HERO SECTION WITH ANIMATIONS ===== */
.hero {
min-height: 100vh;
display: flex;
align-items: center;
background: linear-gradient(135deg, #f8f9fb 0%, #eef1f8 100%);
padding: 8rem 0 5rem;
overflow: hidden;
position: relative;
}

.hero-shapes {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 0;
pointer-events: none;
}

.shape {
position: absolute;
border-radius: 50%;
background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(79, 70, 229, 0.2));
animation-timing-function: ease-in-out;
animation-iteration-count: infinite;
animation-direction: alternate;
}

.shape-1 {
width: 150px;
height: 150px;
top: 15%;
left: 10%;
animation: float-shape 8s infinite;
}

.shape-2 {
width: 80px;
height: 80px;
top: 60%;
left: 15%;
animation: float-shape 6s infinite 1s;
}

.shape-3 {
width: 120px;
height: 120px;
top: 25%;
right: 10%;
animation: float-shape 7s infinite 2s;
}

@keyframes float-shape {
0% {
  transform: translate(0, 0) rotate(0deg);
  opacity: 0.6;
}
50% {
  transform: translate(20px, -20px) rotate(10deg);
  opacity: 0.9;
}
100% {
  transform: translate(0, 0) rotate(0deg);
  opacity: 0.6;
}
}

.hero-content h1 {
margin-bottom: 1.5rem;
font-weight: 800;
font-size: 3.5rem;
line-height: 1.2;
background: linear-gradient(135deg, var(--text-dark), var(--primary-dark));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
position: relative;
}

.highlight-text {
position: relative;
display: inline-block;
color: var(--primary-color);
-webkit-text-fill-color: var(--primary-color);
}

.highlight-text::after {
content: '';
position: absolute;
bottom: 5px;
left: 0;
height: 12px;
width: 100%;
background-color: rgba(99, 102, 241, 0.2);
z-index: -1;
transform: rotate(-2deg);
}

.hero-content p {
font-size: 1.15rem;
line-height: 1.7;
color: var(--text-light);
margin-bottom: 2.5rem;
max-width: 550px;
}

.floating-element {
position: absolute;
background-color: white;
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
border-radius: 12px;
padding: 12px 18px;
display: flex;
align-items: center;
gap: 10px;
transition: all 0.3s ease;
z-index: 10;
}

.floating-element:hover {
transform: translateY(-5px);
box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.floating-element i {
color: var(--primary-color);
font-size: 1.2rem;
}

.floating-element span {
font-weight: 600;
color: var (--text-dark);
font-size: 0.9rem;
}

.element-1 {
top: 15%;
right: 5%;
}

.element-2 {
bottom: 25%;
right: 20%;
}

.scroll-indicator {
position: absolute;
bottom: 50px;
left: 50%;
transform: translateX(-50%);
z-index: 10;
text-align: center;
}

.scroll-down {
display: flex;
flex-direction: column;
align-items: center;
color: var(--text-light);
font-size: 0.9rem;
transition: all 0.3s ease;
}

.scroll-down span {
margin-bottom: 5px;
text-transform: uppercase;
letter-spacing: 2px;
font-size: 0.8rem;
}

.scroll-down i {
animation: scroll-bounce 2s infinite;
}

.scroll-down:hover {
color: var(--primary-color);
transform: translateY(-3px);
}

@keyframes scroll-bounce {
0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
40% { transform: translateY(-10px); }
60% { transform: translateY(-5px); }
}

/* Pulse animation for primary button */
.pulse-animation {
animation: pulse 2s infinite;
}

@keyframes pulse {
0% {
  box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.5);
}
70% {
  box-shadow: 0 0 0 15px rgba(99, 102, 241, 0);
}
100% {
  box-shadow: 0 0 0 0 rgba(99, 102, 241, 0);
}
}

/* ...existing code... */

/* Responsive styles for enhanced hero elements */
@media (max-width: 991px) {
.hero-content h1 {
  font-size: 2.8rem;
}

.floating-element {
  padding: 10px 15px;
}

.element-1, .element-2 {
  display: none;
}
}

@media (max-width: 768px) {
.hero-content h1 {
  font-size: 2.4rem;
}

.hero-shapes {
  display: none;
}
}

@media (max-width: 576px) {
.hero-content h1 {
  font-size: 2rem;
}

.logo a {
  font-size: 1.5rem;
}

.logo-icon {
  width: 36px;
  height: 36px;
}

.logo-icon i {
  font-size: 1.2rem;
}
}

/* Remove floating element styles since they're no longer used */
.floating-element {
display: none;
}

/* ===== IMPROVED DEVELOPERS SECTION ===== */
.developers {
background-color: var(--light-bg);
padding: 7rem 0;
position: relative;
overflow: hidden;
}

.developers::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5z' fill='%234f46e5' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
opacity: 0.4;
}

.developer-container {
max-width: 1100px;
margin: 0 auto;
}

.developer-profile {
display: flex;
gap: 50px;
background: #ffffff;
border-radius: 16px;
overflow: hidden;
box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
position: relative;
align-items: stretch; /* Ensure items stretch to full height */
}

.developer-image {
width: 380px;
height: auto; /* Changed from fixed height */
flex-shrink: 0;
position: relative;
overflow: hidden;
display: flex; /* Add flexbox */
}

.developer-image img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.6s cubic-bezier(0.33, 1, 0.68, 1);
flex: 1; /* Make image fill container */
}

.developer-overlay {
position: absolute;
inset: 0;
background: linear-gradient(
  to top,
  rgba(79, 70, 229, 0.3),
  rgba(79, 70, 229, 0.1) 50%,
  rgba(79, 70, 229, 0) 100%
);
opacity: 0;
transition: opacity 0.3s ease-in-out;
}

.developer-profile:hover .developer-overlay {
opacity: 1;
}

.developer-profile:hover .developer-image img {
transform: scale(1.05);
}

.developer-info {
flex: 1;
padding: 40px 40px 40px 0;
display: flex;
flex-direction: column;
}

.developer-info h3 {
font-size: 2.2rem;
font-weight: 700;
color: var(--text-dark);
margin-bottom: 6px;
position: relative;
display: inline-block;
}

.developer-info h3::after {
content: '';
position: absolute;
left: 0;
bottom: -8px;
width: 60px;
height: 3px;
background: linear-gradient(to right, var(--primary-color), var(--primary-light));
border-radius: 3px;
}

.developer-title {
color: var(--primary-color);
font-weight: 600;
font-size: 1.1rem;
margin-top: 16px;
margin-bottom: 24px;
}

.developer-bio {
color: var(--text-light);
line-height: 1.7;
font-size: 1.05rem;
margin-bottom: 30px;
}

.developer-skills {
display: flex;
flex-wrap: wrap;
gap: 10px;
margin-bottom: 35px;
}

.developer-skills span {
background: rgba(99, 102, 241, 0.08);
color: var(--primary-color);
padding: 8px 16px;
border-radius: 30px;
font-size: 0.9rem;
font-weight: 500;
transition: all 0.3s ease;
}

.developer-skills span:hover {
background: var(--primary-color);
color: white;
transform: translateY(-3px);
box-shadow: 0 5px 15px rgba(99, 102, 241, 0.2);
}

.developer-contact {
display: flex;
gap: 15px;
margin-top: auto;
}

.social-btn {
display: flex;
align-items: center;
justify-content: center;
padding: 12px 20px;
border-radius: 8px;
font-weight: 600;
font-size: 0.95rem;
transition: all 0.3s ease;
gap: 8px;
}

.social-btn i {
font-size: 1.1rem;
}

.github-btn {
background: #24292e;
color: white;
}

.linkedin-btn {
background: #0077b5;
color: white;
}

.email-btn {
background: rgba(99, 102, 241, 0.1);
color: var(--primary-color);
}

.social-btn:hover {
transform: translateY(-5px);
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
color: white;
}

.email-btn:hover {
background: var(--primary-color);
}

/* Developer quote section */
.developer-quote {
background: white;
border-radius: 16px;
padding: 30px 40px;
margin-top: 30px;
position: relative;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
text-align: center;
max-width: 800px;
margin-left: auto;
margin-right: auto;
}

.developer-quote i.fa-quote-left {
position: absolute;
top: 20px;
left: 25px;
font-size: 1.8rem;
opacity: 0.15;
color: var(--primary-color);
}

.developer-quote i.fa-quote-right {
position: absolute;
bottom: 20px;
right: 25px;
font-size: 1.8rem;
opacity: 0.15;
color: var(--primary-color);
}

.developer-quote blockquote {
font-size: 1.25rem;
font-weight: 500;
line-height: 1.6;
color: var(--text-dark);
font-style: italic;
margin: 0;
}

/* Animations */
.developer-profile,
.developer-quote {
opacity: 0;
transform: translateY(30px);
transition: all 0.6s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.developer-profile.visible,
.developer-quote.visible {
opacity: 1;
transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1100px) {
.developer-profile {
  margin-left: 15px;
  margin-right: 15px;
}
}

@media (max-width: 991px) {
.developer-profile {
  flex-direction: column;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.developer-image {
  width: 100%;
  height: 380px; /* Maintain height only on mobile */
}

.developer-info {
  padding: 30px;
}

.developer-contact {
  flex-direction: row;
  margin-top: 20px;
}
}

@media (max-width: 768px) {
.developer-profile {
  max-width: 100%;
}

.developer-image {
  height: 320px;
}

.developer-quote {
  padding: 25px;
}

.developer-quote blockquote {
  font-size: 1.1rem;
}
}

@media (max-width: 576px) {
.developer-image {
  height: 280px;
}

.developer-info h3 {
  font-size: 1.8rem;
}

.developer-skills {
  gap: 8px;
}

.developer-skills span {
  padding: 6px 12px;
  font-size: 0.85rem;
}

.developer-contact {
  flex-wrap: wrap;
}

.social-btn {
  flex: 1;
  min-width: 130px;
  justify-content: center;
}
}

/* ...existing code... */

/* ENHANCED HERO IMAGE STYLING */
.hero-image {
flex: 1;
position: relative;
display: flex;
justify-content: center;
align-items: center;
z-index: 5;
padding: 1.5rem;
overflow: hidden;
}

.hero-image img {
max-width: 100%;
object-fit: contain;
border-radius: 16px;
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
transition: all 0.5s ease;
border: 5px solid white;
animation: float 6s ease-in-out infinite;
transform-style: preserve-3d;
filter: brightness(1.03);
}

.hero-image img:hover {
transform: translateY(-10px);
box-shadow: 0 30px 60px rgba(99, 102, 241, 0.2);
}

@keyframes float {
0% {
  transform: translateY(0px);
}
50% {
  transform: translateY(-15px);
}
100% {
  transform: translateY(0px);
}
}

/* ENHANCED ABOUT IMAGE STYLING */
.about-image {
flex: 1;
position: relative;
padding: 2rem;
display: flex;
align-items: center;
justify-content: center;
}

.about-image img {
max-width: 90%;
border-radius: 16px;
box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
position: relative;
z-index: 2;
transition: all 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275);
border: 8px solid white;
transform: rotate(-2deg);
}

.about-image img:hover {
transform: rotate(0deg) scale(1.05);
box-shadow: 0 25px 50px rgba(99, 102, 241, 0.25);
filter: brightness(1.05);
}

/* Responsive adjustments for images */
@media (max-width: 991px) {
.hero-image, .about-image {
  padding: 1rem;
}

.hero-image img, .about-image img {
  max-width: 90%;
}

.about-image img {
  transform: rotate(0deg);
}
}

@media (max-width: 576px) {
.hero-image img, .about-image img {
  max-width: 100%;
  border-width: 3px;
}
}

/* ...existing code... */

/* ENHANCED RESPONSIVE STYLES FOR ABOUT SECTION */
@media (max-width: 991px) {
.about .container {
  flex-direction: column-reverse;
  gap: 3rem;
  padding: 0 1rem;
}

.about-image {
  width: 80%;
  margin: 0 auto;
  text-align: center;
}

.about-image::before {
  width: 80%;
  height: 80%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.about-content {
  text-align: center;
  padding: 0 1rem;
  max-width: 100%;
}

.about-content h2 {
  font-size: 2.2rem;
  text-align: center;
  margin: 0 auto 2rem;
}

.about-content h2::after {
  left: 50%;
  transform: translateX(-50%);
}

.about-stats {
  grid-template-columns: repeat(3, 1fr);
  justify-content: center;
  gap: 1rem;
  margin: 2.5rem auto;
  max-width: 500px;
}

.features {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  max-width: 90%;
  margin: 2rem auto 0;
  gap: 2rem;
}

.feature {
  text-align: center;
}

.feature-link {
  justify-content: center;
}

.about-title {
  display: inline-block;
  margin: 0 auto 1.5rem;
}
}

/* Extra styles for medium-sized screens */
@media (max-width: 768px) {
.about {
  padding: 5rem 0;
}

.about-content h2 {
  font-size: 2rem;
}

.about-stats {
  grid-template-columns: repeat(1, 1fr);
  max-width: 280px;
  margin: 2rem auto;
}

.stat-item {
  padding: 1.5rem 1rem;
}

.stat-number {
  font-size: 2.2rem;
}

.about-content p.lead {
  font-size: 1.1rem;
  padding: 0 0.5rem;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.about-image {
  width: 90%;
}

.about-image::before {
  width: 90%;
  height: 90%;
}
}

/* Small screen optimizations */
@media (max-width: 576px) {
.about {
  padding: 4rem 0;
}

.about-content {
  padding: 0;
}

.about-content h2 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}

.about-content p.lead {
  font-size: 1rem;
  padding: 0;
}

.feature {
  padding: 1.5rem;
}

.feature i {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.feature h4 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.feature p {
  font-size: 0.95rem;
}

.feature-link {
  margin-top: 0.75rem;
  font-size: 0.9rem;
}
}

/* Fix for features on all screen sizes */
.features {
display: grid;
gap: 2rem;
}

/* Ensure features stay visible on all screen sizes */
.feature {
opacity: 1 !important;
transform: none !important;
transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.feature:hover {
transform: translateY(-10px) !important;
}

/* ...existing code... */

/* Add these styles for the logo image */
.logo-image {
max-height: 42px;
width: auto;
transition: transform 0.3s ease;
}

a:hover .logo-image {
transform: scale(1.05);
}

/* For responsive design */
@media (max-width: 768px) {
.logo-image {
  max-height: 36px;
}
}

@media (max-width: 576px) {
.logo-image {
  max-height: 32px;
}
}

/* ...existing code... */

/* Add these styles to the bottom of your existing landing.css file */

/* Enhanced step animations */
.step-animated {
opacity: 0;
transform: translateY(30px);
transition: all 0.6s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.step-animated.visible {
opacity: 1;
transform: translateY(0);
}

/* Enhanced feature animations */
.feature-animated {
opacity: 0;
transform: translateY(30px);
transition: all 0.6s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.feature-animated.visible {
opacity: 1;
transform: translateY(0);
}

/* Prep card animations */
.prep-card {
opacity: 0;
transform: translateY(20px);
transition: all 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.prep-card.visible {
opacity: 1;
transform: translateY(0);
}

/* Footer logo image styling */
.footer-logo-img {
max-height: 40px;
margin-bottom: 15px;
}

/* Enhanced preparation section styling */
.preparation-features {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 30px;
margin-bottom: 30px;
}

.prep-feature {
background-color: #ffffff;
padding: 25px;
border-radius: 10px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
transition: all 0.3s ease;
border: 1px solid rgba(99, 102, 241, 0.1);
position: relative;
overflow: hidden;
}

.prep-feature::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 4px;
height: 0;
background: linear-gradient(to bottom, var(--primary-color), var(--primary-light));
transition: height 0.4s ease;
}

.prep-feature:hover {
transform: translateY(-8px);
box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.prep-feature:hover::before {
height: 100%;
}

/* Enhanced scroll indicator */
.scroll-indicator {
position: absolute;
bottom: 50px;
left: 50%;
transform: translateX(-50%);
z-index: 10;
text-align: center;
animation: fade-in-up 1.5s ease-out forwards;
animation-delay: 1s;
opacity: 0;
}

@keyframes fade-in-up {
from {
  opacity: 0;
  transform: translate(-50%, 20px);
}
to {
  opacity: 1;
  transform: translate(-50%, 0);
}
}

/* Responsive improvements */
@media (max-width: 991px) {
.preparation-features {
  grid-template-columns: 1fr;
}

.scroll-indicator {
  bottom: 30px;
}

.footer-logo-img {
  max-height: 36px;
}
}

@media (max-width: 576px) {
.footer-logo-img {
  max-height: 30px;
}

.social-icons {
  justify-content: center;
}
}

/* Print styles for preparation section */
@media print {
.preparation {
  background-color: white !important;
  padding: 20px 0 !important;
}

.preparation-content {
  flex-direction: column !important;
}

.preparation-image {
  display: none !important;
}

.prep-card-icon {
  background-color: transparent !important;
}
}

/* Add these styles to the bottom of your existing landing.css file */

/* Preparation Section Styles */
.preparation {
  background-color: #f9f9ff;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.preparation-content {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-bottom: 60px;
}

.preparation-text {
  flex: 1;
}

.preparation-title {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--primary-color);
  text-transform: uppercase;
  display: block;
  margin-bottom: 15px;
}

.preparation-text h3 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-color-dark);
}

.preparation-text .lead {
  font-size: 1.1rem;
  color: var(--text-color-medium);
  margin-bottom: 40px;
  line-height: 1.7;
}

.preparation-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

.prep-feature {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.prep-feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.prep-feature i {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.prep-feature h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.prep-feature p {
  font-size: 0.95rem;
  color: var(--text-color-medium);
  line-height: 1.6;
}

.preparation-image {
  flex: 1;
  position: relative;
}

.preparation-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.resource-badge {
  position: absolute;
  bottom: -20px;
  right: 30px;
  background-color: var(--primary-color);
  color: white;
  padding: 15px 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.resource-badge .number {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
}

.resource-badge .text {
  font-size: 0.8rem;
  opacity: 0.9;
}

.preparation-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.prep-card {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.prep-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.prep-card-icon {
  background-color: rgba(var(--primary-rgb), 0.1);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prep-card-icon i {
  font-size: 28px;
  color: var(--primary-color);
}

.prep-card h5 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.prep-card p {
  font-size: 0.9rem;
  color: var(--text-color-medium);
}

/* Responsive styles for preparation section */
@media (max-width: 991px) {
  .preparation-content {
      flex-direction: column;
  }
  
  .preparation-cards {
      grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .preparation-features {
      grid-template-columns: 1fr;
  }
  
  .preparation-cards {
      grid-template-columns: 1fr;
  }
  
  .preparation-text h3 {
      font-size: 2rem;
  }
}

/* ...existing code... */

/* Platform comparison section in About */
.platform-comparison {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 30px;
margin: 1.5rem 0 2.5rem;
}

.comparison-item {
background-color: var(--white);
padding: 1.8rem;
border-radius: 16px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
transition: var(--transition);
border: 1px solid rgba(99, 102, 241, 0.05);
position: relative;
overflow: hidden;
}

.comparison-item:hover {
transform: translateY(-8px);
box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.comparison-icon {
width: 60px;
height: 60px;
background-color: rgba(99, 102, 241, 0.1);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 1rem;
position: relative;
}

.comparison-icon i {
font-size: 1.5rem;
color: var(--primary-color);
}

/* Add pulsing effect to the comparison icons */
.comparison-icon::after {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border-radius: 50%;
border: 2px dashed var(--primary-color);
opacity: 0.3;
animation: spin 30s linear infinite;
}

.comparison-item h4 {
font-size: 1.2rem;
font-weight: 600;
margin-bottom: 0.8rem;
color: var(--text-dark);
position: relative;
display: inline-block;
}

.comparison-item h4::after {
content: '';
position: absolute;
left: 0;
bottom: -4px;
width: 40px;
height: 2px;
background: linear-gradient(to right, var(--primary-color), transparent);
transition: width 0.3s ease;
}

.comparison-item:hover h4::after {
width: 100%;
}

.comparison-item p {
color: var(--text-light);
line-height: 1.6;
font-size: 0.95rem;
margin-bottom: 0;
}

/* Enhanced platform comparison features for brighter display */
.comparison-item:first-child {
border-left: 3px solid var(--primary-color);
}

.comparison-item:last-child {
border-left: 3px solid var(--secondary-color);
}

.comparison-item:first-child .comparison-icon {
background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(99, 102, 241, 0.05));
}

.comparison-item:last-child .comparison-icon {
background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(245, 158, 11, 0.05));
}

.comparison-item:last-child .comparison-icon i {
color: var(--secondary-color);
}

/* Responsive adjustments for platform comparison */
@media (max-width: 991px) {
.platform-comparison {
  grid-template-columns: 1fr;
  gap: 20px;
}

.about-content h3 {
  text-align: center;
  display: block;
}

.about-content h3::after {
  left: 50%;
  transform: translateX(-50%);
}

.about-content p {
  text-align: center;
}

.comparison-item:first-child,
.comparison-item:last-child {
  border-left: none;
  border-top: 3px solid var(--primary-color);
}

.comparison-item:last-child {
  border-top-color: var(--secondary-color);
}
}

@media (max-width: 576px) {
.comparison-item {
  padding: 1.5rem;
}

.comparison-icon {
  width: 50px;
  height: 50px;
}

.comparison-icon i {
  font-size: 1.2rem;
}

.comparison-item h4 {
  font-size: 1.1rem;
}
}

/* ...existing code... */

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color, #6366f1), var(--primary-dark, #4f46e5));
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: 999;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  background: linear-gradient(135deg, var(--primary-dark, #4f46e5), var(--primary-darker, #4338ca));
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
  transform: translateY(-3px);
}

.scroll-to-top:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.3), 0 6px 20px rgba(79, 70, 229, 0.4);
}

.scroll-to-top i {
  transition: transform 0.3s ease;
}

.scroll-to-top:hover i {
  transform: translateY(-3px);
}

@media (max-width: 576px) {
  .scroll-to-top {
      bottom: 20px;
      right: 20px;
      width: 40px;
      height: 40px;
      font-size: 1rem;
  }
}

/* ===== NEW CODING PRACTICE SECTION STYLES ===== */
.coding-practice {
  background: linear-gradient(135deg, #f8f9fc 0%, #eef2ff 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.coding-practice::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%236366f1' fill-opacity='0.05' fill-rule='evenodd'%3E%3Cpath d='M0 0h20L0 20z'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.4;
}

/* Reverse the flex order to place image on left */
.coding-overview {
  display: flex;
  align-items: center;
  flex-direction: row-reverse; /* Reverse the order */
  gap: 60px;
  position: relative;
  z-index: 2;
  margin-top: 50px;
}

.coding-content {
  flex: 1;
  padding-left: 20px; /* Add some padding on the left */
}

.coding-content h3 {
  font-size: 2.4rem; /* Slightly larger heading */
  font-weight: 700;
  margin-bottom: 25px;
  color: var(--text-dark);
  position: relative;
  display: inline-block;
}

.coding-content h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 80px; /* Wider underline */
  height: 4px; /* Thicker underline */
  background: linear-gradient(to right, var(--primary-color), var(--primary-light));
  border-radius: 3px;
}

.coding-content .lead {
  font-size: 1.2rem; /* Slightly larger text */
  line-height: 1.8;
  color: var(--text-dark); /* Darker text for better readability */
  margin-bottom: 35px;
  max-width: 550px;
}

.coding-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px; /* Increased gap */
  margin-bottom: 35px;
}

.coding-feature-item {
  display: flex;
  gap: 18px; /* Increased gap */
  align-items: flex-start;
  padding: 15px 20px; /* Add padding */
  border-radius: 12px; /* Add border radius */
  transition: all 0.3s ease;
  background-color: rgba(255, 255, 255, 0.7); /* Slight background */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03); /* Subtle shadow */
}

.coding-feature-item:hover {
  transform: translateY(-5px); /* Lift on hover */
  background-color: white;
  box-shadow: 0 15px 30px rgba(99, 102, 241, 0.1);
}

.feature-icon {
  width: 60px; /* Larger icon */
  height: 60px;
  flex-shrink: 0;
  background-color: rgba(99, 102, 241, 0.1);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.coding-feature-item:hover .feature-icon {
  background-color: var(--primary-color);
  transform: rotate(5deg); /* Add rotation on hover */
}

.feature-icon i {
  font-size: 1.5rem; /* Larger icon */
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.coding-feature-item:hover .feature-icon i {
  color: white;
}

.feature-text h4 {
  font-size: 1.2rem; /* Larger heading */
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.feature-text p {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 0;
  line-height: 1.6;
}

.coding-cta {
  display: flex;
  gap: 20px; /* Increased gap */
  margin-top: 40px;
}

/* Enhanced image container - now on the left side */
.coding-image {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end; /* Align to the right inside its container */
  padding-right: 30px; /* Add padding on the right */
}

.mockup-img {
  max-width: 100%;
  border-radius: 15px;
  border: 8px solid white; /* Add border */
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  transition: all 0.5s ease;
  transform: perspective(1000px) rotateY(5deg); /* Reversed rotation direction */
}

.coding-image:hover .mockup-img {
  transform: perspective(1000px) rotateY(0deg) translateY(-10px);
  box-shadow: 0 35px 60px rgba(99, 102, 241, 0.2);
}

.coding-stats {
  position: absolute;
  display: flex;
  gap: 20px;
  bottom: -20px;
  right: 10px;
  z-index: 2;
}

.coding-stats .stat-item {
  background: white;
  padding: 18px; /* Larger padding */
  border-radius: 12px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  min-width: 110px; /* Slightly wider */
  text-align: center;
  transition: all 0.3s ease;
}

.coding-stats .stat-item:hover {
  transform: translateY(-8px); /* Larger lift on hover */
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.15);
}

.coding-stats .stat-icon {
  width: 45px; /* Larger icon */
  height: 45px;
  background-color: rgba(99, 102, 241, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.coding-stats .stat-icon i {
  font-size: 1.4rem; /* Larger icon */
  color: var(--primary-color);
}

.coding-stats .stat-number {
  font-size: 2rem; /* Larger number */
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.2;
}

.coding-stats .stat-label {
  font-size: 0.9rem; /* Larger label */
  font-weight: 500;
  color: var(--text-dark); /* Darker text */
}

/* Coding Preview Section Styles - also improved */
.coding-preview {
  background-color: white;
  padding: 100px 0;
  position: relative;
}

/* Making the Coding sections responsive */
@media (max-width: 1200px) {
  .coding-overview {
    gap: 40px; /* Reduce gap on smaller screens */
  }
}

@media (max-width: 991px) {
  .coding-practice {
    padding: 100px 0;
  }
  
  .coding-overview {
    flex-direction: column; /* Stack vertically on tablet */
    gap: 50px;
  }
  
  .coding-content {
    padding-left: 0;
    max-width: 100%;
    text-align: center;
  }
  
  .coding-content h3 {
    display: block;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  
  .coding-content h3::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .coding-features {
    grid-template-columns: repeat(2, 1fr); /* Keep 2 columns on tablets */
  }
  
  .coding-cta {
    justify-content: center;
  }
  
  .coding-image {
    width: 80%;
    margin: 0 auto;
    padding-right: 0;
  }
  
  .mockup-img {
    transform: none;
  }
  
  .coding-image:hover .mockup-img {
    transform: translateY(-10px);
  }
  
  .coding-stats {
    position: relative;
    bottom: auto;
    right: auto;
    justify-content: center;
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .coding-features {
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 20px;
  }
  
  .coding-cta {
    flex-direction: column;
    gap: 15px;
  }
  
  .coding-cta .primary-button,
  .coding-cta .secondary-button {
    width: 100%;
    justify-content: center;
  }
  
  .coding-content h3 {
    font-size: 2rem;
  }
  
  .coding-content .lead {
    font-size: 1.1rem;
  }
  
  .coding-image {
    width: 90%;
  }
}

@media (max-width: 576px) {
  .coding-practice {
    padding: 80px 0;
  }
  
  .coding-image {
    width: 100%;
  }
  
  .mockup-img {
    border-width: 5px;
  }
  
  .coding-stats {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }
  
  .coding-stats .stat-item {
    width: 80%;
    max-width: 200px;
  }
}

/* ... existing code ... */

/* ===== IMPROVED CODING IMAGE RESPONSIVE STYLES ===== */
.coding-image {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center; /* Center image in container */
  padding: 20px;
  z-index: 5;
}

.mockup-img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  border: 6px solid white;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  transition: all 0.4s ease;
  object-fit: contain; /* Maintain aspect ratio without cropping */
  max-height: 450px; /* Set maximum height */
}

.coding-image:hover .mockup-img {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(99, 102, 241, 0.2);
}

.coding-stats {
  position: absolute;
  display: flex;
  gap: 15px;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  width: fit-content;
}

.coding-stats .stat-item {
  background: white;
  padding: 12px 20px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.3s ease;
  min-width: 100px;
  max-width: 110px;
  width: 100%;
}

/* Improved responsive handling for the coding section */
@media (max-width: 1200px) {
  .mockup-img {
    max-height: 400px;
  }
}

@media (max-width: 991px) {
  .coding-practice {
    padding: 80px 0;
  }
  
  .coding-overview {
    flex-direction: column;
  }
  
  .coding-image {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    order: -1; /* Move the image to the top on mobile */
    padding-bottom: 50px; /* Make room for stats below */
  }
  
  .mockup-img {
    max-height: 350px;
    border-width: 4px;
  }
  
  .coding-content {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
    margin-top: 30px;
  }
  
  .coding-content h3 {
    display: inline-block;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  
  .coding-content h3::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .coding-stats {
    bottom: -25px;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .mockup-img {
    max-height: 300px;
  }
  
  .coding-stats {
    width: 90%;
    max-width: 320px;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .coding-stats {
    flex-direction: row; /* Keep as row for small screens */
    gap: 10px;
    bottom: -25px;
    width: 90%;
  }
  
  .coding-stats .stat-item {
    padding: 10px;
    min-width: 0;
    flex: 1;
  }
  
  .coding-stats .stat-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 8px;
  }
  
  .coding-stats .stat-number {
    font-size: 1.5rem;
  }
  
  .coding-stats .stat-label {
    font-size: 0.8rem;
  }
  
  .mockup-img {
    max-height: 250px;
    border-width: 3px;
  }
  
  .coding-image {
    padding-bottom: 40px;
  }
}
