@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&family=Outfit:wght@100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,100;1,200;1,300;1,400;1,500;1,600;1,700&family=Questrial&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&family=Outfit:wght@100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.cdnfonts.com/css/gilroy-bold');
@import url('https://fonts.cdnfonts.com/css/gilroy-medium');
@import url('https://fonts.cdnfonts.com/css/gilroy-light');
@import url('https://fonts.cdnfonts.com/css/gilroy-regular');
@import url('https://fonts.cdnfonts.com/css/gilroy-thin');
@import url('https://fonts.cdnfonts.com/css/gilroy-extrabold');

*{
  text-decoration: none;
  margin: 0;
  padding: 0;
  outline: 0;
  border: 0;
  font-family: 'gilroy-medium', 'Poppins';
  list-style-type: none;
  box-sizing: border-box;

}

body {
  background: white;
  color: #555;
  font-family: 'gilroy-medium', 'Poppins';
  line-height: 1.6em;
} 
/* Animation scroll effect */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* animation type 2 */
.entrance {
  animation: myAnim 2s ease 0s 1 normal forwards;
}

@keyframes myAnim {
  0% {
    animation-timing-function: ease-in;
    opacity: 0;
    transform: translateY(-250px);
  }

  38% {
    animation-timing-function: ease-out;
    opacity: 1;
    transform: translateY(0);
  }

  55% {
    animation-timing-function: ease-in;
    transform: translateY(-65px);
  }

  72% {
    animation-timing-function: ease-out;
    transform: translateY(0);
  }

  81% {
    animation-timing-function: ease-in;
    transform: translateY(-28px);
  }

  90% {
    animation-timing-function: ease-out;
    transform: translateY(0);
  }

  95% {
    animation-timing-function: ease-in;
    transform: translateY(-8px);
  }

  100% {
    animation-timing-function: ease-out;
    transform: translateY(0);
  }
}

/* Animation 3 */
.forward-anim {
  animation: myAnim2 2s ease 0s 1 normal forwards;
}

@keyframes myAnim2 {
  0% {
    animation-timing-function: ease-in;
    opacity: 0;
    transform: translateX(-250px);
  }

  38% {
    animation-timing-function: ease-out;
    opacity: 1;
    transform: translateX(0);
  }

  55% {
    animation-timing-function: ease-in;
    transform: translateX(-68px);
  }

  72% {
    animation-timing-function: ease-out;
    transform: translateX(0);
  }

  81% {
    animation-timing-function: ease-in;
    transform: translateX(-28px);
  }

  90% {
    animation-timing-function: ease-out;
    transform: translateX(0);
  }

  95% {
    animation-timing-function: ease-in;
    transform: translateX(-8px);
  }

  100% {
    animation-timing-function: ease-out;
    transform: translateX(0);
  }
}

/* animation 4 */
.for-entrance {
  animation: myAnim3 2s ease 0s 1 normal forwards;
}

@keyframes myAnim3 {
  0% {
    transform: scaleX(0);
    transform-origin: 0% 0%;
  }

  100% {
    transform: scaleX(1);
    transform-origin: 0% 0%;
  }
}

:root {
  --container-width-lg: 87%;
  --container-width-sm: 94%;

  --radius-1: 2rem;
  --radius-2: 0.8rem;
  --radius-3: 0.5rem;
  --radius-4: 0.3rem;

  --transition: all 300ms ease;

  --primary-hue: 358;
  --color-primary: hsl(var(--primary-hue), 87%, 44%);
  --color-nav-bg: hsla(var(--primary-hue), 0%, 80%, 0.1);
  --color-gray-100: #fff;
  --light-bg: #eee;
  --color-gray-200: hsl(var(--primary-hue)0%, 95%);
  --color-gray-300: hsl(var(--primary-hue)0%, 85%);
  --color-gray-400: hsl(var(--primary-hue)0%, 70%);
  --color-gray-500: hsl(var(--primary-hue)0%, 55%);
  --color-gray-600: hsl(var(--primary-hue)0%, 40%);
  --color-gray-700: hsl(var(--primary-hue)0%, 25%);
  --color-gray-800: hsl(var(--primary-hue)0%, 15%);
  --color-gray-900: hsl(var(--primary-hue)0%, 5%);
  --main-color: #8e44ad;
  --black: #222;
  --clara: #bcbaba;
  --white: #fff;
  --light-black: #777;
  --light-white: #fff9;
  --dark-bg: rgba(0, 0, 0, .7);
  --light-bg: #eee;
  --border: .1rem solid var(--clara);
  --box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .1);
  --text-shadow: 0 1.5rem 3rem rgba(0, 0, 0, .3);
}


.container {
  width: var(--container-width-lg);
  margin-inline: auto;


}

.btn {
  display: inline-block;
  font-family: Gilroy, sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 22px;
  border-radius: 6px;
  background: #131426;
  color: #fff;
  border: 1px solid #131426;
  padding: 4px 12px;
  cursor: pointer;
}

p,
a,
figcaption {
  font-size: 1rem;
}

img {
  display: block;
  width: 100%;
  object-fit: cover;
}

nav {
  background: rgba(22, 22, 23, .8);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  display: grid;
  place-items: center;
  height: 3.2rem;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  backdrop-filter: saturate(180%) blur(30px);
  -webkit-backdrop-filter: blur(15px);
  -moz-backdrop-filter: blur(15px);
  -o-backdrop-filter: blur(15px);
  -ms-backdrop-filter: blur(15px);
  z-index: 10;
}

.white_scroll {
  position: fixed;
  top: 0;
  background: white;
  width: 100%;
  height: 50px;
}

.nav__container {
  display: flex;
  justify-content: space-between;
}

.nav__logo {
  width: 2.2rem;
  aspect-ratio: 1/1;
  overflow: hidden;
}

.nav__menu {
  display: flex;
  align-items: left;
  gap: 3rem;
}

.nav__menu a {
  color: rgba(255, 255, 255, 0.911);
  font-family: 'poppins';
  font-weight: normal;
  font-size: 14px;
  font-weight: 400;
  position: relative;
}

.nav__menu a:hover {
  color: #9935e8;
}

.nav__menu li a::after {
  color: var(--color-gray-900);
  content: '';
  width: 0;
  height: 2.5px;
  background: #9935e8;
  position: absolute;
  left: 0;
  bottom: -6px;
  transition: 0.5s;
}




.nav__menu li a:hover::after {
  width: 60%;
}

.chat__button {

  padding: 0rem 0.83rem;
  display: inline-block;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 36px;
  border-radius: 6px;
  /* border: 1px solid #fff; */
  background: #FE3B00;
  /* border-color: #edeefe; */
  transition: all .5s ease;
  color: #fff;
  cursor: pointer;
}


.nav__toggle-open,
.nav__toggle-close {
  display: none;
}

nav:hover {
  background: white;

  a {
    color: var(--color-gray-900);
  }

  .chat__button {
    background: #002185;
  }

}



.nav__menu ul li a:hover::after {
  width: 100%;
}


/* Base styles for submenu */
.sub-try {
  position: relative;
  display: inline-block; /* Ensure proper alignment */
}

.sub-menu {
  display: none;
  position: absolute;
  background: #fff;
  min-width: 300px;
  z-index: 1000;
  border-radius: 0 0 5px 5px;
  border-bottom: 3px solid #FF5500;
  top: 110%; /* Position directly below parent, no gap */
  left: 0; /* Align with parent's left edge */
  padding: 1rem;
  margin-top: 0; /* Remove margin to avoid gap */
  margin-left: -30px;
  transition: opacity 0.2s ease, visibility 0.2s ease; /* Smooth appearance */
  opacity: 0;
  visibility: hidden;
}

.sub-try:hover .sub-menu {
  display: block;
  opacity: 1;
  visibility: visible;
}

.sub-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sub-menu ul li {
  display: block;
  width: 100%;
  padding: 10px;
  font-size: 15px;
  font-weight: 400;
  text-align: left;
  transition: background 0.2s ease;
}

.sub-menu ul li:hover {
  background: #f5f5f5;
  border-radius: 10px;
}

/* Ensure submenu links are styled properly */
.sub-menu ul li a {
  text-decoration: none;
  color: #333;
  display: block;
  width: 100%;
}

.sub-menu ul li a::after{
  content: '';
  background: none;
}

/* Arrow icon styling */
.sub-try i {
  font-size: 1.5rem;
  margin-left: 6px; /* Adjusted for better spacing */
  font-weight: 700;
  transition: transform 0.3s ease; /* Smooth rotation */
  display: inline-flex; /* Ensure proper alignment */
  align-items: center; /* Vertically center with text */
  vertical-align: middle; /* Fine-tune alignment */
  line-height: 1; /* Prevent extra height */
}

/* Rotate arrow when submenu is active or hovered */
.sub-try:hover i,
.sub-try.active i {
  transform: rotate(180deg); /* Rotate arrow downward */
}



/* Add slight delay to prevent flickering */
.sub-try:hover .sub-menu {
  transition-delay: 0.1s; /* Slight delay for smoother hover */
}



/* ====== End of NAVBAR section ===== */

/* nav open/close */
.nav__toggle-open,
.nav__toggle-close {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}



.container .services__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  height: auto;
  margin-top: -32px;
  gap: 1rem;
  color: var(--color-gray-900);
  z-index: 1;
}

/* Service Hero Section */
.home {
  padding: 0;
}

.home .slide {
  text-align: center;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover !important;
  background-position: center !important;
  min-height: 40rem;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.734), rgba(0, 0, 0, 0.679));
  z-index: -1;
}

.home .slide .content {
  width: 60%;
}



.home .slide .content span {
  padding-top: 2.5rem;
  font-family: 'gilroy-medium';
  display: block;
  line-height: 55px;
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  padding-bottom: 2rem;

}

.home .slide .content p {
  font-size: 18px;
  font-weight: 500;
  color: var(--color-gray-100);
  line-height: 28px;
  padding: 1rem 0;
}

.home .slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: #131426da;
  z-index: -1;
}




.home-about {
  position: relative;
  margin: 3rem;
  border-radius: 10px;
  height: 40rem;
  display: flex;
  align-items: center;
  gap: 1px;
  flex-wrap: wrap;
  background: linear-gradient(180deg, #5115c3 0, 100%);
  background: #001850;
  /* background: #001850; */
  overflow: hidden;
}

.home-about .image {
  flex: 1 1 21rem;
  margin: 0;

}

.home-about .image img {
  height: 100%;
  margin: 0;
}

.home-about .content {
  flex: 1 1 10rem;
  padding: 1rem;
  margin: 0;

}

.home-about .content h3 {
  font-size: 80px;
  line-height: 78px;
  font-weight: 700;
  color: #fff;
}

.home-about .content p {
  font-size: 1.2rem;
  padding: 1rem 0;
  line-height: 30px;
  color: #fff;
}

.home__button {

  padding: 0rem 0.83rem;
  display: inline-block;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 36px;
  border-radius: 6px;
  /* border: 1px solid #fff; */
  background: #FE3B00;
  /* border-color: #edeefe; */
  transition: all .5s ease;
  color: #fff;
  cursor: pointer;
}



#service {
  background: #f5f5fb;
}


.container .services__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  height: 100%;
  gap: 1rem;
  color: var(--color-gray-900);
  padding-bottom: 50px;
  z-index: 1;
}



.service__card {
  padding: 2.5%;
  background: #fff;
  border-radius: 15px;
  margin: 0;
  border-bottom: 3.2px solid #002185;
}


.service__card .serv__content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 20px;
}



.service__card .specs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: -40px;
}

.service__card1 .specs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: -40px;
}


.service__card .specs .specs__item {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 40px;
  background: #f9f9f9;
  font-family: "Poppins";
  font-size: 11px;
  font-weight: 600;
  line-height: 20px;
}

.service__card1 .specs .specs__item {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 40px;
  background: #f9f9f9;
  font-family: "Poppins";
  font-size: 11px;
  font-weight: 600;
  line-height: 20px;
}

.container .service__card .serv-container p {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 24px;
  text-align: left;
  color: #131426;
}

.serv-btn {
  margin-top: 3rem;
  font-family: Gilroy, sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 22px;
  border-radius: 6px;
  /* background: #131426; */
  color: #fff;
  /* border: 1px solid #0071e3; */
  transition: var(--transition);
  padding: 5px 13px;
  cursor: pointer;
  width: fit-content;
  background: #006aff;
}

.serv-btn:hover {
  background: #FF5500;
}

.container .services__container .serv-container .btn:hover {
  border: none;
  background: var(--color-gray-700);
}


.servies h1 {
  font-family: "gilroy-bold";
  margin: auto;
  margin-bottom: 2rem;
  padding: 80px 0;
  font-weight: 700;
  text-align: center;
  font-size: 40px;
  font-weight: 700;
  line-height: 44px;
  letter-spacing: -0.8px;
  background: #131426;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}


.service__card h3 {
  background: linear-gradient(94.67deg, #9935e8 0, #e85535 100%);
  background: #131426;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.8;
  text-align: left;
}



.serv__content i {
  font-size: 40px;
  color: #006aff;
}

/*  =======end of services ========= */


#eyenit-his {
  background: #00060B;
  padding: 70px 0;

}

.his-card {
  background: #071523;
  width: 50%;
  margin: auto;
  border-radius: 10px;

}


.over-lay {
  display: inline-block;
  position: absolute;
  left: 20%;
  width: 14rem;
  height: 70px;
  border-radius: 10px;
  background: #FF5500;
  box-shadow: inset;
  color: #071523;
}



.his-card__content {
  padding: 80px 20px;
  width: 60%;
  margin: auto;
  display: flex;
  color: #fff;
  flex-direction: column;
  gap: 0.2rem;
}

.his-card__content p {
  font-size: 1.2rem;
  line-height: 24px;
  color: #fff;
}

.his-p {
  width: 70%;
}

.his-card__content h2 {
  color: #faebd7;
  font-size: 28px;
  text-align: center;
  padding: 20px 10px;
  font-weight: 700;
}


/* Creative section */
#creative-cards {
  background: #00060B;
}

.crea__cards {
  padding: 8rem;
  margin: auto;
  width: 70%;
  display: flex;
  color: #d5d5d5;
  flex-direction: column;
  gap: 1rem;
  /* margin-bottom: 5rem; */
}

.vision-mission {
  display: flex;
  border-radius: 10px;
  flex-direction: column;
  gap: 2rem;
  background: #071523;
  width: 90%;
  padding: 3rem;
}

.crea-card1 h2 {
  font-weight: 700;
  font-size: 68px;
  line-height: 68px;
  transform: scaleX(.98);
  transform-origin: left;
  letter-spacing: 0;
  margin-bottom: 10rem;

}

.crea-card1 h3 {
  margin-bottom: 4rem;
  font-size: 30px;
}

.crea-card2 h2 {
  font-family: 'Gilroy-medium';
  margin-bottom: 1rem;
  color: #00acac;
}

.crea-card2 p {
  font-family: 'Gilroy-medium';
  font-size: 1.2rem;
  line-height: 25px;
}


/* PORTFOLIO SECTION */
#portfolio {
  background-color: #f5f5fb;
}

.work-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(50%, 1fr));
  grid-gap: 10px;
  padding: 10px 10px;

}

.work {
  position: relative;
  overflow: hidden;
  margin-bottom: 3rem;

}

.work img {
  width: 100%;
  height: 396px;
  border-radius: 24px;
  display: block;
  transition: transform 0.5s;
}

.layer {
  width: 100%;
  height: 396px;
  border-radius: 24px;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgb(9, 0, 34));
  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;
  color: white;
  transition: height 0.5s;
  cursor: pointer;
}

.layer h2 {
  font-size: 48px;
  line-height: 3rem;
  letter-spacing: -0.005em;
  font-weight: 700;
  margin-bottom: 10px;
}

.layer p {
  font-size: 24px;
  line-height: 30px;
  letter-spacing: -0.005em;
  font-weight: 400;
}


.layer a {
  margin-top: 20px;
  color: var(--color-main);
  text-decoration: none;
  font-size: 18px;
  line-height: 60px;
  background: var(--color-white);
  width: 60px;
  border-radius: 50%;
  text-align: center;
}


.btn {
  display: block;
  margin: 50px auto;
  width: fit-content;
  border: 1px solid var(--color-main);
  padding: 14px 50px;
  border-radius: 6px;
  color: var(--color-white);
  transition: background 0.5s;
}

.btn:hover {
  background: var(--color-main);
  cursor: pointer;

}

.port-btn1 {
  margin-top: 10px;
  padding: 0rem 1rem;
  display: inline-block;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 36px;
  border-radius: 50px;
  border: 2px solid #ffffff;
  background: transparent;
  /* border-color: #edeefe; */
  transition: all .5s ease;
  color: #ffffff;
  cursor: pointer;
}

.port-btn2 {
  margin-top: 10px;
  margin-left: 15px;
  padding: 0.1rem 1.3rem;
  display: inline-block;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 36px;
  border-radius: 50px;
  background: #FF5500;
  /* border-color: #edeefe; */
  transition: all .5s ease;
  color: #fff;
  cursor: pointer;
}

.port-btn1:hover {
  background: #FF5500;
  border: 2px solid #FF5500;
  color: #fff;
}

.port-btn2:hover {
  background: #FF5500;
}

/* Team members */
#team {
  background: #f5f5fb;
}

.team__container {
  padding: 2rem;
  display: flex;
  flex-direction: row;
  gap: 2rem;
  width: 80%;
}

.team__card__content {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  text-align: center;
}

.team__card__content img {
  height: 100%;
  max-height: 265px;
  max-width: 265px;
  -o-object-fit: cover;
  object-fit: cover;
  width: 100%;
  border-radius: 8px;
}

.team-title {
  margin: auto;
  padding: 40px 0;
  font-weight: 700;
  text-align: center;
  font-size: 2.3rem;
  font-weight: 700;
  line-height: 44px;
  letter-spacing: -0.8px;
  color: #131426;
 
}

.team-title h1 {
  font-family: "gilroy-bold", sans-serif;
}

.team-title span {
  background: #FF5500;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}


.social-icons1 {
  margin-top: 20px;
}

.social-icons1 a {
  font-size: 20px;
  margin-right: 15px;
  color: #ababab;
  display: inline-block;
  transition: transform 0.5s;
}

.social-icons1 a:hover {
  color: var(--color-main);
  transform: translate(-5px);
}


/* ==-========= Footer ===================== */

footer {
  background: #d9d9d9;
  color: rgb(201, 201, 201);
  background: #262626;
}

.row {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.contact-left {
  display: flex;
  flex-direction: row;
  gap: 20px;
  flex-basis: 100%;
  align-items: center;
  align-self: center;
}

.footer__sidemenu {
  text-decoration: none;
  margin-left: 20px;
  display: flex;
  flex-direction: row;
  gap: 1px;
}

.contact-right {
  flex-basis: 55%;
}

.contact-left p {
  padding: 5px;
  font-size: 17px;
}

.contact-left p i {
  color: #ffffff;
  margin-right: 1px;
  font-size: 19px;
}

.social-icons {
  margin-top: 30px;
}

.social-icons a {
  font-size: 30px;
  margin-right: 15px;
  color: #ababab;
  display: inline-block;
  transition: transform 0.5s;
}

.social-icons a:hover {
  color: var(--color-main);
  transform: translate(-5px);
}

.footer__container {
  padding: 20px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  color: var(--color-white);
  font-size: 18px;
  border-radius: 7px;
}

.footer__sidemenu {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  width: 100%;
}

.footer__sidemenu a {
  color: var(--color-white);
  text-decoration: none;
  font-size: 18px;
}

.location {
  border-top: solid 1px rgb(162, 162, 162);
  width: 100%;
}

.location p {
  padding: 10px;
  font-size: 18px;
  text-align: center;
}

.copyright {
  border-top: solid 1px rgb(162, 162, 162);
  width: 100%;
  text-align: center;
  padding: 25px 0;
  color: rgb(201, 201, 201);
  background: #262626;
  font-weight: 300;
  margin-top: 20px;
}

.copyright p {
  font-size: 14px;
}



/* Responsive styles */
@media (max-width: 768px) {
  .nav__container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    position: relative;
  }


  .nav__menu {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    width: 200%;
    height: 80% auto;
    color: #131426;
    ;
    background: white;
    padding: 1rem;
    position: fixed;
    top: 0;
    /* Position the menu below the nav bar */
    left: 0;
    z-index: -1;
    overflow-x: hidden;
    margin-top: 51px;

  }

  .nav__menu.active {
    display: flex;
  }

  .nav__menu a {
    color: #131426;
    /* Text color for mobile menu */
    font-size: 1.2rem;
    display: inline-block;
    align-items: left;
    gap: 30rem;

  }

  .nav__toggle-open,
  .nav__toggle-close {
    display: block;
    /*background-color: rgb(223, 223, 223);  Background color for toggle button */
    color: rgba(146, 142, 142, 0.911);
    ;
    /* Icon color for toggle button */
    padding: 4.5px 7px;
    border-radius: 100%;
    position: absolute;
    top: 0.01rem;
    right: 0.05rem;

  }


  .nav__toggle-close {
    display: none;
  }

  .nav__menu.active+.nav__toggle-close {
    display: block;
  }

  .nav__toggle-open {
    display: block;
  }

  .nav__menu.active~.nav__toggle-open {
    display: none;
  }

  .chat__button {
    display: none;
  }
}

@media (min-width: 769px) {

  .nav__toggle-open,
  .nav__toggle-close {
    display: none;
  }
}

/* Mobile Responsiveness */
@media only screen and (max-width: 768px) {
  .home .slide {
    min-height: 30rem;
    /* Reduced height for smaller screens */

    padding: 1rem;
    /* Reduced padding */
  }

  .home .slide .content {
    padding-top: 4rem;
    width: 80%;
    /* Adjusted width for better readability */
  }

  .home .slide .content span {
    font-size: 24px;
    /* Reduced font size */
    line-height: 36px;
    /* Adjusted line height */
    padding-bottom: 1rem;
    /* Reduced padding */
  }

  .home .slide .content p {
    font-size: 16px;
    /* Reduced font size */
    line-height: 24px;
    /* Adjusted line height */
  }

  .home-about {
    margin: 1rem;
    /* Reduced margin */
    height: auto;
    /* Auto height for flexibility */
    flex-direction: column;
    /* Stack elements vertically */
  }

  .home-about .image {
    flex: 1 1 100%;
    /* Full width for image */
    height: 20rem;
    /* Adjusted height */
  }

  .home-about .content {
    flex: 1 1 100%;
    /* Full width for content */
    padding: 1rem;
    /* Adjusted padding */
    text-align: center;
    /* Center align content */
  }

  .home-about .content h3 {
    font-size: 40px;
    /* Reduced font size */
    line-height: 48px;
    /* Adjusted line height */
  }

  .home-about .content p {
   display: none;
  }

}

@media only screen and (max-width: 480px) {
  .home .slide {
    min-height: 25rem;
    /* Further reduced height */
    padding: 0.5rem;
    /* Further reduced padding */
  }

  .home .slide .content {
    width: 90%;
  
    /* Further adjusted width */
  }

  .home .slide .content span {
    font-size: 20px;
    /* Further reduced font size */
    line-height: 30px;
    /* Further adjusted line height */
  }

  .home .slide .content p {
    font-size: 14px;
    /* Further reduced font size */
    line-height: 20px;
    /* Further adjusted line height */
    
  }

  .home-about .image {
    height: 15rem;
    /* Further reduced height */
  }

  .home-about .content h3 {
    font-size: 32px;
    /* Further reduced font size */
    line-height: 36px;
    /* Further adjusted line height */
  }

  .home-about .content p {
   display: none;
  }

}

/* ...existing code... */

@media (max-width: 768px) {
  .container .services__container {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}


/* ...existing code... */

/* Responsive styles History section*/
@media (max-width: 768px) {
  .his-card {
    width: 80%;
  }

  .over-lay {
    left: 10%;
    width: 10rem;
    height: 60px;
  }

  .his-card__content {
    width: 80%;
    padding: 60px 15px;
  }

  .his-card__content p {
    font-size: 1rem;
    line-height: 20px;
  }

  .his-card__content h2 {
    font-size: 24px;
    padding: 15px 10px;
  }
}

@media (max-width: 480px) {
  .his-card {
    width: 100%;
  }

  .over-lay {
    position: relative;
    width: 8rem;
    height: 50px;
    margin-bottom: 0.4rem;

  }

  .his-card__content {
    width: 90%;
    padding: 40px 10px;
  }

  .his-card__content p {
    font-size: 1rem;
    line-height: 18px;
  }

  .his-card__content h2 {
    font-size: 18px;
    padding: 10px 7px;
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .home .slide .content {
    width: 80%;
    /* Increase width for smaller screens */
    padding: 1rem;
  }

  .home .slide .content span {
    font-size: 24px;
    /* Smaller font size for mobile */
    line-height: 36px;
    padding-bottom: 1rem;
  }

  .home .slide .content p {
    font-size: 16px;
    /* Adjust paragraph font size */
    padding: 0.5rem 0;
    line-height: 24px;
  }

  .home-about {
    margin: 1rem;
    /* Reduce margin for small screens */
    height: auto;
    /* Allow the height to be flexible */
    flex-direction: column;
    /* Stack elements vertically */
  }

  .home-about .image {
    flex: 1 1 100%;
    /* Image takes up full width */
    height: 200px;
    /* Set a max height for mobile */
  }

  .home-about .content {
    flex: 1 1 100%;
    /* Full width for content on mobile */
    padding: 1rem;
  }

  .home-about .content h3 {
    font-size: 40px;
    /* Smaller font size for mobile */
    line-height: 48px;
  }

  .home-about .content p {
    font-size: 1rem;
    /* Adjust paragraph font size for mobile */
    line-height: 22px;
  }

  .btn {
    padding: 0.5rem 1.2rem;
    /* Adjust button padding */
    font-size: 12px;
    /* Smaller font size */
    line-height: 30px;
  }
}

/* For very small screens (e.g., phones in portrait mode) */
@media (max-width: 480px) {
  .home .slide .content {
    width: 90%;
    /* Content takes up more space */
  }

  .home .slide .content span {
    font-size: 20px;
    /* Further decrease font size */
    line-height: 30px;
  }

  .home .slide .content p {
    font-size: 14px;
    text-align: center;
    /* Adjust paragraph font size */
  }

  .home-about .image img {
    display: none;
  }

  .home-about .content h3 {
    font-size: 32px;
    /* Adjust heading size */
  }

  .home-about .content p {
    font-size: 0.9rem;
    /* Smaller paragraph text */
  }

  .btn {
    font-size: 10px;
    /* Even smaller button font size */
    padding: 0.5rem 1rem;
    /* Adjust button padding */
  }
}


/* ======= Mobile Responsiveness ======= */
@media only screen and (max-width: 768px) {
  .work-list {
    grid-template-columns: 1fr;
    /* Single column layout for smaller screens */
    grid-gap: 15px;
    /* Adjusted gap */
    padding: 10px;
    /* Adjusted padding */
  }

  .work img {
    height: 300px;
    /* Reduced height for smaller screens */
  }

  .layer {
    height: 300px;
    /* Reduced height for smaller screens */
    padding: 0 20px;
    /* Reduced padding */
  }

  .layer h2 {
    font-size: 36px;
    /* Reduced font size */
    line-height: 2.5rem;
    /* Adjusted line height */
  }

  .layer p {
    font-size: 18px;
    /* Reduced font size */
    line-height: 24px;
    /* Adjusted line height */
  }

  .layer a {
    font-size: 16px;
    /* Reduced font size */
    line-height: 50px;
    /* Adjusted line height */
    width: 50px;
    /* Reduced size */
  }
}

@media only screen and (max-width: 480px) {
  .work img {
    height: 250px;
    /* Further reduced height */
  }

  .layer {
    height: 250px;
    /* Further reduced height */
    padding: 0 15px;
    /* Further reduced padding */
  }

  .layer h2 {
    font-size: 28px;
    /* Further reduced font size */
    line-height: 2rem;
    /* Further adjusted line height */
  }

  .layer p {
    font-size: 16px;
    /* Further reduced font size */
    line-height: 20px;
    /* Further adjusted line height */
  }

  .layer a {
    font-size: 14px;
    /* Further reduced font size */
    line-height: 40px;
    /* Further adjusted line height */
    width: 40px;
    /* Further reduced size */
  }
}




/* Mobile responsiveness */
@media (max-width: 768px) {
  .crea__cards {
    padding: 2rem;
    width: 90%;
  }
}

.vision-mission {
  display: flex;
  border-radius: 10px;
  flex-direction: column;
  gap: 2rem;
  background: #071523;
  width: 90%;
  padding: 3rem;
}


/* Mobile responsiveness */
@media (max-width: 768px) {
  .vision-mission {
    padding: 1.5rem;
    width: 100%;
  }
}

.crea-card1 h2 {
  font-weight: 700;
  font-size: 68px;
  line-height: 68px;
  transform: scaleX(.98);
  transform-origin: left;
  letter-spacing: 0;
  margin-bottom: 10rem;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .crea-card1 h2 {
    font-size: 48px;
    line-height: 48px;
    margin-bottom: 6rem;
  }
}

.crea-card1 h3 {
  margin-bottom: 4rem;
  font-size: 30px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .crea-card1 h3 {
    font-size: 20px;
    margin-bottom: 2rem;
  }
}

.crea-card2 h2 {
  font-family: 'Gilroy-medium';
  margin-bottom: 1rem;
  color: #00acac;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .crea-card2 h2 {
    font-size: 1.5rem;
  }
}

.crea-card2 p {
  font-family: 'Gilroy-medium';
  font-size: 1.2rem;
  line-height: 25px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .crea-card2 p {
    font-size: 1rem;
    line-height: 20px;
  }
}


/* meet our team */
/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .team__container {
    flex-direction: column;
    align-items: center;
  }
}

/* Footer mobile responsiveness */

@media only screen and (max-width: 768px) {
  .contact-left {
    flex-direction: column;
    gap: 18px;
  }

  .contact-right {
    flex-basis: 100%;
  }

  .footer__container {
    flex-direction: column;
    gap: 18px;
  }

  .social-icons {
    margin-top: 10px;
  }

  .social-icons a {
    font-size: 25px;
  }
}

@media only screen and (max-width: 480px) {
  .contact-left p {
    font-size: 15px;
  }

  .contact-left p i {
    font-size: 17px;
  }

  .social-icons a {
    font-size: 20px;
  }

  .footer__sidemenu a {
    font-size: 15px;
  }

  .copyright p {
    font-size: 12px;
  }
}

/* Mobile-specific styles */
@media (max-width: 768px) {
  .sub-try {
    width: 100%;
  }

  .sub-menu {
    min-width: 100%;
    position: static;
    box-shadow: none;
    border-bottom: none;
    background: #f9f9f9;
    opacity: 1;
    visibility: visible;
    display: none; /* Controlled by JS toggle */
  }

  .sub-try.active .sub-menu {
    display: block;
  }

  .sub-menu ul li {
    padding: 12px;
    font-size: 16px;
    border-bottom: 1px solid #eee;
  }

  .sub-menu ul li:last-child {
    border-bottom: none;
  }

  .sub-try .toggle-btn {
    display: inline-block;
    cursor: pointer;
    padding: 10px;
    font-size: 16px;
    color: #FF5500;
  }
}

/* Mobile responsiveness team title */
@media (max-width: 768px) {
  .team-title h1 {
    font-size: 2.1rem;
    line-height: 36px;
    padding: 30px 20px;
  }
}

@media (max-width: 480px) {
  .team-title h1 {
    font-size: 1.8rem;
    line-height: 32px;
    padding: 20px 15px;
  }
}
