/* Base Styles */
:root {
  --primary-color: #2c3e50;
  --primary-light: #34495e;
  --secondary-color: #e74c3c;
  --dark-color: #2d2e32;
  --dark-light: #444;
  --light-color: #f8f9fa;
  --gray-color: #6c757d;
  --gray-light: #e9ecef;
  --success-color: #28a745;
  --danger-color: #dc3545;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --box-shadow-hover: 0 10px 20px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
  --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--secondary-color) 0%, #ff9a8b 100%);
  --border-radius: 10px;
  --border-radius-sm: 5px;
  --border-radius-lg: 20px;
  --font-primary: "Poppins", sans-serif;
  --font-secondary: "Montserrat", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--dark-color);
  background-color: #fff;
}

a {
  text-decoration: none;
  color: var(--dark-color);
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 100px 0;
  position: relative;
}

/* Progress Bar */
.progress-container {
  position: fixed;
  top: 0;
  z-index: 1000;
  width: 100%;
  height: 4px;
  background: transparent;
}

.progress-bar {
  height: 4px;
  background: var(--gradient-primary);
  width: 0%;
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-subtitle {
  display: inline-block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--secondary-color);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
  position: relative;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--dark-color);
}

.section-separator {
  width: 80px;
  height: 3px;
  background: var(--gradient-primary);
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.primary-btn {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 15px rgba(44, 62, 80, 0.3);
}

.primary-btn:hover,
.secondary-btn:hover,
.service-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(44, 62, 80, 0.3);
}

.secondary-btn {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.secondary-btn:hover {
  background-color: var(--primary-color);
  color: #fff;
}

.service-btn {
  background: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  padding: 10px 25px;
  margin-top: 20px;
  font-size: 0.9rem;
}

.service-btn:hover {
  background: var(--gradient-primary);
  color: #fff;
  border-color: transparent;
}

.contact-btn {
  background: var(--gradient-primary);
  color: #fff;
  padding: 10px 25px;
  box-shadow: 0 4px 15px rgba(44, 62, 80, 0.3);
}

.btn-icon {
  margin-left: 10px;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

header.sticky {
  padding: 10px 0;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo a {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark-color);
}

.logo a span {
  color: var(--secondary-color);
}

.nav-links {
  display: flex;
  align-items: center;
}

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  font-weight: 500;
  position: relative;
}

.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: width 0.3s ease;
}

.nav-links a:not(.btn):hover::after,
.nav-links a.active:not(.btn)::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--secondary-color);
}

.menu-btn {
  display: none;
  cursor: pointer;
}

.menu-btn__burger {
  width: 25px;
  height: 3px;
  background-color: var(--dark-color);
  border-radius: 5px;
  transition: var(--transition);
  position: relative;
}

.menu-btn__burger::before,
.menu-btn__burger::after {
  content: "";
  position: absolute;
  width: 25px;
  height: 3px;
  background-color: var(--dark-color);
  border-radius: 5px;
  transition: var(--transition);
}

.menu-btn__burger::before {
  transform: translateY(-8px);
}

.menu-btn__burger::after {
  transform: translateY(8px);
}

.menu-btn.open .menu-btn__burger {
  background: transparent;
}

.menu-btn.open .menu-btn__burger::before {
  transform: rotate(45deg);
}

.menu-btn.open .menu-btn__burger::after {
  transform: rotate(-45deg);
}

/* Hero Section */
.hero {
  padding-top: 180px;
  padding-bottom: 100px;
  background-color: #f9f9f9;
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
  padding-bottom: 50px;
}

.text-content {
  flex: 1;
  padding-right: 30px;
}

.hero-greeting {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 800;
}

.hero h1 span {
  color: var(--secondary-color);
  position: relative;
}

.hero h1 span::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background-color: rgba(231, 76, 60, 0.2);
  z-index: -1;
}

.hero-subtitle {
  font-size: 1.8rem;
  margin-bottom: 20px;
  font-weight: 600;
  display: flex;
  align-items: center;
}

.typed-text {
  color: var(--secondary-color);
  margin-left: 5px;
}

.cursor {
  display: inline-block;
  width: 3px;
  background-color: var(--dark-color);
  margin-left: 5px;
  animation: blink 1s infinite;
}

@keyframes blink {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: var(--gray-color);
  max-width: 500px;
}

.cta-buttons {
  margin-bottom: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #f0f0f0;
  color: var(--dark-color);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.social-icon::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  z-index: -1;
  transition: var(--transition);
  opacity: 0;
}

.social-icon:hover {
  transform: translateY(-5px) scale(1.1);
  color: #fff;
}

.social-icon:hover::before {
  opacity: 1;
}

.social-icon.linkedin:hover::before {
  background: linear-gradient(135deg, #0077b5, #00a0dc);
}

.social-icon.github:hover::before {
  background: linear-gradient(135deg, #333, #6e5494);
}

.social-icon.instagram:hover::before {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
}

.social-icon.whatsapp:hover::before {
  background: linear-gradient(135deg, #25d366, #128c7e);
}

.hero-image {
  flex: 1;
  position: relative;
}

.hero-image-inner {
  position: relative;
  z-index: 2;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.hero-image img {
  border-radius: 20px;
  transition: transform 0.5s ease;
}

.hero-image:hover img {
  transform: scale(1.05);
}

/* About Section */
.about {
  background-color: #fff;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-image {
  flex: 1;
  position: relative;
}

.about-image-inner {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 2;
}

.about-image img {
  border-radius: 20px;
  transition: transform 0.5s ease;
}

.about-image:hover img {
  transform: scale(1.05);
}

.experience-badge {
  position: absolute;
  bottom: 30px;
  right: -30px;
  background: var(--gradient-primary);
  color: #fff;
  padding: 20px;
  border-radius: 50%;
  width: 120px;
  height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 10px 30px rgba(44, 62, 80, 0.3);
  z-index: 3;
}

.experience-badge .number {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.experience-badge .text {
  font-size: 0.8rem;
  font-weight: 500;
}

.about-text {
  flex: 1;
}

.about-text h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.about-text p {
  margin-bottom: 20px;
  color: var(--gray-color);
}

.personal-info {
  display: flex;
  gap: 30px;
  margin: 30px 0;
}

.info-column {
  flex: 1;
}

.info-item {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.info-title {
  font-weight: 600;
  margin-right: 10px;
  color: var(--dark-color);
}

.info-value {
  color: var(--gray-color);
}

.about-buttons {
  display: flex;
  gap: 15px;
}

/* Skills Section */
.skills {
  background-color: #f9f9f9;
}

.skills-content {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.skills-text {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.skills-text h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.skills-text p {
  color: var(--gray-color);
}

.skills-wrapper {
  display: flex;
  gap: 50px;
  margin-bottom: 50px;
}

.skills-left,
.skills-right {
  flex: 1;
}

.skill-item {
  margin-bottom: 30px;
}

.skill-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.skill-info h4 {
  font-weight: 600;
}

.percent {
  color: var(--secondary-color);
  font-weight: 600;
}

.skill-bar {
  height: 10px;
  background-color: var(--gray-light);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.skill-progress {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 10px;
  width: 0%;
  transition: width 1.5s ease-in-out;
  position: relative;
}

.skill-progress::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 5px;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
}

.skills-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.skill-card {
  background-color: #fff;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.skill-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  z-index: -1;
  opacity: 0;
  transition: var(--transition);
}

.skill-card:hover,
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.skill-card:hover::before {
  opacity: 1;
}

.skill-card:hover .skill-card-icon {
  background-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.skill-card:hover h3 {
  color: #fff;
}

.skill-card:hover p {
  color: rgba(255, 255, 255, 0.8);
}

.skill-card-icon {
  width: 70px;
  height: 70px;
  background-color: rgba(44, 62, 80, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: var(--transition);
}

.skill-card-icon i {
  font-size: 1.8rem;
  color: var(--primary-color);
  transition: var(--transition);
}

.skill-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  transition: var(--transition);
}

.skill-card p {
  color: var(--gray-color);
  transition: var(--transition);
}

/* Projects Section */
.projects {
  background-color: #fff;
}

.projects-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 8px 20px;
  background-color: #f0f0f0;
  border: none;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 5px 15px rgba(44, 62, 80, 0.3);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.project-card {
  background-color: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
  transition: var(--transition);
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-hover);
}

.project-img {
  position: relative;
  overflow: hidden;
}

.project-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-img img {
  transform: scale(1.1);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(44, 62, 80, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-links {
  display: flex;
  gap: 15px;
}

.project-link {
  width: 45px;
  height: 45px;
  background-color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.2rem;
  transition: var(--transition);
  transform: translateY(20px);
  opacity: 0;
}

.project-card:hover .project-link {
  transform: translateY(0);
  opacity: 1;
}

.project-card:hover .project-link:nth-child(1) {
  transition-delay: 0.1s;
}

.project-card:hover .project-link:nth-child(2) {
  transition-delay: 0.2s;
}

.project-link:hover {
  background-color: var(--secondary-color);
  color: #fff;
}

.project-info {
  padding: 25px;
}

.project-info h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--dark-color);
}

.project-info p {
  color: var(--gray-color);
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-tags span {
  padding: 5px 12px;
  background-color: rgba(44, 62, 80, 0.1);
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--primary-color);
}

.projects-cta {
  text-align: center;
  margin-top: 50px;
}

/* Testimonials Section */
.testimonials {
  background-color: #f9f9f9;
}

.testimonials-slider {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.testimonials-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background-color: #fff;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-hover);
}

.testimonial-quote {
  font-size: 2rem;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.testimonial-text {
  font-style: italic;
  color: var(--gray-color);
  margin-bottom: 25px;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
}

.author-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.author-info p {
  font-size: 0.9rem;
  color: var(--gray-color);
  margin-bottom: 5px;
}

.testimonial-rating {
  color: #ffc107;
}

.testimonial-nav {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}

.testimonial-prev,
.testimonial-next {
  width: 45px;
  height: 45px;
  background-color: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--box-shadow);
}

.testimonial-prev:hover,
.testimonial-next:hover {
  background-color: var(--primary-color);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: var(--box-shadow-hover);
}

/* Services Section */
.services {
  background-color: #fff;
}

.services-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: #fff;
  padding: 40px 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: var(--transition);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--gradient-primary);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-hover);
}

.service-card:hover::before {
  width: 100%;
  opacity: 0.1;
}

.service-icon {
  width: 80px;
  height: 80px;
  background-color: rgba(44, 62, 80, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background-color: rgba(44, 62, 80, 0.2);
  transform: rotateY(360deg);
}

.service-icon i {
  font-size: 2rem;
  color: var(--primary-color);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 15px;
}

.service-card h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background-color: var(--secondary-color);
}

.service-card p {
  margin-bottom: 20px;
  color: var(--gray-color);
}

.service-features {
  margin-bottom: 25px;
  text-align: left;
}

.service-features li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
  color: var(--gray-color);
}

.service-features li::before {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: var(--secondary-color);
  position: absolute;
  left: 0;
}

/* Experience Section */
.experience {
  background-color: #f9f9f9;
}

.timeline-container {
  max-width: 800px;
  margin: 0 auto;
}

.timeline-header {
  text-align: center;
  margin: 50px 0 30px;
}

.timeline-header h3 {
  font-size: 1.8rem;
  color: var(--secondary-color);
  display: inline-block;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--secondary-color);
}

.mr-2 {
  margin-right: 8px;
}

.timeline {
  position: relative;
  padding: 30px 0;
}

.timeline::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 3px;
  background: var(--gradient-primary);
  left: 50px;
  top: 0;
}

.timeline-item {
  position: relative;
  padding-left: 100px;
  margin-bottom: 50px;
}

.timeline-dot {
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: var(--secondary-color);
  border-radius: 50%;
  left: 41px;
  top: 10px;
  z-index: 1;
  border: 4px solid #fff;
}

.timeline-date {
  position: absolute;
  left: 0;
  top: 0;
  width: 80px;
  text-align: right;
  font-weight: 600;
  color: var(--secondary-color);
}

.timeline-content {
  background-color: #fff;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content::before {
  content: "";
  position: absolute;
  top: 10px;
  left: -10px;
  width: 20px;
  height: 20px;
  background-color: #fff;
  transform: rotate(45deg);
  box-shadow: -5px 5px 10px rgba(0, 0, 0, 0.05);
}

.timeline-content h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

.timeline-content h4 {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: var(--gray-color);
}

.timeline-content p {
  margin-bottom: 15px;
  color: var(--gray-color);
}

.timeline-content ul {
  margin-top: 15px;
}

.timeline-content li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 20px;
  color: var(--gray-color);
}

.timeline-content li::before {
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: var(--secondary-color);
  position: absolute;
  left: 0;
}

/* Contact Section */
.contact {
  background-color: #fff;
  position: relative;
  overflow: hidden;
}

.contact-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 50px;
}

.contact-info {
  padding: 30px;
  background-color: #f9f9f9;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.contact-info p {
  margin-bottom: 30px;
  color: var(--gray-color);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(44, 62, 80, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
}

.contact-icon i {
  font-size: 1.2rem;
  color: var(--secondary-color);
}

.contact-details h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.contact-details p {
  margin-bottom: 0;
  color: var(--gray-color);
}

.contact-social {
  margin-top: 30px;
}

.contact-social h4 {
  font-size: 1.1rem;
  margin-bottom: 15px;
}

.contact-form-container {
  position: relative;
}

.contact-form {
  padding: 30px;
  background-color: #fff;
  border-radius: 15px;
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 20px;
  position: relative;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #e0e0e0;
  border-radius: var(--border-radius-sm);
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: var(--transition);
  background-color: #fff;
  color: var(--dark-color);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.2);
}

.form-group textarea {
  height: 150px;
  resize: none;
}

.form-error {
  color: var(--danger-color);
  font-size: 0.85rem;
  margin-top: 5px;
  display: none;
}

.submit-btn {
  width: 100%;
  padding: 15px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-success {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  text-align: center;
  transform: scale(0.8);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.form-success.show {
  transform: scale(1);
  opacity: 1;
  visibility: visible;
}

.form-error-message {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  text-align: center;
  transform: scale(0.8);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.form-error-message.show {
  transform: scale(1);
  opacity: 1;
  visibility: visible;
}

.success-icon {
  width: 80px;
  height: 80px;
  background-color: rgba(40, 167, 69, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.success-icon i {
  font-size: 2rem;
  color: var(--success-color);
}

.error-icon {
  width: 80px;
  height: 80px;
  background-color: rgba(220, 53, 69, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.error-icon i {
  font-size: 2rem;
  color: var(--danger-color);
}

.form-success h3,
.form-error-message h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.form-success h3 {
  color: var(--success-color);
}

.form-error-message h3 {
  color: var(--danger-color);
}

.form-success p,
.form-error-message p {
  margin-bottom: 20px;
  color: var(--gray-color);
}

/* Footer */
footer {
  background-color: #2d2e32;
  color: #fff;
  padding: 20px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-left p {
  margin: 0;
  color: #aaa;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social .social-icon {
  width: 35px;
  height: 35px;
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  box-shadow: 0 5px 15px rgba(44, 62, 80, 0.3);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(44, 62, 80, 0.4);
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
  .hero-content {
    flex-direction: column;
  }

  .text-content {
    padding-right: 0;
    margin-bottom: 50px;
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }

  .about-content {
    flex-direction: column;
  }

  .about-image {
    margin-bottom: 50px;
  }

  .about-text {
    text-align: center;
  }

  .personal-info {
    justify-content: center;
  }

  .about-buttons {
    justify-content: center;
  }

  .skills-wrapper {
    flex-direction: column;
    gap: 0;
  }
}

@media screen and (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }

  .menu-btn {
    display: block;
    z-index: 1001;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: #fff;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links li {
    margin: 15px 0;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1.5rem;
  }

  .personal-info {
    flex-direction: column;
  }

  .timeline::before {
    left: 30px;
  }

  .timeline-item {
    padding-left: 70px;
  }

  .timeline-dot {
    left: 21px;
  }

  .timeline-date {
    width: auto;
    text-align: left;
    left: 70px;
    top: -30px;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
}

@media screen and (max-width: 576px) {
  section {
    padding: 70px 0;
  }

  .hero {
    padding-top: 150px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.3rem;
  }

  .section-title {
    font-size: 1.8rem;
    margin-bottom: 40px;
  }

  .about-text h3,
  .skills-text h3,
  .timeline-header h3 {
    font-size: 1.5rem;
  }

  .service-card,
  .skill-card,
  .timeline-content {
    padding: 20px;
  }

  .experience-badge {
    width: 100px;
    height: 100px;
    right: -20px;
    bottom: 20px;
  }

  .experience-badge .number {
    font-size: 1.8rem;
  }

  .experience-badge .text {
    font-size: 0.7rem;
  }
}