:root {
  /* Primary Colors */
  --primary-color: #0957de;
  --primary-light: #bcd3ff9e;
  --primary-dark: #07388d;

  /* Secondary Colors */
  --secondary-color: #ffffff;
  --secondary-dark: #f5f5f5;

  /* Accent Colors */
  --accent-color: #e6f0ff;
  --accent-dark: #c9deff;

  /* Text Colors */
  --text-primary: #1a1a1a;
  --text-secondary: #555555;
  --text-light: #888888;

  /* Background Colors */
  --background-main: #ffffff;
  --background-soft: #f7f9fc;

  /* Border & Shadow */
  --border-color: #e0e6ed;
  --shadow-light: rgba(0, 0, 0, 0.05);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--background-main);
  color: var(--text-primary);
}

/* Navbar  */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 25px;
  background: var(--background-main);
  box-shadow: 0 4px 12px var(--shadow-light);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo img {
  height: 48px;
}

/* Desktop Menu */
.nav ul {
  display: flex;
  gap: 25px;
  list-style: none;
}

.nav a {
  text-decoration: none;
  color: var(--primary-color);
  font-weight: 500;
  position: relative;
  transition: 0.3s;
}

/* Hover underline animation */
.nav a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: var(--primary-color);
  transition: 0.3s;
}

.nav a:hover::after {
  width: 100%;
}

/* Hamburger */
.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--primary-color);
  background: none;
  border: none;
}

/* Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 999;
}

.close-menu-btn {
  display: none;
}


/* Mobile Design */
@media (max-width: 600px) {
  .close-menu-btn {
    display: block;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--primary-color);
    position: absolute;
    top: 10px;
    right: 10px;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    height: 100%;
    background: var(--background-main);
    flex-direction: column;
    padding: 60px 20px;
    transition: 0.4s ease;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }

  .nav ul {
    flex-direction: column;
    gap: 20px;
  }

  .nav ul li {
    opacity: 0;
    transform: translateX(20px);
    transition: 0.3s ease;
  }

  .nav.active {
    right: 0;
  }

  .nav.active ul li {
    opacity: 1;
    transform: translateX(0);
  }

  /* Overlay active */
  .overlay.active {
    opacity: 1;
    visibility: visible;
  }
}

/* NAVBAR End */

/* MAIN  */

/* Base alert */
.alert {
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  position: fixed;
  bottom: 0px;
  width: 236px;
  right: 10px;
  z-index: 999;
}

/* Success */
.alert-success {
  background-color: var(--accent-dark);
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.error-message {
  background-color: rgb(255, 210, 210);
  color: red;
  border-color: red;
  margin-bottom: 10px;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
}

/* Close button */
.close-btn {
  background: none;
  border: none;
  font-size: 24px; /* FIX: changed from odd 25px to standard 24px */
  cursor: pointer;
  color: inherit;
}

main {
  padding: 2rem;
}

.hero {
  padding: 80px 5%;
  background: var(--background-main);
  position: relative;
  overflow: hidden;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

/* LEFT */
.hero-left {
  flex: 1;
}

.tag {
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
}

.hero-left h1 {
  font-size: 48px;
  color: var(--primary-color);
  margin: 15px 0 30px;
}

.hero-left p {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.hero-left p:last-child {
  margin-top: 8px;
}

.hero-left .plusIcon {
  color: var(--primary-color);
  font-size: 14px;
  display: inline-block;
  animation: rotateIcon 6s linear infinite;
}

@keyframes rotateIcon {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* FEATURES */
.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

.feature {
  display: flex;
  gap: 10px;
}

/* FIX: .icon was using undefined vars --accent and --primary; replaced with correct CSS variables */
.icon {
  width: 35px;
  height: 35px;
  background: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: var(--primary-color);
}

.feature h4 {
  font-size: 14px;
  margin: 0;
}

.feature p {
  font-size: 12px;
  color: #777;
}

/* BUTTON */
/* FIX: var(--primary) → var(--primary-color) */
.hero-btn {
  padding: 14px 30px;
  border: none;
  border-radius: 30px;
  background: var(--primary-color);
  color: white;
  cursor: pointer;
  font-weight: 600;
  text-decoration:none;
}

/* RIGHT */
.hero-right {
  flex: 1;
  position: relative;
}

.hero-right img {
  width: 100%;
  border-radius: 40px;
}

/* CARD */
.doctor-card {
  position: absolute;
  right: -20px;
  bottom: 40px;
  background: white;
  padding: 20px;
  width: 200px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.doctor {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
}

.doctor img {
  width: 35px;
  height: 35px;
  border-radius: 50%;
}

/* FIX: var(--accent) → var(--accent-color) */
.card-btn {
  width: 100%;
  padding: 8px;
  background: var(--accent-color);
  border: none;
  border-radius: 6px;
  margin-top: 10px;
  cursor: pointer;
}

/* MISSION AND VISION */

.mission-vision {
  margin: 80px 0;
  padding: 80px 10%;
  background: var(--accent-color);
  border-radius: 50px 0 50px 0;
}

.mv-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.mv-container:first-child {
  margin-bottom: 60px;
}

.reverse {
  flex-direction: row-reverse;
}

/* TEXT */
.mv-text {
  flex: 1;
}

.mv-text h2 {
  font-size: 36px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.mv-text p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* IMAGE */
.mv-image {
  flex: 1;
}

.mv-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-right {
    display: none;
  }

  .mv-container {
    flex-direction: column;
    text-align: center;
  }

  .reverse {
    flex-direction: column;
  }
}

/* Why Choose Us */

.why-choose-us {
  padding: 80px 10%;
  background: #f7f9fc;
  text-align: center;
}

.section-title h2 {
  font-size: 36px;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.section-title p {
  color: var(--text-secondary);
  margin-bottom: 50px;
}

/* GRID */
.choose-container {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 30px;
}

/* Top 3 cards */
.choose-card:nth-child(1),
.choose-card:nth-child(2),
.choose-card:nth-child(3) {
  grid-column: span 2;
}

/* Bottom cards wider */
.choose-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.choose-card:nth-child(5) {
  grid-column: 4 / span 2;
}

/* CARD */
.choose-card {
  background: white;
  padding: 35px 25px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
}

.choose-card span {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  animation: morphIcon 6s ease-in-out infinite;
}

.choose-card span i {
  font-size: 18px;
  color: var(--primary-color);
}

.choose-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.choose-card p {
  font-size: 14px;
  color: var(--text-light);
}

/* HOVER EFFECT */
.choose-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

@media (max-width: 900px) {
  .choose-container {
    grid-template-columns: 1fr;
  }

  .choose-card {
    grid-column: span 1 !important;
  }
}

/* About Us */

.about-us {
  padding: 80px 10%;
  background: var(--background-main);
}

.about-header {
  text-align: center;
  max-width: 800px;
  margin: auto;
}

.about-header h1 {
  font-size: 40px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.about-header p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ABOUT CONTENT */

.about-content {
  display: flex;
  gap: 60px;
  margin-top: 60px;
  align-items: center;
}

.about-text {
  flex: 2;
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.about-text h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

/* LIST */

.about-list {
  list-style: none;
  padding: 0;
}

.about-list li {
  margin-bottom: 10px;
  color: var(--text-secondary);
}

.about-list li::before {
  content: "+";
  color: var(--primary-color);
  font-weight: bold;
  margin-right: 10px;
}

/* FOUNDER CARD */

.founder-card {
  flex: 1;
  padding: 30px;
  border-radius: 15px;
  text-align: center;
}

.founder-card img {
  width: 55%;
  box-shadow: 0 10px 25px var(--shadow-light);
  border-radius: 5px;
  object-fit: cover;
  margin-bottom: 15px;
}

.founder-card h3 {
  color: var(--primary-color);
}

.founder-card p {
  color: var(--text-light);
}

/* OUR TEAM */

.team-section {
  padding: 80px 20px;
  background: var(--background-soft);
}

/* FIX: .container was defined 3 times (team, faq, testimonial); consolidated into one rule */
.container {
  max-width: 1100px;
  margin: auto;
  position: relative;
  z-index: 2;
}

.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 55px;
}

.tag {
  display: inline-block;
  padding: 6px 16px;
  background: var(--primary-light);
  color: var(--primary-dark);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.section-header h2 {
  font-size: 36px;
  color: var(--primary-color);
  margin-bottom: 14px;
}

.section-header p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.95rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.team-card {
  background: var(--background-main);
  border: 1px solid var(--border-color);
  border-radius: 22px;
  overflow: hidden;
  transition: 0.35s ease;
  box-shadow: 0 8px 24px var(--shadow-light);
  position: relative;
  max-width: 280px;
  margin: auto;
}

.team-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-color);
}

.team-card.featured {
  transform: scale(1.02);
  border: 2px solid var(--primary-color);
}

.team-img {
  height: 240px;
  overflow: hidden;
}

.team-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}

.team-card:hover img {
  transform: scale(1.06);
}

.team-content {
  padding: 20px;
}

.team-content h3 {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.team-content span {
  color: var(--primary-color);
  font-weight: 600;
  display: block;
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.team-content p {
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 18px;
  font-size: 0.88rem;
}

.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent-color);
  color: var(--primary-dark);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  transition: 0.3s;
}

.socials a:hover {
  background: var(--primary-color);
  color: #fff;
}

@media (max-width: 768px) {
  .team-section {
    padding: 70px 16px;
  }

  .team-card {
    max-width: 100%;
  }

  .team-card.featured {
    transform: none;
  }
}

/* CORE VALUES */

.core-values {
  padding: 80px 10%;
  background: var(--background-soft);
  text-align: center;
}

.core-values h2 {
  font-size: 36px;
  color: var(--primary-color);
  margin-bottom: 50px;
}

.values-container {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 30px;
}

/* Top 3 cards */
.value-card:nth-child(1),
.value-card:nth-child(2),
.value-card:nth-child(3) {
  grid-column: span 2;
}

/* Bottom cards wider */
.value-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.value-card:nth-child(5) {
  grid-column: 4 / span 2;
}

/* VALUE CARD */

.value-card {
  background: var(--secondary-color);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 20px var(--shadow-light);
  transition: 0.3s;
}

.value-card span {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  animation: morphIcon 6s ease-in-out infinite;
}

.value-card span i {
  font-size: 18px;
  color: var(--primary-color);
}

.value-card:hover {
  transform: translateY(-6px);
}

/* FIX: @keyframes whyUsIcon was defined twice; merged into one shared keyframe named morphIcon
   and updated all references (.choose-card span and .value-card span) to use it */
@keyframes morphIcon {
  0% {
    border-radius: 12px;
  }
  25% {
    border-radius: 50%;
  }
  50% {
    border-radius: 50% 10% 50% 10%;
  }
  75% {
    border-radius: 10% 50% 10% 50%;
  }
  100% {
    border-radius: 12px;
  }
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .about-content {
    flex-direction: column;
    text-align: center;
  }

  .founder-card img {
    width: 75%;
  }

  .values-container {
    grid-template-columns: 1fr;
  }

  .value-card {
    grid-column: span 1 !important;
  }
}

/* ABOUT US End */

.services {
  padding: 80px 10%;
  background: var(--background-main);
}

.services-header {
  text-align: center;
  max-width: 750px;
  margin: auto;
}

.services-header h1 {
  font-size: 40px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.services-header p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 60px;
}

/* GRID */

.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 35px;
}

/* CARD */

.service-card {
  background: var(--secondary-color);
  padding: 30px;
  border-radius: 14px;
  border: 1px solid var(--border-color);
  box-shadow: 0 8px 20px var(--shadow-light);
  transition: 0.3s;
}

.service-card:hover {
  transform: translateY(-6px);
}

/* ICON */

.service-card span {
  width: 55px;
  height: 55px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  margin-bottom: 15px;
}

.service-card i {
  font-size: 22px;
  color: var(--primary-color);
}

/* TEXT */

.service-card h3 {
  margin-bottom: 12px;
  color: var(--text-primary);
}

.service-card ul {
  padding-left: 18px;
  margin-bottom: 12px;
}

.service-card ul li {
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.service-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .services-container {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 35px;
  }
}

/* SERVICES end */

/* OUR CLIENTS */

.target-clients {
  padding: 80px 10%;
  background: var(--background-soft);
}

/* Header */

.clients-header {
  text-align: center;
  max-width: 700px;
  margin: auto;
}

.clients-header h2 {
  font-size: 36px;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.clients-header p {
  color: var(--text-secondary);
  margin-bottom: 50px;
  line-height: 1.6;
}

/* Grid */

.clients-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

/* Card */

.client-card {
  background: var(--secondary-color);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 30px;
  box-shadow: 0 8px 20px var(--shadow-light);
  transition: 0.3s;
}

.client-card:hover {
  transform: translateY(-6px);
}

/* Icon */

.client-card span {
  width: 55px;
  height: 55px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  margin-bottom: 15px;
}

.client-card i {
  font-size: 22px;
  color: var(--primary-color);
}

/* Text */

.client-card h3 {
  margin-bottom: 12px;
  color: var(--text-primary);
}

.client-card ul {
  padding-left: 18px;
}

.client-card li {
  margin-bottom: 6px;
  color: var(--text-secondary);
}

/* OUR CLIENTS end */

/* FAQ SECTION */

.faq-section {
  padding: 100px 20px;
  background: var(--background-main);
  position: relative;
  overflow: hidden;
}

.faq-section::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 320px;
  height: 320px;
  background: radial-gradient(
    circle,
    rgba(37, 99, 235, 0.12),
    transparent 70%
  );
  pointer-events: none;
}

.faq-section::after {
  content: "";
  position: absolute;
  bottom: -120px;
  left: -120px;
  width: 280px;
  height: 280px;
  background: radial-gradient(
    circle,
    rgba(37, 99, 235, 0.08),
    transparent 70%
  );
  pointer-events: none;
}

/* HEADER */

.faq-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 70px;
}

.faq-header h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.15;
  color: var(--primary-color);
  margin-bottom: 18px;
}

.faq-header p {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 1rem;
}

/* FAQ WRAPPER */

.faq-wrapper {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* FAQ ITEM */

.faq-item {
  background: var(--background-soft);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  overflow: hidden;
  transition:
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    transform 0.35s ease,
    background 0.35s ease;
}

.faq-item:hover {
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

/* QUESTION */

.faq-question {
  width: 100%;
  padding: 24px 28px;
  border: none;
  outline: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  text-align: left;
  transition:
    background 0.35s ease,
    color 0.35s ease;
}

.faq-question span:first-child {
  flex: 1;
  color: var(--text-primary);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.6;
  transition: color 0.35s ease;
}

/* FAQ ICON — scoped to avoid conflict with .icon utility class */
/* FIX: renamed from .icon to .faq-icon to avoid collision with the hero .icon utility class */
.faq-question .faq-icon {
  width: 46px;
  height: 46px;
  min-width: 46px;
  min-height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  color: var(--primary-color);
  font-size: 1.3rem;
  font-weight: 700;
  flex-shrink: 0;
  transition:
    transform 0.35s ease,
    background 0.35s ease,
    color 0.35s ease;
}

/* ACTIVE STATE */

.faq-item.active {
  border-color: var(--primary-color);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.faq-item.active .faq-question {
  background: var(--primary-color);
}

.faq-item.active .faq-question span:first-child {
  color: #fff;
}

.faq-item.active .faq-question .faq-icon {
  background: #fff;
  color: var(--primary-color);
  transform: rotate(45deg);
}

/* ANSWER */

.faq-answer {
  max-height: 0;
  overflow: hidden;
  background: var(--background-soft);
  transition: max-height 0.45s ease;
}

.faq-answer p {
  padding: 20px 28px 28px;
  color: var(--text-secondary);
  line-height: 1.9;
  font-size: 0.97rem;
  margin: 0;
}

/* LIST */

.faq-answer ul {
  padding: 0 28px 28px 50px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-answer li {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 0.95rem;
}

.faq-answer li::marker {
  color: var(--primary-color);
}

/* OPEN */

.faq-item.active .faq-answer {
  max-height: 600px;
}

/* TABLET */

@media (max-width: 768px) {
  .faq-section {
    padding: 80px 16px;
  }

  .faq-header {
    margin-bottom: 55px;
  }

  .faq-question {
    padding: 20px;
    gap: 16px;
  }

  .faq-question span:first-child {
    font-size: 0.96rem;
  }

  .faq-question .faq-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    font-size: 1rem;
  }

  .faq-answer p {
    padding: 16px 20px 24px;
    font-size: 0.92rem;
  }

  .faq-answer ul {
    padding: 0 20px 24px 40px;
  }

  .faq-answer li {
    font-size: 0.9rem;
  }
}

/* MOBILE */

@media (max-width: 480px) {
  .faq-section {
    padding: 65px 14px;
  }

  .faq-header h2 {
    font-size: 1.8rem;
  }

  .faq-question {
    padding: 18px;
    gap: 14px;
  }

  .faq-question span:first-child {
    font-size: 0.92rem;
    line-height: 1.5;
  }

  .faq-question .faq-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    font-size: 0.95rem;
  }

  .faq-answer p {
    padding: 14px 18px 22px;
    font-size: 0.88rem;
    line-height: 1.75;
  }

  .faq-answer ul {
    padding: 0 18px 22px 36px;
  }

  .faq-answer li {
    font-size: 0.88rem;
    line-height: 1.7;
  }
}

/* TESTIMONIAL SECTION */

.testimonial-section {
  padding: 100px 20px;
  background: var(--background-main);
  overflow: hidden;
}

/* HEADER */

.testimonial-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 70px;
}



.testimonial-header h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.2;
  color: var(--primary-color);
  margin-bottom: 18px;
}

.testimonial-header p {
  color: var(--text-secondary);
  line-height: 1.8;
}

/* SLIDER */

.testimonial-slider {
  display: flex;
  align-items: center;
  gap: 20px;
}

.testimonial-wrapper {
  overflow: hidden;
  width: 100%;
  padding-top: 8px;
}

.testimonial-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s ease;
}

/* CARD */

.testimonial-card {
  min-width: calc(33.333% - 16px);
  background: var(--background-soft);
  border: 1px solid var(--border-color);
  border-radius: 28px;
  padding: 32px;
  position: relative;
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-color);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

/* QUOTE */

.quote-icon {
  font-size: 4rem;
  line-height: 1;
  color: var(--primary-light);
  margin-bottom: 10px;
}

/* STARS */

.stars {
  color: #f5b301;
  letter-spacing: 2px;
  margin-bottom: 18px;
}

/* TEXT */

.testimonial-card p {
  color: var(--text-secondary);
  line-height: 1.9;
  font-size: 0.96rem;
  margin-bottom: 28px;
}

/* CLIENT */

.client-info h3 {
  color: var(--text-primary);
  font-size: 1.02rem;
  margin-bottom: 6px;
}

.client-info span {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* BUTTONS */

.testimonial-btn {
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 50%;
  background: var(--background-soft);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  font-size: 1.1rem;
  cursor: pointer;
  flex-shrink: 0;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}

.testimonial-btn:hover {
  background: var(--primary-color);
  color: #fff;
  transform: scale(1.05);
}

/* TABLET */

@media (max-width: 992px) {
  .testimonial-card {
    min-width: calc(50% - 12px);
  }
}

/* MOBILE */

@media (max-width: 768px) {
  .testimonial-section {
    padding: 80px 16px;
  }

  .testimonial-slider {
    gap: 12px;
  }

  .testimonial-card {
    min-width: 100%;
    padding: 26px;
  }

  .testimonial-btn {
    display:none;
  }
}

@media (max-width: 480px) {
  .testimonial-section {
    padding: 65px 14px;
  }

  .testimonial-header h2 {
    font-size: 1.8rem;
  }

  .testimonial-card {
    padding: 22px;
  }

  .testimonial-card p {
    font-size: 0.88rem;
    line-height: 1.75;
  }
}

/* Blog */
.blog {
  padding: 80px 10%;
  background: var(--accent-color);
}

/* Header */

.blog-header {
  text-align: center;
  max-width: 750px;
  margin: auto;
}

.blog-header h1 {
  font-size: 40px;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.blog-header p {
  color: var(--text-secondary);
  margin-bottom: 60px;
  line-height: 1.6;
}

/* Grid */

.blog-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 35px;
}

/* Blog Card */

.blog-card {
  background: var(--secondary-color);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 25px var(--shadow-light);
  transition: 0.3s;
}

.blog-card:hover {
  transform: translateY(-6px);
}

/* Image */

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* Content */

.blog-content {
  padding: 20px;
}

.blog-content h3 {
  color: var(--text-primary);
  margin-bottom: 10px;
}

.blog-content p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 15px;
  line-height: 1.6;
}

/* Button */

.blog-content a {
  text-decoration: none;
  color: var(--primary-color);
  font-weight: 600;
}

.blog-content a:hover {
  text-decoration: underline;
}
/* Blog end */

/* CONTACT SECTION */

.contact {
  padding: 80px 10%;
  background: #f9fbff;
}

/* HEADER */

.contact-header {
  text-align: center;
  max-width: 700px;
  margin: auto;
  margin-bottom: 60px;
}

.contact-header h2 {
  font-size: 36px;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.contact-header p {
  color: #666;
  line-height: 1.6;
}

/* LAYOUT */

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

/* IMAGE SECTION */

.contact-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.contact-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}

.contact-image:hover img {
  transform: scale(1.08);
}

/* OVERLAY */

.contact-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(9, 87, 222, 0.85), rgba(7, 56, 141, 0.9));
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: 35px;
}

/* CONTACT BOX */

.contact-box {
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(255, 255, 255, 0.15);
  padding: 15px;
  border-radius: 10px;
  backdrop-filter: blur(6px);
  transition: 0.3s;
}

.contact-box:hover {
  transform: translateX(8px);
  background: rgba(255, 255, 255, 0.25);
}

.contact-box i {
  min-width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 18px;
  animation: iconPulse 3s infinite;
}

/* ICON ANIMATION */

@keyframes iconPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
  100% {
    transform: scale(1);
  }
}

.contact-box h4 {
  color: white;
  margin-bottom: 3px;
}

.contact-box p {
  color: #e6f0ff;
  font-size: 14px;
}

.contact-box a {
  color: #e6f0ff;
  text-decoration: none;
  transition: 0.3s;
}

.contact-box a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* FORM */

.contact-form {
  background: white;
  padding: 35px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
}

.success-message {
  color: green;
  padding: 5px;
  font-weight: bold;
}

/* INPUT GROUP */

.input-group {
  position: relative;
  margin-bottom: 20px;
}

.input-group input,
.input-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  outline: none;
  font-size: 14px;
}

.input-group textarea {
  resize: none;
}

/* FLOATING LABEL */

.input-group label {
  position: absolute;
  left: 12px;
  top: 12px;
  background: white;
  padding: 0 4px;
  font-size: 14px;
  color: #888;
  transition: 0.3s;
  pointer-events: none;
}

.input-group input:focus + label,
.input-group input:valid + label,
.input-group textarea:focus + label,
.input-group textarea:valid + label {
  top: -8px;
  font-size: 12px;
  color: var(--primary-color);
}

/* BUTTON */

.contact-btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 30px;
  background: var(--primary-color);
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.contact-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* SCROLL REVEAL */

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1s ease forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE */

@media (max-width: 768px) {
  .contact-container {
    grid-template-columns: 1fr;
  }

  .contact-header h2 {
    font-size: 28px;
  }
}
/* Contact End */

/* FOOTER */

footer {
  text-align: center;
  padding: 1rem;
  background-color: var(--primary-dark);
  color: var(--secondary-color);
}

/* FOOTER End */

@media (max-width: 600px) {
  main {
    padding: 0;
  }

  .hero-left p:last-child {
    margin-top: 15px;
  }

  .contact {
    padding: 0;
    border-radius: 0;
  }

  .contact-image {
    border-radius: 0;
  }

  .contact-overlay {
    padding: 20px;
  }

  .contact-box {
    gap: 10px;
  }

  .about-list {
    text-align: justify;
  }
}