/* ================= HOMEPAGE STYLES ================= */

/* ============================================
   HOME HERO SECTION
   ============================================ */
.home-hero {
  position: relative;
  padding: 120px 0;
  background: linear-gradient(rgba(16, 31, 75, 0.82), rgba(16, 31, 75, 0.82)), 
              url('../images/hero.png') center/cover no-repeat;
  color: #ffffff;
  text-align: center;
}

.home-hero-inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.home-hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 20px;
  font-weight: 700;
}

.home-hero p {
  font-size: 18px;
  line-height: 1.6;
  color: #eaf3ff;
  margin-bottom: 32px;
  max-width: 680px;
}

.home-hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   HOME INTRO SECTION
   ============================================ */
.home-intro-section {
  padding: 80px 0;
}

.home-intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 50px;
  align-items: start;
}

.home-intro-grid h2 {
  font-size: 30px;
  margin-bottom: 20px;
  font-weight: 700;
  color: #1c1c2b;
}

.home-intro-grid h2 span {
  color: #2952e3;
}

.home-intro-grid p {
  color: #6b7280;
  margin-bottom: 16px;
  font-size: 15px;
  line-height: 1.7;
}

/* Appointment Form */
.home-appointment-form-box {
  background: #101f4b;
  color: #ffffff;
  padding: 35px 30px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(16, 31, 75, 0.08);
}

.home-appointment-form-box h3 {
  margin-bottom: 20px;
  font-size: 20px;
  text-align: center;
  color: #ffffff;
}

.home-form-row {
  margin-bottom: 14px;
}

.home-form-row-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.home-appointment-form input,
.home-appointment-form select,
.home-appointment-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 6px;
  border: none;
  font-family: inherit;
  font-size: 14px;
  background: #ffffff;
  color: #1c1c2b;
}

.home-appointment-form textarea {
  resize: vertical;
}

/* ============================================
   HOME SERVICE TABS SECTION
   ============================================ */
.home-service-tabs-section {
  padding: 80px 0;
  background: #eaeaea;
}

.home-service-tabs-header {
  text-align: center;
  margin-bottom: 60px;
}

.home-service-tabs-header h4 {
  color: #1c1c2b;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 16px;
}

.home-service-tabs-header h2 {
  font-size: 32px;
  font-weight: 700;
  color: #1c1c2b;
}

.home-service-tabs-header h2 span {
  color: #2952e3;
}

.home-service-tabs-header p {
  max-width: 700px;
  margin: 15px auto 0;
  color: #1c1c2b;
  font-size: 16px;
  line-height: 1.6;
}

.home-service-tabs-container {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 50px;
  align-items: start;
}

/* Tabs Menu */
.home-service-tabs-menu {
  display: flex;
  flex-direction: column;
}

.home-tab-btn {
  background: #ffffff;
  border: 1px solid #eaeaea;
  border-radius: 6px;
  padding: 16px 20px;
  text-align: left;
  font-size: 15px;
  font-weight: 500;
  color: #1c1c2b;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  transition: all 0.3s ease;
  font-family: inherit;
}

.home-tab-btn i {
  color: #4fa3e3;
  font-size: 18px;
  width: 20px;
  text-align: center;
}

.home-tab-btn:hover,
.home-tab-btn.active {
  background: #f8fbff;
  border-color: #2952e3;
  color: #2952e3;
  box-shadow: 0 4px 10px rgba(41, 82, 227, 0.08);
}

.home-tab-btn.active i {
  color: #2952e3;
}

/* Tab Content */
.home-tab-pane {
  display: none;
  animation: homeFadeIn 0.4s ease-in-out;
}

.home-tab-pane.active {
  display: block;
}

@keyframes homeFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.home-tab-pane-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.home-tab-pane-inner h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #1c1c2b;
}

.home-tab-pane-inner p {
  margin-bottom: 15px;
  color: #1c1c2b;
  font-size: 14px;
  line-height: 1.7;
}

.home-tab-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(16, 31, 75, 0.08);
}

.home-feature-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0 0;
}

.home-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px;
  border: 1px solid #eaeaea;
  border-radius: 6px;
  margin-bottom: 12px;
  font-size: 13.5px;
  color: #6b7280;
  background: #fafafa;
}

.home-feature-list li i {
  color: #2952e3;
  margin-top: 3px;
}

/* ============================================
   HOME RESULTS SECTION (Counter)
   ============================================ */
.home-results-section {
  padding: 80px 20px;
  background-color: #f8fbfe;
  position: relative;
  overflow: hidden;
}

.home-results-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(30deg, #dbeafe 12%, transparent 12.5%, transparent 87%, #dbeafe 87.5%, #dbeafe),
                    linear-gradient(150deg, #dbeafe 12%, transparent 12.5%, transparent 87%, #dbeafe 87.5%, #dbeafe),
                    linear-gradient(30deg, #dbeafe 12%, transparent 12.5%, transparent 87%, #dbeafe 87.5%, #dbeafe),
                    linear-gradient(150deg, #dbeafe 12%, transparent 12.5%, transparent 87%, #dbeafe 87.5%, #dbeafe),
                    linear-gradient(60deg, #dbeafe77 25%, transparent 25.5%, transparent 75%, #dbeafe77 75.5%, #dbeafe77),
                    linear-gradient(60deg, #dbeafe77 25%, transparent 25.5%, transparent 75%, #dbeafe77 75.5%, #dbeafe77);
  background-size: 80px 140px;
  background-position: 0 0, 0 0, 40px 70px, 40px 70px, 0 0, 40px 70px;
  opacity: 0.15;
}

.home-results-relative-content {
  position: relative;
  z-index: 1;
}

.home-results-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #1c1c2b;
}

.home-results-title .home-highlight-cyan {
  color: #00a8ec;
}

.home-results-title .home-highlight-dark {
  color: #1e293b;
  position: relative;
  display: inline-block;
}

.home-results-title .home-highlight-dark::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 4px;
  background: #00a8ec;
  border-radius: 4px;
}

.home-results-subtitle {
  color: #64748b;
  font-size: 15px;
  margin-bottom: 60px;
}

.home-results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.home-results-card {
  padding: 20px 30px;
  position: relative;
  text-align: center;
}

.home-results-card:not(:last-child) {
  border-right: 1px solid #e2e8f0;
}

.home-results-card .home-card-heading {
  font-size: 22px;
  font-weight: 800;
  color: #1e3a8a;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.home-results-card .home-upto-tag {
  display: block;
  font-size: 14px;
  color: #64748b;
  margin-bottom: 10px;
}

.home-results-card .home-stat-number {
  font-size: 48px;
  font-weight: 800;
  color: #1e3a8a;
  line-height: 1;
  margin-bottom: 12px;
}

.home-results-card .home-card-label {
  font-size: 16px;
  font-weight: 700;
  color: #00a8ec;
  margin-bottom: 6px;
}

.home-results-card .home-card-subtext {
  font-size: 13px;
  color: #64748b;
  margin: 0;
}

/* ============================================
   HOME CTA BANNER
   ============================================ */
.home-cta-banner {
  background: linear-gradient(rgba(16, 31, 75, 0.82), rgba(16, 31, 75, 0.82)), 
              url('../images/hero.png') center/cover no-repeat;
  color: #ffffff;
  padding: 60px 0;
  text-align: center;
}

.home-cta-banner h2 {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #ffffff;
}

.home-cta-banner p {
  margin-bottom: 24px;
  color: #eaf3ff;
  font-size: 16px;
}

/* ============================================
   HOME SPLIT SECTION
   ============================================ */
.home-split-section {
  padding: 80px 0;
}

.home-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.home-split-grid img {
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(16, 31, 75, 0.08);
  width: 100%;
  height: auto;
}

.home-split-grid h2 {
  font-size: 28px;
  margin-bottom: 20px;
  font-weight: 700;
  color: #1c1c2b;
}

.home-split-grid ul {
  margin: 18px 0;
  list-style: none;
  padding: 0;
}

.home-split-grid ul li {
  margin-bottom: 10px;
  color: #6b7280;
  padding-left: 22px;
  position: relative;
  font-size: 14px;
  line-height: 1.6;
}

.home-split-grid ul li::before {
  content: "✓";
  color: #2952e3;
  position: absolute;
  left: 0;
  font-weight: 700;
}

.home-split-actions {
  display: flex;
  gap: 15px;
  margin-top: 10px;
  flex-wrap: wrap;
}

/* ============================================
   HOME TESTIMONIALS SECTION
   ============================================ */
.home-testimonial-section {
  background: linear-gradient(rgba(16, 31, 75, 0.82), rgba(16, 31, 75, 0.82)), 
              url('../images/hero.png') center/cover no-repeat;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.home-testimonial-section .home-section-header {
  text-align: center;
  margin-bottom: 40px;
}

.home-testimonial-section .home-section-header h2 {
  color: #ffffff;
  font-size: 32px;
  font-weight: 700;
}

.home-testimonial-section .home-section-header .home-text-blue {
  color: #4fa3e3;
}

/* Testimonial Slider */
.home-testimonial-slider .swiper-slide {
  height: auto;
  display: flex;
}

.home-testimonial-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 30px 22px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.home-testimonial-card:hover {
  transform: translateY(-5px);
  border-color: #2952e3;
  box-shadow: 0 12px 25px rgba(41, 82, 227, 0.12);
}

.home-testimonial-card img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 18px;
  border: 3px solid #eff6ff;
}

.home-testimonial-card p {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 15px 0 20px 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: #475569;
}

.home-testimonial-card .home-client-info {
  margin-top: 15px;
  text-align: center;
}

.home-testimonial-card .home-client-info h4 {
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 3px;
}

.home-testimonial-card .home-client-info .home-client-title {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #2952e3;
  margin-bottom: 2px;
}

.home-testimonial-card .home-client-info .home-client-meta {
  display: block;
  font-size: 13px;
  color: #64748b;
}

/* Swiper Pagination */
.home-testimonial-section .swiper-pagination-bullet {
  background: #cbd5e1 !important;
  opacity: 1 !important;
  width: 10px !important;
  height: 10px !important;
  transition: all 0.3s ease !important;
}

.home-testimonial-section .swiper-pagination-bullet-active {
  background: #2952e3 !important;
  width: 26px !important;
  border-radius: 6px !important;
}

/* ============================================
   HOME BLOG SECTION
   ============================================ */
.home-blog-section {
  background-color: #f8fafc;
  padding: 80px 0;
}

.home-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.home-blog-card {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.home-blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(16, 31, 75, 0.09);
  border-color: #cbd5e1;
}

.home-blog-card-img {
  width: 100%;
  height: 160px;
  overflow: hidden;
  background-color: #f1f5f9;
}

.home-blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: fit;
  display: block;
  transition: transform 0.4s ease;
}

.home-blog-card:hover .home-blog-card-img img {
  transform: scale(1.05);
}

.home-blog-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.home-blog-meta {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.home-blog-meta i {
  color: #2952e3;
  font-size: 13px;
}

.home-blog-title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 12px;
}

.home-blog-title a {
  color: #101f4b;
  text-decoration: none;
  transition: color 0.3s ease;
}

.home-blog-card:hover .home-blog-title a {
  color: #4fa3e3;
}

.home-blog-desc {
  color: #64748b;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.home-blog-card-footer {
  border-top: 1px solid #e2e8f0;
  padding-top: 16px;
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.home-blog-read-more {
  color: #4fa3e3;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
}

.home-blog-read-more i {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.home-blog-read-more:hover {
  color: #101f4b;
}

.home-blog-card:hover .home-blog-read-more i {
  transform: translateX(4px);
}

.home-blog-social-share {
  display: flex;
  align-items: center;
  gap: 12px;
}

.home-blog-social-share a {
  color: #94a3b8;
  font-size: 13px;
  transition: color 0.3s ease, transform 0.2s ease;
  text-decoration: none;
}

.home-blog-social-share a:hover {
  color: #101f4b;
  transform: translateY(-2px);
}

/* ============================================
   HOME FAQ SECTION
   ============================================ */
.home-faq-section {
  padding: 80px 0;
}

.home-faq-section .home-section-header {
  text-align: center;
  margin-bottom: 40px;
}

.home-faq-section .home-section-header h2 {
  font-size: 32px;
  font-weight: 700;
  color: #1c1c2b;
}

.home-faq-section .home-section-header h2 span {
  color: #2952e3;
}

.home-faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.home-faq-item {
  background: #eaf3ff;
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}

.home-faq-question {
  padding: 18px 22px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #1c1c2b;
}

.home-faq-question span {
  color: #1c1c2b;
  font-size: 20px;
}

.home-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 22px;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.7;
}

.home-faq-item.active .home-faq-answer {
  max-height: 200px;
  padding: 0 22px 18px;
}

/* ============================================
   HOME BUTTONS
   ============================================ */
.home-btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  text-align: center;
  font-family: inherit;
  font-size: 14px;
  text-decoration: none;
}

.home-btn-primary {
  background: #2952e3;
  color: #ffffff;
}

.home-btn-primary:hover {
  background: #4fa3e3;
  color: #ffffff;
}

.home-btn-outline {
  background: transparent;
  border: 2px solid #ffffff;
  color: #ffffff;
}

.home-btn-outline:hover {
  background: #ffffff;
  color: #101f4b;
}

.home-btn-outline-dark {
  border-color: #2952e3;
  color: #2952e3;
}

.home-btn-outline-dark:hover {
  background: #2952e3;
  color: #ffffff;
}

/* ============================================
   HOME CONTAINER
   ============================================ */
.home-container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   HOME TEXT UTILITIES
   ============================================ */
.home-text-center {
  text-align: center;
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

/* Tablets */
@media (max-width: 991px) {
  .home-intro-grid {
    grid-template-columns: 1fr;
  }

  .home-service-tabs-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .home-service-tabs-menu {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 5px;
    -webkit-overflow-scrolling: touch;
  }

  .home-tab-btn {
    white-space: nowrap;
    margin-bottom: 0;
    margin-right: 12px;
    flex-shrink: 0;
  }

  .home-split-grid {
    grid-template-columns: 1fr;
  }

  .home-results-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .home-results-card:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 40px;
  }

  .home-blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-hero {
    padding: 70px 0;
  }

  .home-hero h1 {
    font-size: 34px;
  }

  .home-hero p {
    font-size: 16px;
  }

  .home-testimonial-section {
    padding: 60px 0;
  }

  .home-results-title {
    font-size: 34px;
  }
}

/* Mobile Phones */
@media (max-width: 768px) {
  .home-hero {
    padding: 60px 0;
  }

  .home-hero h1 {
    font-size: 28px;
  }

  .home-hero p {
    font-size: 15px;
  }

  .home-hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .home-hero-actions .home-btn {
    width: 100%;
    max-width: 280px;
  }

  .home-intro-section {
    padding: 50px 0;
  }

  .home-intro-grid h2 {
    font-size: 26px;
  }

  .home-service-tabs-section {
    padding: 50px 0;
  }

  .home-service-tabs-header h2 {
    font-size: 26px;
  }

  .home-tab-pane-inner {
    grid-template-columns: 1fr;
  }

  .home-results-section {
    padding: 50px 15px;
  }

  .home-results-title {
    font-size: 28px;
  }

  .home-results-card .home-stat-number {
    font-size: 36px;
  }

  .home-cta-banner {
    padding: 50px 0;
  }

  .home-cta-banner h2 {
    font-size: 26px;
  }

  .home-split-section {
    padding: 50px 0;
  }

  .home-split-grid h2 {
    font-size: 24px;
  }

  .home-blog-section {
    padding: 50px 0;
  }

  .home-blog-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .home-blog-card-img {
    height: 140px;
  }

  .home-blog-card-body {
    padding: 18px;
  }

  .home-blog-title {
    font-size: 16px;
  }

  .home-faq-section {
    padding: 50px 0;
  }

  .home-faq-section .home-section-header h2 {
    font-size: 26px;
  }

  .home-testimonial-section .home-section-header h2 {
    font-size: 26px;
  }

  .home-appointment-form-box {
    padding: 25px 20px;
  }

  .home-form-row-two-col {
    grid-template-columns: 1fr;
  }

  .home-container {
    padding: 0 15px;
  }
}

/* Small Mobile Phones */
@media (max-width: 480px) {
  .home-hero {
    padding: 50px 0;
  }

  .home-hero h1 {
    font-size: 24px;
  }

  .home-hero p {
    font-size: 14px;
  }

  .home-intro-grid h2 {
    font-size: 22px;
  }

  .home-service-tabs-header h2 {
    font-size: 22px;
  }

  .home-tab-btn {
    padding: 12px 16px;
    font-size: 13px;
  }

  .home-results-title {
    font-size: 24px;
  }

  .home-results-subtitle {
    font-size: 14px;
    margin-bottom: 40px;
  }

  .home-results-card .home-stat-number {
    font-size: 32px;
  }

  .home-results-card .home-card-heading {
    font-size: 18px;
  }

  .home-cta-banner h2 {
    font-size: 22px;
  }

  .home-cta-banner p {
    font-size: 14px;
  }

  .home-split-grid h2 {
    font-size: 22px;
  }

  .home-split-grid ul li {
    font-size: 13px;
  }

  .home-split-actions {
    flex-direction: column;
  }

  .home-split-actions .home-btn {
    width: 100%;
  }

  .home-blog-grid {
    grid-template-columns: 1fr;
  }

  .home-blog-card-img {
    height: 160px;
  }

  .home-blog-card-footer {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .home-faq-section .home-section-header h2 {
    font-size: 22px;
  }

  .home-faq-question {
    font-size: 14px;
    padding: 15px 18px;
  }

  .home-testimonial-card {
    padding: 20px 15px;
  }

  .home-testimonial-card p {
    font-size: 13px;
  }

  .home-testimonial-card .home-client-info h4 {
    font-size: 16px;
  }

  .home-btn {
    padding: 12px 24px;
    font-size: 13px;
    width: 100%;
  }

  .home-container {
    padding: 0 12px;
  }

  .home-testimonial-section {
    padding: 40px 0;
  }

  .home-service-tabs-section {
    padding: 40px 0;
  }

  .home-blog-section {
    padding: 40px 0;
  }

  .home-faq-section {
    padding: 40px 0;
  }

  .home-intro-section {
    padding: 40px 0;
  }

  .home-split-section {
    padding: 40px 0;
  }

  .home-results-section {
    padding: 40px 12px;
  }
}

/* Max Width 360px */
@media (max-width: 360px) {
  .home-hero h1 {
    font-size: 20px;
  }

  .home-btn {
    padding: 10px 20px;
    font-size: 12px;
  }

  .home-results-card .home-stat-number {
    font-size: 28px;
  }

  .home-tab-btn {
    font-size: 12px;
    padding: 10px 14px;
  }
}