/* Base Styles */
:root {
  --primary-color: #2d3436;
  --secondary-color: #0984e3;
  --accent-color: #00cec9;
  --light-color: #f5f6fa;
  --transition: all 0.6s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

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

/* Navbar Styles */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

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

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

.logo span {
  color: var(--secondary-color);
}

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

.nav-links ul {
  display: flex;
  list-style: none;
  gap: 25px;
}

.nav-links a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  transition: var(--transition);
  padding: 5px 0;
}

.nav-links a:not(.contact-btn)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: var(--transition);
}

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

/* Updated Contact Button Styles */
.contact-btn {
  position: relative;
  display: inline-block;
  padding: 12px 30px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  color: #fff;
  background-color: transparent;
  border: 2px solid #4a6ee0; /* Primary color that matches your site */
  border-radius: 30px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-left: 20px; /* Spacing from other nav items */
  z-index: 1;
}

/* Hover effect - transparent background with sliding animation */
.contact-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(74, 110, 224, 0.3),
    transparent
  );
  transition: var(--transition);
  z-index: -1;
}

.contact-btn:hover {
  color: #4a6ee0;
  background-color: transparent;
  border-color: #4a6ee0;
}

.contact-btn:hover::before {
  left: 100%;
}

/* Button click effect */
.contact-btn:active {
  transform: scale(0.96);
}

/* Navbar specific adjustments */
.nav-links .contact-btn {
  margin-left: 30px;
  padding: 10px 25px;
}

/* Alternative color scheme options */
/* Option 1: Teal/Aqua (uncomment to use) */
/*
.contact-btn {
    border-color: #00cec9;
}
.contact-btn:hover {
    color: #00cec9;
    border-color: #00cec9;
}
.contact-btn::before {
    background: linear-gradient(90deg, transparent, rgba(0, 206, 201, 0.3), transparent);
}
*/

/* Option 2: Purple (uncomment to use) */
/*
.contact-btn {
    border-color: #a55eea;
}
.contact-btn:hover {
    color: #a55eea;
    border-color: #a55eea;
}
.contact-btn::before {
    background: linear-gradient(90deg, transparent, rgba(165, 94, 234, 0.3), transparent);
}
*/

/* Hamburger Menu */
.hamburger {
  display: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
  z-index: 1001;
}

.bar {
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 3px;
  transition: var(--transition);
}

.bar:nth-child(1) {
  top: 0;
}

.bar:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.bar:nth-child(3) {
  bottom: 0;
}

/* Navbar Scroll Effect */
.navbar.scrolled {
  padding: 15px 0;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Hero Section - Isolated Styles */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 120px 0 130px;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
}

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

.hero-content {
  max-width: 600px;
  animation: fadeInUp 1s ease;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.hero-greeting {
  display: block;
  font-weight: 500;
  color: #636e72;
  font-size: 0.8em;
}

.hero-name {
  color: #4a6ee0;
  position: relative;
  display: inline-block;
}

.hero-name::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background-color: rgba(74, 110, 224, 0.2);
  z-index: -1;
  transform-origin: left;
  animation: underlineGrow 1.5s ease forwards;
}

.hero-subtitle {
  min-height: 60px;
  margin-bottom: 20px;
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: #636e72;
  font-weight: 500;
}

.hero-description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #636e72;
  margin-bottom: 30px;
  max-width: 500px;
}

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

.hero-btn {
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.hero-btn-primary {
  background-color: #4a6ee0;
  color: white;
  border: 2px solid #4a6ee0;
  position: relative;
  overflow: hidden;
}

.hero-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(74, 110, 224, 0.2);
}

.hero-btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: 0.5s;
}

.hero-btn-primary:hover::before {
  left: 100%;
}

.hero-btn-secondary {
  background-color: transparent;
  color: #4a6ee0;
  border: 2px solid #4a6ee0;
}

.hero-btn-secondary:hover {
  background-color: rgba(74, 110, 224, 0.05);
  transform: translateY(-3px);
}

.hero-image {
  position: relative;
  animation: fadeInRight 1s ease;
}

.hero-image-wrapper {
  position: relative;
}

.hero-img {
  max-width: 400px;
  width: 100%;
  border-radius: 20px;
  position: relative;
  z-index: 2;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.hero-shape {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #4a6ee0;
  top: 20px;
  left: 20px;
  border-radius: 20px;
  z-index: 1;
  animation: shapePulse 4s infinite ease-in-out;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #636e72;
  animation: bounce 2s infinite;
  z-index: 10;
}

.hero-scroll-text {
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.hero-scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid #4a6ee0;
  border-bottom: 2px solid #4a6ee0;
  transform: rotate(45deg);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes underlineGrow {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes shapePulse {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(10px, 10px);
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) translateX(-50%);
  }
  40% {
    transform: translateY(-20px) translateX(-50%);
  }
  60% {
    transform: translateY(-10px) translateX(-50%);
  }
}

/* About Section - Isolated Styles */
.about {
  padding: 100px 0;
  background-color: #fff;
  position: relative;
  overflow: hidden;
}

.about .container {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-image {
  position: relative;
  flex: 1;
  animation: fadeInLeft 1s ease;
}

.about-img-wrapper {
  position: relative;
  max-width: 400px;
}

.about-img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 2;
}

.about-shape {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(74, 110, 224, 0.1);
  top: 20px;
  left: 20px;
  border-radius: 10px;
  z-index: 1;
  animation: shapePulse 6s infinite ease-in-out;
}

.about-experience {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background-color: #4a6ee0;
  color: white;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 10px 20px rgba(74, 110, 224, 0.3);
  z-index: 3;
  animation: bounce 3s infinite;
}

.about-exp-number {
  font-size: 2rem;
  font-weight: 700;
  display: block;
  line-height: 1;
}

.about-exp-text {
  font-size: 0.9rem;
  font-weight: 500;
}

.about-content {
  flex: 1;
  animation: fadeInRight 1s ease;
}

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

.about-title span {
  color: #4a6ee0;
}

.about-title::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background-color: rgba(74, 110, 224, 0.1);
  z-index: -1;
}

.about-subtitle {
  font-size: 1.2rem;
  color: #636e72;
  margin-bottom: 20px;
  font-weight: 500;
}

.about-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #636e72;
  margin-bottom: 30px;
}

.about-details {
  margin-bottom: 30px;
}

.about-detail-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.about-detail-item i {
  color: #4a6ee0;
  margin-right: 10px;
  font-size: 0.8rem;
}

.about-detail-item span {
  color: var(--primary-color);
  font-size: 0.95rem;
}

.about-detail-item strong {
  color: var(--primary-color);
  font-weight: 600;
}

.about-skills {
  margin-bottom: 30px;
}

.about-skills-title {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.about-skill-items {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.about-skill-item {
  width: 100%;
}

.about-skill-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
}

.about-skill-info span:first-child {
  color: var(--primary-color);
  font-weight: 500;
}

.about-skill-info span:last-child {
  color: #636e72;
}

.about-skill-bar {
  width: 100%;
  height: 8px;
  background-color: #f1f2f6;
  border-radius: 4px;
  overflow: hidden;
}

.about-skill-progress {
  height: 100%;
  background: linear-gradient(90deg, #4a6ee0, #6c5ce7);
  border-radius: 4px;
  position: relative;
  animation: skillProgress 1.5s ease-out forwards;
}

.about-skill-progress::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  animation: shine 2s infinite;
}

.about-btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: #4a6ee0;
  color: white;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
}

.about-btn:hover {
  background-color: #3a5ed0;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(74, 110, 224, 0.3);
}

.about-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: 0.5s;
}

.about-btn:hover::before {
  left: 100%;
}

/* Animations */
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes shapePulse {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(10px, 10px);
  }
}

@keyframes skillProgress {
  from {
    width: 0;
  }
}

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

/* Skills Section - Isolated Styles */
.skills {
  padding: 100px 0;
  background-color: #f9fafb;
  position: relative;
}

.skills-header {
  text-align: center;
  margin-bottom: 60px;
}

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

.skills-title span {
  color: #4a6ee0;
}

.skills-title::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background-color: rgba(74, 110, 224, 0.1);
  z-index: -1;
}

.skills-subtitle {
  font-size: 1.1rem;
  color: #636e72;
  margin-bottom: 20px;
}

.skills-divider {
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, #4a6ee0, #6c5ce7);
  margin: 0 auto;
  border-radius: 3px;
}

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

.skill-card {
  background: white;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.skill-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(74, 110, 224, 0.15);
}

.skill-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(74, 110, 224, 0.03) 0%,
    rgba(108, 92, 231, 0.03) 100%
  );
  z-index: -1;
}

.skill-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    rgba(74, 110, 224, 0.1) 0%,
    rgba(108, 92, 231, 0.1) 100%
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #4a6ee0;
  font-size: 1.8rem;
}

.skill-name {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.skill-desc {
  font-size: 0.95rem;
  color: #636e72;
  line-height: 1.6;
  margin-bottom: 20px;
}

.skill-progress {
  width: 100%;
  height: 8px;
  background-color: #f1f2f6;
  border-radius: 4px;
  overflow: hidden;
}

.skill-progress-bar {
  height: 100%;
  background: linear-gradient(to right, #4a6ee0, #6c5ce7);
  border-radius: 4px;
  position: relative;
  animation: skillProgress 1.5s ease-out forwards;
}

.skill-progress-bar::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  animation: shine 2s infinite;
}

/* Animations */
@keyframes skillProgress {
  from {
    width: 0;
  }
}

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

/* Projects Section - Isolated Styles */
.projects {
  padding: 100px 0;
  background-color: #fff;
  position: relative;
}

.projects-header {
  text-align: center;
  margin-bottom: 60px;
}

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

.projects-title span {
  color: #4a6ee0;
}

.projects-title::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background-color: rgba(74, 110, 224, 0.1);
  z-index: -1;
}

.projects-subtitle {
  font-size: 1.1rem;
  color: #636e72;
  margin-bottom: 20px;
}

.projects-divider {
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, #4a6ee0, #6c5ce7);
  margin: 0 auto;
  border-radius: 3px;
}

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

.project-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(74, 110, 224, 0.15);
}

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

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.project-links {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.project-link {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.9);
  color: #4a6ee0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.project-link:hover {
  background: #4a6ee0;
  color: white;
  transform: translateY(-5px);
}

.project-content {
  padding: 25px;
}

.project-title {
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.project-desc {
  font-size: 0.95rem;
  color: #636e72;
  line-height: 1.6;
  margin-bottom: 15px;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.project-tech span {
  background: rgba(74, 110, 224, 0.1);
  color: #4a6ee0;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

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

.projects-btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: #4a6ee0;
  color: white;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(74, 110, 224, 0.3);
}

.projects-btn:hover {
  background-color: #3a5ed0;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(74, 110, 224, 0.4);
}

.projects-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: 0.5s;
}

.projects-btn:hover::before {
  left: 100%;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Experience Section - Isolated Styles */
.experience {
  padding: 100px 0;
  background-color: #f9fafb;
  position: relative;
}

.experience-header {
  text-align: center;
  margin-bottom: 60px;
}

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

.experience-title span {
  color: #4a6ee0;
}

.experience-title::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background-color: rgba(74, 110, 224, 0.1);
  z-index: -1;
}

.experience-subtitle {
  font-size: 1.1rem;
  color: #636e72;
  margin-bottom: 20px;
}

.experience-divider {
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, #4a6ee0, #6c5ce7);
  margin: 0 auto;
  border-radius: 3px;
}

/* Timeline Styles */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, #4a6ee0, #6c5ce7);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 50px;
  width: 100%;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.5s ease;
}

.timeline-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 30px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4a6ee0, #6c5ce7);
  transform: translateX(-50%);
  z-index: 1;
  box-shadow: 0 0 0 5px rgba(74, 110, 224, 0.2);
}

.timeline-date {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  background-color: #fff;
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: 600;
  color: #4a6ee0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  font-size: 0.9rem;
}

.timeline-content {
  width: calc(50% - 40px);
  padding: 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-left: auto;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-right: auto;
}

.timeline-content::before {
  content: "";
  position: absolute;
  top: 30px;
  width: 20px;
  height: 20px;
  background: white;
  transform: rotate(45deg);
}

.timeline-item:nth-child(odd) .timeline-content::before {
  left: -10px;
  border-right: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.timeline-item:nth-child(even) .timeline-content::before {
  right: -10px;
  border-left: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.timeline-title {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.timeline-company {
  font-size: 1rem;
  color: #4a6ee0;
  margin-bottom: 10px;
  font-weight: 500;
}

.timeline-desc {
  font-size: 0.95rem;
  color: #636e72;
  line-height: 1.6;
  margin-bottom: 15px;
}

.timeline-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.timeline-tech span {
  background: rgba(74, 110, 224, 0.1);
  color: #4a6ee0;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Contact Section - Isolated Styles */
.contact {
  padding: 100px 0;
  background-color: #fff;
  position: relative;
}

.contact-header {
  text-align: center;
  margin-bottom: 60px;
}

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

.contact-title span {
  color: #4a6ee0;
}

.contact-title::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background-color: rgba(74, 110, 224, 0.1);
  z-index: -1;
}

.contact-subtitle {
  font-size: 1.1rem;
  color: #636e72;
  margin-bottom: 20px;
}

.contact-divider {
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, #4a6ee0, #6c5ce7);
  margin: 0 auto;
  border-radius: 3px;
}

.contact-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 50px;
}

/* Contact Info Styles */
.contact-info {
  background: #f9fafb;
  border-radius: 15px;
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.contact-info::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(to bottom, #4a6ee0, #6c5ce7);
}

.contact-info-title {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  position: relative;
}

.contact-info-text {
  font-size: 1rem;
  color: #636e72;
  line-height: 1.6;
  margin-bottom: 30px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-bottom: 40px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(74, 110, 224, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4a6ee0;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-text h4 {
  font-size: 1.1rem;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.contact-text a,
.contact-text p {
  font-size: 0.95rem;
  color: #636e72;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-text a:hover {
  color: #4a6ee0;
}

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

.contact .social-link {
  width: 40px;
  height: 40px;
  background: rgba(74, 110, 224, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4a6ee0;
  transition: all 0.3s ease;
}

.contact .social-link:hover {
  background: #4a6ee0;
  color: white;
  transform: translateY(-5px);
}

/* Contact Form Styles */
.contact-form {
  background: #f9fafb;
  border-radius: 15px;
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.contact-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(to bottom, #6c5ce7, #4a6ee0);
}

.form {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.form-group {
  position: relative;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 15px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid #dfe6f1;
  font-size: 1rem;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.form-textarea {
  resize: none;
  min-height: 120px;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-bottom-color: #4a6ee0;
}

.form-label {
  position: absolute;
  top: 15px;
  left: 0;
  font-size: 1rem;
  color: #636e72;
  pointer-events: none;
  transition: all 0.3s ease;
}

.form-input:focus + .form-label,
.form-input:not(:placeholder-shown) + .form-label,
.form-textarea:focus + .form-label,
.form-textarea:not(:placeholder-shown) + .form-label {
  top: -15px;
  font-size: 0.85rem;
  color: #4a6ee0;
}

.form-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, #4a6ee0, #6c5ce7);
  transition: width 0.3s ease;
}

.form-input:focus ~ .form-line,
.form-textarea:focus ~ .form-line {
  width: 100%;
}

.form-submit {
  background: linear-gradient(to right, #4a6ee0, #6c5ce7);
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
  overflow: hidden;
  position: relative;
}

.form-submit span {
  position: relative;
  z-index: 2;
}

.form-submit i {
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
}

.form-submit::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, #6c5ce7, #4a6ee0);
  transition: all 0.6s ease;
  z-index: 1;
}

.form-submit:hover {
  box-shadow: 0 10px 20px rgba(74, 110, 224, 0.3);
  transform: translateY(-3px);
}

.form-submit:hover i {
  transform: translateX(5px);
}

.form-submit:hover::before {
  left: 0;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Footer Section - Isolated Styles */
.footer {
  background-color: var(--primary-color);
  color: #f5f6fa;
  padding: 80px 0 20px;
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, #4a6ee0, #6c5ce7);
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: #f5f6fa;
  text-decoration: none;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.footer-logo span {
  color: #4a6ee0;
}

.footer-logo:hover {
  transform: translateY(-3px);
}

.footer-tagline {
  font-size: 1rem;
  color: #b2bec3;
  line-height: 1.6;
}

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

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-title {
  font-size: 1.2rem;
  color: #f5f6fa;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(to right, #4a6ee0, #6c5ce7);
}

.footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  color: #b2bec3;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
}

.footer-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #4a6ee0;
  transition: width 0.3s ease;
}

.footer-link:hover {
  color: #4a6ee0;
  transform: translateX(5px);
}

.footer-link:hover::after {
  width: 100%;
}

.footer-social {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

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

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f5f6fa;
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    transparent,
    rgba(74, 110, 224, 0.3),
    transparent
  );
  transition: all 0.6s ease;
}

.social-link:hover {
  background: #4a6ee0;
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(74, 110, 224, 0.3);
}

.social-link:hover::before {
  left: 100%;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-copyright {
  font-size: 0.9rem;
  color: #b2bec3;
  text-align: center;
}

.footer-credit {
  font-size: 0.85rem;
  color: #636e72;
  display: flex;
  align-items: center;
  gap: 5px;
}

.footer-credit i {
  color: #e74c3c;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*back to top css*/
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top a {
  width: 50px;
  height: 50px;
  background: linear-gradient(to right, #4a6ee0, #6c5ce7);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 5px 20px rgba(74, 110, 224, 0.3);
  transition: all 0.3s ease;
}

.back-to-top a:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 25px rgba(74, 110, 224, 0.4);
}

/* Newsletter Section - Isolated Styles */
.newsletter {
  padding: 80px 0;
  background-color: #f9fafb;
  position: relative;
}

.newsletter-content {
  background: white;
  border-radius: 15px;
  padding: 60px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, #4a6ee0, #6c5ce7);
}

.newsletter-text {
  margin-bottom: 40px;
  max-width: 600px;
}

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

.newsletter-title span {
  color: #4a6ee0;
}

.newsletter-title::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background-color: rgba(74, 110, 224, 0.1);
  z-index: -1;
}

.newsletter-subtitle {
  font-size: 1.1rem;
  color: #636e72;
  line-height: 1.6;
}

.newsletter-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, #4a6ee0, #6c5ce7);
  margin: 20px auto 0;
  border-radius: 3px;
}

.newsletter-form {
  width: 100%;
  max-width: 600px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.form-group {
  flex-grow: 1;
  min-width: 300px;
  position: relative;
}

.form-input {
  width: 100%;
  padding: 16px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid #dfe6f1;
  font-size: 1rem;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-bottom-color: #4a6ee0;
}

.form-label {
  position: absolute;
  top: 16px;
  left: 0;
  font-size: 1rem;
  color: #636e72;
  pointer-events: none;
  transition: all 0.3s ease;
}

.form-input:focus + .form-label,
.form-input:not(:placeholder-shown) + .form-label {
  top: -15px;
  font-size: 0.85rem;
  color: #4a6ee0;
}

.form-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, #4a6ee0, #6c5ce7);
  transition: width 0.3s ease;
}

.form-input:focus ~ .form-line {
  width: 100%;
}

.newsletter-submit {
  background: linear-gradient(to right, #4a6ee0, #6c5ce7);
  color: white;
  border: none;
  padding: 16px 40px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
  overflow: hidden;
  position: relative;
  box-shadow: 0 5px 15px rgba(74, 110, 224, 0.2);
}

.newsletter-submit span {
  position: relative;
  z-index: 2;
}

.newsletter-submit i {
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
}

.newsletter-submit::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, #6c5ce7, #4a6ee0);
  transition: all 0.6s ease;
  z-index: 1;
}

.newsletter-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(74, 110, 224, 0.3);
}

.newsletter-submit:hover i {
  transform: translateX(5px);
}

.newsletter-submit:hover::before {
  left: 0;
}

/* Success Message */
.newsletter-success {
  display: none;
  color: #2ecc71;
  font-weight: 600;
  margin-top: 20px;
  animation: fadeIn 0.5s ease;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
