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

html {
  scroll-behavior: smooth;
}

body {
  background-color: #080808;
  color: #fff;
  overflow-x: hidden;
}

/* Header Section */
#header {
  width: 100%;
  height: 90vh;
  background: linear-gradient(to top, #FFA500, #000);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  animation: headerBackground 8s infinite alternate;
}

@keyframes headerBackground {
  0% {
    background: linear-gradient(to top, #FFA500, #000);
  }
  100% {
    background: linear-gradient(to top, #FF4500, #000);
  }
}

/* Header Text */
.header-text .description {
  color: #fff;
  font-size: 1.2em;
  margin-top: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

#container {
  padding: 10px 5%;
}

.logo-img {
  width: 64px;
  height: 64px;
}

.logo-text {
  font-family: "Poppins", sans-serif;
  font-size: 4.8rem;
  font-weight: 900;
  margin-left: -208px;
  text-transform: uppercase;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
  background: linear-gradient(45deg, #e56102, #FF4500);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  display: inline-block;
  animation: logoAnimation 3s ease-in-out infinite alternate;
}

@keyframes logoAnimation {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.05);
    opacity: 1;
  }
}

.logo-text::before {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 10px;
  background: linear-gradient(45deg, #FF6347, #FF4500);
  opacity: 0.5;
  border-radius: 5px;
  animation: logoUnderline 1.5s ease-in-out infinite alternate;
}

@keyframes logoUnderline {
  0% {
    width: 80%;
  }
  100% {
    width: 100%;
  }
}

.logo-text::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 5px;
}

/* Navigation */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  background: linear-gradient(to right, #FF4500, #000);
  padding: 1rem 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  z-index: 1000;
  transition: all 0.5s ease-in-out;
  animation: navSlideIn 2s ease-out;
}

@keyframes navSlideIn {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(0);
  }
}

.logo {
  width: 140px;
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
  justify-content: center;
  flex-grow: 1;
}

nav ul li {
  display: inline-block;
  margin: 0 15px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 20px;
  position: relative;
  text-transform: uppercase;
  font-weight: 600;
  transition: color 0.3s ease;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

nav ul li a::after {
  content: "";
  width: 0;
  height: 3px;
  background: #fff;
  position: absolute;
  left: 0;
  bottom: -6px;
  transition: width 0.5s;
}

nav ul li a:hover::after {
  width: 100%;
}

nav ul li a:hover {
  color: #FFA500;
}

/* Header Text Animation */
.header-text {
  margin-top: 20%;
  font-size: 22px;
}

.header-text h1 {
  font-size: 54px;
  margin-top: 20px;
  font-weight: 700;
  animation: headerTextSlideIn 1s ease-out;
}

@keyframes headerTextSlideIn {
  0% {
    transform: translateY(-50px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.header-text h1 span {
  color: #FFA500;
}

/* Background Effects (Rings and Stars) */
.background-ring {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 165, 0, 0.1); /* Orange color ring */
  animation: bounce 4s ease-in-out infinite;
  z-index: 0;
}

.background-ring-1 {
  width: 300px;
  height: 300px;
  top: -100px;
  left: -50px;
  animation-duration: 5s;
}

.background-ring-2 {
  width: 500px;
  height: 500px;
  top: -150px;
  right: -100px;
  animation-duration: 6s;
}

.background-ring-3 {
  width: 700px;
  height: 700px;
  bottom: -100px;
  left: -200px;
  animation-duration: 7s;
  cursor: pointer;
}

.background-ring-3:hover {
  animation-duration: 2s;
  transform: rotate(45deg);
}

@keyframes bounce {
  0%, 100% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(150px, -150px);
  }
  50% {
    transform: translate(0, 150px);
  }
  75% {
    transform: translate(-150px, 0);
  }
}

.star {
  position: absolute;
  background-color: #fff;
  border-radius: 50%;
  animation: twinkle 1.5s infinite alternate;
}

.star-1 {
  width: 5px;
  height: 5px;
  top: 650px;
  left: 100px;
  animation-delay: 0s;
}

.star-2 {
  width: 3px;
  height: 3px;
  top: 200px;
  left: 400px;
  animation-delay: 1s;
}

.star-3 {
  width: 5px;
  height: 5px;
  top: 300px;
  left: 308px;
  animation-delay: 2s;
}

.star-4 {
  width: 4px;
  height: 4px;
  top: 150px;
  left: 550px;
  animation-delay: 3s;
}

.star-5 {
  width: 4px;
  height: 4px;
  top: 650px;
  left: 550px;
  animation-delay: 3s;
}

.star-6 {
  width: 4px;
  height: 4px;
  top: 550px;
  left: 450px;
  animation-delay: 3s;
}

.star-7 {
  width: 4px;
  height: 4px;
  top: 550px;
  left: 950px;
  animation-delay: 3s;
}
.star-8 {
  width: 4px;
  height: 4px;
  top: 750px;
  left: 870px;
  animation-delay: 3s;
}

.star-9 {
  width: 3px;
  height: 3px;
  top: 290px;
  left: 800px;
  animation-delay: 1s;
}

.star-10 {
  width: 3px;
  height: 3px;
  top: 200px;
  left: 1000px;
  animation-delay: 1s;
}


@keyframes twinkle {
  0% {
    opacity: 0.3;
  }
  100% {
    opacity: 1;
  }
}

/* Hover and Interactive Effects */
button {
  background: #FF4500;
  color: #ffff;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease-in-out, background 0.3s ease;
}

button:hover {
  background: #FFA500;
  transform: scale(1.1);
}

button:focus {
  outline: none;
  border: 2px solid #FF4500;
}

/* Parallax Effect */
.parallax {
  background-image: url('');
  height: 500px;
  background-position: center;
  background-attachment: fixed;
  background-size: cover;
  transition: background-position 0.5s ease;
}

.parallax:hover {
  background-position: top center;
}

@media screen and (max-width: 768px) {
  .logo-text {
    font-size: 3rem;
  }

  .header-text h1 {
    font-size: 40px;
  }

  nav {
    padding: 0.8rem 1.5rem;
  }

  nav ul li a {
    font-size: 18px;
  }

  .background-ring-1, .background-ring-2, .background-ring-3 {
    animation-duration: 8s;
  }
}


/*-------------about-------------*/
#about {
  padding: 80px 5%; /* Added padding for consistency */
  color: #ababab;
}

.row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.about-col-1 {
  flex-basis: 35%;
}

.about-col-1 img {
  width: 100%;
  border-radius: 15px;
}

.about-col-2 {
  flex-basis: 60%;
}

.njagah {
  font-size: 18px;
}

.sub-title {
  font-size: 50px;
  font-weight: 600;
  color: #ffff;
}

.tab-title {
  display: flex;
  margin: 20px 0 40px;
}

.tab-links {
  margin-right: 50px;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  position: relative;
}

.tab-links::after {
  content: "";
  width: 0;
  height: 3px;
  background: #FF4500;
  position: absolute;
  left: 0;
  bottom: -8px;
  transition: 0.5s;
}

.tab-links.active-link::after {
  width: 50%;
}

.tab-contents ul li {
  list-style: none;
  margin: 10px 0;
}

.tab-contents ul li span {
  color: #FF4500;
  font-size: 14px;
}

.tab-contents {
  display: none;
}

.tab-contents.active-tab {
  display: block;
}

/*----------------------------service---------------------*/
#servises {
  padding: 30px 5%;
}
.sub-title {
  font-size: 60px;
  font-weight: 600;
  color: #fff;
  margin: 40px;
}

.Services-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 40px;
  margin-top: 50px;
  font-size: 11px;
  margin: 40px;
}

.Services-list div {
  background: #262626;
  padding: 40px;
  font-size: 13px;
  font-weight: 300;
  border-radius: 10px;
  transition: background 0.5s, transform 0.5s;
}

.Services-list div i {
  font-size: 50px;
  margin-bottom: 30px;
}

.Services-list div h2 {
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 15px;
}

.Services-list div a {
  text-decoration: none;
  color: #ffff;
  font-size: 12px;
  margin-top: 20px;
  display: inline-block;
}

.Services-list div:hover {
  background: #FF4500;
  transform: translateY(-10px);
}

/*-----------------------------portfolio----------------*/
#portfolio {
  padding: 50px 5%; /* Added padding for consistency */
}

.worklist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 40px;
  margin-top: 50px;
}

.work {
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

.work img {
  width: 100%;
  height: 90%;
  border-radius: 10px;
  display: block;
  transition: transform 0.5s;
}

.layer {
  width: 100%;
  height: 0%;
  background: linear-gradient(rgba(0, 0, 0, 0.6), #FF4500);
  border-radius: 10px;
  position: absolute;
  left: 0;
  bottom: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 0 40px;
  text-align: center;
  font-size: 14px;
  transition: height 0.5s;
}

.layer h3 {
  font-weight: 500;
  margin-bottom: 20px;
}

.layer a {
  margin-top: 20px;
  color: #FF4500;
  text-decoration: none;
  font-size: 18px;
  line-height: 60px;
  background: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  text-align: center;
}

.work:hover {
  transform: scale(1.1);
}

.work:hover .layer {
  height: 100%;
}

.btn {
  display: block;
  margin: 50px auto;
  width: fit-content;
  border: 1px solid #FF4500;
  padding: 14px 50px;
  border-radius: 6px;
  text-decoration: none;
  color: #fff;
  transition: background 0.5s;
}

.btn:hover {
  background: #FF4500;
}
/*----------------------------------------------contact-------------------------*/
.contact-left {
  flex-basis: 35%;
}

.contact-right {
  flex-basis: 60%;
}

.contact-left p {
  margin-top: 30px;
  margin: 30px;
}

.contact-left p i {
  color: #FF4500;
  margin-right: 15px;
  font-size: 20px;
}

.contact-left .sub-title {
  font-size: 50px;
  font-weight: 550;
  color: #ffff;
  margin: 40px;
}

.social-icons {
  margin-top: 30px;
  margin: 40px;
  font-size: 1px;
}

.social-icons a {
  text-decoration: none;
  font-size: 30px;
  margin-right: 15px;
  color: #ababab;
  display: inline-block;
  transition: transform 0.5s;
  font-family: 'Roboto', sans-serif;
}

.social-icons a:hover {
  color: #FF4500;
  transform: translateY(5px);
}

.btn.btn2 {
  display: inline-block;
  background: #FF4500;
  font-size: 14px; 
  padding: 14px 22px;
  border-radius: 4px;
  color: #ffff;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.contact-right form {
  width: 100%;
  max-width: 600px;
  margin: 0 auto; 
}

form input,
form textarea {
  width: 100%;
  border: 0;
  outline: none;
  background: #262626;
  padding: 15px;
  margin: 15px 0;
  color: #ffff;
  font-size: 16px;
  border-radius: 6px;
  font-family: 'Roboto', sans-serif;
}

form input:focus,
form textarea:focus {
  border-color: #FF4500; /* Highlight input fields on focus */
  background: #333; /* Darker background on focus for contrast */
}

.social-icons .btn2 {
  padding: 14px 60px;
  margin-top: 22px;
  cursor: pointer;
  color: #ffff;
  font-size: 14px; 
  border-radius: 4px;
  font-family: 'Roboto', sans-serif;
}
.social-icons .btn2:hover {
  color: #ffff;
  background-color: #FF4500;
}
/* Copyright Section */
.copyright {
  width: 100%;
  text-align: center;
  padding: 25px 5%;
  background: #080808;
  font-family: 'Roboto', sans-serif;
  color: #fff;
  border-top: 1px solid #FF4500;
  position: relative;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  margin-top: 30px;
  transition: background-color 0.5s, transform 0.3s;
}

.copyright:hover {
  background-color: #080808;
  transform: translateY(-3px);
}

.copyright p {
  margin: 0;
  font-size: 16px;
  letter-spacing: 1px;
  line-height: 1.5;
}

.copyright i {
  color: #FF4500;
  margin-left: 5px;
  font-size: 18px;
  transition: transform 0.3s;
}

.copyright i:hover {
  transform: rotate(360deg);
}

.copyright span {
  font-weight: bold;
  color: #FF4500;
  text-decoration: underline;
}

.copyright a {
  text-decoration: none;
  color: #FF4500;
  font-weight: bold;
}

.copyright a:hover {
  color: #fff;
  text-decoration: underline;
}

/* Mobile Responsiveness */
@media only screen and (max-width: 600px) {
  .copyright p {
    font-size: 14px;
  }
}


/*---------------------running media queries---------*/
@media only screen and (max-width: 600px) {
  /* Add your mobile styles here */
}

