@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    font-family: "Inter", sans-serif;
}

body {
    width: 100%;
    height: 100%;
    font-family: "Inter", sans-serif;
    background-color: #F1F1F1;

}

.main {
    position: relative;
    width: 100%;
    overflow: hidden;
}


.main-img {
    position: absolute;
    width: 100%;
    height: auto !important;
    display: block;
    object-fit: cover;
}

@media (max-width: 720px) {
    .main {
        overflow-x: hidden;
    }
}

/* ===== Glass Background Navbar ===== */
.glass-bg {
    background: rgba(17, 24, 39, 0.08);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}


/* ===== Navbar ===== */
.navbar {
    position: fixed;
    width: 100%;
    height: 84px;
    padding: 0 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.nav-logo {
    width: 177px;
    height: 37px;
}

.nav-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nav-links {
    width: 486px;
    height: 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #000;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 400;
    padding: 8px 16px;
    line-height: 1.5;
    border: 2px solid transparent;
}

.nav-links a:hover {
    border-color: white;

}

.nav-links a:nth-child(3) {
    background: #267BFF;
    color: white;
    border: none;
}



/* ===== Hamburger Icon ===== */
.nav-icon {
    width: 24px;
    height: 24px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    gap: 5px;
    cursor: pointer;
}

.nav-icon span {
    display: flex;
    width: 100%;
    height: 3px;
    background-color: #111827;
    border-radius: 3px;
    transition: 0.4s ease;
    margin-bottom: 5px;
}

/* ==== Cross animation ==== */
.nav-icon.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-icon.active span:nth-child(2) {
    opacity: 0;
}

.nav-icon.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== Mobile Menu ===== */
.mobile-menu {
    position: fixed;
    top: 46px;
    left: 0;
    width: 100%;
    padding: 10px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 0;
    overflow: hidden;
    transform: translateY(-10px);
    transition: max-height 0.5s ease, transform 0.3s ease;
    z-index: 999;
}

.mobile-menu.active {
    max-height: 300px;
    transform: translateY(0);
}

.mobile-menu a {
    padding: 14px;
    color: #000;
    border-radius: 8px;
}

@media (max-width: 1024px) {

    .navbar {
        height: 56px;
        padding: 0 30px;
    }

    .nav-logo {
        width: 115px;
        height: 24px;
    }

    .nav-links {
        display: none;
    }

    .nav-icon {
        display: block;
    }
}

/*  ==================== nav-bar end here   ====================  */

/* ================= Services-SECTION START =================  */

.service-section {
    width: 1440;
    height: auto;
    min-width: 1050px;
    padding-right: 100px;
    padding-left: 100px;
    gap: 32;
    /* opacity: 1; */
}

.container {
    position: relative;
    max-width: 100%;
    min-width: auto;
    height: auto;
    margin: 100px 100px;
    border-radius: 64px;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h1 {
    color: #111827;
    font-family: Inter;
    font-weight: 700;
    font-style: Bold;
    font-size: 48px;
    line-height: 120%;
    letter-spacing: -2%;
    text-align: center;
    margin-bottom: 22px;
}

.section-header p {
    color: #111827;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0%;
    text-align: center;

}

/* Search Bar */

.search-bar {
    display: flex;
    align-items: center;
    background: #F9FAFB;
    border-radius: 10px;
    padding: 8px 16px 8px 8px;
    transition: border-radius 0.2s ease;
}

.search-bar.open {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

/* =========================
   CATEGORY SELECT
========================= */
.category-select {
    width: auto;
    height: 46px;
    border-radius: 8px;
    border: 2px solid #F3F4F6;
    padding: 8px 36px;
    background-color: #FFFFFF;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 2px;
}

/* =========================
   ARROW ANIMATION
========================= */
.search-arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

.search-arrow.rotate {
    transform: rotate(180deg);
}

.search-arrow i {
    padding-top: 5px;
    width: 28px;
    height: 28px;
}

/* =========================
   INPUT + ICON
========================= */
.search-bar input {
    flex: 1;
    border: none;
    padding: 10px;
    outline: none;
    font-size: 16px;
    background-color: transparent;
}

.search-icon i {
    font-size: 24px;
    color: #6B7280;
    cursor: pointer;
}

/* =========================
   DROPDOWN SLIDE
========================= */
.service-category-dropdown {
    background-color: #F9FAFB;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.25s ease;
}

/* OPEN STATE */
.service-category-dropdown.open {
    max-height: 400px;
    opacity: 1;
}

/* DROPDOWN ITEMS */
.service-category-dropdown p {
    font-size: 16px;
    color: #111827;
    cursor: pointer;
    padding: 10px 14px;
}

.service-category-dropdown p:hover {
    background: #f3f3f3;
}





/* Grid Layout */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 24px;
    margin-top: 20px;
}

.service-card {
    max-width: 680px;
    min-width: auto;
    /* height: 288px; */
    background: #FFFFFF;
    padding: 20px 50px;
    border: 2px solid #F3F4F6;
    border-radius: 35px;
    box-shadow: 0px 4px 40px 0px #00000019;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    margin: 0 auto;
}

/* =========================
   CARD ANIMATION
========================= */
.service-card {
    transition: all 0.3s ease;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 24px;
    margin: 0;
    max-width: 70%;
    /* color: var(--text-dark); */
}

.icon {
    width: 80px;
    height: 80px;
    transition: transform 0.6s ease;

}

.icon i {
    font-size: 80px;
    color: #106EFF;
}

.service-card:hover .icon {
  transform: rotateY(360deg) scale(1.1);
  /* box-shadow: 0 6px 20px rgba(0, 0, 255, 0.2); */
  transition: transform 0.7s cubic-bezier(.34,1.56,.64,1);
}

.icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-card p {
    line-height: 16px;
    line-height: 150%;
    margin-bottom: 30px;
    flex-grow: 1;
}

.service-btn {
    display: flex;
    justify-content: flex-end;
}

.read-more-btn {
  position: relative;
  overflow: hidden; /* required for ripple + shine */
  background: #111827;
  color: #F9FAFB;
  border: none;
  padding: 12px 28px;
  border-radius: 50px;
  width: fit-content;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover lift */
.read-more-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Click press */
.read-more-btn:active {
  transform: scale(0.98);
}

/* Chevron animation */
.chevron {
  font-size: 28px;
  transition: transform 0.3s ease;
}

.read-more-btn:hover .chevron {
  transform: translateX(6px);
}

/* Shine sweep */
.read-more-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 120%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.5), transparent);
  transition: left 0.6s ease;
}

.read-more-btn:hover::after {
  left: 120%;
}

/* Ripple effect */
.read-more-btn .ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  background: rgba(255, 255, 255, 0.6);
  animation: ripple 600ms linear;
  pointer-events: none;
}

@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Responsive for Mobile */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-section {
        padding: 0px;
    }

    .container {
        margin: 50px 20px 0;
        height: auto;
    }
}

/* ================= DETAILS ================= */
.service-details-wrapper {
    margin-top: 20px;
    

}

.service-details {
    padding: 20px 40px;
    background: #FFFFFF;
    border-radius: 14px;
    width: 100%;
    /* max-width: 900px; */
    margin: auto;
    display: none;
}

.back-btn {
    background: #111827;
    color: #F9FAFB;
    border: none;
    padding: 10px 28px;
    border-radius: 50px;
    width: fit-content;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: right;
    gap: 20px;
    margin-bottom: 30px;
    font-size: 14px;
}

/* ================= Services-SECTION END ================= */

/*  ================= FOOTER-SECTION =================  */
.footer {
  background-color: #F9FAFB;
  padding: 32px 100px;
  font-family: Inter, sans-serif;
  color: #667085;
  position: relative;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 24px;
}

/* Brand */
.footer-logo {
  display: flex;
  align-items: center;
}

.footer-logo span {
  font-size: 22px;
  font-weight: 700;
  color: #101828;
}

.footer-description {
  margin-top: 24px;
  max-width: 292px;
  line-height: 1.6;
}

/* Columns */
.footer-title {
  font-size: 24px;
  font-weight: 600;
  color: #101828;
  margin-bottom: 24px;
}

.footer-list,
.footer-contact {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
}

.footer-contact {
  margin-bottom: 24px;
}

/* Footer links animation */
.footer-list li a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #667085;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
  margin-left: 5px;
}

/* Add >> before link */
.footer-list li a::before {
  margin-top: 2px;
  content: "˃˃";
  font-size: 22px;
  transform: translateX(-6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  color: #106EFF;
}

/* Hover animation */
.footer-list li a:hover {
  color: #101828;
  transform: translateX(4px);
}

/* Reveal arrow on hover */
.footer-list li a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

/* Social */
.footer-socials {
  display: flex;
  gap: 50px;                  /* better spacing than space-between */
}

.footer-socials a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  text-decoration: none;
  color: #667085;
  transition: transform 0.3s ease, color 0.3s ease;
}

.footer-socials a i {
  font-size: 28px;           /* FIX: proper font-size */
  line-height: 1;
}

/* Hover effect */
.footer-socials a:hover {
  transform: translateY(-2px) scale(1.15);  /* FIX: scale inside transform */
  color: #106EFF;                            /* icon color via currentColor */
}

/* Bottom */
.footer-bottom {
  margin-top: 24px;
  padding: 32px 0;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #6B7280;
}

/* Responsive */
@media (max-width: 720px) {
  .footer {
    padding: 32px 16px;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }

  .footer-title {
    font-size: 22px;
    margin-bottom: 16px;
  }

  .footer-bottom {
    margin-top: 24px;
    padding: 8px;
    display: flex;
    gap: 8px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}

/* Optional: Motion safe */
@media (prefers-reduced-motion: reduce) {
  .footer-list li a,
  .footer-socials a {
    transition: none;
  }
}
/* ====================  Footer content end   ====================  */