/* Contact Section */
#contact, .contact_section {
  position: relative;
  padding: 50px 0;
  background: url('../images/Network.jpg') no-repeat center center/cover;
  background-size: cover;
  color: #fff;
  overflow: hidden;
}

#contact::before, .contact_section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6); /* Adjust transparency here */
  z-index: 1;
}

#contact .container, .contact_section .container {
  position: relative;
  z-index: 2;
  animation: slideIn 1.5s ease-in-out;
}

#contact h2, .contact_section h2 {
  font-size: 36px;
  margin-bottom: 20px;
  text-align: center;
  animation: fadeInDown 1s ease-in-out;
}

#contact p, .contact_section p {
  font-size: 18px;
  margin-bottom: 20px;
  text-align: center;
  animation: fadeInDown 1s ease-in-out;
}

#contact form, .contact_section form {
  max-width: 600px;
  margin: 0 auto;
  background: radial-gradient(circle, rgba(16,149,107,1) 0%, rgba(9,107,121,1) 60%, rgba(12,74,99,1) 100%);
  padding: 20px;
  border-radius: 10px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  animation: fadeInUp 1s ease-in-out;
}

#contact input,
#contact textarea,
.contact_section input,
.contact_section textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: none;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.3);
  color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#contact button,
.contact_section button {
  display: block;
  width: 100%;
  padding: 10px;
  background: linear-gradient(90deg, rgba(16,149,107,1) 0%, rgba(9,107,121,1) 60%, rgba(12,74,99,1) 100%);
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

#contact button:hover,
.contact_section button:hover {
  background: #023133;
}

#contact .btn-box,
.contact_section .btn-box {
  text-align: center;
  margin-top: 20px;
}

#contact .btn1,
.contact_section .btn1 {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(90deg, rgba(16,149,107,1) 0%, rgba(9,107,121,1) 60%, rgba(12,74,99,1) 100%);
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s ease;
}

#contact .btn1:hover,
.contact_section .btn1:hover {
  background: #023133;
}

/* Animation */
.contact_intro {
  animation: fadeIn 2s ease-in-out;
}

@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(0); }
}

@keyframes fadeInDown {
  0% { opacity: 0; transform: translateY(-20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Skills Section */
.skills_section {
  background: linear-gradient(135deg, #f8f8f9, #e0e0e0);
  padding: 75px 0;
}

.skills_section .heading_container {
  margin-bottom: 45px;
}

.skills_section .box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 45px;
  background-color: #ffffff;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skills_section .box:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.skills_section .box .img-box {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100px;
  height: 100px;
  margin-bottom: 15px;
  animation: bounce 2s infinite;
}

.skills_section .box .img-box img {
  max-width: 100%;
  max-height: 100%;
}

.skills_section .box .detail-box h6 {
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.skills_section .box .detail-box p {
  margin-bottom: 0;
  font-size: 14px;
  color: #666666;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-10px);
  }
}

/* Video Background */
.bg_img_box {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.bg_img_box video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bg_img_box .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Adjust the opacity as needed */
}

/* Service Section */
.service_section .box {
  background: rgba(0, 0, 0, 0.1); 
  background-size: cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 45px;
  color: #ffffff; /* Ensure text color is white */
  padding: 20px;
  border-radius: 10px;
}
.service_section .box .img-box {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 125px;
  min-width: 75px;
  height: 75px;
  margin-bottom: 15px;
}

.service_section .box .img-box img {
  max-width: 100%;
  max-height: 100%;
  transition: all 0.3s;
  filter: brightness(1.2); /* Make the image more visible */
}

.service_section .box .detail-box h5 {
  font-weight: bold;
  text-transform: uppercase;
}

.service_section .box .detail-box a {
  color: #ffffff; /* Ensure link color is white */
  font-weight: 600;
}

.service_section .box .detail-box a:hover {
  color: #00bbf0;
}

.service_section .btn-box {
  display: flex;
  justify-content: center;
  margin-top: 45px;
}

.service_section .btn-box a {
  display: inline-block;
  padding: 10px 45px;
  background-color: #00bbf0;
  color: #ffffff;
  border-radius: 0;
  transition: all 0.3s;
  border: none;
}

.service_section .btn-box a:hover {
  background-color: #007fa4;
}

/* Project Section */
.service_section {
  background: url('../images/wordNet.jpg') no-repeat center center/cover; /* Set the background image */
  background-color: rgba(0, 0, 0, 0.5); /* Make the background darker */
  color: #ffffff; 
  padding: 75px 0;
}

.service_section .heading_container {
  margin-bottom: 45px;
}

.service_section .box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 45px;
  background-color: rgba(117, 112, 112, 0.9); /* Brighter background for content */
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #0c0c0c; /* Dark text color for better contrast */
}

.service_section .box:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.service_section .box .img-box {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100px;
  height: 100px;
  margin-bottom: 15px;
}

.service_section .box .img-box img {
  max-width: 100%;
  max-height: 100%;
}

.service_section .box .detail-box h5 {
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: #000000; /* Dark text color for better contrast */
}

.service_section .box .detail-box p {
  margin-bottom: 0;
  font-size: 14px;
  color: #ffffff; /* Dark text color for better contrast */
}

.service_section .btn-box {
  display: flex;
  justify-content: center;
  margin-top: 45px;
}

.service_section .btn-box a {
  display: inline-block;
  padding: 10px 45px;
  background-color: #00bbf0;
  color: #ffffff;
  border-radius: 0;
  transition: all 0.3s;
  border: none;
}

.service_section .btn-box a:hover {
  background-color: #007fa4;
}

/* Why Section */
.why_section {
  background: rgb(6,64,46);
background: linear-gradient(90deg, rgba(6,64,46,1) 1%, rgba(14,69,98,1) 50%, rgba(2,45,59,1) 100%);
  color: #fff;
  padding: 75px 0;
}

/* Experience Section */
.experience_section {
  background: none;
  color: #fff;
}

.experience_section .heading_container {
  margin-bottom: 45px;
}

.experience_section .timeline {
  position: relative;
  padding: 20px 0;
  margin-top: 20px;
}

.experience_section .timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #00bbf0;
  left: 50%;
  transform: translateX(-50%);
}

.experience_section .timeline-item {
  position: relative;
  margin-bottom: 20px;
  padding-left: 50%;
  padding-right: 50%;
  text-align: left;
  opacity: 0;
  transform: translateY(50px);
  animation: fadeInUp 0.6s forwards;
  animation-delay: calc(var(--i) * 0.2s);
}

.experience_section .timeline-item:nth-child(even) {
  padding-left: 0;
  padding-right: 50%;
  text-align: right;
}

.experience_section .timeline-date {
  font-weight: bold;
  margin-bottom: 5px;
}

.experience_section .timeline-content {
  padding: 15px;
  border-radius: 10px;
  position: relative;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.experience_section .timeline-content:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.experience_section .timeline-content h3,
.experience_section .timeline-content h4 {
  margin: 0;
}

.experience_section .timeline-content p {
  margin-top: 10px;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}