/**
 * GradualPlus — modern school CMS homepage
 */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Syne:wght@600;700;800&display=swap');

.gp-home {
  --gp-home-accent: var(--thm-primary, #006400);
  --gp-home-accent-2: #15803d;
  --gp-home-green: #006400;
  --gp-home-gold: #fbbf24;
  --gp-home-radius: 16px;
  --gp-home-radius-lg: 24px;
  font-family: 'DM Sans', system-ui, sans-serif;
}

.gp-home h1,
.gp-home h2,
.gp-home h3,
.gp-home .gp-home-display {
  font-family: 'Syne', system-ui, sans-serif;
  letter-spacing: -0.02em;
}

/* ── Hero ── */
.gp-home-hero {
  position: relative;
  min-height: clamp(520px, 88vh, 780px);
  overflow: hidden;
}

.gp-home-hero .main-slider-carousel {
  margin: 0;
  padding: 0;
  list-style: none;
}

.gp-home-hero .slider-wrapper {
  position: relative;
  min-height: clamp(520px, 88vh, 780px);
  isolation: isolate;
}

.gp-home-hero .image {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover !important;
  background-position: center !important;
  transform: scale(1.04);
  transition: transform 8s ease;
  pointer-events: none;
}

.gp-home-hero .owl-item.active .image {
  transform: scale(1);
}

/* Below caption — legacy style.css sets z-index:3 which blocked button clicks */
.gp-home-hero .slide-overlay {
  position: absolute;
  inset: 0;
  z-index: 1 !important;
  pointer-events: none;
  background:
    linear-gradient(105deg, rgba(2, 6, 23, 0.78) 0%, rgba(2, 6, 23, 0.5) 48%, rgba(2, 6, 23, 0.28) 100%),
    linear-gradient(to top, rgba(2, 6, 23, 0.65) 0%, transparent 48%);
}

.gp-home-hero .slider-caption {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  z-index: 3 !important;
  padding: 120px 0 80px;
  pointer-events: none;
}

.gp-home-hero .slider-caption .container,
.gp-home-hero .slider-caption a,
.gp-home-hero .slider-caption .btn {
  pointer-events: auto;
}

.gp-home-hero .wrap-caption {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.gp-home-hero .wrap-caption h1 {
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.08;
  color: #ffffff !important;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
  margin-bottom: 1.25rem;
}

.gp-home-hero .wrap-caption h1 span {
  color: #4ade80 !important;
}

.gp-home-hero .wrap-caption .text {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.94) !important;
  line-height: 1.7;
  margin-bottom: 2rem;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.4);
}

.gp-home-hero .wrap-caption .text p,
.gp-home-hero .wrap-caption .text * {
  color: inherit !important;
}

.gp-home-hero .link-btn {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  position: relative;
  z-index: 2;
}

.gp-home-hero .link-btn .btn {
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  text-transform: none;
  letter-spacing: 0.01em;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
  cursor: pointer;
}

.gp-home-hero .link-btn .btn:first-child {
  background: linear-gradient(135deg, var(--gp-home-green, #006400), #15803d) !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 8px 24px rgba(0, 100, 0, 0.35);
}

.gp-home-hero .link-btn .btn.btn1 {
  background: rgba(255, 255, 255, 0.14) !important;
  color: #ffffff !important;
  border: 2px solid rgba(255, 255, 255, 0.7) !important;
  backdrop-filter: blur(8px);
}

.gp-home-hero .link-btn .btn:first-child:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #15803d, #166534) !important;
  color: #ffffff !important;
  box-shadow: 0 12px 32px rgba(0, 100, 0, 0.45);
}

.gp-home-hero .link-btn .btn.btn1:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.95) !important;
  color: var(--gp-home-green, #006400) !important;
  border-color: #ffffff !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.gp-home-hero .owl-nav {
  position: absolute;
  bottom: 2.5rem;
  right: 2rem;
  z-index: 5;
}

.gp-home-hero .owl-nav button {
  width: 48px;
  height: 48px;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #fff !important;
  margin-left: 0.5rem !important;
  backdrop-filter: blur(8px);
}

.gp-home-hero .owl-dots {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
}

.gp-home-hero .owl-dot span {
  background: rgba(255, 255, 255, 0.35) !important;
  width: 10px !important;
  height: 10px !important;
}

.gp-home-hero .owl-dot.active span {
  background: var(--gp-home-accent) !important;
  width: 28px !important;
  border-radius: 999px !important;
}

/* ── Section shell ── */
.gp-home-section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.gp-home-section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.gp-home-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gp-home-accent);
  margin-bottom: 0.75rem;
}

.gp-home-section-header h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--gp-text-main, #e5e7eb);
  margin-bottom: 0.75rem;
}

.gp-home-section-header p {
  color: var(--gp-text-muted, #9ca3af);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0;
}

/* ── Features band (separate from hero) ── */
.gp-home-features-band {
  margin-top: 0;
  padding: clamp(3.5rem, 7vw, 5rem) 0;
  background: var(--gp-surface-muted, #f1f5f9);
  border-top: 1px solid var(--gp-border-subtle, rgba(148, 163, 184, 0.14));
  border-bottom: 1px solid var(--gp-border-subtle, rgba(148, 163, 184, 0.14));
}

html.gp-theme-dark .gp-home-features-band,
html.dark .gp-home-features-band {
  background: rgba(15, 23, 42, 0.55);
}

.gp-home-features-header {
  margin-bottom: 2.5rem;
}

.gp-home-features-band .notification-boxes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin: 0;
}

@media (max-width: 1199px) {
  .gp-home-features-band .notification-boxes {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .gp-home-features-band .notification-boxes {
    grid-template-columns: 1fr;
  }
}

.gp-home-features-band .notification-boxes .box {
  position: relative;
  margin: 0;
  text-align: left;
  color: var(--gp-text-main, #0f172a);
  background: var(--gp-card-solid, #ffffff);
  border: 1px solid var(--gp-card-border, rgba(148, 163, 184, 0.22));
  border-radius: var(--gp-home-radius);
  padding: 1.75rem;
  min-height: 0;
  height: auto;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  box-shadow: var(--gp-shadow-subtle, 0 4px 18px rgba(15, 23, 42, 0.08));
}

html.gp-theme-dark .gp-home-features-band .notification-boxes .box,
html.dark .gp-home-features-band .notification-boxes .box {
  color: var(--gp-text-main, #e5e7eb);
  background: var(--gp-card-bg, rgba(15, 23, 42, 0.96));
  box-shadow: var(--gp-shadow-subtle, 0 8px 22px rgba(15, 23, 42, 0.5));
}

.gp-home-features-band .box:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.35);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
}

.gp-home-features-band .box .icon {
  position: relative;
  top: auto;
  left: auto;
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 100, 0, 0.1);
  color: var(--gp-home-green, #006400);
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
  z-index: 1;
}

html.gp-theme-dark .gp-home-features-band .box .icon,
html.dark .gp-home-features-band .box .icon {
  background: rgba(34, 211, 238, 0.12);
  color: var(--gp-home-accent);
}

.gp-home-features-band .box .icon i {
  line-height: 1;
  font-size: 1.35rem;
  color: inherit;
}

.gp-home-features-band .box h4 {
  margin-top: 0;
  letter-spacing: normal;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gp-text-main, #0f172a);
  margin-bottom: 0.65rem;
}

.gp-home-features-band .box p {
  color: var(--gp-text-muted, #475569);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 1rem;
}

.gp-home-features-band .box .btn-transparent {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.5rem;
  color: var(--gp-home-green, #006400);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0;
  border: none;
  background: transparent;
  text-decoration: none;
}

html.gp-theme-dark .gp-home-features-band .box .btn-transparent,
html.dark .gp-home-features-band .box .btn-transparent {
  color: var(--gp-home-accent);
}

.gp-home-features-band .box .btn-transparent:hover {
  text-decoration: underline;
}

/* legacy alias — keep if referenced elsewhere */
.gp-home-features {
  margin-top: 0;
  padding-bottom: 0;
}

/* ── Welcome ── */
.gp-home-welcome {
  background: #ffffff;
  border-top: 1px solid rgba(0, 100, 0, 0.08);
  border-bottom: 1px solid rgba(0, 100, 0, 0.08);
  overflow: hidden;
}

.gp-home-welcome-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.gp-home-welcome-copy {
  max-width: 560px;
  padding-left: 1.25rem;
  border-left: 4px solid var(--gp-home-green, #006400);
}

.gp-home-welcome-copy .gp-home-eyebrow {
  color: var(--gp-home-green, #006400);
  margin-bottom: 0.75rem;
}

.gp-home-welcome-title {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  color: #0f172a;
  margin: 0 0 1.25rem;
}

.gp-home-welcome-text {
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.85;
}

.gp-home-welcome-text p {
  margin-bottom: 1rem;
}

.gp-home-welcome-text p:last-child {
  margin-bottom: 0;
}

.gp-home-welcome-media {
  position: relative;
  border-radius: var(--gp-home-radius-lg);
  overflow: hidden;
  box-shadow:
    0 4px 6px rgba(15, 23, 42, 0.04),
    0 20px 48px rgba(0, 100, 0, 0.12);
  aspect-ratio: 4 / 3;
}

.gp-home-welcome-media::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.65);
  pointer-events: none;
  z-index: 1;
}

.gp-home-welcome-media::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.18), transparent);
  pointer-events: none;
  z-index: 1;
}

.gp-home-welcome-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

html.gp-theme-dark .gp-home-welcome,
html.dark .gp-home-welcome {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.5) 0%, rgba(2, 6, 23, 0.9) 100%);
  border-color: rgba(255, 255, 255, 0.06);
}

html.gp-theme-dark .gp-home-welcome-title,
html.dark .gp-home-welcome-title {
  color: #f1f5f9;
}

html.gp-theme-dark .gp-home-welcome-text,
html.dark .gp-home-welcome-text {
  color: #94a3b8;
}

@media (max-width: 991px) {
  .gp-home-welcome-grid {
    grid-template-columns: 1fr;
  }

  .gp-home-welcome-copy {
    max-width: none;
    padding-left: 0;
    border-left: none;
    padding-top: 0.25rem;
  }

  .gp-home-welcome-media {
    width: 100%;
    max-width: none;
    margin: 0;
  }
}

/* ── Campus life bento ── */
.gp-home-campus {
  background: var(--gp-body-bg, #020617);
}

.gp-home-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 200px;
  gap: 1rem;
}

.gp-home-bento-item {
  position: relative;
  border-radius: var(--gp-home-radius);
  overflow: hidden;
  cursor: default;
}

.gp-home-bento-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gp-home-bento-item:hover img {
  transform: scale(1.06);
}

.gp-home-bento-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2, 6, 23, 0.75) 0%, transparent 55%);
}

.gp-home-bento-label {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
}

.gp-home-bento-item:nth-child(1) { grid-column: span 7; grid-row: span 2; }
.gp-home-bento-item:nth-child(2) { grid-column: span 5; }
.gp-home-bento-item:nth-child(3) { grid-column: span 5; }
.gp-home-bento-item:nth-child(4) { grid-column: span 4; }
.gp-home-bento-item:nth-child(5) { grid-column: span 4; }
.gp-home-bento-item:nth-child(6) { grid-column: span 4; }

@media (max-width: 991px) {
  .gp-home-bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .gp-home-bento-item:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .gp-home-bento-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
}

/* ── Teachers ── */
.gp-home-teachers.featured-doctors {
  background-size: cover !important;
  background-position: center !important;
  position: relative;
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.gp-home-teachers::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.92) 0%, rgba(2, 6, 23, 0.85) 100%);
}

.gp-home-teachers .container {
  position: relative;
  z-index: 1;
}

.gp-home-teachers .sec-title h2,
.gp-home-teachers .sec-title p {
  color: #fff !important;
}

.gp-home-teachers .sec-title .decor {
  display: none;
}

.gp-home-teachers .bio-box {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: var(--gp-home-radius);
  overflow: hidden;
  backdrop-filter: blur(12px);
  transition: transform 0.25s, border-color 0.25s;
  margin-bottom: 1.5rem;
}

.gp-home-teachers .bio-box:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.3);
}

.gp-home-teachers .profile-img {
  border: none;
  padding: 1.25rem 1.25rem 0;
}

.gp-home-teachers .dlab-border-left,
.gp-home-teachers .dlab-border-right {
  display: none;
}

.gp-home-teachers .dlab-media img,
.gp-home-teachers .dlab-media .gp-avatar {
  border-radius: 12px !important;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.gp-home-teachers .txt-holder h5 {
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
}

.gp-home-teachers .txt-holder .designation {
  color: var(--gp-home-accent);
  font-size: 0.85rem;
}

/* ── Testimonials ── */
.gp-home-testimonials.testimonial-wrapper {
  background: #f8faf8;
  border-top: 1px solid rgba(0, 100, 0, 0.08);
  border-bottom: 1px solid rgba(0, 100, 0, 0.08);
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.gp-home-testimonials .gp-home-section-header h2 {
  color: #0f172a;
}

.gp-home-testimonials .gp-home-section-header p {
  color: #475569;
}

.gp-home-testimonials .gp-home-eyebrow {
  color: var(--gp-home-green, #006400);
}

.gp-home-testimonials .sec-title .decor {
  display: none;
}

.gp-home-testimonials .single-testimonial-style {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  margin: 0;
}

.gp-home-testimonials .single-testimonial-style::before {
  display: none !important;
  content: none !important;
}

.gp-home-testimonials .single-testimonial-style .inner-content {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(0, 100, 0, 0.12);
  border-radius: var(--gp-home-radius);
  padding: 2rem 1.75rem 1.75rem;
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.06);
  text-align: left;
}

.gp-home-testimonials .single-testimonial-style .inner-content::before,
.gp-home-testimonials .single-testimonial-style .inner-content::after {
  display: none !important;
  content: none !important;
}

.gp-home-testimonials .review-box {
  position: static;
  background: transparent;
  padding: 0;
}

.gp-home-testimonials .review-box ul {
  display: flex;
  gap: 0.25rem;
  padding: 0;
  margin: 0 0 1rem;
  float: none;
}

.gp-home-testimonials .review-box ul li {
  float: none;
  margin: 0;
}

.gp-home-testimonials .review-box .fas,
.gp-home-testimonials .review-box .fa-star {
  color: var(--gp-home-gold, #fbbf24);
}

.gp-home-testimonials .review-box .far {
  color: #cbd5e1;
}

.gp-home-testimonials .text-box {
  padding-top: 0;
  padding-bottom: 0;
}

.gp-home-testimonials .text-box p {
  color: #334155;
  font-size: 1rem;
  line-height: 1.8;
  font-style: italic;
  margin: 0;
}

.gp-home-testimonials .client-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.25rem;
}

.gp-home-testimonials .client-info .image,
.gp-home-testimonials .client-info .title {
  display: block;
  vertical-align: initial;
}

.gp-home-testimonials .client-info .title {
  padding-left: 0;
}

.gp-home-testimonials .client-info .image {
  width: 52px;
  flex-shrink: 0;
}

.gp-home-testimonials .client-info .image img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: none;
  border: 2px solid rgba(0, 100, 0, 0.15);
}

.gp-home-testimonials .client-info .title h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.15rem;
}

.gp-home-testimonials .client-info .title span {
  color: #64748b;
  font-size: 0.85rem;
}

.gp-home-testimonials .testimonial-carousel.owl-carousel .owl-stage-outer {
  padding-bottom: 2.5rem;
}

.gp-home-testimonials .testimonial-carousel .owl-dots .owl-dot {
  background: #d1d5db;
  border-color: #d1d5db;
}

.gp-home-testimonials .testimonial-carousel .owl-dots .owl-dot.active {
  background: var(--gp-home-green, #006400);
  border-color: var(--gp-home-green, #006400);
}

html.gp-theme-dark .gp-home-testimonials.testimonial-wrapper,
html.dark .gp-home-testimonials.testimonial-wrapper {
  background: rgba(15, 23, 42, 0.55);
  border-color: rgba(255, 255, 255, 0.06);
}

html.gp-theme-dark .gp-home-testimonials .gp-home-section-header h2,
html.dark .gp-home-testimonials .gp-home-section-header h2 {
  color: #f1f5f9;
}

html.gp-theme-dark .gp-home-testimonials .gp-home-section-header p,
html.dark .gp-home-testimonials .gp-home-section-header p {
  color: #94a3b8;
}

html.gp-theme-dark .gp-home-testimonials .single-testimonial-style .inner-content,
html.dark .gp-home-testimonials .single-testimonial-style .inner-content {
  background: rgba(15, 23, 42, 0.92);
  border-color: rgba(148, 163, 184, 0.18);
}

html.gp-theme-dark .gp-home-testimonials .text-box p,
html.dark .gp-home-testimonials .text-box p {
  color: #cbd5e1;
}

html.gp-theme-dark .gp-home-testimonials .client-info .title h3,
html.dark .gp-home-testimonials .client-info .title h3 {
  color: #f1f5f9;
}

html.gp-theme-dark .gp-home-testimonials .client-info .title span,
html.dark .gp-home-testimonials .client-info .title span {
  color: #94a3b8;
}

/* ── Statistics ── */
.gp-home-stats.counters-wrapper {
  background-size: cover !important;
  background-position: center !important;
  background-attachment: fixed;
  position: relative;
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.gp-home-stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 100, 0, 0.82);
}

.gp-home-stats .container {
  position: relative;
  z-index: 1;
}

.gp-home-stats .sec-title .decor {
  display: none;
}

.gp-home-stats .counters-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--gp-home-radius);
  padding: 2rem 1.5rem;
  backdrop-filter: blur(8px);
  transition: transform 0.25s;
}

.gp-home-stats .counters-item:hover {
  transform: translateY(-4px);
}

.gp-home-stats .counters-item i {
  font-size: 2rem;
  color: var(--gp-home-gold);
  margin-bottom: 0.75rem;
}

.gp-home-stats .counter {
  font-family: 'Syne', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff !important;
}

.gp-home-stats .counters-item h3 {
  font-size: 0.9rem !important;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85) !important;
  margin-top: 0.35rem;
}

/* ── Services (Why Choose Us) ── */
.gp-home-services-wrap {
  background: #ffffff !important;
  border-top: 1px solid rgba(0, 100, 0, 0.08);
  padding: 0 0 clamp(3.5rem, 8vw, 5rem) !important;
}

.gp-home-services.gp-home-section {
  padding-top: clamp(3.5rem, 8vw, 5rem);
  padding-bottom: 0;
}

.gp-home-services .gp-home-eyebrow {
  color: var(--gp-home-green, #006400);
}

.gp-home-services .gp-home-section-header h2 {
  color: #0f172a;
}

.gp-home-services .gp-home-section-header p {
  color: #475569;
}

.gp-home-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 991px) {
  .gp-home-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .gp-home-services-grid {
    grid-template-columns: 1fr;
  }
}

.gp-home-service-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  background: #f8faf8;
  border: 1px solid rgba(0, 100, 0, 0.1);
  border-radius: var(--gp-home-radius);
  padding: 1.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.gp-home-service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 100, 0, 0.22);
  box-shadow: 0 16px 32px rgba(0, 100, 0, 0.08);
}

.gp-home-service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(0, 100, 0, 0.1);
  color: var(--gp-home-green, #006400);
  margin-bottom: 1.1rem;
  flex-shrink: 0;
}

.gp-home-service-icon i {
  font-size: 1.35rem;
  line-height: 1;
}

.gp-home-service-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.5rem;
  line-height: 1.3;
}

.gp-home-service-text {
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 0;
}

html.gp-theme-dark .gp-home-services-wrap,
html.dark .gp-home-services-wrap {
  background: rgba(15, 23, 42, 0.55) !important;
  border-color: rgba(255, 255, 255, 0.06);
}

html.gp-theme-dark .gp-home-services .gp-home-section-header h2,
html.dark .gp-home-services .gp-home-section-header h2 {
  color: #f1f5f9;
}

html.gp-theme-dark .gp-home-services .gp-home-section-header p,
html.dark .gp-home-services .gp-home-section-header p {
  color: #94a3b8;
}

html.gp-theme-dark .gp-home-service-card,
html.dark .gp-home-service-card {
  background: rgba(15, 23, 42, 0.92);
  border-color: rgba(148, 163, 184, 0.18);
}

html.gp-theme-dark .gp-home-service-title,
html.dark .gp-home-service-title {
  color: #f1f5f9;
}

html.gp-theme-dark .gp-home-service-text,
html.dark .gp-home-service-text {
  color: #94a3b8;
}

/* ── CTA ── */
.gp-home-cta.book-appointment-box {
  border-radius: var(--gp-home-radius-lg) !important;
  padding: 2.5rem !important;
  margin-top: 3rem;
  background: linear-gradient(135deg, #006400 0%, #1b4332 50%, #0d2818 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.gp-home-cta h4 {
  font-size: 1rem !important;
  font-weight: 500;
  opacity: 0.9;
}

.gp-home-cta h3 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem) !important;
  font-weight: 700;
}

.gp-home-cta .btn-main {
  border-radius: 999px;
  padding: 0.9rem 2rem;
  font-weight: 700;
  background: var(--gp-home-accent) !important;
  color: #0f172a !important;
  border: none;
}

/* ── Scroll reveal ── */
.gp-home [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.gp-home [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Photo credits ── */
.gp-home-credits {
  text-align: center;
  padding: 1.5rem 0 0;
  font-size: 0.75rem;
  color: var(--gp-text-soft, #6b7280);
}

.gp-home-credits a {
  color: var(--gp-text-muted, #9ca3af);
}

/* Hide legacy main-container padding on home */
.gp-home .main-container.gp-home-inner {
  padding-top: 0;
}
