* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #4f46e5;
  --primary-glow: #818cf8;
  --secondary-color: #10b981;
  --accent-color: #f43f5e;
  --dark-bg: #0f172a;
  --darker-bg: #020617;
  --text-light: #f1f5f9;
  --text-muted: #94a3b8;
  --nav-height: 80px;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--darker-bg);
  color: var(--text-light);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
}

/* Header/Navigation Styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  height: var(--nav-height);
  max-width: 1200px;
  margin: 0 auto;
}

.nav-brand a {
  font-family: "Roboto", sans-serif;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--text-light);
  text-decoration: none;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-glow));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  letter-spacing: -0.5px;
}

.nav-brand a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 30%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-glow));
  border-radius: 3px;
  transition: width 0.3s ease;
}

.nav-brand a:hover::after {
  width: 100%;
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-item {
  margin-left: 2rem;
  position: relative;
}

.nav-link {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 0.5rem 0;
  position: relative;
  font-size: 1.1rem;
}

.nav-link::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 2px;
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-glow);
}

.nav-link:hover::before {
  width: 100%;
}

.nav-item:last-child .nav-link {
  background: linear-gradient(90deg, var(--primary-color), var(--primary-glow));
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(79, 70, 229, 0.4);
  transition: all 0.3s ease;
}

.nav-item:last-child .nav-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.6);
}

.nav-item:last-child .nav-link::before {
  display: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 1001;
}

.bar {
  width: 25px;
  height: 3px;
  background: var(--text-light);
  margin: 3px 0;
  transition: all 0.3s ease;
  border-radius: 3px;
}
/* Hero Section Styles Start */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-height) + 2rem) 2rem 2rem;
  background: linear-gradient(to bottom, var(--darker-bg), var(--dark-bg));
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 20% 30%,
      rgba(79, 70, 229, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(16, 185, 129, 0.1) 0%,
      transparent 50%
    );
  z-index: 0;
}

.hero-content {
  flex: 1;
  padding-right: 2rem;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  background: linear-gradient(90deg, var(--text-light), var(--primary-glow));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  padding-bottom: 1rem;
}

.hero-content h1::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100px;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 2px;
}

.hero-content h1 span {
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  display: inline-block;
}

.hero-content h1 span::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 3px;
}

.hero-content p {
  font-size: 1.3rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 90%;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2.2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-glow));
  z-index: -1;
  transition: transform 0.5s ease;
}

.btn-primary::before {
  transform: scaleX(1);
}

.btn-secondary::before {
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--primary-color), var(--primary-glow));
}

.btn-primary {
  color: white;
  box-shadow: 0 10px 25px rgba(79, 70, 229, 0.35);
}

.btn-secondary {
  color: var(--text-light);
  border: 2px solid var(--primary-color);
  background: transparent;
}

.btn-primary:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(79, 70, 229, 0.5);
}

.btn-secondary:hover {
  color: white;
}

.btn-secondary:hover::before {
  transform: scaleX(1);
}

.btn:hover::before {
  transform: scaleX(1.05);
}

.hero-image {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  max-height: 60vh;
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  animation: float 6s ease-in-out infinite;
  transform-style: preserve-3d;
  transition: transform 0.5s ease;
  transform: scaleX(-1); /* This mirrors the image */
}

.hero-image img:hover {
  transform: scaleX(-1) translateY(-10px) rotate3d(1, 1, 1, 5deg);
  /* Keep the scaleX(-1) to maintain the mirror effect during hover */
}

@keyframes float {
  0% {
    transform: scaleX(-1) translateY(0px) rotate3d(1, 1, 1, 0deg);
    box-shadow: 0 25px 50px rgba(79, 70, 229, 0.2);
  }
  50% {
    transform: scaleX(-1) translateY(-20px) rotate3d(1, 1, 1, 5deg);
    box-shadow: 0 35px 60px rgba(79, 70, 229, 0.4);
  }
  100% {
    transform: scaleX(-1) translateY(0px) rotate3d(1, 1, 1, 0deg);
    box-shadow: 0 25px 50px rgba(79, 70, 229, 0.2);
  }
}

/* About Section Styles */
.about {
  padding: 6rem 0;
  background: linear-gradient(to bottom, var(--darker-bg), var(--dark-bg));
  position: relative;
  overflow: hidden;
}

.about::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 10% 20%,
      rgba(79, 70, 229, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 90% 80%,
      rgba(16, 185, 129, 0.08) 0%,
      transparent 50%
    );
  z-index: 0;
}

.section-title {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 4rem;
  color: var(--text-light);
  position: relative;
  z-index: 2;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 2px;
}

.about-content {
  display: flex;
  gap: 4rem;
  position: relative;
  z-index: 2;
}

.about-intro {
  flex: 1;
  width: 90%;
  transform: translateX(15px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-intro h3 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(90deg, var(--text-light), var(--primary-glow));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-intro > p {
  margin-bottom: 2rem;
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2.2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
  width: fit-content;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-glow));
  z-index: -1;
}

.btn-primary {
  color: white;
  box-shadow: 0 10px 25px rgba(79, 70, 229, 0.35);
}

.btn-primary:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(79, 70, 229, 0.5);
}

.btn i {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.btn:hover i {
  transform: translateX(5px);
}

.about-details {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.skills {
  margin-bottom: 3rem;
}

.skill {
  margin-bottom: 1.8rem;
}

.skill-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  margin-bottom: 0.8rem;
}

.skill h4 {
  font-size: 1.1rem;
  color: var(--text-light);
  font-weight: 600;
}

.skill-percentage {
  color: var(--primary-glow);
  font-weight: 600;
  font-size: 0.9rem;
}

.progress-bar {
  width: 90%;
  height: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.progress {
  height: 100%;
  border-radius: 10px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  position: relative;
  width: 0;
  transition: width 1.5s ease-in-out;
}

.progress::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 10px;
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 0 10px 10px 0;
}

/* Expertise Section */
.expertise-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.expertise-card {
  background: var(--card-bg);
  padding: 1.8rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  border-left: 4px solid var(--primary-color);
}

.expertise-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  border-left: 4px solid var(--secondary-color);
}

.expertise-card h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
}

.expertise-card h4 i {
  color: var(--primary-glow);
  margin-right: 0.7rem;
  font-size: 1.3rem;
}

.expertise-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Stats Section */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: var(--card-bg);
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  color: var(--text-muted);
}
/* About Section End */

/* Services Section Styles Start */
/* Services Section Styles */
.services {
  padding: 6rem 0;
  background: linear-gradient(to bottom, var(--darker-bg), var(--dark-bg));
  position: relative;
  overflow: hidden;
}

.services::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 20% 30%,
      rgba(79, 70, 229, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(16, 185, 129, 0.1) 0%,
      transparent 50%
    );
  z-index: 0;
}

.section-title {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 4rem;
  color: var(--text-light);
  position: relative;
  z-index: 2;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 2px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.service-card {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(79, 70, 229, 0.1),
    rgba(16, 185, 129, 0.05)
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(79, 70, 229, 0.3);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  border-radius: 50%;
  font-size: 2rem;
  position: relative;
  transition: all 0.4s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 10px 25px rgba(79, 70, 229, 0.4);
}

.service-icon::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid var(--primary-glow);
  opacity: 0;
  animation: pulse 2s infinite;
}

.service-card:hover .service-icon::after {
  opacity: 0.7;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  70% {
    transform: scale(1.5);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
  color: var(--text-light);
  position: relative;
  padding-bottom: 0.8rem;
}

.service-card h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 2px;
  transition: width 0.3s ease;
}

.service-card:hover h3::after {
  width: 80px;
}

.service-card p {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-features {
  list-style: none;
  text-align: left;
  margin-top: 1.5rem;
}

.service-features li {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.service-features li::before {
  content: "✓";
  color: var(--secondary-color);
  font-weight: bold;
  margin-right: 0.7rem;
  background: rgba(16, 185, 129, 0.1);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.service-cta {
  margin-top: 1.5rem;
  display: inline-block;
  color: var(--primary-glow);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  position: relative;
  transition: all 0.3s ease;
}

.service-cta::after {
  content: "→";
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.service-cta:hover {
  color: var(--secondary-color);
}

.service-cta:hover::after {
  transform: translateX(5px);
}

/* Decorative elements */
.floating-element {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), transparent);
  opacity: 0.1;
  z-index: 0;
}

.floating-element:nth-child(1) {
  width: 100px;
  height: 100px;
  top: 20%;
  left: 10%;
  animation: float 8s ease-in-out infinite;
}

.floating-element:nth-child(2) {
  width: 150px;
  height: 150px;
  bottom: 15%;
  right: 8%;
  animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(10deg);
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}
/* Services Section Styles End */

/* Portfolio Section Styles Start */
.portfolio {
  padding: 6rem 0;
  background: linear-gradient(to bottom, var(--darker-bg), var(--dark-bg));
  position: relative;
  overflow: hidden;
}

.portfolio::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 20% 30%,
      rgba(79, 70, 229, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(16, 185, 129, 0.08) 0%,
      transparent 50%
    );
  z-index: 0;
}

.section-title {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 3rem;
  color: var(--text-light);
  position: relative;
  z-index: 2;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 2px;
}

.portfolio-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
}

.filter-btn {
  padding: 0.8rem 1.8rem;
  background: transparent;
  color: var(--text-light);
  border: 2px solid var(--primary-color);
  border-radius: 50px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
  font-family: "Poppins", sans-serif;
}

.filter-btn.active,
.filter-btn:hover {
  background: linear-gradient(90deg, var(--primary-color), var(--primary-glow));
  color: white;
  box-shadow: 0 5px 15px rgba(79, 70, 229, 0.3);
  transform: translateY(-2px);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.portfolio-item {
  background: var(--card-bg);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s ease;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.portfolio-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(79, 70, 229, 0.3);
}

.portfolio-image {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-image img {
  transform: scale(1.05);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(2, 6, 23, 0.9), transparent);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-category {
  background: linear-gradient(90deg, var(--primary-color), var(--primary-glow));
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.portfolio-info {
  padding: 1.8rem;
}

.portfolio-info h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.portfolio-info p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.portfolio-stats {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.portfolio-link {
  display: inline-flex;
  align-items: center;
  color: var(--primary-glow);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.portfolio-link::after {
  content: "→";
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.portfolio-link:hover {
  color: var(--secondary-color);
}

.portfolio-link:hover::after {
  transform: translateX(5px);
}
/* Portfolio Section Styles End */

/* Testimonials Section Styles Start */
/* Testimonials Section Styles */
.testimonials {
  padding: 6rem 0;
  background: linear-gradient(to bottom, var(--darker-bg), var(--dark-bg));
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 20% 30%,
      rgba(79, 70, 229, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(16, 185, 129, 0.08) 0%,
      transparent 50%
    );
  z-index: 0;
}

.section-title {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 4rem;
  color: var(--text-light);
  position: relative;
  z-index: 2;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 2px;
}

.testimonials-container {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 0 auto;
}

.testimonials-slider {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.testimonial {
  display: none;
  padding: 3rem;
  background: var(--card-bg);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.4s ease;
}

.testimonial.active {
  display: flex;
  flex-direction: column;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.testimonial-content {
  position: relative;
  padding: 2rem;
  margin-bottom: 2rem;
  background: linear-gradient(
    135deg,
    rgba(79, 70, 229, 0.1),
    rgba(16, 185, 129, 0.05)
  );
  border-radius: 16px;
  border-left: 4px solid var(--primary-color);
}

.testimonial-content::before {
  content: '"';
  position: absolute;
  top: 0;
  left: 1rem;
  font-size: 5rem;
  font-family: "Roboto", serif;
  color: var(--primary-glow);
  opacity: 0.2;
  line-height: 1;
}

.testimonial-content p {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--text-light);
  font-style: italic;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.testimonial-author img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.author-info h4 {
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
  color: var(--text-light);
}

.author-info p {
  color: var(--primary-glow);
  font-size: 0.9rem;
  font-weight: 500;
}

.testimonial-stats {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-value {
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-dots {
  display: flex;
  gap: 1rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: var(--primary-color);
  transform: scale(1.2);
  box-shadow: 0 0 10px var(--primary-color);
}

.testimonial-arrows {
  display: flex;
  gap: 1rem;
}

.arrow {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card-bg);
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.arrow:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(79, 70, 229, 0.4);
}

/* Floating elements for decoration */
.floating-testimonial {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  font-size: 2rem;
  opacity: 0.1;
  z-index: 0;
}

.floating-testimonial:nth-child(1) {
  top: 20%;
  left: 10%;
  animation: float 8s ease-in-out infinite;
}

.floating-testimonial:nth-child(2) {
  bottom: 15%;
  right: 8%;
  animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(10deg);
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}

/* Testimonials Section Styles End */

/* Contact Section Styles Start */
.contact {
  padding: 6rem 0;
  background: linear-gradient(to bottom, var(--darker-bg), var(--dark-bg));
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 20% 30%,
      rgba(79, 70, 229, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(16, 185, 129, 0.08) 0%,
      transparent 50%
    );
  z-index: 0;
}

.section-title {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 4rem;
  color: var(--text-light);
  position: relative;
  z-index: 2;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 2px;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  position: relative;
  z-index: 2;
}

.contact-info {
  padding: 2rem;
}

.contact-info h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(90deg, var(--text-light), var(--primary-glow));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-info > p {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.contact-details {
  margin-bottom: 2.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.8rem;
  padding: 1.2rem;
  background: var(--card-bg);
  border-radius: 12px;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.contact-item:hover {
  transform: translateX(10px);
  border-left: 3px solid var(--primary-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.contact-icon {
  width: 55px;
  height: 55px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-text h4 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
  color: var(--text-light);
}

.contact-text p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 45px;
  height: 45px;
  background: var(--card-bg);
  color: var(--text-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.social-links a:hover {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(79, 70, 229, 0.4);
}

.contact-form {
  background: var(--card-bg);
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-group {
  margin-bottom: 1.5rem;
  position: relative;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1.2rem 1.5rem;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--text-light);
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.3);
}

.form-group label {
  position: absolute;
  top: 1.2rem;
  left: 1.5rem;
  color: var(--text-muted);
  pointer-events: none;
  transition: all 0.3s ease;
  background: var(--darker-bg);
  padding: 0 0.5rem;
}

.form-group input:focus ~ label,
.form-group textarea:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
  top: -0.6rem;
  left: 1rem;
  font-size: 0.8rem;
  color: var(--primary-glow);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
  width: 100%;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-glow));
  z-index: -1;
  transition: transform 0.5s ease;
}

.btn-primary {
  color: white;
  box-shadow: 0 10px 25px rgba(79, 70, 229, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(79, 70, 229, 0.5);
}

.btn-primary:hover::before {
  transform: scale(1.05);
}

.btn i {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.btn:hover i {
  transform: translateX(5px);
}

/* Status message */
.status-message {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  display: none;
}

.status-message.success {
  background: rgba(16, 185, 129, 0.1);
  color: var(--secondary-color);
  border: 1px solid rgba(16, 185, 129, 0.3);
  display: block;
}

.status-message.error {
  background: rgba(244, 63, 94, 0.1);
  color: var(--accent-color);
  border: 1px solid rgba(244, 63, 94, 0.3);
  display: block;
}

/* Floating elements */
.floating-contact {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  font-size: 2rem;
  opacity: 0.1;
  z-index: 0;
}

.floating-contact:nth-child(1) {
  top: 20%;
  left: 5%;
  animation: float 8s ease-in-out infinite;
}

.floating-contact:nth-child(2) {
  bottom: 15%;
  right: 5%;
  animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(10deg);
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}
/* Contact Section Styles End */

/* Footer Section Styles Start */
.footer {
  background: linear-gradient(to top, var(--dark-bg), var(--darker-bg));
  padding: 4rem 0 1.5rem;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 20% 10%,
      rgba(79, 70, 229, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 90%,
      rgba(16, 185, 129, 0.08) 0%,
      transparent 50%
    );
  z-index: 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
}

.footer-brand {
  margin-bottom: 2rem;
}

.footer-brand h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  background: linear-gradient(90deg, var(--text-light), var(--primary-glow));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.footer-about {
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 400px;
  margin-bottom: 2rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social a:hover {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(79, 70, 229, 0.4);
}

.footer-heading {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--text-light);
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 2px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.footer-links a:hover {
  color: var(--primary-glow);
  transform: translateX(5px);
}

.footer-links a i {
  margin-right: 0.5rem;
  font-size: 0.9rem;
}

.footer-newsletter p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-input {
  flex: 1;
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  color: var(--text-light);
  font-family: "Poppins", sans-serif;
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--primary-color);
}

.newsletter-btn {
  padding: 0.8rem 1.2rem;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-glow));
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
}

.newsletter-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(79, 70, 229, 0.4);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.5rem;
  text-align: center;
  position: relative;
  z-index: 2;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-bottom p a {
  color: var(--primary-glow);
  text-decoration: none;
}

.footer-bottom p a:hover {
  text-decoration: underline;
}

/* Back to top button */
.back-to-top {
  position: absolute;
  top: 25px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  z-index: 10;
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Floating elements */
.floating-footer {
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  font-size: 1.5rem;
  opacity: 0.1;
  z-index: 0;
}

.floating-footer:nth-child(1) {
  top: 20%;
  left: 10%;
  animation: float 8s ease-in-out infinite;
}

.floating-footer:nth-child(2) {
  bottom: 20%;
  right: 10%;
  animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(10deg);
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}

/* Footer Section Styles End */
