/* Services Page CSS - Fully Responsive for All Devices */

/* Google Fonts Import */
@import url("https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap");

/* Global Styles */
* {
  font-family: "Roboto Condensed", sans-serif;
  list-style: none;
  text-decoration: none;
  line-height: 1.4;
}

/* Margin Utilities */
.mt-35 {
  margin-top: 35px;
}

.my-50 {
  margin-top: 50px;
  margin-bottom: 50px;
}

.mt-50 {
  margin-top: 50px;
}

/* Body Background */
html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  text-decoration: none;
}

body {
  background: -webkit-linear-gradient(
    top,
    rgba(237, 240, 244, 0) 0%,
    rgba(237, 240, 244, 0.85) 100%
  );
  background: linear-gradient(
    180deg,
    rgba(237, 240, 244, 0) 0%,
    rgba(237, 240, 244, 0.85) 100%
  );
  background-image: -webkit-linear-gradient(
    349.38deg,
    rgba(249, 215, 175, 0.3) 0%,
    rgba(214, 202, 245, 0.3) 24.03%,
    rgba(198, 241, 255, 0.3) 45.73%,
    rgba(248, 242, 222, 0.3) 69.05%,
    rgba(212, 179, 253, 0.3) 100.44%
  );
  background-image: linear-gradient(
    100.62deg,
    rgba(249, 215, 175, 0.3) 0%,
    rgba(214, 202, 245, 0.3) 24.03%,
    rgba(198, 241, 255, 0.3) 45.73%,
    rgba(248, 242, 222, 0.3) 69.05%,
    rgba(212, 179, 253, 0.3) 100.44%
  );
  -webkit-backdrop-filter: blur(10px);
  background-image: -webkit-linear-gradient(
    10deg,
    rgba(249, 215, 175, 0.3) 0%,
    rgba(214, 202, 245, 0.3) 23.81%,
    rgba(198, 241, 255, 0.3) 45.3%,
    rgba(248, 242, 222, 0.3) 68.4%,
    rgba(212, 179, 253, 0.3) 99.5%
  );
  background-image: linear-gradient(
    80deg,
    rgba(249, 215, 175, 0.3) 0%,
    rgba(214, 202, 245, 0.3) 23.81%,
    rgba(198, 241, 255, 0.3) 45.3%,
    rgba(248, 242, 222, 0.3) 68.4%,
    rgba(212, 179, 253, 0.3) 99.5%
  );
  backdrop-filter: blur(10px);
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Navigation Styles */
nav {
  width: 100%;
  background-color: white;
  top: 0;
  left: 0;
  z-index: 1000;
  position: sticky;
  transition: background 0.3s ease;
}

nav.scrolled {
  background: linear-gradient(
    to left,
    rgba(255, 255, 255, 0.9),
    rgba(255, 255, 255, 1)
  );
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  margin: auto;
  max-width: 1224px;
}

.logo img {
  width: 12rem;
}

.mobileLogo {
  display: none;
}

.nav ul {
  display: flex;
  gap: 3rem;
  right: 0;
  position: absolute;
}

.nav ul li {
  font-weight: 500;
  letter-spacing: 0.7px;
}

@media (min-width: 1224px) {
  .nav ul {
    position: static;
    margin-left: auto;
  }
}

.mobile-nav-toggle {
  display: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Spacing */
.space {
  padding: 80px 0;
}

/* Background Smoke */
.bg-smoke {
  background-color: #f8f9fa;
}

/* Row and Column Grid */
.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.gy-4 > * {
  padding: 1rem 15px;
}

.col-md-3,
.col-md-6,
.col-lg-4,
.col-lg-6,
.col-xl-3 {
  width: 100%;
  padding: 0 15px;
}

/* Title Area */
.title-area {
  margin-bottom: calc(60px - 10px);
  position: relative;
  z-index: 2;
}

.title-area.text-center {
  text-align: center;
}

.sub-title {
  position: relative;
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: #180b53;
  margin-bottom: 30px;
  text-transform: uppercase;
  line-height: 24px;
  margin-top: -0.34em;
}

.sec-title {
  margin-bottom: calc(60px - 10px);
  margin-top: -0.32em;
  text-transform: capitalize;
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.2;
}

.sec-text {
  font-size: 1.125rem;
  color: #666;
  line-height: 1.6;
  max-width: 800px;
  margin: 1rem auto;
}

/* Slider Area */
.slider-area {
  position: relative;
}

/* Swiper Slider Styles */
.th-slider {
  position: relative;
}

.th-slider.has-shadow .swiper-slide {
  filter: drop-shadow(0px 10px 30px rgba(8, 14, 28, 0.06));
}

/* Service 3D Card Styles */
.service-3d {
  text-align: center;
  background: white;
  border-radius: 10px;
  padding: 40px 12px;
  transition: all 0.4s ease-in-out;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-3d:hover {
  transform: translateY(-5px);
  box-shadow: 0px 15px 30px rgba(8, 14, 28, 0.12);
}

.service-3d_icon {
  margin-bottom: 30px;
}

.service-3d_icon img {
  transition: 0.4s ease-in-out;
  max-width: 100%;
  height: auto;
}

.service-3d_content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-3d .box-title {
  font-size: 24px;
  line-height: 1.417;
  font-weight: 700;
  margin-top: -0.32em;
  margin-bottom: 14px;
}

.service-3d .box-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.service-3d .box-title a:hover {
  color: #180b53;
}

.service-3d_text {
  max-width: 315px;
  margin: 0 auto 22px auto;
  font-size: 16px;
  color: #666;
  line-height: 1.6;
}

.service-3d:hover .service-3d_icon img {
  transform: rotateY(180deg);
}

/* Process Cards */
.process-card {
  position: relative;
  box-shadow: 0px 10px 15px rgba(8, 14, 28, 0.06);
  border-radius: 10px;
  background-color: white;
  text-align: center;
  padding: 30px 20px;
  max-width: 230px;
  margin-left: auto;
  margin-right: auto;
  transition: all 0.4s ease-in-out;
}

.process-card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 15px 25px rgba(8, 14, 28, 0.12);
}

.process-card.text-center {
  text-align: center;
}

.process-card-number {
  height: 60px;
  width: 60px;
  line-height: 60px;
  background-color: #180b53;
  border-radius: 50%;
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  color: white;
  display: inline-block;
  margin-bottom: 24px;
}

.process-card-title {
  font-size: 24px;
  line-height: 1.417;
  font-weight: 600;
  margin-bottom: 14px;
  margin-top: -0.32em;
}

.process-card-text {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
}

/* Footer Styles */
.footer-wrapper {
  --border-color: rgba(255, 255, 255, 0.3);
  position: relative;
  z-index: 2;
}

.footer-layout2 {
  background-color: #f5f5f5;
}

.footer-layout2.bg-transparent {
  background-color: transparent;
  border-top: 1px solid #d9e0f3;
}

.bg-transparent {
  background: transparent;
}

.shape-mockup-wrap {
  z-index: 2;
  position: relative;
}

.widget-area {
  padding-top: 120px;
  padding-bottom: 66px;
}

.widget {
  margin-bottom: 2rem;
}

.footer-widget {
  color: #ccc;
}

.th-widget-about .about-logo {
  margin-bottom: 1.5rem;
}

.about-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #666;
  margin-bottom: 1.5rem;
}

.th-social {
  display: flex;
  gap: 5px;
}

.th-social a {
  display: inline-block;
  width: 46px;
  height: 46px;
  line-height: 46px;
  background-color: white;
  color: #737887;
  font-size: 16px;
  text-align: center;
  margin-right: 5px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.th-social a:last-child {
  margin-right: 0;
}

.th-social a:hover {
  background-color: #180b53;
  color: white;
}

.footer-layout2 .th-social a {
  color: #737887;
  box-shadow: none;
  border: 1px solid #737887;
}

.footer-layout2 .th-social a:hover {
  color: white;
  background-color: #180b53;
  border-color: #180b53;
}

.widget_title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #141d38;
  margin-bottom: 1.5rem;
}

.footer-layout2 .footer-widget .widget_title {
  color: #141d38;
  font-weight: 700;
}

.th-widget-contact {
  max-width: 265px;
}

.contact-feature {
  padding: 0 !important;
  background-color: transparent;
  box-shadow: none;
  gap: 15px;
  display: flex;
  align-items: center;
}

.contact-feature:not(:last-child) {
  margin-bottom: 28px;
}

.icon-btn {
  width: 44px;
  height: 44px;
  background-color: #180b53;
  color: white;
  font-size: 16px;
  border-radius: 5px;
  border: none;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.media-body {
  flex: 1;
}

.contact-feature_label {
  margin-top: -0.4em;
  font-size: 14px;
  text-transform: uppercase;
  line-height: 1.5;
  margin-bottom: 0.25rem;
  color: #999;
}

.media-body a {
  color: #141d38;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 16px;
}

.media-body a:hover {
  color: #180b53;
}

.copyright-wrap {
  padding: 22px 0;
  background-size: 100% auto;
}

/* .bg-theme {
  
} */

.copyright-text {
  margin: 0;
  font-size: 0.875rem;
  color: #666;
}

.copyright-text a:hover {
  color: gray;
}

.footer-links ul {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links a {
  color: #666;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #180b53;
}

.text-end {
  text-align: right;
}

.justify-content-between {
  justify-content: space-between;
}

.align-items-center {
  align-items: center;
}

.d-none {
  display: none;
}

/* ============================================
   RESPONSIVE BREAKPOINTS - ALL DEVICE SIZES
   ============================================ */

/* Extra Small Devices - Small Phones (320px - 374px) */
@media (max-width: 374px) {
  .logo img {
    width: 8rem;
  }

  .sec-title {
    font-size: 1.5rem;
  }

  .sub-title {
    font-size: 14px;
  }

  .sec-text {
    font-size: 0.95rem;
  }

  .service-3d {
    padding: 25px 10px;
    min-height: 320px;
  }

  .service-3d .box-title {
    font-size: 18px;
  }

  .service-3d_text {
    font-size: 14px;
  }

  .process-card {
    padding: 20px 15px;
  }

  .process-card-number {
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 28px;
  }

  .process-card-title {
    font-size: 18px;
  }

  .process-card-text {
    font-size: 14px;
  }
}

/* Small Phones (375px - 479px) - iPhone SE, Galaxy S8 */
@media (min-width: 375px) and (max-width: 479px) {
  .logo img {
    width: 9rem;
  }

  .sec-title {
    font-size: 1.65rem;
  }

  .service-3d {
    padding: 30px 10px;
    min-height: 330px;
  }

  .service-3d .box-title {
    font-size: 19px;
  }

  .service-3d_text {
    font-size: 14px;
  }
}

/* Medium Phones (480px - 599px) - Standard Phones */
@media (min-width: 480px) and (max-width: 599px) {
  .logo img {
    width: 10rem;
  }

  .sec-title {
    font-size: 1.75rem;
  }

  .service-3d {
    padding: 35px 12px;
    min-height: 340px;
  }

  .service-3d .box-title {
    font-size: 20px;
  }

  .service-3d_text {
    font-size: 15px;
  }
}

/* Large Phones & Small Tablets (600px - 767px) */
@media (min-width: 600px) and (max-width: 767px) {
  nav ul {
    padding-block: 1.4rem;
    padding-inline: clamp(3rem, 10vw, 10rem);
    gap: clamp(1.5rem, 5vw, 3rem);
  }

  .sec-title {
    font-size: 2rem;
  }

  .space {
    padding: 60px 0;
  }

  .service-3d {
    padding: 38px 15px;
    min-height: 350px;
  }

  .service-3d .box-title {
    font-size: 22px;
  }

  .service-3d_text {
    font-size: 15px;
  }

  .process-card {
    max-width: 100%;
    padding: 25px 20px;
  }
}

/* Tablets (768px - 991px) - iPad, Android Tablets */
@media (min-width: 768px) and (max-width: 991px) {
  .col-md-3 {
    width: 25%;
  }
  
  .col-md-6 {
    width: 50%;
  }

  .sec-title {
    font-size: 2.2rem;
  }

  .space {
    padding: 70px 0;
  }

  .service-3d {
    padding: 40px 15px;
    min-height: 360px;
  }

  .service-3d .box-title {
    font-size: 22px;
  }

  .service-3d_text {
    font-size: 15px;
  }

  .process-card {
    max-width: 200px;
  }

  .widget-area {
    padding-top: 80px;
    padding-bottom: 50px;
  }
}

/* Small Laptops (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
  .col-lg-4 {
    width: 33.333%;
  }
  
  .col-lg-6 {
    width: 50%;
  }

  .d-lg-block {
    display: block !important;
  }

  .sec-title {
    font-size: 2.3rem;
  }

  .service-3d {
    padding: 40px 15px;
    min-height: 370px;
  }

  .service-3d .box-title {
    font-size: 23px;
  }

  .service-3d_text {
    font-size: 16px;
  }

  .process-card {
    max-width: 210px;
  }
}

/* Medium Laptops & Desktops (1200px - 1439px) */
@media (min-width: 1200px) and (max-width: 1439px) {
  .col-xl-3 {
    width: 25%;
  }

  .sec-title {
    font-size: 2.4rem;
  }

  .service-3d {
    padding: 40px 12px;
    min-height: 380px;
  }

  .service-3d .box-title {
    font-size: 24px;
  }

  .service-3d_text {
    font-size: 16px;
  }

  .process-card {
    max-width: 220px;
  }
}

/* Large Laptops & Desktops (1440px - 1919px) */
@media (min-width: 1440px) and (max-width: 1919px) {
  .container {
    max-width: 1320px;
  }

  .sec-title {
    font-size: 2.5rem;
  }

  .service-3d {
    padding: 45px 15px;
    min-height: 390px;
  }

  .service-3d .box-title {
    font-size: 24px;
  }

  .process-card {
    max-width: 230px;
  }
}

/* Extra Large Screens (1920px and above) - Full HD & 4K */
@media (min-width: 1920px) {
  .container {
    max-width: 1400px;
  }

  .sec-title {
    font-size: 3rem;
  }

  .sec-text {
    font-size: 1.25rem;
  }

  .service-3d {
    padding: 50px 20px;
    min-height: 400px;
  }

  .service-3d .box-title {
    font-size: 26px;
  }

  .service-3d_text {
    font-size: 17px;
    max-width: 350px;
  }

  .process-card {
    max-width: 250px;
    padding: 35px 25px;
  }

  .process-card-number {
    width: 70px;
    height: 70px;
    line-height: 70px;
    font-size: 40px;
  }

  .process-card-title {
    font-size: 26px;
  }

  .process-card-text {
    font-size: 17px;
  }
}

/* Mobile Navigation Responsive */
@media (max-width: 600px) {
  .nav ul {
    gap: 2em;
    inset: 0 0 0 0%;
    flex-direction: column;
    padding: min(20vh, 10rem) 2em;
    background: rgba(255, 255, 255, 0.968);
    backdrop-filter: blur(40px);
    z-index: 1000;
    height: fit-content;
    transform: translateY(-100%);
    transition: transform 880ms ease-out, opacity 880ms ease-out;
    opacity: 0;
    visibility: hidden;
    text-align: center;
  }

  .nav ul[data-visible="true"] {
    transform: translateY(0%);
    opacity: 1;
    visibility: visible;
  }

  .mobile-nav-toggle {
    position: absolute;
    width: 2rem;
    aspect-ratio: 1;
    top: 1rem;
    right: 2rem;
    z-index: 9999;
    cursor: pointer;
    border: none;
    display: block;
    background: transparent;
    font-size: 18px;
  }

  .mobileLogo {
    display: block;
  }

  .mobileLogo > div {
    display: flex;
    flex-direction: column;
    text-align: center;
  }

  .mobileLogo > div img {
    width: 8rem;
    padding: 1rem 0;
  }

  .logo {
    display: none;
  }

  .space {
    padding: 40px 0;
  }

  .mt-50 {
    margin-top: 30px;
  }

  .text-end {
    text-align: center !important;
  }

  .footer-links ul {
    justify-content: center;
    margin-top: 1rem;
    flex-wrap: wrap;
  }

  .widget_title {
    margin-top: 2rem;
  }

  .widget-area {
    padding-top: 60px;
    padding-bottom: 40px;
  }

  .th-widget-contact {
    max-width: 100%;
  }

  .contact-feature {
    flex-direction: column;
    text-align: center;
  }
}