@import 'utilities.css';

:root {
  --primary: #ff9900;
  --dark: #010920;
  --grey: #373c41;
  --light: #f2f2f2;
  --second-bg-color: #010920;
  --h1-font: 4rem;
  --h2-font: 2.9rem;
  --p-font: 1.6rem;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

header {
  background-color: var(--dark);
}

span {
  color: var(--primary);
}

.container {
  max-width: 100%;
  padding: 0px;
  margin: 0 auto;
}

header nav .left a {
  color: var(--light);
  font-size: 1.2rem;
  font-weight: 500;
  text-decoration: none;
  margin-left: 3rem;
  margin-right: 2rem;
  transition: all .3s ease;
}

header nav .left a:hover {
  color: var(--primary);
  text-shadow: 3px 3px 20px var(--primary), -2px 1px 30px var(--light)
}

header nav {
  padding: 2rem 0;
}

header nav .right {
  margin-right: 100px;
}

.main-content {
  background-color: var(--dark);
}

.hero {
  background-color: var(--dark); /* Set the hero section's background to dark */
  color: var(--light); /* Set the default text color to light */
  padding: 50px 0; /* Add some padding to the hero section */
}

section .hero {
  height: 5rem;
  width: 100%;
  display: flex;
  padding: 0px;
  align-items: center;
  margin: 0 50px 50px;
}

.main-content .branding img {
  height: 40%;
  width: 40%;
  margin: 0;
  margin-left: 200px;
}

.main-content h4 {
  display: flex;
  margin: 0px 50px 30px;
  font-size: 1.6rem;
  color: var(--light);
}

.main-content h1 {
  font-size: var(--h1-font);
  font-weight: 620;
  color: var(--light);
  margin: 0 50px 30px;
  line-height: 1.2;
}

.main-content p {
  font-size: var(--p-font);
  font-weight: 400;
  width: 620px;
  max-width: 100%;
  color: var(--light);
  line-height: 30px;
  margin: 0 50px 50px;
}

.main-content .right {
  margin: 0px 50px;
  font-weight: 400;
  margin-bottom: 50px;
}

.about {
  background-color: var(--dark);
  align-items: center;
  display: flex;
}

.about-img img {
  width: 50%;
  height: 50%;
  max-width: 530px;
  border-radius: 50%;
  object-fit: fill;
  border: 7px solid var(--primary);
  box-shadow: 0 0 20px var(--primary);
  margin: 0px 200px;
}

.exp-area {
  margin-bottom: 50px;
}

.exp-area h2 {
  font-size: 2.9rem;
  color: var(--light);
  margin: 50px 50px;
}

.exp-area p {
  color: var(--light);
  font-weight: 600;
  font-size: 25px;
  line-height: 42px;
  margin: 0 50px 0;
}

.exp-area span {
  margin: 0;
}

.center-text {
  text-align: center;
  margin-top: 0px;
}

.center-text h2 {
  font-size: var(--h2-font);
  color: var(--light);
}

.services {
  background-color: var(--dark);
  height: 800px;
}

.services-content {
  display: grid;
  color: var(--light);
  grid-template-columns: repeat(auto-fit, minmax(300px, auto));
  align-items: center;
  gap: 2.3rem;
  margin: 4.2rem;
}

.box {
  padding: 80px 40px 66px;
  margin-bottom: 50px;
  background: rgb(51, 51, 65);
  border-radius: 28px;
  border: 1px solid transparent;
  box-shadow: 0 0 5px var(--primary);
  transition: all 0.3s ease;
}

.box:hover {
  border: 1px solid var(--primary);
  transform: translateY(-5px) scale(1.03);
}

.box img {
  margin-bottom: 20px;
}

.box h3 {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--primary);
}

.box p {
  font-size: var(--p-font);
  font-weight: 400;
  line-height: 30px;
  margin-bottom: 20px;
  color: var(--light);
}

.box a {
  display: inline-block;
  color: var(--light);
  font-size: 20px;
  font-weight: 400;
  font-style: italic;
  line-height: 1.5rem;
  transition: all 0.3s ease;
  border-bottom: 2px solid;
  border-color: var(--primary);
  text-decoration: none;
  padding: 7px 0;
}

.box a:hover {
  color: var(--primary);
}

.skills h2 {
  color: var(--light);
  background-color: var(--dark);
}

@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.skill-list {
  overflow: hidden;
  padding: 60px 0;
  white-space: nowrap;
  position: relative;
  background-color: var(--second-bg-color);
}

.skill-list:before,
.skill-list::after {
  position: absolute;
  top: 0px;
  width: 250px;
  height: 100%;
  content: "";
  z-index: 2;
}

.skill-list::before {
  left: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 0), #010920);
}

.skill-list::after {
  right: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), #010920);
}

.skill-list:hover .skills-slide {
  animation-play-state: paused;
}

.skills-slide {
  animation: 35s slide infinite linear;
  display: inline-block;
}

.skills-slide img {
  height: 160px;
  margin: 0 40px;
}

.skills-slide img:hover {
  transform: translateY(-5px) scale(1.03);
}

.contact-form {
  height: 850px;
  background-color: var(--dark);
  text-align: center;
  text-decoration: none;
}

.contact-form h2 {
  position: relative;
  font-size: var(--h2-font);
  font-weight: 700;
  color: var(--light);
  margin-bottom: 60px;
}

.contact-form .input-box {
  margin: 20px;
  height: 90px;
}

.contact-form .btn {
  color: var(--light);
  background-color: transparent;
  margin-top: 150px;
  border-color: var(--primary);
}

.input {
  width: 20%;
  height: 55%;
  background-color: transparent;
  border: 2px solid var(--primary);
  border-radius: 20px;
}

.input-box label {
  margin-left: -280px;
  background-color: var(--dark);
  padding-left: 5px;
  padding-right: 5px;
  color: var(--light);
  position: absolute;
  transform: translateY(-50%);
  font-size: 20px;
}

.input-box textarea {
  width: 20%;
  min-height: 200px;
  overflow: auto;
  background-color: transparent;
  box-sizing: border-box;
  padding: 14px 20px;
  margin-bottom: 15px;
  border: 2px solid var(--primary);
  border-radius: 20px;
}

.contact-form .counter-container .counter-number {
  margin-left: 0px;
  margin-right: 90%;
  color: var(--light);
  font-weight: 300;
  line-height: 3rem;
}

/* Certifications Section */
.certification {
  background-color: var(--dark);
  padding: 50px 0;
}

.certification-list {
  color: var(--light);
  margin-top: 80px; 
  margin: 0 50px;
}

.certification-item {
  margin-bottom: 30px;
}

.certification-item h3 {
  font-size: 1.8rem;
  color: var(--primary);
}

.certification-item img {
  margin-top: 10px;
  border: 2px solid var(--primary);
  border-radius: 10px;
}



.btn a {
  text-decoration: none; /* Remove underline */
  color: inherit; /* Ensure the text color is consistent with the button */
  display: inline-block; /* Make the anchor behave like a button */
  padding: 10px 20px; /* Add padding for better click area */
}

.btn:hover {
  background-color: rgba(255, 153, 0, 0.1); /* Optional: Change background on hover for visual feedback */
}

.btn:focus {
  outline: none; /* Remove the focus outline */
}

.input {
  background-color: transparent; /* Ensure the background is transparent */
  color: var(--light); /* Set the text color to white */
  border: 2px solid var(--primary); /* Keep the existing border */
}

.input-box label {
  color: var(--light); /* Ensure the label text is also white */
}

.input-box textarea {
  background-color: transparent; /* Ensure the background is transparent */
  color: var(--light); /* Set the text color to white */
}

/* Experience Section */
.experience {
  background-color: var(--dark);
  padding: 50px 0;
}

.experience-content {
  margin: 0 50px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.experience-item {
  background: rgb(51, 51, 65);
  padding: 20px;
  border-radius: 20px;
  border: 2px solid var(--primary);
  box-shadow: 0 0 5px var(--primary);
  transition: transform 0.3s ease;
}

.experience-item:hover {
  transform: scale(1.02);
}

.experience-item h3 {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.experience-item p {
  font-size: var(--p-font);
  color: var(--light);
  line-height: 1.5;
}

.projects {
  background-color: var(--dark);
  color: var(--light);
  padding: 50px;
  margin-bottom: 50px;
}

.projects h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.projects-container {
  display: flex; /* Use flexbox for horizontal alignment */
  overflow-x: auto; /* Enable horizontal scrolling */
  gap: 20px; /* Add space between project cards */
  padding-bottom: 10px; /* Space for scrolling visibility */
  scrollbar-width: thin; /* Optional: style scrollbar for modern browsers */
  scrollbar-color: var(--primary) var(--grey); /* Primary color for the scrollbar */
}

.projects-container::-webkit-scrollbar {
  height: 8px; /* Height of the horizontal scrollbar */
}

.projects-container::-webkit-scrollbar-thumb {
  background-color: var(--primary);
  border-radius: 10px; /* Rounded scrollbar thumb */
}

.projects-container::-webkit-scrollbar-track {
  background-color: var(--grey);
}

.project-card {
  min-width: 300px; /* Minimum width of each card */
  max-width: 300px; /* Maximum width of each card */
  background-color: rgb(51, 51, 65);
  color: var(--light);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 5px var(--primary);
  text-align: center;
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: scale(1.05); /* Slight zoom effect on hover */
}


