/* Scroll and Reset */
html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

/* Global Styles */
body {
  background: black;
  color: white;
  line-height: 1.6;
}

span {
  color: red;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Navigation */
.navbar {
  /* position: fixed; */
  top: 0;
  width: 100%;
  background: #101010;
  padding: 20px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.logo {
  font-size: 28px;
  font-weight: bold;
}

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

.nav-links li a {
  font-weight: bold;
  transition: color 0.3s;
}

.nav-links li a:hover {
  color: #f9004d;
}

.btn {
  background: #f9004d;
  padding: 10px 20px;
  border-radius: 30px;
  transition: transform 0.3s;
}

.btn:hover {
  transform: scale(1.05);
}

/* Sections */
section {
  /* padding: 100px 0%; */
  /* min-height: 100vh; */
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 100%); */
  color: white;
  border-bottom: 1px solid grey;
  /* opacity: 0.4; */
}

h2 {
  /* text-align: center; */
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.title p,
.contact-title p {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
  color: #ccc;
}

/* Hero */
/* .hero {
    background: url('https://t3.ftcdn.net/jpg/04/53/61/00/240_F_453610098_zdOp8kYCIUVamtdMpN8Uh6extkLzVvLJ.jpg') no-repeat center/cover;
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 0 8%;
    padding-top: 70px;
  }
  
  .hero .content h1 {
    font-size: 60px;
  }
  
  .hero .content h4 {
    color: #f9004d;
  } */

/* ===== Intro Highlight Section ===== */
#intro-highlight {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(145deg, #0f0f1a 0%, #1a1a2e 100%);
}

#intro-highlight .intro-text h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: #ffffff;
}

#intro-highlight .intro-text p {
  font-size: 1.1rem;
  color: #cccccc;
  max-width: 800px;
  margin: 0 auto 50px;
}

#intro-highlight .services-highlight {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 50px;
}

#intro-highlight .service-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px 20px;
  border-radius: 12px;
  width: 220px;
  transition: transform 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

#intro-highlight .service-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

#intro-highlight .service-item i {
  font-size: 40px;
  color: #e63946;
  margin-bottom: 15px;
}

#intro-highlight .service-item h3 {
  font-size: 1.2rem;
  color: #ffffff;
}

#intro-highlight .intro-buttons a {
  display: inline-block;
  margin: 0 15px;
  padding: 14px 32px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
}

#intro-highlight .btn-primary {
  background-color: #e63946;
  color: #ffffff;
}

#intro-highlight .btn-secondary {
  background-color: transparent;
  border: 2px solid #e63946;
  color: #e63946;
}

#intro-highlight .btn-primary:hover,
#intro-highlight .btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(230, 57, 70, 0.3);
}

/* Responsive for smaller screens */
@media (max-width: 768px) {
  #intro-highlight .services-highlight {
    flex-direction: column;
    align-items: center;
  }

  #intro-highlight .intro-buttons a {
    display: block;
    margin: 10px auto;
    width: 80%;
  }
}

/* About */
#about {
  /* background-color: 101010; */
  padding: 60px 20px;
}

.about-container {
  display: flex;
  gap: 60px;
  align-items: center;
  padding-left: 100px;
  margin-top: 60px;
  margin-left: 25px;
}

.about-image img {
  max-width: 400px;
  border-radius: 15px;
}

.about-text p {
  margin-bottom: 15px;
  color: #ccc;
}

/* .about-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
  } */

about-text h2 {
  text-align: left;
}

/* Services */
#services {
  /* background-color: #101010; */
  padding: 60px 20px;
}

.title {
  text-align: center;
  margin-bottom: 30px;
}

.services-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.service-category {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  width: 300px;
  transition: transform 0.3s ease;
  padding: 25px 30px;
}

.service-category:hover {
  transform: translateY(-5px);
}

.service-category h3 {
  margin-bottom: 10px;
  color: white;
  margin-top: 10px;
  margin-left: 10px;
}

.service-category ul {
  padding-left: 18px;
  list-style: disc;
}

.service-category li {
  margin-bottom: 8px;
  color: #ccc;
}

#clients {
  padding: 40px 20px;
  /* background-color: #101010; */
}

.client-box img {
  width: 250px;
}

.clients-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 20px;
}

.client-box {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  width: 300px;
  transition: transform 0.3s ease;
  text-align: center;
  padding: 25px 30px;
}

.client-box:hover {
  transform: translateY(-5px);
}

.client-box h3 {
  margin-bottom: 10px;
  color: white;
  font-size: 20px;
}

.client-box p {
  color: #ccc;
  font-size: 15px;
  line-height: 1.4;
}

/* Skills */
#skills {
  padding: 60px 20px;
  /* background-color: #101010; */
}

.skills-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-top: 40px;
}

.skill-box {
  /* background: rgba(255, 255, 255, 0.25); */
  /* backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); */
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 25px 30px;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  width: 300px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: white;
}

.skill-box::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, #4f46e5 0%, transparent 60%);
  opacity: 0.1;
  z-index: 0;
}

.skill-box:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.skill-box h3 {
  margin-bottom: 15px;
  color: white;
  font-size: 22px;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.skill-box p {
  color: white;
  font-size: 15.5px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* ===== Contact Section ===== */
#contact {
  padding-top: 40px;
  padding-bottom: 60px;
}

.contact-title {
  text-align: center;
  margin-bottom: -10px;
}

.contact-title h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
}

.contact-title h2 span {
  color: red; /* Accent color */
}

.contact-title h2::after {
  content: "";
  position: absolute;
  width: 50%;
  height: 3px;
  background: red;
  bottom: -10px;
  left: 25%;
  border-radius: 3px;
}

.contact-title p {
  font-size: 1.1rem;
  opacity: 0.9;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  /* background: rgba(25, 25, 25, 0.7); */
  padding: 40px;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transform: translateY(0);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.contact-form:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 25px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: white;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #4ecca3;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 3px rgba(78, 204, 163, 0.2);
}

.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}

/* Button Styles */

.contact-form .btn-primary {
  padding: 14px 32px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  display: block;
  margin: 10px auto;
  width: 80%;
  border: none;
}
.contact-form .btn-primary {
  background-color: #e63946;
  color: #ffffff;
}

.contact-form .btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(230, 57, 70, 0.3);
}

/* Form Message */
/* Form Message Styles */
#form-message {
  padding: 20px;
  margin: 20px 0;
  border-radius: 10px;
  text-align: center;
  transition: all 0.3s ease;
  display: none;
  position: relative;
}

#form-message.loading {
  background: rgba(0, 119, 255, 0.1);
  color: #0077ff;
  display: block;
}

#form-message.success {
  background: rgba(46, 213, 115, 0.15);
  color: #2ed573;
  display: block;
  text-align: left;
  border-left: 4px solid #2ed573;
}

#form-message.error {
  background: rgba(255, 71, 87, 0.15);
  color: #ff4757;
  display: block;
  text-align: left;
  border-left: 4px solid #ff4757;
}

.success-message,
.error-message {
  padding: 10px;
}

.success-message i,
.error-message i {
  font-size: 24px;
  margin-bottom: 10px;
}

.message-details {
  background: rgba(255, 255, 255, 0.1);
  padding: 15px;
  border-radius: 8px;
  margin-top: 15px;
  text-align: left;
}

.message-details p {
  margin-bottom: 8px;
  color: inherit;
}

.fa-spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Form Status Message Styles */
.form-status {
  max-width: 600px;
  margin: 0 auto 30px;
  padding: 15px 20px;
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s ease;
}

.form-status.success {
  background: rgba(46, 213, 115, 0.15);
  color: #2ed573;
  border-left: 4px solid #2ed573;
  display: block !important;
}

.form-status.error {
  background: rgba(255, 71, 87, 0.15);
  color: #ff4757;
  border-left: 4px solid #ff4757;
  display: block !important;
}

.form-status.loading {
  background: rgba(0, 119, 255, 0.1);
  color: #0077ff;
  display: block !important;
}

.form-status i {
  margin-right: 10px;
}
.form-status {
  transition: opacity 0.5s ease;
  opacity: 1;
}

/* Popup Notification Styles */
.popup {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0, 0, 0, 0.5);
}

.popup-content {
  background: #fff;
  margin: 10% auto;
  padding: 20px;
  border-radius: 8px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  position: relative;
  color: #333;
}

.popup-content h3 {
  margin-top: 0;
  color: #333;
}

.popup-content p {
  color: #666;
}

.close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  color: #333;
  cursor: pointer;
}

.close:hover {
  color: #f9004d;
}
/* Footer */
footer {
  /* background: #191919; */
  padding: 30px 8%;
  text-align: center;
}

.footer-contact {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.footer-contact a:hover {
  color: #f9004d;
}

.end {
  font-size: 14px;
  color: #aaa;
}
/* 
   footer {
    border-top: 1px solid grey;
    opacity: 0.4;
  } */

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 60px;
    left: -100%;
    width: 100%;
    flex-direction: column;
    background: #101010;
    transition: 0.3s;
  }

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

  .menu-toggle {
    display: block;
    font-size: 24px;
    cursor: pointer;
  }

  .skills-container,
  .about-container {
    flex-direction: column;
  }

  .hero .content h1 {
    font-size: 40px;
  }
  .about-container {
    padding-left: 0px !important;
  }
  .about-image img {
    max-width: 100% !important;
  }
}
