/* ====================================================================== */
/* ======================================
   ROOT VARIABLES
====================================== */
:root {
  --muted: #6c757d;
  --dark: #3d4374;
  --yellow: #e7a74a;
}

html,
body {
  height: 100%;
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: "Poppins", "Inter", "Segoe UI", Roboto, Arial, sans-serif !important;
  letter-spacing: 0.3px;
  color: #111;
  background: #f8fbff !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: 80px;
}

section {
  padding: 3.25rem 0;
}

#about,
#domains,
#services,
#products,
#infra,
#contact {
  padding-top: 100px !important;
}

/* ======= COLORS ======== */
.font-yellow {
  color: var(--yellow);
}

.bg-yellow {
  background-color: var(--yellow) !important;
}

/* ======================================
   NAVBAR
====================================== */
.navLogodiv {
  height: 60px;
  transition: 0.3s ease;
}

.navbar-one {
  padding: 0.5rem 0;
}

.navbar-nav .nav-link {
  color: #3d4374;
  font-weight: 500;
}

.contact-btn-nav {
  background-color: var(--yellow);
  font-weight: 500;
  color: white;
  border-radius: 5px;
}

/* ======================================
   HERO SECTION
====================================== */
.hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
  background-image: url('../images/home-banner.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  z-index: 100;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.50);
}

.hero h1 {
  font-size: 3.2rem;
  /* color: var(--yellow); */
  color: white;
  position: relative;
  z-index: 2;
}

.hero p {
  font-size: 1rem;
  /* padding: 0 50px; */
  z-index: 2;
}

/* Button Underline */
.btn-brand {
  border: none;
  position: relative;
  overflow: hidden;
  color: #fff;
  transition: 0.3s ease;
}

.btn-text {
  font-size: 1.5rem;
}

.btn-underline {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%) scaleX(1);
  width: 80%;
  height: 2px;
  background-color: var(--yellow);
  transition: 0.3s ease;
}

.btn-brand:hover .btn-underline {
  transform: translateX(-50%) scaleX(0);
}

/* ======================================
   ABOUT
====================================== */
.about-hdg {
  font-size: 2.4rem;
  font-weight: 700;
  color: #173169;
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-underline-offset: 6px;
  text-decoration-thickness: 3px;
}

.card-icon {
  color: var(--yellow);
  font-size: 1rem;
}

.about-card-hdg {
  color: var(--dark);
  font-size: 1.2rem;
}

.about-list {
  list-style: none;
  padding: 0;
}

.about-list li {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.about-list i {
  font-size: 1.2rem;
  color: #f5c518;
}

/* ======================================
   DOMAINS
====================================== */
.domains-icon {
  color: var(--yellow);
  height: 1.5rem;
  font-size: 1.58rem;
}

.domains-hdg {
  color: var(--dark);
}

.domain-card {
  border: 0;
  border-radius: 0.75rem;
  background: #fff;
  box-shadow: 0 6px 24px rgba(16, 24, 40, 0.04);
  transition: 0.28s ease;
}

.domain-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(16, 24, 40, 0.08);
}

/* ======================================
   SERVICES
====================================== */
#services ul li {
  margin-bottom: 10px;
  font-size: 16px;
}

.service-img1 {
  width: 100%;
  height: 420px !important;
}

#services .service-img {
  width: 100%;
  height: 300px;
  transition: 0.3s ease;
}

#services .service-img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* ======================================
   PRODUCTS
====================================== */
.product-img {
  height: 240px;
  width: 100%;
}

.products-hdg {
  color: var(--dark);
  font-size: 1.25rem;
}

.productSwiper .swiper-slide {
  padding: 0 10px;
  border-radius: 20px !important;
}

.productSwiper .swiper-wrapper {
  margin: 0 -10px;
}

.products-card {
  background: var(--yellow);
  color: white;
  min-height: 50px;
}

/* ======================================
   INFRASTRUCTURE
====================================== */
#infra {
  position: relative;
}

.table thead th {
  background-color: #e7a74a !important;
  color: #fff !important;
}

tbody>tr:nth-of-type(odd) {
  background: #e7d38f !important;
}

tbody>tr:nth-of-type(even) {
  background: #fff !important;
}

.key-heading {
  color: var(--yellow);
  font-weight: 800;
}

.key-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.detail-box {
  background: #f8f9fac4;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid #f8efa0;
  transition: 0.3s;
  box-shadow: 0 1px 2px rgba(248, 239, 199, 0.8);
  min-height: 130px;
}

.detail-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 4px rgba(252, 211, 32, 0.8);
}

.detail-box i {
  width: 40px;
  height: 40px;
  background: var(--yellow);
  /* yellow circle */
  color: #fff;
  /* white icon */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  /* icon size */
  margin: 0 auto 10px auto;
  /* center + spacing */
}

.detail-box p {
  margin: 0;
  padding-top: 4px;
  font-weight: 500;
  color: var(--dark);
}

.detail-box strong {
  margin: 0;
  padding-top: 4px;
  color: var(--dark);
}

/* ======================================
   contact
====================================== */
.contact-container {
  position: relative;
  min-height: 100vh;
  width: 100%;
  background-image: url('../images/contect-banner-1.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
.contact-hdg {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--yellow);
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-underline-offset: 6px;
  text-decoration-thickness: 3px;
}
.form-contact .card-body {
  background-color: transparent !important;
}

/* ======================================
   FOOTER
====================================== */
footer {
  background-color: var(--dark);
  padding-top: 2rem;
  color: black;
  box-shadow: 0 -2px 2px rgba(0, 0, 0, 0.2);
}

.footer-option {
  color: white;
  font-weight: 500;
}

.footer-logo {
  max-width: 240px;
  height: 120px;
}

.footer-copyright {
  background: #e7a74a;
  color: #fff;
  padding: 1rem;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

.footer-container {
  padding: 0;
}

/* ===========================================================
   MEDIA QUERIES — CLEAN + PROPER ORDER
=========================================================== */

/* ----------- ≤1200px ----------- */
@media (max-width:1200px) {
  .hero h1 {
    font-size: 2.4rem;
  }

  .btn-text {
    font-size: 1.4rem;
  }

  .hero p {
    font-size: 1.3rem;
  }

  #navMenu ul li a {
    font-size: 1rem !important;
  }
#navMenu ul li a:hover{
    font-size: 1rem !important;
    color: white !important;
  }
  .about-hdg {
    font-size: 2.1rem;
  }

  .service-img1 {
    height: 360px !important;
  }

  .product-img {
    height: 220px;
  }

  .key-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ----------- ≤992px (Tablet) ----------- */
@media (max-width:992px) {
  body {
    padding-top: 70px;
  }

  .navbar-collapse {
    position: fixed;
    top: 0;
    right: 0;
    height: 90vh;
    width: 50%;
    background-color: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(1px);
    padding: 2rem 1rem;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 2000;
  }

  .navbar-collapse.show {
    transform: translateX(0);
  }

  .navbar-collapse .nav-item {
    margin-bottom: 1rem;
  }

  .navbar-collapse .nav-link,
  .navbar-collapse .btn {
    width: 100%;
  }

  .navbar-nav .nav-link {
    color: white;
    font-weight: 500;
  }

  .navbar-nav {
    padding-top: 30px;
  }

  .close-menu-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.4rem;
    z-index: 3000;
  }

  /* Overlay */
  .nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 1050;
  }

  /* Show overlay when menu open */
  .navbar-collapse.show+.nav-overlay {
    opacity: 1;
    visibility: visible;
  }

  /* Change hamburger icon to X */
  /* .navbar-toggler.collapsed .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280,0,0,0.7%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  } */

  /* .navbar-toggler:not(.collapsed) .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280,0,0,0.7%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M6 6 L24 24 M24 6 L6 24'/%3e%3c/svg%3e");
  } */

  .navLogodiv {
    height: 48px;
  }

  .navbar-one {
    padding: 0.4rem 0;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .btn-text {
    font-size: 1.3rem;
  }

  #navMenu {
    text-align: center;
    height: 100vh;
  }

  .service-img1 {
    height: 300px !important;
  }

  .key-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-btn-nav {
    display: block !important;
    margin-top: 12px;
    padding: 0;
  }

  .contact-btn-nav .btn {
    max-width: 200px;
    width: 100%;
    margin: 0 auto;
  }

  .domains-icon {
    height: 1.7rem;
    font-size: 2rem;
  }
}

/* ----------- ≤768px (Mobile Medium) ----------- */
@media (max-width:768px) {
  body {
    padding-top: 55px;
  }

  .hero {
    min-height: 70vh;
  }

  .hero h1 {
    font-size: 1.6rem;
  }

  .hero p {
    font-size: 0.8rem;
  }

  .btn-text {
    font-size: 1.2rem;
  }

  #services .service-img {
    height: 170px;
  }

  .about-hdg {
    font-size: 1.5rem;
  }

  .key-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .navbar-nav .nav-link {
    font-size: 15px;
    padding: 8px 0;
  }
}

/* ----------- ≤576px (Small Mobile) ----------- */
@media (max-width:576px) {
  .hero {
    min-height: 60vh;
  }

  #hero {
    min-height: 80vh !important;
    padding-top: 6rem !important;
    padding-bottom: 5rem !important;
    display: flex;
    align-items: center;
  }

  #hero .herohdg {
    font-size: 1.4rem !important;
    margin-bottom: 0.8rem;
  }

  #hero .tagline {
    font-size: 0.72rem !important;

  }

  #hero .contact-btn .btn-brand {
    font-size: 0.8rem;

  }

  .btn-text {
    font-size: 1.1rem;
  }

  .product-img {
    height: 160px;
    width: 90%;
  }

  .key-grid {
    grid-template-columns: repeat(1, 1fr) !important;
    gap: 10px;
  }

  .footer-logo {
    max-width: 150px;
    height: auto;
  }

  .footer-option {
    font-size: 0.8rem;
  }
}

.footer-container {
  padding: 0px 30px 0 30px !important;
}

/* ----------- ≤420px (Extra Small Phones) ----------- */
@media (max-width:420px) {
  h5 {
    font-size: 0.6rem;
  }
}

/* ----------- Extra NAV mobile adjustments ----------- */
@media (max-width:575px) {
  .navLogodiv {
    height: 42px;
  }

  .navbar-one {
    padding: 0.3rem 0;
  }

  .navbar-nav .nav-link {
    font-size: 14px;
    padding: 6px 0;
  }

  .contact-btn-nav {
    display: block !important;
    margin-top: 10px;
    text-align: center;
  }

  .contact-btn-nav .btn {
    width: 100%;
    max-width: 180px;
    font-size: 14px;
    padding: 8px 0;
  }
}