* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  color: #0f172a;
  /* color: white; */
  background: white;
}

/* NAVBAR */
header {
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px 40px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(1px);
  position: sticky;
  top: 0;
  z-index: 9999;
  /* border: 2px solid; */
}
/* HAMBURGER */
.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  /* color: white; */
  color: #0f172a;

  z-index: 1000;
}
.close-btn {
  display: none;
}

nav {
  display: flex;
  gap: 30px;
  position: static;
  height: auto;
  width: auto;
  background: transparent;
}

nav a {
  margin-left: 35px;
  color: #0f172a;
  text-decoration: none;
  transition: 0.3s;
}

nav a:hover {
  color: #38bdf8;
}
#navLinks {
  font-weight: bold;
}
/* Logo Section */
@font-face {
  font-family: "Ldiqlat";
  src: url("fonts/Idiqlat-ExtraLight.ttf") format("truetype");
}
.logo-container {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}

/* logo image */
.logo-container img {
  height: 65px;
  object-fit: contain;
}

/* text styling */
.logo-text {
  font-size: 26px;
  white-space: nowrap;
  font-family: "Ldiqlat", sans-serif;
  font-weight: 600;
  color: #0f172a;
  display: flex;
  align-items: center;
  letter-spacing: 0.5px;
}

/* optional styling */
.logo-text.left {
  text-align: right;
  padding-left: 10px;
}

.logo-text.right {
  text-align: left;
  color: #38bdf8;
}

/* HERO */
.carousel {
  position: relative;
  width: 100%;
  height: 70vh;
  overflow: hidden;
}
.controls {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

.controls span {
  margin: 0 10px;
  cursor: pointer;
  font-size: 30px;
}
.hero {
  height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  text-align: center;
  padding: 20px;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 15px;
}

.hero p {
  max-width: 600px;
  opacity: 0.8;
}

.hero button {
  margin-top: 20px;
  padding: 12px 25px;
  border: none;
  background: #38bdf8;
  color: black;
  border-radius: 30px;
  cursor: pointer;
}
/* HERO FIX */

#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.25); /* dark layer */
  backdrop-filter: blur(10px); /* 🔥 MAIN BLUR */
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 9998;
}

/* SHOW OVERLAY */
#overlay.active {
  opacity: 1;
  visibility: visible;
}

/* SLIDES */
.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

/* ACTIVE SLIDE */
.slide.active {
  opacity: 1;
  z-index: 1;
}

/* DARK OVERLAY */
.overlay {
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.7);

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  text-align: center;
  padding: 20px;
}

/* TEXT */
.overlay h1 {
  font-size: 48px;
  margin-bottom: 15px;
  color: #f8fafc;
}

.overlay p {
  color: #f8fafc;
  max-width: 600px;
  opacity: 0.9;
}

/* SECTION */
section {
  padding: 80px 60px;
}

/* ADOBE */
.adobe {
  text-align: center;
}

.cards {
  display: flex;
  gap: 30px;
  margin-top: 40px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
  justify-items: center;
}

.card {
  /* background: #f8fafc; */
  background: hsl(198, 80%, 70%);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(15px);
  padding: 25px;
  border-radius: 15px;
  width: 100%;
  max-width: 350px;
  align-items: center;
  transition: 0.4s;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

div.card a {
  width: 115px;
  align-items: center;
  justify-content: center;
}

.card:hover {
  transform: translateY(-10px) scale(1.02);
}

.card h3 {
  margin-bottom: 10px;
}

.card p,
.card li {
  font-size: 14px;
  opacity: 0.8;
  left: 0;
}

.card ul {
  margin-top: 10px;
  text-align: left;
}

.card a {
  display: inline-block;
  margin-top: 15px;
  padding: 8px 18px;
  border-radius: 20px;
  background: white;
  color: black;
  text-decoration: none;
}

/* ABOUT */
.about p {
  max-width: 700px;
  margin: 10px auto;
  opacity: 0.8;
}
.about {
  text-align: center;
}

.about-intro {
  max-width: 700px;
  margin: 20px auto;
  opacity: 0.8;
}

/* CARDS */
.about-cards {
  display: flex;
  gap: 25px;
  margin-top: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.about-box {
  background: hsl(198, 80%, 70%);
  padding: 25px;
  border-radius: 12px;
  width: 280px;
  backdrop-filter: blur(10px);
  transition: 0.3s;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.about-box:hover {
  transform: translateY(-8px);
}

/* STATS */
.about-stats {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-top: 50px;
}

.about-stats h3 {
  font-size: 32px;
  color: #38bdf8;
}

.services h2 {
  display: flex;
  justify-content: center;
}

.extra h2 {
  display: flex;
  justify-content: center;
}

/* WHY */
.why ul {
  list-style: none;
  margin-top: 20px;
}

.why li {
  margin: 10px 0;
}
.why {
  text-align: center;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.why-box {
  /* background: rgba(255, 255, 255, 0.05); */
  /* background: #f8fafc; */
  background: hsl(198, 80%, 70%);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 25px;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  transition: 0.3s;
  text-align: left;
}

.why-box:hover {
  transform: translateY(-8px);
}

.why-box h3 {
  margin-bottom: 10px;
}

.why-box p {
  opacity: 0.8;
  font-size: 14px;
}

/* PROJECT */
.experience {
  text-align: center;
}

.exp-intro {
  max-width: 700px;
  margin: 20px auto;
  opacity: 0.8;
}

/* GRID */
.exp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.exp-box {
  /* background: rgba(255, 255, 255, 0.05); */
  /* background: #f8fafc; */
  background: hsl(198, 80%, 70%);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 25px;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  transition: 0.3s;
  text-align: left;
}

.exp-box:hover {
  transform: translateY(-8px);
}

.exp-box h3 {
  color: black;
  margin-bottom: 10px;
}

.exp-box p {
  font-size: 14px;
  opacity: 0.8;
}

/* FOOTER */

footer {
  text-align: center;
  padding: 20px;
  /* /* background: #020617; */
  background: #eaeef3;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* WHATSAPP */
.whatsapp-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  color: white;
  font-size: 24px;
  padding: 15px;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: 0.3s;
  z-index: 1000;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
}
body {
  overflow-x: hidden;
}
/* CONTACTS */
.contact {
  background: #f8fafc;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.contact-container {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-info {
  max-width: fit-content;
  text-align: left;
}

.contact-info a {
  color: black;
  text-decoration: none;
}


.contact-form button {
  padding: 10px;
  background: #38bdf8;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.inputGroup {
  font-family: "Poppins", sans-serif;
  margin: 15px 0;
  width: 100%;
  position: relative;
}

/* INPUT + TEXTAREA */
.inputGroup input,
.inputGroup textarea {
  font-size: 14px;
  padding: 12px;
  outline: none;
  border: 2px solid #cbd5e1;
  background-color: transparent;
  width: 100%;
  border-radius: 5px;
}

/* LABEL */
.inputGroup label {
  font-size: 14px;
  position: absolute;
  left: 0;
  padding: 12px;
  margin-left: 8px;
  pointer-events: none;
  transition: 0.3s ease;
  color: #64748b;
}

/* FLOAT EFFECT */
.inputGroup :is(input:focus, input:valid, textarea:focus, textarea:valid) ~ label {
  transform: translateY(-60%) scale(0.85);
  margin-left: 10px;
  padding: 2px 6px;
  background-color: white;
  color: #38bdf8;
}

/* BORDER ACTIVE */
.inputGroup :is(input:focus, input:valid, textarea:focus, textarea:valid) {
  border-color: #38bdf8;
}

/* Spinner */
/* LOADER FULL SCREEN */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* SPINNER */
.spinner {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border: 5px solid #e2e8f0;
  border-top: 5px solid #0f172a;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

/* MOBILE NAVBAR */
@media (max-width: 768px) {
  nav {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 75%;
    /* 🔥 GLASS EFFECT */
    background: rgba(255, 255, 255, 0.95); /* almost transparent */
    /* backdrop-filter: blur(20px); */
    /* -webkit-backdrop-filter: blur(20px); */
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 25px;
    gap: 25px;
    transition: 0.4s ease;
    z-index: 9999;
  }
  .controls {
    display: none;
  }
  nav.active {
    right: 0;
  }
  nav a {
    font-size: 18px;
    text-decoration: none;
    color: #0f172a;
    font-weight: 500;
  }
  .menu-toggle {
    display: block;
    font-size: 26px;
    cursor: pointer;
  }
  .close-btn {
    display: none;
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 22px;
    cursor: pointer;
  }
  .logo-container {
    justify-content: flex-start;
    gap: 5px;
  }

  .logo-text {
    font-size: 16px;
  }

  .logo-container img {
    height: 60px;
  }
  header {
    padding: 10px 15px;
  }
  section {
    padding: 40px 20px;
  }
  .cards {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .card {
    width: 100%;
    max-width: 100%;
  }
  .about-cards {
    flex-direction: column;
    align-items: center;
  }
  .about-box {
    width: 100%;
  }
  .about-stats {
    flex-direction: column;
    gap: 20px;
  }
  .why-grid,
  .exp-grid {
    grid-template-columns: 1fr;
  }
  .contact-container {
    flex-direction: column;
    align-items: center;
  }
  .contact-form form {
    width: 100%;
  }
  .overlay h1 {
    font-size: 26px;
  }
  .overlay p {
    font-size: 14px;
  }
  #loader,
  .spinner {
  display: none;
  }
}
@media (max-width: 768px) {
  .carousel {
    height: 60vh;
  }
}
@media (max-width: 480px) {
  .carousel {
    height: 50vh;
  }
  .overlay h1 {
    font-size: 22px;
  }

  section {
    padding: 30px 15px;
  }
}
