main {
  padding-top: var(--header-height);
  color: var(--title-color);
  background-color: var(--section-color);
}

/* Mobile fix */
@media (max-width: 768px) {
  main {
    padding-top: calc(var(--header-height) - 1rem);
  }
}

/* Digital Marketing */

/*=============== HERO SECTION ===============*/

/* HERO SECTION */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 3rem 5% 1rem 5%;

}

/* CONTAINER */
.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  max-width: 1200px;
  margin: auto;
  width: 100%;
}

/* LEFT CONTENT */
.hero-content {
  flex: 1;
  color: #fff;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 600;
}

.hero-content h1 span {
  color: #1DC9A9;
}

.hero-content p {
  margin: 1.5rem 0;
  line-height: 1.6;
  color: #cfd8e3;
}

/* BUTTONS */
.hero-buttons {
  display: flex;
  gap: 1rem;
}

.btn {
  padding: 0.9rem 1.6rem;
  border-radius: 30px;
  font-weight: 500;
  text-decoration: none;
  transition: 0.3s;
}

/* PRIMARY BUTTON */
.btn.primary {
  background: #1DC9A9;
  color: #000;
}

/*
.btn.primary:hover {
  background: #17a88d;
} */

/* SECONDARY BUTTON */
.btn.secondary {
  border: 1px solid #1DC9A9;
  color: #fff;
}

.btn.secondary:hover {
  background: #1DC9A9;
  color: var(--title-color);
}

/* RIGHT IMAGE */
.hero-image {
  flex: 1.2;

  justify-content: center;
}

.carousel img {
  border-radius: 20px;

  object-fit: contain;
  height: 400px;
  width: 100%;
}

.hero-image {
  display: flex;
  align-items: center;
}

/*
.hero-image img {
  width: 100%;
  margin-top: 10%;
  max-width: 650px;
  border-radius: 20px;

} */

/* ================= RESPONSIVE: Small + Medium Screens ================= */

@media screen and (max-width: 992px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-container {
    gap: 2rem;
    flex-direction: row;
    /* keep horizontal layout */
  }

  .hero-buttons {

    display: flex;
    flex-direction: row;
    /* horizontal buttons */
    justify-content: center;
    /* center horizontally */
    align-items: center;
    gap: 0.8rem;

  }

  .btn {
    width: auto;
    /* auto width */
    padding: 0.7rem 1rem;
    font-size: 0.90rem;
    font-weight: 800;
    /* slightly bold */
    border-radius: 30px;
    transition: all 0.3s ease;

  }

  .hero-image img {
    /* max-width: 650px; */

    /* scale with container 
    height: auto;*/
    /* maintain aspect ratio 
    object-fit: cover;*/
    width: 100%;
    height: 300px;
    object-fit: contain;
    border-radius: 20px;

  }
}

/* ================= SMALLER SCREENS: Mobile <= 768px ================= */

@media screen and (max-width: 768px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 2.4rem;
  }

  .hero-buttons {
    flex-direction: row;
    /* horizontal */
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
  }

  .btn {
    width: auto;
    /* auto width */
    padding: 0.8rem 1.2rem;
    font-size: 1rem;
  }

  .carousel img {
    height: 400px;
    object-fit: contain;
    width: 100%;

  }

}

/* ================= MOBILE SCREENS <= 576px ================= */

@media screen and (max-width: 576px) {
  .hero {
    padding: 2rem 1rem;
    text-align: center;
  }

  .hero-container {
    flex-direction: column;
    gap: 2rem;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 0.9rem;
  }

  .hero-buttons {
    justify-content: center;
    flex-direction: column;
    gap: 0.8rem;
  }

  .btn {
    width: 100%;
    padding: 0.8rem 1rem;
    /* slightly smaller padding */
    font-size: 0.95rem;
    /* text adjust */
  }

  .carousel img {
    width: 100%;
    height: 400px;
    /* balanced height for small screens */
    object-fit: contain;
    /* no crop */
    border-radius: 20px;
  }

}


/* SMALL MOBILE (Extra small screens) */
@media (max-width: 480px) {
  .carousel img {
    height: 300px;
    
  }
}

/* VERY SMALL DEVICES */
@media (max-width: 360px) {
  .carousel img {
    height: 250px;
    width: 50%;

  }
}

/* ================= SERVICES OVERVIEW  SECTION ================= */
.services-overview {
  padding: 0.5rem 5%;
  max-width: 1200px;
  margin: auto;
  text-align: center;
  color: var(--text-color);
  /* text muted white */
}

.services-overview h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
  /* accent teal */
}

.services-overview p {
  font-size: 1rem;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto 3rem auto;
  color: var(--text-color);
}

/* CARDS CONTAINER: horizontal scroll if needed */
.cards {
  display: flex;
  gap: 1rem;
  /* horizontal scroll if cards exceed width */
  padding-bottom: 1rem;
  scroll-behavior: smooth;
}

/* SINGLE CARD */
.card {
  flex: 0 0 200px;
  /* fixed width for each card */
  background: var(--card-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  padding: 2rem 1rem;
  border-radius: 15px;
  font-weight: var(--font-medium);
  color: var(--title-color);

  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;

  /* CARD INITIAL STATE */
  opacity: 0;
  transform: translateY(50px) scale(0.95);
  transition: all 0.6s ease;
}

/* CARD ACTIVE ON SCROLL */
.card.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ICON INSIDE CARD */
.card i {
  font-size: 2rem;
  color: var(--first-color);
  margin-bottom: 1rem;
  transition: 0.3s;
}

/* CARD TEXT */
.card span {
  display: block;
  font-size: 1rem;
  font-weight: var(--font-medium);
}

/* CARD HOVER */
.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  /* background: var(--first-color);
  color: var(--body-color); */
}

/* ================= RESPONSIVE SERVICES OVERVIEW ================= */

@media screen and (max-width: 1024px) {
  .cards {
    display: flex;
    flex-wrap: wrap;
    /* allow multiple rows if needed */
    gap: 0.8rem;
    justify-content: center;
    /* center the cards */
  }

  .card {
    flex: 1 1 160px;
    /* slightly bigger than 150px for 1024px */
    max-width: 220px;
    /* optional maximum width */
    padding: 1.8rem 0.8rem;
    text-align: center;
  }

  .card i {
    font-size: 1.9rem;
    /* slightly larger icons */
  }

  .card span {
    font-size: 1rem;
  }
}

/* Medium screens ≤992px */
@media screen and (max-width: 992px) {

  .cards {
    display: flex;
    gap: 0.8rem;
  }

  .card {
    flex: 1 1 150px;
    /* slightly smaller card */
    max-width: 200px;
    padding: 1.8rem 0.8rem;
  }

  .card i {
    font-size: 1.8rem;
  }

  .card span {
    font-size: 0.95rem;
  }
}

/* Tablets ≤768px */
@media screen and (max-width: 768px) {
  .cards {
    gap: 0.6rem;
  }

  .card {
    flex: 1 1 100px;
    padding: 1.6rem 0.7rem;
  }

  .card i {
    font-size: 1.6rem;
  }

  .card span {
    font-size: 0.9rem;
  }
}

/* Mobile ≤576px */
@media screen and (max-width: 576px) {
  .cards {
    flex-direction: row;
    /* stack cards vertically */
    overflow-x: hidden;
    /* no horizontal scroll */
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    /* center even stacked cards */

  }

  .card {

    flex: 0 0 48%;
    /* ~2 cards per row */
    max-width: 48%;
    /* ensure two fit in a row */
    padding: 1.5rem 1rem;
    box-sizing: border-box;
    /* include padding in width */
    box-shadow: 0 0 0;
  }

  .card i {
    font-size: 1.5rem;
  }

  .card span {
    font-size: 0.9rem;
  }
}

@media screen and (max-width: 400px) {
  .cards {
    gap: 0.6rem;
  }

  .card {
    flex: 0 0 48%;
    /* still 2 per row */
    max-width: 48%;
    padding: 1.2rem 0.6rem;
    /* reduced padding */
  }

  .card i {
    font-size: 1.3rem;
  }

  .card span {
    font-size: 0.85rem;
  }
}

@media screen and (max-width: 320px) {
  .cards {
    flex-direction: column;
    /* switch to 1 card */
    gap: 0.6rem;
  }

  .card {
    flex: 1 1 100%;
    max-width: 100%;
    padding: 1.2rem 0.8rem;
  }

  .card i {
    font-size: 1.2rem;
  }

  .card span {
    font-size: 0.8rem;
  }
}

/* ================= RESPONSIVE SERVICES OVERVIEW TWO ================= */

/* Medium screens ≤992px */
@media screen and (max-width: 992px) {
  .services-overview h2 {
    font-size: 2.2rem;
  }

  .services-overview p {
    font-size: 0.95rem;
  }
}

/* Tablets ≤768px */
@media screen and (max-width: 768px) {
  .services-overview h2 {
    font-size: 2rem;
  }

  .services-overview p {
    font-size: 0.9rem;
  }


}

/* Mobile ≤576px */
@media screen and (max-width: 576px) {
  .services-overview h2 {
    font-size: 1.8rem;
  }

  .services-overview p {
    font-size: 0.85rem;
  }
}


/* ================= DETAILED SERVICES ================= */

.detailed-services {
  max-width: 1200px;
  margin: auto;
  /* padding: 4rem 5% */
  padding: 4rem 5% 1rem 5%;
}

/* EACH ROW */
.service-row {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin-bottom: 4rem;
}

/* REVERSE ROW (zig-zag) */
.service-row.reverse {
  flex-direction: row-reverse;
}

/* IMAGE */
.service-row img {
  width: 100%;
  /* max-width: 500px;
  min-width: 400px;
  height: 400px;*/
  min-width: 300px;
  height: 300px;
  max-width: 500px;

  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transition: 0.3s;
}

/* TEXT */
.service-row .text {
  flex: 1;
}

/* HEADING */
.service-row .text strong {
  color: var(--title-color);
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  font-weight: 700;

}

/* PARAGRAPH */
.service-row .text p {
  color: var(--text-color);
  line-height: 1.7;
}

/* HOVER EFFECT */
.service-row img:hover {
  transform: scale(1.03);
}


@media screen and (max-width: 1024px) {
  .service-row {
    gap: 2rem;
  }

  .service-row img {
    max-width: 450px;
    min-width: 300px;
    height: 350px;
  }

  .service-row .text strong {
    font-size: 1.8rem;
  }
}

@media screen and (max-width: 992px) {
  .service-row {
    gap: 2rem;
  }

  .service-row img {
    max-width: 400px;
    min-width: 260px;
    height: 320px;
  }

  .service-row .text strong {
    font-size: 1.7rem;
  }

  .service-row .text p {
    font-size: 0.95rem;
  }
}

@media screen and (max-width: 768px) {
  .service-row {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .service-row.reverse {
    flex-direction: column;
    /* remove zig-zag */
  }

  .service-row img {
    max-width: 100%;
    min-width: 100%;
    height: 280px;
  }

  .service-row .text strong {
    font-size: 1.5rem;
  }

  .service-row .text p {
    font-size: 0.95rem;
  }
}

@media screen and (max-width: 576px) {
  .detailed-services {
    padding: 3rem 1rem;
  }

  .service-row {
    gap: 1.5rem;
    margin-bottom: 3rem;
  }

  .service-row img {
    height: 250px;
  }

  .service-row .text strong {
    font-size: 1.3rem;
  }

  .service-row .text p {
    font-size: 0.9rem;
    line-height: 1.6;
  }
}

@media screen and (max-width: 400px) {
  .service-row img {
    height: 220px;
  }

  .service-row .text strong {
    font-size: 1.2rem;
  }

  .service-row .text p {
    font-size: 0.85rem;
  }
}

@media screen and (max-width: 320px) {
  .service-row img {
    height: 200px;
  }

  .service-row .text p {
    font-size: 0.8rem;
  }
}


/*  Artificial Intelligence */

/*=============== HERO SECTION ===============*/



/* ===== CARDS SECTION ===== */
.ai-cards {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin: 4rem auto;
}

/* SINGLE CARD */
.ai-card {

  backdrop-filter: blur(10px);
  background: var(--card-color);
  border: 1px solid rgba(255, 255, 255, 0.08);


  border-radius: 20px;
  padding: 2rem 2.5rem;
  text-align: center;
  width: 220px;
  cursor: pointer;
  transition: all 0.6s ease;
  position: relative;
  overflow: hidden;

  /* ANIMATION START STATE */
  opacity: 0;
  transform: translateY(50px) scale(0.95);
}

/* ANIMATION ACTIVE */
.ai-card.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* GLOW EFFECT */
.ai-card::before {
  content: "";
  position: absolute;
  width: 150%;
  height: 150%;
  background: radial-gradient(circle, rgba(29, 201, 169, 0.3), transparent);
  top: -50%;
  left: -50%;
  opacity: 0;
  transition: 0.5s;
}

.ai-card:hover::before {
  opacity: 1;
}

/* ICON */
.ai-card i {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #1DC9A9;
  transition: 0.3s;
}

/* TEXT */
.ai-card span {
  font-size: 1.3rem;
  /* 🔥 bigger text */
  font-weight: 600;
  /* bold look */
  letter-spacing: 0.5px;
  /* premium spacing */
}

/* HOVER */
.ai-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 15px 40px rgba(29, 201, 169, 0.3);
}

.ai-card:hover i {
  transform: scale(1.2);
}

/* ===============================
   AI Intelligent Section Fixed
================================= */
.ai-intelligent-section {
  position: relative;
  padding: 100px 0 100px 0;
  /*padding: 100px 0 150px 0;
   top 100px, bottom 150px */
  min-height: 100vh;
  /* ensure at least full screen */
}

/* Sticky container */
.ai-intelligent-section .ai-stack {
  position: sticky;
  top: 100px;
  height: calc(100vh - 200px);
}

/* Wrapper styling */
.ai-intelligent-section .ai-wrapper {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) scale(0.9);
  width: 85%;
  max-width: 1100px;
  padding: 60px;
  background: #112340;
  border-radius: 24px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: all 0.6s ease;
  z-index: 1;
}

.ai-intelligent-section .ai-wrapper.active {
  opacity: 1;
  transform: translateX(-50%) scale(1);
  z-index: 2;
}

.ai-intelligent-section .ai-wrapper.prev {
  opacity: 0.2;
  transform: translateX(-50%) scale(0.85);
  z-index: 1;
}

/* Image + content */
.ai-intelligent-section .ai-image img,
.ai-intelligent-section .ai-content {
  position: relative;
  z-index: 2;
}

/* Text */
.ai-intelligent-section .custom-h1 {
  color: #fff;
  font-size: 36px;
  margin-bottom: 20px;
}

.ai-intelligent-section p {
  color: #cbd5e1;
  font-size: 16px;
  line-height: 1.8;
}

/* Soft Glow */
.ai-intelligent-section .ai-wrapper::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 123, 255, 0.25) 0%, transparent 70%);
  top: -150px;
  right: -150px;
  z-index: 0;
  pointer-events: none;
}

/* ===============================
   Responsive Adjustments
================================= */

/* Large desktops / tablets */
@media (max-width: 1024px) {
  .ai-intelligent-section .ai-wrapper {
    width: 90%;
    padding: 50px 25px;
  }

  .ai-intelligent-section .custom-h1 {
    font-size: 28px;
  }
}

/* Medium tablets */
@media (max-width: 768px) {
  .ai-intelligent-section {
    padding: 80px 0 120px 0;
  }

  /* Switch wrapper to relative to prevent overlap */
  .ai-intelligent-section .ai-wrapper {
    position: relative;
    transform: translateX(0) scale(1);
    width: 95%;
    padding: 40px 20px;
    margin: 0 auto;
    /* center */
  }

  .ai-intelligent-section .ai-stack {
    position: relative;
    height: auto;
    top: 0;
  }

  .ai-intelligent-section .custom-h1 {
    font-size: 24px;
  }

  .ai-intelligent-section p {
    font-size: 15px;
  }
}

/* Small tablets / large phones */
@media (max-width: 576px) {
  .ai-intelligent-section {
    padding: 60px 0 100px 0;
  }

  .ai-intelligent-section .ai-wrapper {
    width: 100%;
    padding: 30px 15px;
  }

  .ai-intelligent-section .custom-h1 {
    font-size: 20px;
  }

  .ai-intelligent-section p {
    font-size: 14px;
  }
}

/* Extra small phones */
@media (max-width: 480px) {
  .ai-intelligent-section {
    padding: 50px 0 80px 0;
  }

  .ai-intelligent-section .ai-wrapper {
    padding: 25px 10px;
  }

  .ai-intelligent-section .custom-h1 {
    font-size: 18px;
  }

  .ai-intelligent-section p {
    font-size: 13px;
  }
}


/* Software Development */

/*=============== HERO SECTION ===============*/

.sd-hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 2rem 5%;
}

/* CONTAINER */
.sd-hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  max-width: 1200px;
  margin: auto;
  width: 100%;
}

/* LEFT CONTENT */
.sd-hero-content {
  flex: 1;
  color: #fff;
}

.sd-hero-content h1 {
  font-size: 2.8rem;
  font-weight: 600;
}

.sd-hero-content h1 span {
  color: #1DC9A9;
}

.sd-hero-content p {
  margin: 1.5rem 0;
  line-height: 1.6;
  color: #cfd8e3;
}

/* BUTTONS */
.sd-hero-buttons {
  display: flex;
  gap: 1rem;
}

.btn {
  padding: 0.9rem 1.6rem;
  border-radius: 30px;
  font-weight: 500;
  text-decoration: none;
  transition: 0.3s;
}

/* PRIMARY BUTTON */
.btn.primary {
  background: #1DC9A9;
  color: #000;
}

.btn.primary:hover {
  background: #17a88d;
}

/* SECONDARY BUTTON */
.btn.secondary {
  border: 1px solid #1DC9A9;
  color: #fff;
}

.btn.secondary:hover {
  background: #1DC9A9;
  color: #000;
}

/* RIGHT IMAGE */
.sd-hero-image {
  flex: 1.2;

  justify-content: center;
}

.carousel img {
  border-radius: 20px;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.sd-hero-image img {
  width: 100%;
  max-width: 650px;
  border-radius: 20px;

}

/* ================= RESPONSIVE: Small + Medium Screens ================= */

@media screen and (max-width: 992px) {
  .sd-hero-content h1 {
    font-size: 2rem;
  }

  .sd-hero-container {
    gap: 2rem;
    flex-direction: row;
    /* keep horizontal layout */
  }

  .sd-hero-buttons {

    display: flex;
    flex-direction: row;
    /* horizontal buttons */
    justify-content: center;
    /* center horizontally */
    align-items: center;
    gap: 0.8rem;

  }

  .btn {
    width: auto;
    /* auto width */
    padding: 0.7rem 1rem;
    font-size: 0.90rem;
    font-weight: 800;
    /* slightly bold */
    border-radius: 30px;
    transition: all 0.3s ease;

  }

  .sd-hero-image img {
    max-width: 650px;
    width: 100%;
    /* scale with container */
    height: auto;
    /* maintain aspect ratio */
    object-fit: cover;
    border-radius: 20px;
  }
}

/* ================= SMALLER SCREENS: Mobile <= 768px ================= */

@media screen and (max-width: 768px) {
  .sd-hero-container {
    flex-direction: column;
    text-align: center;
  }

  .sd-hero-content h1 {
    font-size: 2.4rem;
  }

  .sd-hero-buttons {
    flex-direction: row;
    /* horizontal */
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
  }

  .btn {
    width: auto;
    /* auto width */
    padding: 0.8rem 1.2rem;
    font-size: 1rem;
  }

  .sd-hero-image img {
    max-width: 90%;
  }

}

/* ================= MOBILE SCREENS <= 576px ================= */

@media screen and (max-width: 576px) {
  .sd-hero {
    padding: 2rem 1rem;
    text-align: center;
  }

  .sd-hero-container {
    flex-direction: column;
    gap: 2rem;
  }

  .sd-hero-content h1 {
    font-size: 2rem;
  }

  .sd-hero-content p {
    font-size: 0.9rem;
  }

  .sd-hero-buttons {
    justify-content: center;
    flex-direction: column;
    gap: 0.8rem;
  }

  .btn {
    width: 100%;
    padding: 0.8rem 1rem;
    /* slightly smaller padding */
    font-size: 0.95rem;
    /* text adjust */
  }

  .sd-hero-image img {
    max-width: 100%;
    height: auto;
  }

}

/* ================= SERVICES ================= */

.sd-services {
  padding: 2rem 5%;
  text-align: center;
}

.sd-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  font-weight: var(--font-semi-bold);
  color: var(--title-color);

}

/* GRID */
.sd-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

/* CARD */
.sd-service-card {
  padding: 2rem;
  border-radius: 20px;
  text-align: center;

  background: var(--card-color);
  border: 1px solid rgba(255, 255, 255, 0.08);

  backdrop-filter: blur(10px);


  transition: 0.4s ease;
  transform: translateY(50px);
  opacity: 0;
}

/* SHOW ANIMATION */
.sd-service-card.show {
  transform: translateY(0);
  opacity: 1;
}

/* HOVER */
.sd-service-card:hover {

  transform: translateY(-12px) scale(1.05);
  box-shadow: 0 0 25px rgba(29, 201, 169, 0.25);
}

/* ICON STYLE */
.sd-service-card i {
  font-size: 2.5rem;
  color: var(--first-color);
  margin-bottom: 1rem;
  transition: 0.4s ease;
}

/* HOVER ICON EFFECT */
.sd-service-card:hover i {
  transform: scale(1.2) rotate(5deg);
  text-shadow: 0 0 15px rgba(29, 201, 169, 0.6);
}

/* CARD HOVER IMPROVED */
.sd-service-card:hover {
  /* transform: translateY(-12px) scale(1.05);
  box-shadow: 0 0 30px rgba(29, 201, 169, 0.4); */
  transform: scale(1.2) rotate(5deg);
  text-shadow: 0 0 15px rgba(29, 201, 169, 0.6);
}

.sd-service-card .custom-h3 {
  margin-bottom: 0.8rem;
  font-size: 1.1rem;

}

.paragraph {
  font-size: 1rem;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto 3rem auto;
  color: var(--text-color);
}

/* ================= RESPONSIVE ================= */

/* ===== LARGE TABLETS ===== */
@media (max-width: 1200px) {
  .sd-title {
    font-size: 2.2rem;
  }

  .sd-services-grid {
    gap: 1.5rem;
  }
}

/* ===== TABLETS ===== */
@media (max-width: 992px) {
  .sd-services {
    padding: 2rem 4%;
  }

  .sd-title {
    font-size: 2rem;
  }

  .sd-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sd-service-card {
    padding: 1.8rem;
  }
}

/* ===== SMALL TABLETS ===== */
@media (max-width: 768px) {
  .sd-title {
    font-size: 1.8rem;
  }

  .sd-services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }

  .sd-service-card {
    padding: 1.5rem;
  }

  .sd-service-card i {
    font-size: 2.2rem;
  }

  .paragraph {
    font-size: 0.95rem;
    padding: 0 10px;
  }
}

/* ===== MOBILE ===== */
@media (max-width: 576px) {
  .sd-services {
    padding: 2rem 3%;
  }

  .sd-title {
    font-size: 1.6rem;
  }

  .sd-services-grid {
    grid-template-columns: 1fr;
    /* single column */
  }

  .sd-service-card {
    padding: 1.3rem;
  }

  .sd-service-card .custom-h3 {
    font-size: 0.95rem;
  }

  .sd-service-card i {
    font-size: 2rem;
  }

  .paragraph {
    font-size: 0.9rem;
    line-height: 1.6;
  }
}

/* ===== EXTRA SMALL DEVICES ===== */
@media (max-width: 400px) {
  .sd-title {
    font-size: 1.4rem;
  }

  .sd-service-card {
    padding: 1.1rem;
    border-radius: 15px;
  }

  .sd-service-card i {
    font-size: 1.8rem;
  }

  .sd-service-card .custom-h3 {
    font-size: 0.9rem;
  }

  .paragraph {
    font-size: 0.85rem;
  }
}


/* ================= WHY CHOOSE US ================= */

.sd-why {
  padding: 4rem 5%;
  text-align: center;
}

/* GRID */
.sd-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* FIXED 3 CARDS */
  gap: 2rem;
}

/* CARD */
.sd-why-card {
  padding: 2rem;
  border-radius: 20px;


  backdrop-filter: blur(10px);
  background: var(--card-color);
  border: 1px solid rgba(255, 255, 255, 0.08);

  transition: 0.4s ease;
  transform: translateY(50px);
  opacity: 0;
}

/* SHOW ANIMATION */
.sd-why-card.show {
  transform: translateY(0);
  opacity: 1;
}

/* ICON */
.sd-why-card i {
  font-size: 2.3rem;
  color: var(--first-color);
  margin-bottom: 1rem;
  transition: 0.4s ease;
}

/* HOVER EFFECT */
.sd-why-card:hover {
  transform: translateY(-12px) scale(1.05);
  box-shadow: 0 0 25px rgba(29, 201, 169, 0.25);
}

.sd-why-card:hover i {
  transform: scale(1.2) rotate(5deg);
  text-shadow: 0 0 15px rgba(29, 201, 169, 0.6);
}

/* TEXT */
.sd-why-card .custom-h4 {
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
  color: var(--title-color);
}

.sd-why-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-color);
}

/* ================= LARGE TABLET (≤ 992px) ================= */
@media (max-width: 992px) {
  .sd-why {
    padding: 3rem 4%;
  }

  .sd-why-grid {
    grid-template-columns: repeat(2, 1fr);
    /* 2 cards */
    gap: 1.8rem;
  }

  .sd-why-card {
    padding: 1.8rem;
  }
}

/* ================= TABLET (≤ 768px) ================= */
@media (max-width: 768px) {
  .sd-why {
    padding: 3rem 3%;
  }

  .sd-title {
    font-size: 1.8rem;
  }

  .paragraph {
    font-size: 0.95rem;
    max-width: 600px;
    margin: auto;
  }

  .sd-why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .sd-why-card {
    padding: 1.6rem;
    border-radius: 16px;
  }

  .sd-why-card i {
    font-size: 2rem;
  }
}

/* ================= MOBILE LARGE (≤ 576px) ================= */
@media (max-width: 576px) {
  .sd-why {
    padding: 2.5rem 5%;
  }

  .sd-title {
    font-size: 1.6rem;
  }

  .paragraph {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }

  .sd-why-grid {
    grid-template-columns: 1fr;
    /* 1 card per row */
    gap: 1.3rem;
  }

  .sd-why-card {
    padding: 1.5rem;
  }

  .sd-why-card .custom-h4 {
    font-size: 1rem;
  }

  .sd-why-card p {
    font-size: 0.85rem;
  }
}

/* ================= SMALL MOBILE (≤ 400px) ================= */
@media (max-width: 400px) {
  .sd-title {
    font-size: 1.4rem;
  }

  .sd-why-card {
    padding: 1.2rem;
    border-radius: 14px;
  }

  .sd-why-card i {
    font-size: 1.7rem;
  }

  .sd-why-card .custom-h4 {
    font-size: 0.95rem;
  }

  .sd-why-card p {
    font-size: 0.8rem;
    line-height: 1.5;
  }
}

/* ================= TESTIMONIALS ================= */
.sd-testimonials {
  padding: 5rem 5%;
  text-align: center;
}

.testimonials-grid {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.testimonial-card {

  background: var(--card-color);
  /* theme card color */
  backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2rem;
  width: 300px;
  position: relative;
  transform: translateY(50px);
  opacity: 0;
  transition: 0.6s ease;
}

.testimonial-card i {
  font-size: 2rem;
  color: var(--first-color);
  margin-bottom: 1rem;
}

.testimonial-card h4 {
  margin-top: 1rem;
  font-size: 1rem;
  font-weight: 600;
}

.testimonial-card span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

/* HOVER EFFECT */
.testimonial-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 0 25px rgba(29, 201, 169, 0.25);
  /* brand glow */
}

/* SHOW ANIMATION */
.testimonial-card.show {
  transform: translateY(0);
  opacity: 1;
}

/* CLIENT INFO */
.client-info {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
  text-align: left;
}

/* IMAGE */
.client-info img {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--first-color);
  transition: 0.4s ease;
}

/* TEXT */
.client-info .custom-h5 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--title-color);
}

.client-info span {
  font-size: 0.85rem;
  color: var(--text-color);
}

/* TESTIMONIAL TEXT */
.testimonial-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 1rem 0;
  text-align: left;
  color: var(--text-color);
}

/* STARS */
.stars {
  color: var(--first-color);
  font-size: 1rem;
  text-align: left;
}

/* ================= TESTIMONIALS RESPONSIVE ================= */

/* TABLET LARGE ≤ 992px */
@media (max-width: 992px) {
  .sd-testimonials {
    padding: 4rem 4%;
  }

  .testimonial-card {
    width: 280px;
    padding: 1.8rem;
  }

  .testimonial-card i {
    font-size: 1.9rem;
  }

  .client-info img {
    width: 65px;
    height: 65px;
  }

  .client-info .custom-h5 {
    font-size: 0.95rem;
  }

  .client-info span {
    font-size: 0.8rem;
  }

  .testimonial-card p {
    font-size: 0.9rem;
  }

  .stars {
    font-size: 0.95rem;
  }
}

/* TABLET ≤ 768px */
@media (max-width: 768px) {
  .sd-testimonials {
    padding: 3.5rem 3%;
  }

  .testimonial-card {
    width: 260px;
    padding: 1.6rem;
  }

  .testimonial-card i {
    font-size: 1.8rem;
  }

  .client-info img {
    width: 60px;
    height: 60px;
  }

  .client-info .custom-h5 {
    font-size: 0.9rem;
  }

  .client-info span {
    font-size: 0.75rem;
  }

  .testimonial-card p {
    font-size: 0.88rem;
  }

  .stars {
    font-size: 0.9rem;
  }
}

/* MOBILE LARGE ≤ 576px */
@media (max-width: 576px) {
  .testimonials-grid {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .testimonial-card {
    width: 90%;
    padding: 1.5rem;
  }

  .testimonial-card i {
    font-size: 1.7rem;
  }

  .client-info img {
    width: 55px;
    height: 55px;
  }

  .client-info .custom-h5 {
    font-size: 0.85rem;
  }

  .client-info span {
    font-size: 0.75rem;
  }

  .testimonial-card p {
    font-size: 0.85rem;
  }

  .stars {
    font-size: 0.85rem;
  }
}

/* SMALL MOBILE ≤ 400px */
@media (max-width: 400px) {
  .testimonial-card {
    padding: 1.2rem;
    border-radius: 16px;
  }

  .testimonial-card i {
    font-size: 1.6rem;
  }

  .client-info img {
    width: 50px;
    height: 50px;
  }

  .client-info .custom-h5 {
    font-size: 0.8rem;
  }

  .client-info span {
    font-size: 0.7rem;
  }

  .testimonial-card p {
    font-size: 0.8rem;
  }

  .stars {
    font-size: 0.8rem;
  }
}

/* ================= CONTACT CTA ================= */
.sd-contact-cta {
  padding: 1.5rem 5%;
  text-align: center;
  border-radius: 20px;
  margin: 0.5rem auto;
  max-width: 1000px;
}

/* TITLE */
.sd-contact-cta h5 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

/* TEXT */
.sd-contact-cta p {
  font-size: 1rem;
  margin-bottom: 2rem;
  color: var(--text-color);
}

/* BUTTON */
.sd-contact-cta .btn {
  padding: 12px 30px;
  font-size: 1rem;
  border-radius: 30px;

  transition: 0.3s ease;
  color: var(--title-color);
}

/* HOVER */
.sd-contact-cta .btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 0 20px rgba(29, 201, 169, 0.5);
  color: var(--title-color);
}





/* ================= STATS SECTION ================= */

#stats-section {
  /* background: #f5f5f5;*/
  padding: 20px 20px 30px 20px;
}

.stats-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

/* Box */
.stat-box {
  padding: 20px;
  transition: 0.3s ease;
}

.stat-box i {
  font-size: 48px;
  color: #1DC9A9;
  margin-bottom: 15px;
}

/* Number */
.stat-box span {
  font-size: 42px;
  font-weight: 700;
  color: var(--title-color)
}

/* Text */
.stat-box p {
  font-size: 14px;
  color: var(--text-color);
  margin-top: 5px;
}

/* Hover */
.stat-box:hover {
  transform: translateY(-5px);
}

/* ================= RESPONSIVE ================= */

/* 1200px */
@media (max-width: 1200px) {
  .stats-container {
    gap: 1.5rem;
  }
}

/* 992px */
@media (max-width: 992px) {
  .stats-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-box span {
    font-size: 36px;
  }
}

/* 768px */
@media (max-width: 768px) {
  .stats-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }

  .stat-box i {
    font-size: 40px;
  }

  .stat-box span {
    font-size: 32px;
  }
}

/* 576px */
@media (max-width: 576px) {
  .stats-container {
    grid-template-columns: 1fr;
  }

  .stat-box {
    padding: 15px;
  }
}

/* 480px */
@media (max-width: 480px) {
  #stats-section {
    padding: 40px 10px;
  }

  .stat-box i {
    font-size: 34px;
  }

  .stat-box span {
    font-size: 28px;
  }

  .stat-box p {
    font-size: 13px;
  }
}

/* 360px */
@media (max-width: 360px) {
  .stat-box span {
    font-size: 24px;
  }

  .stat-box p {
    font-size: 12px;
  }
}


/* ================= FAQ SECTION ================= */

.faq-section {
  /* padding: 80px 5%; */
  padding: 20px 5% 80px 5%;
  /* margin-right: 20px;*/
  background: var(--section-color);
}

/* Titles */
.faq-section .section-title {
  font-size: 45px;
  font-weight: 700;
  line-height: 1.2;
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
  margin-bottom: 1rem;

  text-align: center;
  display: block;
}

.faq-section .section-subtitle {
  color: var(--text-color);
  max-width: 700px;
  margin: 0 auto 0 auto;
  font-size: 16px;
  line-height: 1.7;

  text-align: center;
}

/* Container */
.faq-container {
  max-width: 900px;
  margin: auto;
}

/* Item */
.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Question */
.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--title-color);
  /*font-size: 1.1rem; */
  font-size: 16px;
  font-weight: 500;
  text-align: left;
  padding: 20px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

/* Plus icon */
.faq-question span {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

/* Answer */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
}

.faq-answer p {
  padding: 0 10px 15px;
  color: var(--text-color);
  /*font-size: 0.95rem; */

  font-size: 14px;
  line-height: 1.6;
}

/* Active */
.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-item.active .faq-question span {
  transform: rotate(45deg);
}

/* Hover */
.faq-question:hover {
  color: var(--first-color);
}

/* ---------------- FAQ Section Responsive ---------------- */

/* Base already defined above (desktop) */

/* Large tablets / small laptops (≤992px) */
@media (max-width: 992px) {
  .faq-section {
    padding: 40px 5% 60px 5%;
  }

  .faq-section .section-title {
    font-size: 38px;
  }

  .faq-section .section-subtitle {
    font-size: 15px;
    line-height: 1.6;
    max-width: 600px;
  }

  .faq-question {
    font-size: 15px;
    padding: 18px 10px;
  }

  .faq-question span {
    font-size: 1.3rem;
  }

  .faq-answer p {
    font-size: 13px;
    padding: 0 10px 12px;
  }
}

/* Tablets / medium screens (≤768px) */
@media (max-width: 768px) {
  .faq-section {
    padding: 30px 5% 50px 5%;
  }

  .faq-section .section-title {
    font-size: 32px;
  }

  .faq-section .section-subtitle {
    font-size: 14px;
    line-height: 1.5;
    max-width: 500px;
  }

  .faq-question {
    font-size: 14px;
    padding: 16px 10px;
  }

  .faq-question span {
    font-size: 1.2rem;
  }

  .faq-answer p {
    font-size: 13px;
    padding: 0 10px 10px;
  }
}

/* Small phones / very small screens (≤480px) */
@media (max-width: 480px) {
  .faq-section {
    padding: 20px 5% 40px 5%;
  }

  .faq-section .section-title {
    font-size: 28px;
  }

  .faq-section .section-subtitle {
    font-size: 13px;
    line-height: 1.4;
    max-width: 100%;
    padding: 0 5px;
  }

  .faq-question {
    font-size: 13px;
    padding: 14px 8px;
  }

  .faq-question span {
    font-size: 1.2rem;
  }

  .faq-answer p {
    font-size: 12px;
    padding: 0 8px 10px;
  }
}

/* Extra small phones / portrait small (≤360px) */
@media (max-width: 360px) {
  .faq-section .section-title {
    font-size: 25px;
  }

  .faq-section .section-subtitle {
    font-size: 12px;
    line-height: 1.3;
  }

  .faq-question {
    font-size: 12px;
    padding: 12px 8px;
  }

  .faq-question span {
    font-size: 1rem;
  }

  .faq-answer p {
    font-size: 11px;
    padding: 0 8px 8px;
  }
}


/* ===================== Chat Button ========================== */

#chat-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #1DC9A9;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  z-index: 9999;
}

/* Chat Box */
#chat-box {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 300px;
  background: #fff;
  border-radius: 10px;
  display: none;
  flex-direction: column;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

/* Header */
.chat-header {
  background: #1DC9A9;
  color: #fff;
  padding: 10px;
  display: flex;
  justify-content: space-between;
}

.chat-header button {

  border: none;
  background: none;

  color: white;
}

/* Body */
.chat-body {
  padding: 10px;
  height: 250px;
  overflow-y: auto;
}

.bot-message {
  background: #f1f1f1;
  padding: 8px;
  border-radius: 6px;
  font-size: 16px;
  margin-bottom: 5px;
}

.user-message {
  background: #1DC9A9;
  color: #fff;
  padding: 8px;
  font-size: 16px;
  border-radius: 6px;
  margin-bottom: 5px;
  text-align: right;
}

/* Footer */
.chat-footer {
  display: flex;
}

.chat-footer input {
  flex: 1;
  border: none;
  padding: 10px;
}

.chat-footer button {
  background: #1DC9A9;
  color: #fff;
  border: none;
  padding: 10px;
}