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);
  }
}

/* ================= HERO SECTION ================= */
.hero {
  /* padding: 100px 5%;*/
  padding: 100px 5% 50px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--section-color);
  gap: 40px;
  position: relative;
  overflow: hidden;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
}

/* Left Content */
.hero-content {
  flex: 1;
  max-width: 550px;
}

.hero-content h1 {
  font-size: 45px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 10px;
  color: var(--title-color);
}

.hero-content h1 span {
  color: var(--first-color);
}

.hero-content p {
  font-size: 16px;
  color: var(--text-color);
  line-height: 1.7;
  margin-bottom: 30px;
}

/*
.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  
}*/

/* 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);
}

/* Hero Visual */
.hero-visual {
  /* position: relative;
  max-width: 600px;
  margin: auto; */

  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Dashboard Image */
.dashboard-img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  display: block;

}



/* ================= RESPONSIVE ================= */
@media (max-width: 991px) {
  .hero {
    flex-direction: column-reverse;
    text-align: center;
  }

  .hero-visual {
    margin-bottom: 40px;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .hero-content p {
    font-size: 15px;
  }

  .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;

  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 30px;
  }

  .hero-content p {
    font-size: 14px;
  }

  .dashboard-img {
    width: 100%;
  }

  .hero-visual {
    max-width: 100%;
  }

  .floating-stat {
    font-size: 0.85rem;
    padding: 8px 12px;
  }

  .stat-2 {
    bottom: 40px;
    right: 5px;
  }

  .stat-3 {
    bottom: 10px;
    left: 30%;
  }

  .hero-container {
    flex-direction: column;
    text-align: center;
  }

  .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;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 24px;
  }

  .hero-content p {
    font-size: 13px;
  }

  .dashboard-img {
    width: 100%;
  }

  .hero {
    padding: 2rem 1rem;
    text-align: center;
  }

  .hero-container {
    flex-direction: column;
    gap: 2rem;
  }

  .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 */
  }
}

@media (max-width: 360px) {
  .hero-content h1 {
    font-size: 20px;
    /* final reduction */
  }

  .hero-content p {
    font-size: 12px;
    /* compact but readable */
  }
}


/* SECTION TITLE 

.section-title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 50px;
} */

/* ================= WHY CHOOSE US ================= */

.sd-why {
  padding: 2rem 5%;
  text-align: center;
}

.sd-title {
  font-size: 36px;
  margin-bottom: 25px;
  font-weight: 700;
  line-height: 1.2;
}

/* 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%; */
   padding: 1.5rem 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%;*/
   padding: 1.5rem 4%;
  }

  .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%; */
   padding: 1.3rem 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;
  }
}


/* ================= SERVICES ================= */
.services {
  padding: 2rem 5%;
  text-align: center;
}

/* TITLE */
.section-title {
  font-size: 36px;
  margin-bottom: 25px;
  font-weight: 700;
  line-height: 1.2;
}

/* GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* CARD */
.service-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 */
.service-card.show {
  transform: translateY(0);
  opacity: 1;
}

/* ICON */
.service-card i {
  font-size: 2.3rem;
  color: var(--first-color);
  margin-bottom: 1rem;
  transition: 0.4s ease;
}

/* HOVER EFFECT */
.service-card:hover {
  transform: translateY(-12px) scale(1.05);
  box-shadow: 0 0 25px rgba(29, 201, 169, 0.25);
}

.service-card:hover i {
  transform: scale(1.2) rotate(5deg);
  text-shadow: 0 0 15px rgba(29, 201, 169, 0.6);
}

/* TEXT */
.service-card .custom-h4 {
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
  color: var(--title-color);
}

.service-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-color);
}

/* ================= LARGE TABLET (≤ 992px) ================= */
@media (max-width: 992px) {
  .services {
   /* padding: 3rem 4%; */
   padding: 1.5rem 4%;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.8rem;
  }

  .service-card {
    padding: 1.8rem;
  }
}

/* ================= TABLET (≤ 768px) ================= */
@media (max-width: 768px) {
  .services {
  /*  padding: 3rem 3%; */
  padding: 1.5rem 4%;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .service-card {
    padding: 1.6rem;
    border-radius: 16px;
  }

  .service-card i {
    font-size: 2rem;
  }
}

/* ================= MOBILE LARGE (≤ 576px) ================= */
@media (max-width: 576px) {
  .services {
   /* padding: 2.5rem 5%; */
   padding: 1.3rem 5%;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.3rem;
  }

  .service-card {
    padding: 1.5rem;
  }

  .service-card .custom-h4 {
    font-size: 1rem;
  }

  .service-card p {
    font-size: 0.85rem;
  }
}

/* ================= SMALL MOBILE (≤ 400px) ================= */
@media (max-width: 400px) {
  .section-title {
    font-size: 1.4rem;
  }

  .service-card {
    padding: 1.2rem;
    border-radius: 14px;
  }

  .service-card i {
    font-size: 1.7rem;
  }

  .service-card .custom-h4 {
    font-size: 0.95rem;
  }

  .service-card p {
    font-size: 0.8rem;
    line-height: 1.5;
  }
}


/* ================= FAQ SECTION ================= */

.faq-section {
  /* padding: 80px 5%; */
  padding: 20px 5% 20px 5%;
  /* margin-right: 20px;*/
  background: var(--section-color);
}

/* Titles */
.faq-section .section-title {
  font-size: 36px;
  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: 20px 5% 20px 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: 20px 5% 20px 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% 20px 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;
  }
}


/* PLATFORMS */

.platforms {
  padding: 5px 10% 40px 10%;
  text-align: center;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.tech-item {

  /*background:#0D2038; */
  padding: 25px 15px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  transition: 0.3s;
}

.tech-item i {
  font-size: 38px;
  margin-bottom: 10px;
}

.tech-item span {
  color: var(--title-color);
  font-size: 16px;
}

.tech-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #1DC9A9;
}


/* ================= CONTACT CTA ================= */
.seo-contact-cta {
  /*  padding: 1.5rem 5%; */
  padding: 1.5rem 5% 2% 5%;
  text-align: center;
  border-radius: 20px;
  margin: 0.5rem auto;
  max-width: 1000px;
}

/* TITLE */
.seo-contact-cta h6 {
  font-size: 2rem;
  margin-bottom: 1rem;
  line-height: 1.1;
  font-weight: 700;
}

/* TEXT */
.seo-contact-cta p {
  font-size: 1rem;
  margin-bottom: 2rem;
  color: var(--text-color);
}

/* BUTTON */
.seo-contact-cta .btn {
  padding: 12px 30px;
  font-size: 1rem;
  border-radius: 30px;
  transition: 0.3s ease;
  background: #1DC9A9;
  color: var(--title-color);
}


/* HOVER */
.seo-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);
}

/* ================= TABLETS (≤ 991px) ================= */
@media (max-width: 991px) {

  .seo-contact-cta {
    padding: 1.5rem 4% 3% 4%;
    max-width: 90%;
  }

  .seo-contact-cta h6 {
    font-size: 1.6rem;
  }

  .seo-contact-cta p {
    font-size: 0.95rem;
  }

  .seo-contact-cta .btn {
    padding: 10px 25px;
    font-size: 0.95rem;
  }
}

/* ================= MOBILE (≤ 768px) ================= */
@media (max-width: 768px) {

  .seo-contact-cta {
    padding: 1.5rem 3% 3% 3%;
    border-radius: 15px;
  }

  .seo-contact-cta h6 {
    font-size: 1.4rem;
    line-height: 1.3;
  }

  .seo-contact-cta p {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }

  .seo-contact-cta .btn {
    padding: 10px 22px;
    font-size: 0.9rem;
  }
}

/* ================= SMALL MOBILE (≤ 576px) ================= */
@media (max-width: 576px) {

  .seo-contact-cta {
    padding: 1.2rem 5%;
    margin: 0.5rem 10px;
  }

  .seo-contact-cta h6 {
    font-size: 1.2rem;
  }

  .seo-contact-cta p {
    font-size: 0.85rem;
  }

  .seo-contact-cta .btn {
    width: 80%; /* full width button */
    padding: 12px;
    font-size: 0.9rem;
  }
}

/* ================= EXTRA SMALL DEVICES (≤ 400px) ================= */
@media (max-width: 400px) {

  .seo-contact-cta h6 {
    font-size: 1.1rem;
  }

  .seo-contact-cta p {
    font-size: 0.8rem;
  }

  .seo-contact-cta .btn {
    font-size: 0.85rem;
    padding: 10px;
  }
}


/* ===================== 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;
}