
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

:root {
  --primary-color: #f49e09;
  --primary-color-dark: #d4133a;
  --secondary-color: #0b1423;
  --secondary-color-dark: #091121;
  --text-light: #cbd5e1;
  --white: #ffffff;
  --max-width: 1200px;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.section__container {
  max-width: var(--max-width);
  margin: auto;
  padding: 5rem 1rem;
}

.section__header {
  padding-top: 4rem;
  position: relative;
  isolation: isolate;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 500;
  overflow: hidden;
}

.section__header::before {
  position: absolute;
  left: 0;
  bottom: 0;
  font-size: 3.5rem;
  font-weight: 600;
  line-height: 6rem;
  white-space: nowrap;
  opacity: 0.1;
}

.section__description {
  color: var(--text-light);
  line-height: 1.5rem;
}

.btn {
  padding: 0.75rem 1rem;
  outline: none;
  border: none;
  font-size: 0.9rem;
  color: var(--white);
  border: 1px solid;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

.btn__primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn__primary:hover {
  background-color: var(--primary-color-dark);
}

.btn__secondary {
  background-color: transparent;
  border-color: var(--white);
}

.btn__secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

img {
  display: flex;
  width: 100%;
}

a {
  text-decoration: none;
}

html,
body {
  scroll-behavior: smooth;
}

body {
  background-color: var(--secondary-color);
  font-family: "Poppins", sans-serif;
  color: var(--white);
}

/* nav {
  position: fixed;
  isolation: isolate;
  width: 100%;
  z-index: 9;
}

.nav__header {
  padding: 1rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--primary-color);
}

.nav__logo a {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
}

.nav__logo a span {
  color: var(--secondary-color);
}

.nav__menu__btn {
  font-size: 1.5rem;
  color: var(--white);
}

.nav__links {
  position: absolute;
  top: 68px;
  left: 0;
  width: 100%;
  padding: 2rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2rem;
  background-color: var(--secondary-color);
  transition: 0.5s;
  z-index: -1;
  transform: translateY(-100%);
}

.nav__links.open {
  transform: translateY(0);
}

.link a {
  color: var(--white);
  transition: 0.3s;
}

.link a:hover {
  color: var(--primary-color);
} */
.nav__logo h6 {
    display: inline;
    color: white;
    margin-left: 10px;
    font-size: medium;
     text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);  /* Light shadow for contrast */
}
.nav__logo img {
  width: 3rem;
  height: 3rem;
}
.nav__logo {
  display: inline-flex;
  align-items: center;
  column-gap: .25rem;
  
}
a {
  text-decoration: none;
}
li {
  list-style: none;
} 

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
   background-color : #0a0d14;
  z-index: 999;
  
  
  
}

nav{
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;  
  height: 6rem;
  padding: 0 1rem;
  margin: 0 auto;
  z-index: 999;
}

.toggle__menu,
.close__menu {
  display: none;
}

 .toggle__menu {
 color: black;
} 

/* .logo a{
  font-size: 1.75rem;
  font-weight: 700;
  color: #000;
} */

.nav__list {
  display: flex;
}

.nav__item {
  margin: 0 1.5rem;
  padding: 2.2rem 0;
}



.nav__link {
  font-weight: 700;
   color: white;
     text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);  /* Light shadow for contrast */
}

.nav__link:hover {
  color: #2696E9;
}

.dropdown__link {
  display: flex;
  align-items: center;

}

.dropdown__icon {
  font-size: 1rem;
}

.megamenu {
  position: absolute;
  width: 100%;
   top: 6rem;
  left: 0;
  background-color:  #0a0d14;
  display: flex;
  justify-content: space-around;
  border-radius: 0 0 20px 20px;
  box-shadow: 0 23px 23px -21px rgba(0,0,0,0.25);
  z-index: -99;
  visibility: hidden;
  opacity: 0;
} 

.content {
  display: flex;
  flex-direction: column;
  padding: 1rem 1rem;
}

.megamenu__item {
  display: flex;
  align-items: center;
  margin-bottom: 0.4rem;
  padding: 10px;
} 

.header__megamenu a{
  font-weight: 600;
  color: white;
  margin-bottom: 0.4rem;
  
}


.header__megamenu a:hover {
font-weight: 600;
color: #2696E9; 
margin-bottom: 0.4rem;

}

.menu__icon {
  width:32px;
  height: 32px;

  text-align: center;
 
  margin-bottom: 0.5rem;
  margin-right: 0.2rem; 
}


.menu__icon i {
  line-height: 32px;
  font-size: 22px;
  color:  white;
  
  
}

.menu__icon i:hover {

color:  #2696E9; 


}


.megamenu__link a {
  font-weight: 500;
  color: white;
}

.megamenu__link a:hover {
  font-weight: 500;
  color: #2696E9; 
}



.megamenu__link p {
  font-size: 0.6875rem;
  font-weight: 400;
  color: #a8a1b5;
}

.dropdown:hover .megamenu {
  color: #a92ec8;
  visibility: visible;
  transition: all 0.3s ease;
  opacity: 1;
}


.nav__item:hover  .dropdown__icon {
  transform: rotate(180deg);
  transition: all 0.3s ease;
}


.header {
  background-image: linear-gradient(
       rgba(5, 10, 25, 0.6),
      rgba(5, 10, 25, 0.6) 
    ),
    url("cosmic-background-with-colorful-laser-lights-perfect-digital-wallpaper.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  margin-top: 6rem;
}

.header__container {
  padding-block: 12rem;
  text-align: center;
}

.header__container h4 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  font-weight: 500;
}

.header__container h1 {
  margin-bottom: 1rem;
  font-size: 3rem;
  font-weight: 600;
  line-height: 4.5rem;
  color: white;
}

.header__container .section__description {
  max-width: 900px;
  margin-inline: auto;
  margin-bottom: 2rem;
}

.header__btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.header__btns .btn {
  min-width: 150px;
}

.about__container {
  display: grid;
  gap: 2rem;
}

.about__image {
  overflow: hidden;
}

.about__image img {
  max-width: 380px;
  margin-inline: auto;
  border: 1rem solid var(--secondary-color-dark);
}

.about__content h4 {
  max-width: 400px;
  margin-bottom: 1rem;
  font-size: 2rem;
  font-weight: 600;
}

.about__content .section__description {
  margin-bottom: 1rem;
}

.about__content .section__description span {
  color: var(--primary-color);
}

.about__progress {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: max-content 1fr;
  align-items: center;
  gap: 0.5rem 1rem;
}

.about__progress h5 {
  font-size: 1.1rem;
  font-weight: 500;
}

.about__progressbar {
  position: relative;
  isolation: isolate;
  flex: 1;
  height: 10px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

.about__progressbar span {
  position: absolute;
  left: 0;
  top: 0;
  height: 10px;
  background-color: var(--white);
  border-radius: 4px;
  z-index: 1;
}

.service {
  background-color: var(--secondary-color-dark);
}

.service__container .section__header::before {
  content: "Service";
  margin-bottom:20px;
}

.service__container .section__description {
  max-width: 600px;
}

.service__grid {
  margin-top: 4rem;
  display: grid;
  gap: 2rem;
}

.service__card {
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-radius: 5px;
  transition: 0.3s;
}

/*.service__card:hover {*/
/*  background-color: var(--primary-color);*/
/*}*/

.service__card span {
  padding: 2px 10px;
  font-size: 2rem;
  color: var(--secondary-color-dark);
  background-color: var(--white);
  border-radius: 100%;
  transition: 0.3s;
}

.service__card:hover span {
  color: var(--primary-color);
}

.service__card h4 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  font-weight: 500;
}

.service__card p {
  color: var(--text-light);
}

.resume__container .section__header {
  text-align: center;
}

.resume__container .section__header::before {
  content: "Process";
  left: 50%;
  transform: translateX(-50%);
  margin-bottom:20px;
}

.resume__container .section__description {
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: 4rem;
  text-align: center;
}

.resume__tablist {
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.resume__tablist .btn {
  min-width: 150px;
  background-color: var(--secondary-color-dark);
  border: none;
}

.resume__tablist .btn.active,
.resume__tablist .btn:hover {
  background-color: var(--primary-color);
}

.panel__grid {
  /* display: grid; */
  gap: 1rem;
  display: none;
}

.panel__grid.active {
  display: grid;
  animation: show-panel 0.3s forwards;
}

.panel__grid.close {
  animation: hide-panel 0.3s forwards;
}

@keyframes show-panel {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes hide-panel {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.panel__card {
  padding: 1rem;
  text-align: center;
  background-color: var(--secondary-color-dark);
  border-radius: 5px;
  transition: 0.3s;
}

/*.panel__card:hover {*/
/*  background-color: var(--primary-color);*/
/*}*/

.panel__card span {
  display: block;
  margin-bottom: 1rem;
  font-size: 2.5rem;
  color: var(--primary-color);
  transition: 0.3s;
}

.panel__card:hover span {
  color: var(--white);
}

.panel__card h4 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: 500;
}

.panel__card .section__description {
  margin-bottom: 1rem;
}

.banner {
  position: relative; /* Ensure the background gradient is applied to the entire section */
  background: 
    linear-gradient(to bottom left, #f49e09 0%, transparent 50%),  /* Gradient on the bottom-left corner */
    linear-gradient(to top right, #f49e09 0%, transparent 50%);  /* Gradient on the top-right corner */
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: top right, bottom left;
  background-size: 50% 50%;
  padding: 3rem; /* Padding around the content */
  margin: 0; /* Remove any default margins */
}

/* Apply to the container with the border and shadow */
.border__banner {
  position: relative;
  margin: 0; /* No margin here so the padding from .banner takes care of spacing */
 
  border: 2px solid white; /* White border */
  box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.4); /* Shadow effect */
  border-radius: 0.5rem; /* Border radius */
  z-index: 1; /* Make sure this is above the background gradient */
}

.banner__container {
  display: grid;
  grid-template-columns: repeat(5, 5fr);
  gap: 1rem 0;
}

.banner__card {
  text-align: center;
  max-width: 200px;
}


.banner__card h4 {
  font-size: 4rem;
  font-weight: 500;
}
.banner__header {
  text-align: center;
  padding-top: 2rem;
  font-weight: 800;
  font-size: 3rem;
}

.client {
  background-color: var(--secondary-color-dark);
}

.client__container .section__header {
  text-align: center;
}

.client__container .section__header::before {
  content: "Testimonials";
  left: 50%;
  transform: translateX(-50%);
}

.client__container .section__description {
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: 4rem;
  text-align: center;
}

.swiper {
  width: 100%;
}

.client__card {
  max-width: 750px;
  margin-inline: auto;
  text-align: center;
}

.client__card p {
  margin-bottom: 1rem;
  line-height: 1.75rem;
}

.client__card h4 {
  font-size: 1.2rem;
  font-weight: 500;
}

.client__card h5 {
  margin-bottom: 2rem;
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-light);
}

.client__card img {
  max-width: 100px;
  margin-inline: auto;
  border-radius: 100%;
}

.blog__container .section__header::before {
  content: "Blog";
}

.blog__grid {
  margin-top: 4rem;
  display: grid;
  gap: 1rem;
}

.blog__content {
  padding: 1rem;
  background-color: var(--secondary-color-dark);
}

.blog__content h4 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: 500;
}

.blog__content .section__description {
  margin-bottom: 2rem;
}

.blog__content > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.blog__content a {
  color: var(--white);
  transition: 0.3s;
}

.blog__content a:hover {
  color: var(--primary-color);
}

.blog__socials {
  display: flex;
  align-items: center;
  gap: 1rem;
}



footer{
  display: flex;
  flex-wrap: wrap;
  margin-top: auto;
  background-color: #0d0d0d;
 

  
}

ul{
  list-style: none;
  padding-inline-start: 0;
}

.footer-col{
  width: 25%;
  padding: 50px 2.5%;
}


.icon i {
  margin-right: 10px; /* Adjust spacing as needed */
  vertical-align: middle; /* Align icon with text */
  color: white;
  

}



.footer-col h4{
  position: relative;
  margin-bottom: 30px;
  font-weight: 400;
  font-size: 22px;
  color: #f49e09;
  text-transform: capitalize;
}

.footer-col h4::before{
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  background-color: white;
  height: 2px;
  width: 60px;
}

/* ul li:not(:last-child){
  margin-bottom: 8px;
} */

.footer-col ul li a{
  display: block;
  font-size: 15px;
  text-transform: capitalize;
  color: white;
  text-decoration: none;
  transition: 0.4s;
  padding-top: 10px;
}

 /* ul li a:hover{
  color: white;
  padding-left: 2px;
}  */

.links a{
  display: inline-block;
  height: 44px;
  width: 44px;
  color: white;
  background-color: rgba(40, 130, 214, 0.8);
  margin: 0 8px 8px 0;
  text-align: center;
  line-height: 44px;
  border-radius: 50%;
  transition: 0.4s;
}

.links a:hover{
  color: #4d4f55;
  background-color: white;
}
.footer-copyright {
  text-align: center;
  margin-bottom: 20px;
  font-size: 14px;
  color: #aaa; /* Adjust color as needed */
  width: 100%; /* Ensure full width */
  border-top: 1px solid white;
}

.footer-copyright p {
  margin-top: 20px;

}



/* .footer {
  background-color: var(--secondary-color-dark);
}

.footer__container .section__header {
  text-align: center;
}

.footer__container .section__header::before {
  content: "Contact Us";
  left: 50%;
  transform: translateX(-50%);
}

.footer__container .section__description {
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: 4rem;
  text-align: center;
}

.footer__grid {
  display: grid;
  gap: 4rem 2rem;
}

.footer__content h4 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: 500;
}

.footer__content p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

.footer__socials {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer__socials a {
  font-size: 1.25rem;
  color: var(--white);
  transition: 0.3s;
}

.footer__socials a:hover {
  color: var(--primary-color);
}

.footer__form form {
  width: 100%;
  display: grid;
  gap: 1rem;
}

.input__row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer__form input,
.footer__form textarea {
  flex: 1;
  width: 100%;
  padding: 0.75rem;
  outline: none;
  border: none;
  border-bottom: 1px solid var(--text-light);
  font-size: 1rem;
  color: var(--white);
  background-color: transparent;
}

.footer__form textarea {
  min-height: 8rem;
  margin-bottom: 1rem;
}

.footer__form .btn {
  max-width: fit-content;
}

.footer__bar {
  padding: 1rem;
  font-size: 0.9rem;
  color: var(--text-light);
  text-align: center;
} */

@media (width > 540px) {
  .panel__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (width > 768px) {

  .about__container {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }

  .service__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service__card {
    padding: 2rem;
  }

  .panel__grid {
    grid-template-columns: repeat(3, 1fr);
  }
/* 
  .banner__container {
    grid-template-columns: repeat(4, 1fr);
  } */


  .blog__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1fr 2fr;
  }
}

@media (width > 1024px) {
  .panel__grid {
    gap: 2rem;
  }

  .panel__card {
    padding: 2rem;
  }

  .blog__grid {
    gap: 2rem;
  }

  .blog__content {
    padding: 2rem;
  }
}

@media screen and (max-width : 1316px) {
    .header__container {
  padding-block: 8rem;
  text-align: center;
}

    
  .footer-col{
    
    padding: 25px 1%;
}
}

@media screen and (max-width : 1144px) {
  .nav__item {
  
  padding: 1.4rem 0;
}

  
  .megamenu {
    flex-direction: column;
    box-shadow: none;
    position: static;
    height: 0;
    max-width: 450px;
    overflow: hidden;
}

.dropdown:hover .megamenu{
    height: 100%;
}
.nav__list {
    position : absolute;
    height: 100vh;
    width: 100%;
    left: -100%;
    max-width: 450px;
    top: 0;
     background-color: #0a0d14;
    overflow-x: hidden;
    display: block;
    transition: 0.3s;
}
.toggle__menu,
.close__menu {
display: block;
}
.toggle__menu {
    color: white;
}

.close__menu {
margin: 1rem 1rem 1rem auto;
background-color:  #2696E9;
border-radius: 50%;
width: 32px;
height: 32px;
text-align: center;
}


.close__menu i {
line-height: 32px;
color: #fff;
font-size: 22px; 
}
.show__menu {
left: 0;
}
   nav {
    justify-content: space-between;
  }

  .footer-col{
      width: 50%;
      margin-bottom: 30px;
      text-align: center;
      padding: 25px 2.5%;
  }

  .footer-col h4::before{
      left: auto;
  }
  .banner__container {
    grid-template-columns: repeat(5, 5fr);
  } 

}


@media screen and (max-width : 768px) {

  .megamenu {
      flex-direction: column;
      box-shadow: none;
      position: static;
      height: 0;
      max-width: 450px;
      overflow: hidden;
  }

  .dropdown:hover .megamenu{
      height: 100%;
  }
  .nav__list {
      position : absolute;
      height: 100vh;
      width: 100%;
      left: -100%;
      max-width: 450px;
      top: 0;
     
      overflow-x: hidden;
      display: block;
      transition: 0.3s;
  }
  .toggle__menu,
.close__menu {
  display: block;
}





.close__menu i {
 line-height: 32px;
 color: #fff;
 font-size: 22px; 
}
.show__menu {
  left: 0;
}
.footer-col{
  width: 100%;
}

}

@media screen and (max-width : 575px) {
  .banner__container {
    grid-template-columns: repeat(2, 2fr);
    
  } 
  .header__container h1 {
    margin-bottom: 1rem;
    font-size: 2rem;
    font-weight: 600;
    line-height: 4.5rem;
    color: white;
  }
  .banner h1 {
    font-size: 2rem;
  }
}
