/*!
 * Plus10 Website Styles
 * Organized stylesheet with mobile-first responsive design
 *
 * Table of Contents:
 * 1. Reset & Normalize
 * 2. Design Tokens (CSS Variables) 
 * 3. Base Layout
 * 4. Components (Buttons, Forms)
 * 5. Sections (Hero, Services, etc.)
 * 6. Responsive Design
 */

/* ==========================================================================
   RESET & NORMALIZE
   ========================================================================== */
*, *::before, *::after { 
  box-sizing: border-box; 
}

html, body { 
  height: 100%; 
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", Arial, sans-serif;
  line-height: 1.6;
  color: #333333;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background-color: #f8f9fa;
}

/* ==========================================================================
   DESIGN TOKENS (CSS Variables)
   ========================================================================== */
:root {
  /* Layout */
  --container-max: 1200px;
  --space: 1rem;
  --radius: 8px;

  /* Colors */
  --bg-primary: #f8f9fa;
  --bg-secondary: #e8f0ff;
  --bg-dark: #1a1a1a;
  --card-bg: #ffffff;
  --text-primary: #2c3e50;
  --text-secondary: #848C99;
  --text-muted: #7f8c8d;
  --text-light-muted: #848C99;
  --text-white: #ffffff;
  --text-white-secondary: rgba(255,255,255,0.9);
  --accent: #1D3D74;
  --accent-blue: #5C86B0;
  --accent-blue-hover: #357abd;
  --icon-bg: #5C86B0;
  --btn-primary: #5C86B0;
  --btn-primary-hover: #5C86B0;
  --border-light: #e9ecef;
  --border-lighter: #e1e5e9;
  --input-bg: #ffffff;
  --input-border: #ddd;
  --input-focus: #4a90e2;
  --shadow: 0 4px 10px rgba(0,0,0,0.12);
  --shadow-hover: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-large: 0 10px 30px rgba(0,0,0,0.1);
}

/* ==========================================================================
   BASE LAYOUT
   ========================================================================== */
.container {
  width: min(var(--container-max), 90%);
  margin-inline: auto;
}

/* ==========================================================================
   COMPONENTS - BUTTONS
   ========================================================================== */
.btn {
  
  display: inline-block;
  padding: 12px 28px;
  border-radius: 7px;
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn--primary {
  background: var(--accent-blue);
  color: var(--text-white);
}

.btn--primary:hover { 
  background: var(--accent-blue-hover);
}

/* ==========================================================================
   SECTIONS - HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg-dark);
  color: var(--text-white);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image:url("../Images/bg-pc.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 60px 0;
  max-width: 800px;
  margin: 0 auto;
}

.hero__logo {
  width: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 180px;
}

.hero__title {
  font-weight: 700;
  font-size: clamp(18px, 4vw, 68px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 30px 0;
  color: var(--text-white);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero__subtitle {
  max-width: 840px;
  margin: 0 auto 40px;
  color: var(--text-white-secondary);
  font-size: clamp(14px, 2vw, 15px);
  font-weight: 400;
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* ==========================================================================
   SECTIONS - WHY CHOOSE
   ========================================================================== */
.why-choose {
  padding: 80px 0;
  background: var(--bg-primary);
}

.why-choose__content {
  max-width: 1200px;
  margin: 0 auto;
}

.why-choose__header {
  text-align: center;
  margin-bottom: 60px;
}

.why-choose__title {
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 24px 0;
  line-height: 1.2;
}

.why-choose__description {
  font-size: clamp(14px, 2vw, 16px);
  color: var(--text-light-muted);
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto;
  font-weight: 400;
}

.why-choose__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 80px;
  /* max-width: 900px; */
  margin-left: auto;
  margin-right: auto;
}

.why-choose__card {
  text-align: center;
  padding: 30px 40px;
  background: var(--card-bg);
  border-radius: 7px;
  border: 1px solid var(--border-lighter);
  margin: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: var(--shadow);
  /* max-width: 400px; */
}

.why-choose__card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.why-choose__card-icon {
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.why-choose__card-icon img {
  width: 54px;
  height: 64px;
  display: block;
  margin: 0 auto;
}

.why-choose__card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 20px 0;
  line-height: 1.3;
}

.why-choose__card-text {
  font-size: 15px;
  color: var(--text-light-muted);
  line-height: 1.7;
  margin: 0;
  font-weight: 400;
  /* max-width: 300px; */
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   SECTIONS - OUR VALUES
   ========================================================================== */
.our-values {
  padding: 80px 0;
  background: var(--bg-primary);
}

.our-values__content {
  max-width: 1200px;
  margin: 0 auto;
}

.our-values__header {
  text-align: center;
  margin-bottom: 60px;
}

.our-values__title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--accent);
  margin: 0;
  line-height: 1.2;
}

.our-values__cards {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  justify-content: center;  /* <-- this perfectly centers last row */
  max-width: 1200px;
  margin: 0 auto;
}

.our-values__card {
  flex: 1 1 280px;  /* min width */
  max-width: 320px; /* prevents overstretch */
  text-align: center;
  padding: 24px;
}

.our-values__card-icon {
  margin-bottom: 20px;
}

.our-values__card-icon-circle {
  width: 64px;
  height: 64px;
  background: #5C86B0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.our-values__card-icon img {
  width: 36px;
  height: 36px;
  background: none;
  border-radius: 0;
  padding: 0;
}

.our-values__card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 16px 0 12px;
  color: #1D3D74;
}

.our-values__card-text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 25ch;
  margin: 0 auto;
}

/* ==========================================================================
   SECTIONS - OUR SERVICES
   ========================================================================== */
.our-services {
  background: #F1F5FC;
}

.our-services__content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 1px;
}

.our-services__header {
  text-align: center;
  margin-bottom: 60px;
}

.our-services__title {
  font-size: clamp(2rem, 4vw, 3.0rem);
  font-weight: 700;
  color: var(--accent);
  margin: 0;
  line-height: 1.2;
}

.our-services__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.our-services__card {
  background: var(--card-bg);
  border-radius: 7px;
  padding: 40px 50px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  width: 366.67px;
  height: 346.52px;
}

.our-services__card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.our-services__card-icon {
  margin-bottom: 24px;
}

.our-services__card-icon img {
  width: 36px;
  height: 36px;
  display: block;
  margin: 20px auto 0px;
}
.our-services__card-circle {
  width: 64px;
  height: 64px;
  border: 1px solid #435977;
  border-radius: 50%;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}
.our-services__card-title {
  font-size: 24px;
  font-weight: 800;
  color: #1D3D74;
  margin: 0 0 16px 0;
  line-height: 1.3;
}

.our-services__card-text {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
  font-weight: 400;
}
/* ==========================================================================
   SECTIONS - HOW IT WORKS
   ========================================================================== */
.how-it-works {
  padding: 80px 0;
  background: var(--bg-primary);
  vertical-align: middle
}

.how-it-works__content {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Equal width columns */
  gap: 60px;
  align-items: stretch; /* Changed from start to stretch */
  min-height: 0px; /* Ensure minimum height */
  margin-top: 0px; /* Reduce gap from title */
}

.how-it-works__left {
  padding-right: 0px;
  display: flex;
  flex-direction: column;
  justify-content: center; /* Center content vertically */
}

.how-it-works__header {
  margin-bottom: 20px;
  text-align: left;
}

.how-it-works__title {
  font-size: clamp(2rem, 4vw, 3.0rem);
  font-weight: 700;
  color: var(--accent);
  margin: 0;
  line-height: 1.2;
}

.how-it-works__subtitle-wrapper {
  margin-bottom: 10px;
}

.how-it-works__subtitle {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
  font-weight: 400;
}

.how-it-works__steps {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.how-it-works__step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.how-it-works__step-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: var(--icon-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
}

.how-it-works__step-icon img {
  width: 30px;
  height: 30px;
  filter: brightness(0) invert(1);
}

.how-it-works__step-content {
  flex: 1;
}

.how-it-works__step-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1D3D74;
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.how-it-works__step-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
  font-weight: 400;
}

.how-it-works__right {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.how-it-works__image {
  height: 100%;
  width: 100%;
}

.how-it-works__image img {
  width: 90%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
}

/* ==========================================================================
   SECTIONS - HONEST WITH CLIENTS
   ========================================================================== */
.honest-clients {
  padding: 80px 0;
  background: var(--bg-primary);
}

.honest-clients__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: stretch; /* Changed from center to stretch */
  min-height: 500px; /* Ensure minimum height */
}

.honest-clients__left {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
}

.honest-clients__image {
 height: 100%;
 width: 100%;
}

.honest-clients__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  margin-top: 11px;
}

.honest-clients__right {
  max-width: 550px;
}

.honest-clients__header {
  margin-bottom: 40px;
}

.honest-clients__title {
  font-size: clamp(1.8rem, 4vw, 3.0rem);
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 20px 0;
  line-height: 1.3;
}

.honest-clients__description {
  font-size: 14px;
  color: var(--text-light-muted);
  line-height: 1.7;
  margin: 0;
  font-weight: 400;
}

.honest-clients__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.honest-clients__feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.honest-clients__feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.honest-clients__feature-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.honest-clients__feature-content {
  flex: 1;
  padding-top: 12px;
}

.honest-clients__feature-title {
  font-size: 14px;
  font-weight: 600;
  color: #1D3D74;
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.honest-clients__feature-text {
  font-size: 14px;
  color: var(--text-light-muted);
  line-height: 1.5;
  margin: 0;
  font-weight: 400;
}

/* ==========================================================================
   SECTIONS - BOOK APPOINTMENT
   ========================================================================== */
.book-appointment {
  padding: 100px 0; /* Increased padding */
  background: var(--bg-primary);
}

.book-appointment__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
}

.book-appointment__left {
  max-width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

/* ==========================================================================
   COMPONENTS - FORMS
   ========================================================================== */
.book-appointment__form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  max-width: 480px;
}

.book-appointment__form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.book-appointment__form-group {
  display: flex;
  flex-direction: column;
}

.book-appointment__input {
  width: 100%;
  padding: 18px 20px;
  border: 0.9px solid #1D3D74;
  border-radius: 7px;
  background: #ffffff;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  color: #333333;
  transition: all 0.3s ease;
  
}

.book-appointment__input::placeholder {
  color: #9ca3af;
  font-weight: 400;
}

.book-appointment__input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
  background: #ffffff;
}

.book-appointment__textarea {
  resize: vertical;
  min-height: 140px;
  font-family: "Poppins", sans-serif;
}

.book-appointment__form-submit {
  margin-top: 8px;
  align-self: center;
  text-align: center;
}

.book-appointment__btn {
  background: var(--btn-primary);
  color: var(--text-white);
  border: none;
  padding: 18px 48px;
  border-radius: 7px;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.book-appointment__btn:hover {
  background: var(--btn-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(74, 144, 226, 0.35);
}

.book-appointment__btn:active {
  transform: translateY(0);
}

.book-appointment__right {
  max-width: 520px;
  padding: 0px 0px 40px 0px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.book-appointment__title {
  font-size: clamp(2.2rem, 4vw, 3.2rem); /* Larger title */
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 24px 0; /* Increased margin */
  line-height: 1.2;
  letter-spacing: -0.5px; /* Tighter letter spacing */
}

.book-appointment__description {
  font-size: 16px; /* Larger description */
  color: var(--text-light-muted);
  line-height: 1.7;
  margin: 0;
  font-weight: 400;
}

/* ==========================================================================
   SECTIONS - FOOTER
   ========================================================================== */
.footer {
  background: #F1F5FC;
  padding: 60px 0 0;
}

.footer__main {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 60px;
  align-items: start;
  padding-bottom: 50px;
}

.footer__left {
  max-width: 300px;
}

.footer__logo {
  margin-bottom: 16px;
}

.footer__logo img {
  height: 45px;
  width: auto;
}

.footer__tagline {
  font-size: 15px;
  color: var(--text-light-muted);
  line-height: 1.6;
  margin: 0;
  font-weight: 400;
}

.footer__title {
  font-size: 18px;
  font-weight: 600;
  color: #1D3D74;
  margin: 0 0 45px 0;
  line-height: 1.3;
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-light-muted);
}

.footer__contact-item a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

.footer__contact-item a:hover {
  color: var(--text-secondary);
}

.footer__contact-icon {
  width: 16px;
  height: 16px;
  opacity: 0.7;
}

.footer__social {
  display: flex;
  gap: 16px;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  transition: opacity 0.3s ease;
}

.footer__social-link:hover {
  opacity: 0.7;
}

.footer__social-link img {
  width: 24px;
  height: 24px;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-top: 1px solid black;
}

.footer__legal {
  display: flex;
  gap: 30px;
}

.footer__legal-link {
  font-size: 13px;
  color: var(--text-light-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer__legal-link:hover {
  color: var(--text-secondary);
}

.footer__copyright {
  font-size: 13px;
  color: var(--text-light-muted);
  text-align: center;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

.footer__solution {
  font-size: 13px;
}

.footer__solution strong {
  font-weight: 600;
}

.footer__solution a {
  text-decoration: none !important;
  color: #333333 !important;
}

.footer__solution a:hover {
  color: #333333 !important;
  text-decoration: none !important;
}

.footer__solution a:visited {
  color: #333333 !important;
  text-decoration: none !important;
}

.footer__solution a:active {
  color: #333333 !important;
  text-decoration: none !important;
}

.footer__solution a strong {
  font-weight: 700 !important;
  color: #333333 !important;
}

.footer__social-bottom {
  display: flex;
  gap: 12px;
}

.footer__social-bottom .footer__social-link {
  width: 32px;
  height: 32px;
}

.footer__social-bottom .footer__social-link img {
  width: 18px;
  height: 18px;
}

.footer__solution a {
  text-decoration: none !important;
  color: #333333 !important;
}

.footer__solution a strong {
  font-weight: 700 !important;
  color: #333333 !important;
}

.footer__domedia-logo {
  height: 16px;
  width: auto;
  vertical-align: middle;
  margin-right: 4px;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

/* Tablet Portrait (800x1112): 800px - 819px */
@media (min-width: 800px) and (max-width: 819px) {
  .hero {
    min-height: 70vh;
    height: 70vh;
  }
  
  .hero__inner {
    padding: 35px 0;
  }
  
  .hero__logo {
    height: 50px;
    margin-top: 50px;
    margin-bottom: 45px;
  }
  
  .hero__title {
    font-size: clamp(44px, 7vw, 58px);
    margin-bottom: 25px;
    max-width: 700px;
  }
  
  .hero__subtitle {
    display: none;
  }
  
  .btn {
    padding: 14px 32px;
    font-size: 15px;
    max-width: 250px;
  }
  
  .why-choose,
  .our-values,
  .our-services,
  .how-it-works,
  .honest-clients,
  .book-appointment {
    padding: 70px 20px;
  }
  
  .why-choose__cards {
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 750px;
  }
  
  .why-choose__card {
    padding: 40px 30px;
  }
  
  .our-values__cards {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    max-width: 700px;
    justify-items: center;
  }
  
  .our-values__card {
    padding: 25px 20px;
    width: 100%;
    max-width: 320px;
  }
  
  .our-services__cards {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 700px;
    margin: 0 auto;
  }
  
  .our-services__card {
    padding: 35px 20px;
    width: 100%;
  }
  
  .our-services__card-circle {
    width: 55px;
    height: 55px;
    margin-bottom: 16px;
  }
  
  .our-services__card-icon img {
    width: 35px;
    height: 35px;
  }
  
  .our-services__card-title {
    font-size: 16px;
    margin-bottom: 12px;
  }
  
  .our-services__card-text {
    font-size: 12px;
  }
  
  .how-it-works__content {
    grid-template-columns: 1fr 1fr;
    gap: 50px;
  }
  
   .how-it-works__right {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 0;
    
  }
  .how-it-works__left {
    padding-right: 25px;
  }
  
  .honest-clients__content {
    grid-template-columns: 1fr 1fr;
    gap: 50px;
  }
  
  .honest-clients__features {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  
  .book-appointment__content {
    grid-template-columns: 1fr 1fr;
    gap: 50px;
  }
  
  .footer__main {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 50px;
  }
}

/* iPad Air & Tablet: 820px - 1024px */
@media (min-width: 820px) and (max-width: 1024px) {
  .our-values__cards {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 650px;
    margin: 0 auto;
    justify-items: center;
  }
  
  .our-values__card {
    flex: none !important;
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
  
  .our-services__cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 700px;
  }
  
  .our-services__card {
    padding: 35px 25px;
  }
  
  .our-services__card-circle {
    width: 75px;
    height: 75px;
  }
  
  .our-services__card-icon img {
    width: 50px;
    height: 50px;
  }
  
  .how-it-works__content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .how-it-works__left {
    max-width: 600px;
    margin: 0 auto;
    padding-right: 0;
  }
  
  .how-it-works__right {
    display: none;
  }
  
  .honest-clients__content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .honest-clients__left {
    order: 2;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .honest-clients__right {
    order: 1;
    max-width: 600px;
    margin: 0 auto;
  }
  
  .honest-clients__features {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    justify-items: center;
  }
  
  .book-appointment__btn {
    margin-left: auto;
    margin-right: auto;
    display: block;
  }
}

/* Standard Tablet: 768px - 819px */
@media (min-width: 768px) and (max-width: 819px) {
  .hero__logo {
    height: 55px;
    margin-bottom: 45px;
  }
  
  .why-choose__cards,
  .our-services__cards {
    gap: 40px;
  }
  
  .why-choose__card,
  .our-services__card {
    padding: 35px 25px;
  }
  
  .our-values__cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 600px;
  }
  
  .our-values__card:nth-child(4),
  .our-values__card:nth-child(5) {
    grid-column: auto;
  }
  
  .how-it-works__content,
  .honest-clients__content,
  .book-appointment__content {
    gap: 60px;
  }
  
  .how-it-works__content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .how-it-works__left {
    padding-right: 0;
  }
  
  .how-it-works__right {
    display: none;
  }
  
  .footer__main {
    gap: 40px;
  }
}

/* Large Desktop: 1200px+ */
@media (min-width: 1200px) {
  .hero__inner {
    padding: 80px 0;
  }
  
  .hero__logo {
    height: 57px;
    margin-bottom: 45px;
  }
  
  .why-choose,
  .our-values,
  .our-services,
  .how-it-works,
  .honest-clients,
  .book-appointment {
    padding: 90px 0;
  }
  
  .why-choose__header,
  .our-values__header,
  .our-services__header {
    margin-bottom: 45px;
    margin-top: 5px;
  }
  
  .why-choose__cards {
    gap: 20px;
    margin-top: 80px;
  }
  
  .why-choose__card {
    padding: 40px;
  }
  /* .our-services__card {
    padding: 45px 35px;
  } */
  
  .our-services__cards {
    gap: 35px;
  }
  
  /* .our-values__cards {
    gap: 50px;
  }
   */
  .our-values__card {
    padding: 0px 0px;
  }
  
  /* Form Messages */
  .form-message {
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
  }
  
  .form-message--success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
  }
  
  .form-message--error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
  }

  /* ==========================================================================
     POPUP MODAL
     ========================================================================== */
  .popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .popup-overlay.show {
    opacity: 1;
    visibility: visible;
  }

  .popup-modal {
    background: white;
    border-radius: 12px;
    padding: 40px 30px 30px;
    max-width: 450px;
    width: 90%;
    margin: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transform: scale(0.7);
    transition: transform 0.3s ease;
    position: relative;
  }

  .popup-overlay.show .popup-modal {
    transform: scale(1);
  }

  .popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
    transition: color 0.2s ease;
  }

  .popup-close:hover {
    color: #333;
  }

  .popup-icon {
    text-align: center;
    margin-bottom: 20px;
  }

  .popup-icon.error {
    color: #e74c3c;
    font-size: 48px;
  }

  .popup-title {
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0 0 15px 0;
    line-height: 1.3;
  }

  .popup-message {
    text-align: center;
    font-size: 16px;
    color: #666;
    line-height: 1.5;
    margin: 0 0 25px 0;
  }

  .popup-button {
    display: block;
    width: 100%;
    padding: 14px 20px;
    background: var(--btn-primary);
    color: white;
    border: none;
    border-radius: 7px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
  }

  .popup-button:hover {
    background: var(--btn-primary-hover);
    transform: translateY(-1px);
  }

  /* Mobile responsiveness */
  @media (max-width: 480px) {
    .popup-modal {
      padding: 30px 20px 20px;
      max-width: 320px;
    }
    
    .popup-title {
      font-size: 20px;
    }
    
    .popup-message {
      font-size: 14px;
    }
    
    .popup-button {
      padding: 12px 20px;
      font-size: 14px;
    }
  }
  
  .how-it-works__content {
    gap: 0px;
    margin-top: 20px;
  }
  
  .honest-clients__content {
    gap: 30px;
  }
  
  .how-it-works__left {
    padding-right: 40px;
  }
  
  
  .honest-clients__header {
    margin-bottom: 50px;
  }
  
  .how-it-works__steps {
    gap: 35px;
  }
  
  .honest-clients__features {
    gap: 35px;
  }
  
  .footer {
    padding: 80px 0 0;
  }
  
  .footer__main {
    gap: 80px;
    padding-bottom: 60px;
  }
}

/* Large Mobile: 481px - 767px */
@media (min-width: 481px) and (max-width: 767px) {
  .hero {
    min-height: 90vh;
    height: 90vh;
    margin: 0;
  }
  
  .hero__bg {
    background-image: url("../Images/mobile-hero.png");
  }
  
  .hero__logo {
    height: 45px;
    margin-top: 40px;
    margin-bottom: 45px;
  }
  
  .hero__title {
    font-size: clamp(38px, 8vw, 52px);
    max-width: 550px;
  }
  
  .hero__subtitle {
    display: none;
  }
  
  .btn {
    padding: 11px 22px;
    font-size: 14px;
    max-width: 220px;
  }
}

/* iPhone 14 Pro Max range: 430px - 480px */
@media (min-width: 431px) and (max-width: 480px) {
  .hero {
    min-height: 100vh;
    height: 100vh;
    margin: 0;
  }
  
  .hero__bg {
    background-image: url("../Images/mobile-hero.png");
  }
  
  .hero__logo {
    height: 40px;
    margin-top: 30px;
    margin-bottom: 45px;
  }
  
  .hero__title {
    font-size: clamp(36px, 8vw, 48px);
    max-width: 100px;
  }
  
  .hero__subtitle {
    display: none;
  }
}

/* iPad Pro & Tablet: 1024px and below */
@media (max-width: 1024px) {
  .hero {
    min-height: 70vh;
    height: 67vh;
    margin: 0;
  }
  
  .hero__bg {
    background-image: url("../Images/mobile-hero.png");
    background-size: cover;
    background-position: center 35%;
    width: 100%;
    height: 100%;
  }
  
  .hero__inner { 
    padding: 20px 0;
  }
  
  .hero__logo {
    height: 45px;
    margin-top: 30px;
    margin-bottom: 45px;
  }
  
  .hero__title {
    margin-bottom: 20px;
  }
  
  .hero__subtitle {
    display: none;
  }
  
  .hero__actions {
    margin-top: 30px;
  }
  
  .btn {
    width: auto;
    max-width: 200px;
    padding: 10px 20px;
    font-size: 14px;
  }
  
  /* Enhanced iPad Pro styling */
  .hero {
    min-height: 75vh;
    height: 75vh;
    padding: 0;
  }
  
  .hero__inner {
    padding: 40px 0;
  }
  
  .hero__logo {
    height: 65px;
    margin-top: 60px;
    margin-bottom: 45px;
  }
  
  .hero__title {
    font-size: clamp(48px, 7vw, 64px);
    max-width: 750px;
  }
  
  .hero__subtitle {
    /* font-size: 19px;
    max-width: 750px; */
    display: none;
  }
  
  .btn {
    padding: 16px 36px;
    font-size: 17px;
    max-width: 280px;
  }
  
  .why-choose,
  .our-values,
  .how-it-works,
  .honest-clients,
  .book-appointment {
    padding: 75px 25px;
  }
  
  /* Our Services with no top/bottom padding */
  .our-services {
    padding: 0px 25px;
  }
  
  /* Optimized card layouts */
  .why-choose__cards {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 950px;
  }
  
  .our-values__cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 45px;
    max-width: 950px;
  }
  
  .our-services__cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 45px;
  }
  
  /* How It Works - side by side for iPad Pro */
  .how-it-works__content {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
  }
  
  .how-it-works__left {
    /* padding-right: 35px; */
  }
  
  .how-it-works__right {
    display: block;
  }
  
  /* Honest with Clients - side by side for iPad Pro */
  .honest-clients__content {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
  }
  
  .honest-clients__left {
    display: block;
  }
  
  .honest-clients__features {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
  }
  
  /* Book An Appointment - proper alignment */
  .book-appointment__content {
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: flex-start;
  }
  
  .book-appointment__left {
    display: flex;
    align-items: flex-start;
  }
  
  .book-appointment__right {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 0;
  }
  
  .book-appointment__form {
    margin-top: 0;
  }
  
  .book-appointment__header {
    margin-bottom: 20px;
  }
  
  .why-choose__header,
  .our-values__header,
  .our-services__header,
  .how-it-works__header,
  .honest-clients__header {
    margin-bottom: 20px;
  }
  
  .why-choose__cards {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
  }
  
  .why-choose__card {
    padding: 30px 20px;
  }
  
  .why-choose__card-icon {
    margin-bottom: 20px;
  }
  
  .why-choose__card-icon img {
    width: 40px;
    height: 40px;
  }
  
  .why-choose__card-title {
    font-size: 1.1rem;
    margin-bottom: 12px;
  }
  
  .why-choose__card-text {
    font-size: 13px;
  }
  
  .our-values__cards {
    grid-template-columns: 1fr;
    gap: 30px;
    /* max-width: 400px; */
  }
  
  .our-values__card {
    padding: 25px 15px;
  }
  
  .our-values__card-icon {
    margin-bottom: 16px;
  }
  
  .our-values__card-icon img {
    width: 50px;
    height: 50px;
  }
  
  .our-values__card-title {
    font-size: 1rem;
    margin-bottom: 12px;
  }
  
  .our-values__card-text {
    font-size: 13px;
  }
  
  .our-services__cards {
    /* grid-template-columns: 1fr; */
    gap: 11px;
    max-width: 600px;
    /* margin: 0 auto; */
  }
  
  .our-services__card {
    padding: 35px 30px;
  }
  
  .our-services__card-circle {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
  }
  
  .our-services__card-icon {
    margin-bottom: 20px;
  }
  
  .our-services__card-icon img {
    width: 55px;
    height: 55px;
  }
  
  .our-services__card-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
  }
  
  .our-services__card-text {
    font-size: 14px;
    line-height: 1.6;
  }
  
  .how-it-works__content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .how-it-works__left {
    order: 1;
  }
  
  .how-it-works__right {
    order: 2;
    display: block;
  }
  
  .honest-clients__content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .honest-clients__right {
    order: 1;
  }
  
  .honest-clients__left {
    order: 2;
    display: block;
  }
  
  .book-appointment__content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .how-it-works__steps {
    gap: 25px;
  }
  
  .how-it-works__step {
    gap: 16px;
  }
  
  .how-it-works__step-icon {
    width: 50px;
    height: 50px;
  }
  
  .how-it-works__step-icon img {
    width: 25px;
    height: 25px;
  }
  
  .how-it-works__step-title {
    font-size: 1rem;
  }
  
  .how-it-works__step-text {
    font-size: 13px;
  }
  
  
  .honest-clients__features {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }
  
  .honest-clients__feature {
    gap: 14px;
  }
  
  .honest-clients__feature-icon {
    width: 40px;
    height: 40px;
  }
  
  .honest-clients__feature-icon img {
    width: 40px;
    height: 40px;
  }
  

  
  .honest-clients__feature-title {
    font-size: 15px;
  }
  
  .honest-clients__feature-text {
    font-size: 13px;
  }
  
  .book-appointment__left {
    max-width: none;
    order: 2;
  }
  
  .book-appointment__right {
    max-width: none;
    order: 1;
    padding: 0;
  }
  
  .book-appointment__form-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .book-appointment__input {
    padding: 14px 18px;
    font-size: 14px;
  }
  
  .book-appointment__btn {
    padding: 14px 32px;
    font-size: 15px;
    margin-left: auto;
    margin-right: auto;
    display: block;
  }
  
  .footer {
    padding: 50px 0 0;
    margin: 1px;
  }
  
  .footer__main {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
    padding-bottom: 40px;
  }
  
  .footer__left {
    max-width: none;
  }
  
  .footer__contact {
    align-items: center;
  }
  
  .footer__contact-item {
    justify-content: center;
  }
  
  .footer__social {
    justify-content: center;
  }
  
  .footer__bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  
  .footer__legal {
    order: 1;
  }
  
  .footer__copyright {
    order: 2;
    flex-direction: column;
    gap: 4px;
  }
  
  .footer__social-bottom {
    order: 3;
    justify-content: center;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .our-services__cards{
    max-width: none;
  }

  .our-services__card{
    width: auto;
  }
}

/* iPhone 14 Pro Max and similar: 481px - 430px */
@media (max-width: 430px) {
  .container {
    width: 98%;
  }
  
  .hero {
    min-height: 100vh;
    height: 100vh;
    margin: 0;
  }
  
  .hero__bg {
    background-image: url("../Images/mobile-hero.png");
  }
  
  .hero__inner {
    padding: 18px 0;
  }
  
  .hero__logo {
    height: 38px;
    margin-top: 25px;
    margin-bottom: 45px;
  }
  
  .hero__title {
    margin-bottom: 80px;
    font-size: clamp(34px, 8vw, 44px);
    max-width: 450px;
  }
  
  .hero__subtitle {
    display: none;
  }
  
  .why-choose,
  .our-values,
  .our-services,
  .how-it-works,
  .honest-clients,
  .book-appointment {
    padding: 50px 3px;
    margin: 5px;
  }
  
  .btn {
    padding: 8px 16px;
    font-size: 12px;
    max-width: 160px;
  }
  
  .our-services__cards {
    grid-template-columns: 1fr;
    gap: 15px;
    max-width: 320px;
    margin: 0 auto;
    justify-items: center;
  }
  
  .our-services__card {
    width: 100% !important;
    height: auto !important;
    padding: 25px 20px;
    margin: 0 auto;
  }
  
  .why-choose__cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Mobile: 480px and below */
@media (max-width: 480px) {
  .container {
    width: 95%;
  }
  
  .hero {
    min-height: 100vh;
    height: 100vh;
    margin: 0;
  }
  
  .hero__bg {
    background-image: url("../Images/mobile-hero.png");
    background-size: cover;
    background-position: center 70%;
    background-attachment: scroll;
    width: 100%;
    height: 100%;
  }
  
  .hero__inner {
    padding: 15px 0 80px 0;
  }
  
  .hero__logo {
    height: 50px;
    margin-top: 20px;
    margin-bottom: 45px;
  }
  
  .hero__title {
    margin-bottom: 295px;
    /* font-size: clamp(32px, 7vw, 40px); */
    max-width: 380px;
  }
  
  .hero__subtitle {
    display: none;
  }
  
  .btn {
    padding: 19px 19px;
    font-size: 14px;
    max-width: 180px;
    border-radius: 8px;
  }
  
  .why-choose,
  .our-values,
  .our-services,
  .how-it-works,
  .honest-clients,
  .book-appointment {
    padding: 50px 0;
    margin: 1px 12px;
    margin: 5px 10px;
  }
  
  .why-choose__header,
  .our-values__header,
  .our-services__header,
  .how-it-works__header,
  .honest-clients__header {
    margin-bottom: 35px;
  }
  
  .why-choose__cards {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 35px;
  }
  
  .why-choose__card {
    padding: 25px 15px;
  }
  
  .why-choose__card-icon {
    margin-bottom: 16px;
  }
  
  .why-choose__card-icon img {
    width: 36px;
    height: 36px;
  }
  
  .our-values__cards {
    gap: 0px; /*our value cards */
  }
  
  .our-values__card {
    padding: 20px 10px;
  }
  
  .our-values__card-icon {
    margin-bottom: 14px;
  }
  
  .our-values__card-icon img {
    width: 45px;
    height: 45px;
  }
  
  .our-services__cards {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 350px;
    margin: 0 auto;
    justify-items: center;
  }
  
  .our-services__card {
    width: 100% !important;
    height: auto !important;
    /* max-width: 320px;
    padding: 30px 25px; */
    margin: 0 auto;
  }
  
  .our-services__card-circle {
    width: 70px;
    height: 70px;
    margin-bottom: 18px;
  }
  
  .our-services__card-icon {
    margin-bottom: 17px;
  }
  
  .our-services__card-icon img {
    width: 48px;
    height: 48px;
  }
  
  .our-services__card-title {
    font-size: 1.1rem;
    margin-bottom: 12px;
  }
  
  .our-services__card-text {
    font-size: 13px;
  }
  
  .how-it-works__content,
  .honest-clients__content,
  .book-appointment__content {
    gap: 35px;
  }
  
  .how-it-works__header,
  .honest-clients__header {
    margin-bottom: 25px;
  }
  
  .how-it-works__steps {
    gap: 20px;
  }
  
  .how-it-works__step {
    gap: 14px;
  }
  
  .how-it-works__step-icon {
    width: 45px;
    height: 45px;
    margin-top: 2px;
  }
  
  .how-it-works__step-icon img {
    width: 22px;
    height: 22px;
  }
  
  .honest-clients__features {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .honest-clients__image{
    display: none;
  } 
    

  .honest-clients__feature {
    gap: 12px;
  }
  
  .honest-clients__feature-icon {
    width: 38px;
    height: 38px;
  }
  
  .honest-clients__feature-icon img {
    width: 38px;
    height: 38px;
  }
  
  .honest-clients__feature-title {
    font-size: 14px;
  }
  
  .honest-clients__feature-text {
    font-size: 12px;
  }
  
  .honest-clients__description {
    text-align: justify;
  }
  
  /* Hide images on mobile */
  .how-it-works__right {
    display: none;
  }
  .book-appointment__form {
    gap: 18px;
  }
  
  .book-appointment__input {
    padding: 12px 16px;
    font-size: 13px;
  }
  
  .book-appointment__textarea {
    min-height: 100px;
  }
  
  .book-appointment__btn {
    width: auto;
    padding: 14px 24px;
    font-size: 14px;
    margin-left: auto;
    margin-right: auto;
    display: block;
    min-width: 200px;
  }
  
  .footer {
    padding: 40px 0 0;
    margin: 1px;
  }
  
  .footer__main {
    gap: 30px;
    padding-bottom: 30px;
  }
  
  .footer__logo img {
    height: 40px;
  }
  
  .footer__title {
    font-size: 16px;
    margin-bottom: 16px;
  }
  
  .footer__contact {
    gap: 10px;
  }
  
  .footer__social {
    gap: 12px;
  }
  
  .footer__social-link {
    width: 36px;
    height: 36px;
  }
  
  .footer__social-link img {
    width: 20px;
    height: 20px;
  }
  
  .footer__bottom {
    gap: 16px;
    padding: 16px 0;
  }
  
  .footer__legal {
    gap: 20px;
  }
}

/* ==========================================================================
   THANK YOU PAGE
   ========================================================================== */

.thank-you-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg-dark);
  color: var(--text-white);
}

.thank-you-hero__bg {
  position: absolute;
  inset: 0;
  background-image: url("../Images/bg-pc.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.thank-you-hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 20px;
  max-width: 800px;
  margin: 0 auto;
}

.thank-you-hero__logo {
  /* margin-bottom: 60px; */
  margin-top: 15px;
}

.thank-you-hero__logo img {
  height: 60px;
  width: auto;
  max-width: 100%;
}

.thank-you-hero__title {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 700;
  color: var(--text-white);
  margin: 0 0 20px 0;
  letter-spacing: 0.03em;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.thank-you-hero__subtitle {
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  font-weight: 400;
  color: var(--text-white-secondary);
  margin: 0 0 30px 0;
  line-height: 1.6;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.thank-you-hero__actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.thank-you-hero__btn {
  display: inline-block;
  padding: 18px 48px;
  background: var(--btn-primary);
  color: var(--text-white);
  text-decoration: none;
  border-radius: 7px;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: none;
}

.thank-you-hero__btn:hover {
  background: var(--btn-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(74, 144, 226, 0.35);
}

.thank-you-hero__btn:active {
  transform: translateY(0);
}

/* Mobile Styles for Thank You Page */
@media (max-width: 768px) {
  .thank-you-hero__logo {
    margin-bottom: 40px;
  }
  
  .thank-you-hero__logo img {
    height: 45px;
  }
  
  .thank-you-hero__title {
    margin-bottom: 20px;
  }
  
  .thank-you-hero__subtitle {
    margin-bottom: 40px;
    font-size: 15px;
  }
  
  .thank-you-hero__btn {
    padding: 14px 28px;
    font-size: 14px;
  }
}