
/* Hero section styles */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://images.unsplash.com/photo-1498050108023-c5249f4df085?q=80&w=1740') center/cover no-repeat;
  filter: brightness(30%);
  z-index: -2;
}

.hero-overlay::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.9));
  z-index: -1;
}

.hero-title {
  font-size: 50px;
  font-weight: 700;
  margin-bottom: 24px;
  animation-delay: 0s;
}

.hero-description {
  font-size: 24px;
  color: #d1d5db;
  max-width: 800px;
  margin: 0 auto 40px;
  animation-delay: 0s;
}

.hero-cta {
  animation-delay: 0s;
}

/* Services section styles */
.services {
  background: linear-gradient(to bottom, #000, #111827);
}

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

.service-card {
  display: flex;
  flex-direction: column;
}

.service-icon {
  color: #22d3ee;
  margin-bottom: 16px;
}

.icon {
  width: 40px;
  height: 40px;
}

.service-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #22d3ee;
}

.service-description {
  color: #9ca3af;
  flex-grow: 1;
}

/* CTA section styles */
.cta {
  background: linear-gradient(to bottom, #111827, #000);
}

.cta-buttons {
  display: flex;
  justify-content: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-title {
    font-size: 30px;
  }
  
  .hero-description {
    font-size: 20px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.about-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 20px;
}

.about-image {
  width: 200px;             /* Adjust size as needed */
  height: auto;
  border-radius: 50%;         /* Circular image */
  object-fit: cover;
  border: 4px solid #22d3ee;
  box-shadow: 0 0 15px 5px rgba(34, 211, 238, 0.5);
  transform: translateX(0%);  /* Slightly left of center */
}

.about-text {
  flex: 1;
}

/* Skill Progress Bars */
.skills {
  margin-top: 20px;
}

.skill {
  margin-bottom: 15px;
}

.skill-name {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #22d3ee;
}

.progress-bar {
  width: 50%;
  background: #1f2937;
  border-radius: 10px;
  overflow: hidden;
}

.progress {
  height: 10px;
  background: #22d3ee;
  transition: box-shadow 0.3s ease;
}

/* Glow effect on hover */
.progress:hover {
  box-shadow: 0 0 10px 2px rgba(34, 211, 238, 0.8);
}

/* Responsive stacking for smaller screens */
@media (max-width: 768px) {
  .about-section {
    flex-direction: column;
    text-align: center;
  }
  
  .about-image {
    width: 150px;
   transform: none;
  }
}
@media (max-width: 768px) {
  .about-section {
    flex-direction: column;
    text-align: center;
  }
  
  .about-image {
    width: 150px;
    transform: none;
  }
  
  .skills {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
  }
  
  .skill {
    width: 90%; /* Adjust the width as needed */
    margin-bottom: 15px;
  }
  
  .progress-bar {
    width: 100%;
  }
}
  .hero {
    position: relative; /* Required for positioning the arrow inside the hero */
  }
  .scroll-down {
    position: absolute;
    bottom: 20px; /* Adjust the spacing from the bottom */
    left: 50%;
    transform: translateX(-50%);
  }
  .scroll-down a {
    display: inline-block;
    animation: bounce 2s infinite; /* Optional: adds a subtle bounce effect */
  }
  @keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
      transform: translateY(0);
    }
    40% {
      transform: translateY(10px);
    }
    60% {
      transform: translateY(5px);
    }
  }
    .alternating-sections {
      max-width: 1200px;
      margin: 60px auto;
      padding: 0 20px;
    }
    .alternating-sections .alt-section {
      display: flex;
      align-items: center;
      margin: 40px 0;
    }
    .alternating-sections .alt-section .text,
    .alternating-sections .alt-section .image {
      flex: 1;
      padding: 20px;
    }
    .alternating-sections .alt-section .image img {
      width: 100%;
      height: auto;
      display: block;
    }
    /* Reverse order on even-numbered sections */
    .alternating-sections .alt-section:nth-child(even) {
      flex-direction: row-reverse;
    }
    @media (max-width: 768px) {
      .alternating-sections .alt-section {
        flex-direction: column !important;
      }
    }
    p {
      margin-bottom: 20px; /* Adjust the value as needed */
    }
    mark {color: #22d3ee;background-color: #000;}
    /* Container holding the buttons */
.supporting-links {
  margin-top: 15px; /* Space above the buttons */
}

/* Basic button styling */
.supporting-links .btn {
  display: inline-block;      /* So each link looks like a button */
  padding: 10px 20px;
  margin-right: 10px;         /* Space between buttons */
  background-color: #22d3ee;  /* Example background color */
  color: #070000;                /* Text color */
  text-decoration: none;      /* Remove underline */
  border-radius: 4px;         /* Slightly rounded corners */
  font-weight: 500;           /* Make text a bit bolder */
}
@media (max-width: 600px) {
  .supporting-links .btn {
    display: block;           /* Stack buttons vertically */
    width: 100%;              /* Full width */
    margin: 10px 0;           /* Spacing between buttons */
    font-size: 18px;          /* Optional: Slightly larger text for mobile */
    text-align: center;       /* Center the button text */
  }
}

/* Hover state for a nicer UX */
.supporting-links .btn:hover {
  background-color: #1a95a8;
}
footer p {
  margin: 0;
  padding: 0;
}
