/* Base Styles */
:root {
  --primary-color: #2a6dc9;
  --primary-light: #4285f4;
  --primary-dark: #1e4b8f;
  --secondary-color: #34c759;
  --accent-color: #ff9500;
  --text-color: #333;
  --text-light: #666;
  --text-lighter: #999;
  --bg-color: #fff;
  --bg-light: #f5f8ff;
  --bg-dark: #1a1a1a;
  --card-bg: #fff;
  --card-bg-dark: #2c2c2c;
  --border-color: #e0e0e0;
  --border-dark: #444;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --shadow-dark: 0 10px 30px rgba(0, 0, 0, 0.3);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --border-radius: 12px;
  --border-radius-sm: 8px;
  --border-radius-lg: 20px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

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

img {
  max-width: 100%;
  height: auto;
}

/* Page Loader */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-color);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  border-top-color: var(--primary-color);
  animation: spin 1s ease-in-out infinite;
}

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

/* Section Styles */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title i {
  margin-right: 10px;
  color: var(--primary-light);
}

.section-line {
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, var(--primary-color), var(--primary-light));
  margin: 0 auto;
  border-radius: 2px;
}

.section-wave {
  margin-top: -100px;
  position: relative;
  z-index: 1;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
  gap: 8px;
}

.btn i {
  font-size: 1.1rem;
}

.primary-btn {
  background: linear-gradient(to right, var(--primary-color), var(--primary-light));
  color: white;
  box-shadow: 0 4px 15px rgba(66, 133, 244, 0.3);
}

.primary-btn:hover {
  background: linear-gradient(to right, var(--primary-dark), var(--primary-color));
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(66, 133, 244, 0.4);
}

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

.secondary-btn:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(66, 133, 244, 0.2);
}

.project-btn {
  background: linear-gradient(to right, var(--primary-color), var(--primary-light));
  color: white;
  padding: 10px 20px;
  font-size: 0.9rem;
  box-shadow: 0 4px 15px rgba(66, 133, 244, 0.2);
}

.project-btn:hover {
  background: linear-gradient(to right, var(--primary-dark), var(--primary-color));
  color: white;
}

/* Header Styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
  z-index: 1000;
  padding: 15px 0;
  transition: var(--transition);
}

header.scrolled {
  padding: 10px 0;
  background-color: rgba(255, 255, 255, 0.98);
}

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

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  position: relative;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.logo-circle {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: var(--bg-light);
  border-radius: 50%;
  z-index: -1;
  animation: pulse 2s infinite;
}

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

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  color: var(--text-color);
  font-weight: 500;
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a i {
  color: var(--primary-color);
  font-size: 0.9rem;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--primary-color), var(--primary-light));
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.theme-toggle {
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--text-color);
  margin-right: 20px;
  transition: var(--transition);
}

.theme-toggle:hover {
  color: var(--primary-color);
  transform: rotate(30deg);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--text-color);
  margin: 3px 0;
  border-radius: 3px;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  padding: 150px 0 100px;
  background: linear-gradient(135deg, var(--bg-light) 0%, #e6f0ff 100%);
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  position: relative;
  z-index: 2;
}

.hero-text {
  flex: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background-color: rgba(66, 133, 244, 0.1);
  color: var(--primary-color);
  padding: 8px 16px;
  border-radius: 50px;
  font-weight: 600;
  margin-bottom: 20px;
  gap: 8px;
}

.hero-badge i {
  color: var(--primary-light);
}

.hero-text h1 {
  font-size: 3.5rem;
  margin-bottom: 10px;
  color: var(--text-color);
  line-height: 1.2;
  background: linear-gradient(to right, var(--primary-dark), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--text-light);
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--text-light);
  line-height: 1.8;
}

.quote-icon {
  color: var(--primary-light);
  font-size: 0.8rem;
  opacity: 0.7;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
}

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

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.social-icon:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-5px) rotate(360deg);
  box-shadow: 0 8px 20px rgba(66, 133, 244, 0.3);
}

.hero-image {
  flex: 1;
  text-align: center;
  position: relative;
}

.profile-img-container {
  position: relative;
  width: 320px;
  height: 320px;
  margin: 0 auto;
}

.profile-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 8px solid white;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 2;
}

.img-border {
  position: absolute;
  top: -15px;
  left: -15px;
  right: -15px;
  bottom: -15px;
  border: 2px dashed var(--primary-light);
  border-radius: 50%;
  animation: rotate 20s linear infinite;
}

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

.floating-badge {
  position: absolute;
  background-color: white;
  border-radius: 50px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow);
  z-index: 3;
  animation: float 3s ease-in-out infinite;
}

.floating-badge i {
  color: var(--primary-color);
}

.badge-1 {
  top: 20%;
  left: 0;
  animation-delay: 0s;
}

.badge-2 {
  top: 50%;
  right: 0;
  animation-delay: 0.5s;
}

.badge-3 {
  bottom: 20%;
  left: 20%;
  animation-delay: 1s;
}

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

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
}

/* About Section */
.about {
  padding: 100px 0;
  background-color: var(--bg-color);
  position: relative;
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
}

.about-card {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--shadow);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, var(--primary-color), var(--primary-light));
}

.about-icon {
  width: 70px;
  height: 70px;
  background-color: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--primary-color);
  font-size: 1.8rem;
}

.about-card p {
  color: var(--text-light);
  font-size: 1.1rem;
  line-height: 1.8;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.stat-item {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 25px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 20px;
  transition: var(--transition);
}

.stat-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.stat-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(to right, var(--primary-color), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.3rem;
}

.stat-info h3 {
  color: var(--primary-color);
  margin-bottom: 5px;
  font-size: 1.2rem;
}

.stat-info p {
  color: var(--text-light);
}

/* Skills Section */
.skills {
  padding: 100px 0;
  background-color: var(--bg-light);
  position: relative;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.skill-card {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.skill-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary-color), var(--primary-light));
}

.skill-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.skill-icon {
  width: 60px;
  height: 60px;
  background-color: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary-color);
  font-size: 1.5rem;
}

.skill-card h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.skill-card p {
  color: var(--text-light);
  margin-bottom: 20px;
}

.skill-progress {
  height: 8px;
  background-color: var(--bg-light);
  border-radius: 4px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(to right, var(--primary-color), var(--primary-light));
  border-radius: 4px;
  width: 0;
  transition: width 1.5s ease-in-out;
}

.tools-container {
  max-width: 900px;
  margin: 0 auto;
}

.tools-title {
  text-align: center;
  margin-bottom: 30px;
  color: var(--primary-color);
  font-size: 1.5rem;
}

.tools-title i {
  margin-right: 10px;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 20px;
}

.tool-item {
  background-color: var(--card-bg);
  border-radius: var(--border-radius-sm);
  padding: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.tool-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  background: linear-gradient(to bottom right, var(--bg-light), white);
}

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

.tool-item span {
  font-weight: 500;
  color: var(--text-color);
}

/* Projects Section */
.projects {
  padding: 100px 0;
  background-color: var(--bg-color);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.project-card {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.project-card:hover {
  transform: translateY(-10px) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

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

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(42, 109, 201, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-card:hover .project-image img {
  transform: scale(1.1);
}

.project-btn {
  background: linear-gradient(to right, var(--primary-color), var(--primary-light));
  color: white;
  padding: 12px 24px;
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
  border-radius: 50px;
}

.project-btn:hover {
  background: linear-gradient(to right, var(--primary-dark), var(--primary-color));
  color: white;
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

@media (max-width: 576px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

/* Certificates Section */
.certificates {
  padding: 100px 0;
  background-color: var(--bg-light);
  position: relative;
}

.certificates-container {
  position: relative;
  max-width: 1100px;
  margin: 0 auto 50px;
}

.certificates-scroll {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 20px 10px;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
  gap: 30px;
  scroll-snap-type: x mandatory;
}

.certificates-scroll::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.certificate-card {
  flex: 0 0 auto;
  width: 450px; /* Wider card */
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  scroll-snap-align: start;
}

.certificate-image {
  height: 280px; /* Shorter height for wider appearance */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  position: relative;
  cursor: pointer;
}

.certificate-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: var(--transition);
}

.certificate-image:hover img {
  transform: scale(1.05);
}

.zoom-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(42, 109, 201, 0.8);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  font-size: 1.2rem;
}

.certificate-image:hover .zoom-icon {
  opacity: 1;
}

.certificate-info {
  padding: 15px;
  text-align: center;
}

.certificate-info h3 {
  color: var(--primary-color);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.certificate-info h3 i {
  color: var(--primary-light);
}

.scroll-arrows {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  pointer-events: none;
  z-index: 10;
}

.scroll-left,
.scroll-right {
  background-color: rgba(255, 255, 255, 0.8);
  color: var(--primary-color);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  pointer-events: auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.scroll-left:hover,
.scroll-right:hover {
  background-color: var(--primary-color);
  color: white;
  transform: scale(1.1);
}

.certificates-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 40px;
}

.certificate-mini {
  background-color: var(--card-bg);
  border-radius: var(--border-radius-sm);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.certificate-mini:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  background: linear-gradient(to right, var(--bg-light), white);
}

.certificate-mini i {
  color: var(--primary-color);
}

.certificate-mini span {
  font-weight: 500;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80vh;
}

.lightbox-caption {
  margin: auto;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: white;
  padding: 10px 0;
  height: 50px;
}

.close-lightbox {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
}

.close-lightbox:hover,
.close-lightbox:focus {
  color: var(--primary-light);
  text-decoration: none;
  cursor: pointer;
}

/* Animation */
@keyframes zoom {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

.lightbox-content {
  animation-name: zoom;
  animation-duration: 0.6s;
}

/* Responsive styles */
@media (max-width: 768px) {
  .certificate-card {
    width: 350px;
  }

  .certificate-image {
    height: 220px;
  }
}

@media (max-width: 576px) {
  .certificate-card {
    width: 280px;
  }

  .certificate-image {
    height: 180px;
  }
}

/* Contact Section */
.contact {
  padding: 100px 0;
  background-color: var(--bg-color);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 900px;
  margin: 0 auto 50px;
}

.contact-card {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  color: var(--text-color);
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, var(--primary-color), var(--primary-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.contact-card:hover::before {
  transform: scaleX(1);
}

.contact-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.contact-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  position: relative;
}

.contact-icon::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  border: 2px dashed;
  animation: rotate 20s linear infinite;
}

.whatsapp .contact-icon {
  color: #25d366;
}

.whatsapp .contact-icon::before {
  border-color: #25d366;
}

.linkedin .contact-icon {
  color: #0077b5;
}

.linkedin .contact-icon::before {
  border-color: #0077b5;
}

.email .contact-icon {
  color: var(--primary-color);
}

.email .contact-icon::before {
  border-color: var(--primary-color);
}

.contact-card h3 {
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.contact-card p {
  color: var(--text-light);
  margin-bottom: 15px;
}

.contact-hover {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 30px;
  height: 30px;
  background-color: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
}

.contact-card:hover .contact-hover {
  opacity: 1;
  transform: translateX(0);
}

.contact-form-container {
  max-width: 700px;
  margin: 0 auto;
}

.contact-form {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 40px;
  box-shadow: var(--shadow);
}

.contact-form h3 {
  text-align: center;
  margin-bottom: 30px;
  color: var(--primary-color);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.form-group {
  margin-bottom: 25px;
}

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

.form-group label i {
  color: var(--primary-color);
  margin-right: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.2);
  outline: none;
}

/* Footer */
footer {
  background-color: var(--primary-dark);
  color: white;
}

.footer-content {
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.footer-logo {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.1);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-info p {
  margin-bottom: 20px;
  opacity: 0.8;
  line-height: 1.8;
}

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

.footer-social .social-icon {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
}

.footer-social .social-icon:hover {
  background-color: white;
  color: var(--primary-color);
}

.footer-links h3,
.footer-contact h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-links h3::after,
.footer-contact h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--primary-light);
}

.footer-links ul,
.footer-contact ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: white;
  transform: translateX(5px);
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.8);
}

.footer-contact i {
  color: var(--primary-light);
}

.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  position: relative;
}

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

.back-to-top {
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.back-to-top:hover {
  background-color: white;
  color: var(--primary-color);
  transform: translateY(-5px);
}

/* Dark Mode */
body.dark-mode {
  --bg-color: var(--bg-dark);
  --bg-light: #2c2c2c;
  --card-bg: var(--card-bg-dark);
  --text-color: #f5f5f5;
  --text-light: #ccc;
  --text-lighter: #999;
  --border-color: var(--border-dark);
  --shadow: var(--shadow-dark);
}

body.dark-mode header {
  background-color: rgba(26, 26, 26, 0.95);
}

body.dark-mode .theme-toggle i {
  color: #f5f5f5;
}

body.dark-mode .hero {
  background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
  color: #000;
}

body.dark-mode .hero-wave path,
body.dark-mode .section-wave path {
  fill: var(--bg-dark);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .hero-content {
    flex-direction: column-reverse;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 3rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .social-icons {
    justify-content: center;
  }

  .projects-grid {
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--bg-color);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
    z-index: 999;
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links li {
    margin: 20px 0;
  }

  .hamburger {
    display: flex;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

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

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 2rem;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-text h2 {
    font-size: 1.5rem;
  }

  .profile-img-container {
    width: 250px;
    height: 250px;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 30px 20px;
  }
}
