/**
 * Bruce Vogel Farms - Green Blue Gradient Theme & Card UI
 * Overrides main.css for gradient color scheme and card-based layout.
 */

/* ========== Green Blue Gradient Variables ========== */
:root {
  --gradient-start: #0d9488;
  --gradient-mid: #0891b2;
  --gradient-end: #0284c7;
  --gradient-subtle: linear-gradient(135deg, #ecfdf5 0%, #cffafe 50%, #e0f2fe 100%);
  --gradient-main: linear-gradient(135deg, #0d9488 0%, #0891b2 50%, #0284c7 100%);
  --gradient-main-reverse: linear-gradient(315deg, #0d9488 0%, #0891b2 50%, #0284c7 100%);
  --gradient-dark: linear-gradient(135deg, #0f766e 0%, #0e7490 50%, #0369a1 100%);
  --gradient-card-bg: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.9) 100%);
  --accent-color: #0d9488;
  --accent-hover: #0f766e;
  --background-color: #f0fdfa;
  --surface-color: #ffffff;
  --heading-color: #134e4a;
  --default-color: #334155;
  --contrast-color: #ffffff;
  --nav-color: #134e4a;
  --nav-hover-color: #0d9488;
  --card-shadow: 0 10px 40px rgba(13, 148, 136, 0.12);
  --card-radius: 16px;
  --card-border: 1px solid rgba(13, 148, 136, 0.15);
}

/* ========== Body & Global ========== */
body {
  background: var(--gradient-subtle);
  background-attachment: fixed;
  color: var(--default-color);
}

body .main {
  background: transparent;
  margin-top: -7%;
}

@media (max-width: 1199px) {
  body .main {
    margin-top: -5%;
  }
}

@media (max-width: 991px) {
  body .main {
    margin-top: -3%;
  }
}

@media (max-width: 576px) {
  body .main {
    margin-top: -2%;
  }
}

a {
  color: var(--accent-color);
}

a:hover {
  color: var(--accent-hover);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--heading-color);
}

/* ========== Header - Floating Pill Layout ========== */
.header.header-pill {
  background: transparent !important;
  padding: 18px 20px 0;
  box-shadow: none !important;
}

.header-pill .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 28px;
  background: var(--gradient-main);
  border-radius: 50px;
  box-shadow: 0 8px 32px rgba(13, 148, 136, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.scrolled .header-pill .header-inner {
  box-shadow: 0 12px 40px rgba(13, 148, 136, 0.4);
}

.header-pill .logo {
  margin-right: 24px;
}

.header-pill .logo h1,
.header-pill .logo .sitename {
  color: #fff !important;
  font-size: 1.35rem;
  margin: 0;
}

.header-pill .logo span {
  color: rgba(255, 255, 255, 0.9) !important;
}

/* Nav as pill buttons - center */
.header-pill .navmenu {
  flex: 1;
  display: flex;
  justify-content: center;
  padding: 0 16px;
}

@media (min-width: 1200px) {
  .header-pill .navmenu ul {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .header-pill .navmenu a,
  .header-pill .navmenu a:focus {
    color: rgba(255, 255, 255, 0.9) !important;
    padding: 10px 20px !important;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 500;
    transition: background 0.25s, color 0.25s;
  }

  .header-pill .navmenu a:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff !important;
  }

  .header-pill .navmenu .active,
  .header-pill .navmenu .active:focus {
    background: rgba(255, 255, 255, 0.95);
    color: var(--accent-color) !important;
    font-weight: 600;
  }
}

.header-pill .btn-getstarted,
.header-pill .btn-getstarted:focus {
  background: #fff !important;
  color: var(--accent-color) !important;
  border: none;
  border-radius: 50px;
  padding: 10px 22px;
  font-weight: 600;
  font-size: 14px;
  margin: 0;
  flex-shrink: 0;
  transition: transform 0.25s, box-shadow 0.25s;
}

.header-pill .btn-getstarted:hover,
.header-pill .btn-getstarted:focus:hover {
  background: #fff !important;
  color: var(--accent-hover) !important;
  transform: scale(1.03);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* Mobile: full-width bar, keep hamburger */
@media (max-width: 1199px) {
  .header-pill {
    padding: 12px 16px 0;
  }

  .header-pill .header-inner {
    max-width: 100%;
    padding: 12px 20px;
    border-radius: 16px;
    flex-wrap: wrap;
  }

  .header-pill .logo {
    order: 1;
  }

  .header-pill .btn-getstarted {
    order: 2;
    padding: 8px 18px;
    font-size: 13px;
  }

  .header-pill .navmenu {
    order: 3;
    width: 100%;
    padding: 0;
    flex: none;
  }

  .header-pill .navmenu ul {
    background: var(--gradient-dark) !important;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
  }

  .header-pill .navmenu a,
  .header-pill .navmenu a:focus {
    color: #fff !important;
  }

  .mobile-nav-toggle {
    color: #fff !important;
  }
}

/* ========== Hero - Fixed layout & overlay ========== */
.hero {
  --background-color: transparent;
  min-height: 100vh;
  padding: 60px 0 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.78) 0%, rgba(2, 132, 199, 0.82) 100%) !important;
}

.hero .container {
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero .row {
  align-items: center;
  min-height: 0;
}

.hero .hero-card {
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 2.5rem 2rem;
  border-radius: var(--card-radius);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  max-width: 560px;
}

.hero h2 {
  color: #fff !important;
  margin: 0 0 0.5rem !important;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.2;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

.hero p {
  color: rgba(255, 255, 255, 0.98) !important;
  margin: 0 0 1.5rem !important;
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.5;
}

.hero .btn-get-started {
  background: #fff !important;
  color: var(--accent-color) !important;
  border: none !important;
  border-radius: 12px;
  font-weight: 600;
  padding: 12px 28px;
  font-size: 1rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transition: transform 0.25s, box-shadow 0.25s;
}

.hero .btn-get-started:hover {
  background: rgba(255, 255, 255, 0.95) !important;
  color: var(--accent-hover) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

@media (max-width: 991px) {
  .hero {
    padding: 55px 16px 60px;
    min-height: 85vh;
  }

  .hero .hero-card {
    max-width: 100%;
    padding: 1.75rem 1.25rem;
  }

  .hero h2 {
    font-size: 1.65rem;
  }

  .hero p {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .hero {
    padding: 50px 12px 50px;
    min-height: 80vh;
  }

  .hero .hero-card {
    padding: 1.5rem 1rem;
  }
}

/* ========== Sections - Card Layout & Alternating Gradient ========== */
section.section,
section.clients,
section.stats {
  background: transparent !important;
  padding: 60px 0;
}

/* Clients in a card */
.clients {
  padding: 50px 0 !important;
}

.clients .container {
  background: var(--gradient-card-bg);
  border-radius: var(--card-radius);
  padding: 2rem;
  box-shadow: var(--card-shadow);
  border: var(--card-border);
}

.clients .swiper-pagination .swiper-pagination-bullet-active {
  background: var(--gradient-main);
}

/* About section - card wrap (handled in HTML or keep as is) */
section.py-5#about .container {
  background: var(--gradient-card-bg);
  border-radius: var(--card-radius);
  padding: 3rem;
  box-shadow: var(--card-shadow);
  border: var(--card-border);
}

/* Stats - Individual Cards with Gradient Accent ========== */
.stats .container {
  background: transparent !important;
}

.stats i {
  background: var(--gradient-main) !important;
  color: #fff !important;
  border: none !important;
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.35);
  width: 60px;
  height: 60px;
  font-size: 26px;
}

.stats .stats-item {
  background: var(--surface-color) !important;
  box-shadow: var(--card-shadow) !important;
  border-radius: var(--card-radius) !important;
  border: var(--card-border);
  padding: 32px 24px 28px !important;
  margin-top: -30px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.stats .stats-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(13, 148, 136, 0.18);
}

.stats .stats-item span {
  color: var(--accent-color) !important;
  font-weight: 800;
}

.stats .stats-item p {
  color: var(--default-color);
  font-weight: 500;
}

/* ========== Services Section - Cards ========== */
/* ========== Our Services - Redesign ========== */
.services-section {
  background: linear-gradient(180deg, rgba(236, 253, 245, 0.6) 0%, rgba(207, 250, 254, 0.4) 50%, rgba(224, 242, 254, 0.5) 100%);
}

.services-section .container {
  background: transparent;
}

.services-header {
  padding-bottom: 0.5rem;
}

.services-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-color);
  background: rgba(13, 148, 136, 0.12);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.services-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--heading-color);
  margin: 0 0 0.75rem;
}

.services-lead {
  font-size: 1.05rem;
  color: var(--default-color);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.55;
  opacity: 0.9;
}

.service-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.service-card {
  height: 100%;
  background: #fff;
  border-radius: 20px;
  padding: 1.75rem 1.5rem;
  border: 1px solid rgba(13, 148, 136, 0.12);
  box-shadow: 0 4px 24px rgba(13, 148, 136, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--gradient-main);
  border-radius: 0 4px 4px 0;
  transition: height 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(13, 148, 136, 0.12);
  border-color: rgba(13, 148, 136, 0.25);
}

.service-card:hover::before {
  height: 100%;
}

.service-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--gradient-main);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.3);
}

.service-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--heading-color);
  margin: 0 0 0.6rem;
  line-height: 1.3;
}

.service-card-desc {
  font-size: 0.9rem;
  color: var(--default-color);
  line-height: 1.55;
  margin: 0 0 1rem;
  opacity: 0.9;
}

.service-card-cta {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-color);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap 0.25s ease;
}

.service-card-link:hover .service-card-cta {
  gap: 0.5rem;
}

.service-card-link:hover .service-card-cta i {
  transform: translateX(2px);
}

.service-card-cta i {
  font-size: 0.85rem;
  transition: transform 0.25s ease;
}

.btn-services-all {
  display: inline-block;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: var(--gradient-main);
  border: none;
  border-radius: 50px;
  box-shadow: 0 6px 24px rgba(13, 148, 136, 0.35);
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.btn-services-all:hover {
  color: #fff;
  opacity: 0.95;
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(13, 148, 136, 0.4);
}

@media (max-width: 991px) {
  .services-section .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .service-card {
    padding: 1.5rem 1.25rem;
  }
}

@media (max-width: 575px) {
  .services-header {
    margin-bottom: 1.5rem !important;
  }
  .services-title {
    font-size: 1.5rem;
  }
  .service-card {
    padding: 1.35rem 1.15rem;
  }
  .service-card-icon {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
  }
}

/* ========== Testimonials - Cards ========== */
.testimonials.section {
  background: var(--gradient-subtle) !important;
}

.testimonials .section-title h2 {
  color: var(--heading-color);
}

.testimonials .section-title h2:after {
  background: var(--gradient-main);
  height: 4px;
  border-radius: 2px;
}

.testimonials .testimonial-item {
  background: var(--surface-color) !important;
  border-radius: var(--card-radius) !important;
  box-shadow: var(--card-shadow) !important;
  border: var(--card-border);
  padding: 2rem !important;
  margin: 20px 12px !important;
  transition: transform 0.3s, box-shadow 0.3s;
}

.testimonials .testimonial-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(13, 148, 136, 0.15) !important;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: var(--accent-color) !important;
}

/* ========== FAQ - Card Style ========== */
.faq.section {
  background: transparent !important;
}

.faq .section-title h2:after {
  background: var(--gradient-main);
  height: 4px;
  border-radius: 2px;
}

.faq .faq-container {
  background: var(--gradient-card-bg);
  border-radius: var(--card-radius);
  padding: 1.5rem;
  box-shadow: var(--card-shadow);
  border: var(--card-border);
}

.faq .faq-item {
  border-radius: 12px;
  margin-bottom: 8px;
  overflow: hidden;
  border: 1px solid rgba(13, 148, 136, 0.12);
}

.faq .faq-item.faq-active {
  background: rgba(13, 148, 136, 0.06);
  border-color: rgba(13, 148, 136, 0.2);
}

.faq .faq-toggle {
  color: var(--accent-color) !important;
}

/* ========== Team - Cards ========== */
.team.section,
.team.section.section-bg {
  background: var(--gradient-subtle) !important;
}

.team .section-title h2:after {
  background: var(--gradient-main);
  height: 4px;
  border-radius: 2px;
}

.team .team-member {
  background: var(--surface-color) !important;
  border-radius: var(--card-radius) !important;
  box-shadow: var(--card-shadow) !important;
  border: var(--card-border);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.team .team-member:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(13, 148, 136, 0.15) !important;
}

.team .member-info h4 {
  color: var(--heading-color);
}

.team .member-info span {
  color: var(--accent-color);
  font-weight: 500;
}

/* ========== Contact Form - Card ========== */
#contact .container,
#contact .book-demo {
  background: transparent !important;
}

#contact .smsForm-premium {
  background: var(--gradient-card-bg) !important;
  border-radius: var(--card-radius) !important;
  box-shadow: var(--card-shadow) !important;
  border: var(--card-border) !important;
}

#contact .smsForm-premium .submit-btn {
  background: var(--gradient-main) !important;
  border-radius: 12px;
  font-weight: 600;
}

#contact .smsForm-premium .submit-btn:hover {
  opacity: 0.95;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13, 148, 136, 0.35);
}

/* ========== Footer - Improved ========== */
.footer {
  color: rgba(255, 255, 255, 0.9);
  padding: 0;
  margin-top: 0;
}

.footer-main {
  background: var(--gradient-dark);
  padding: 4rem 0 3.5rem;
  border-radius: 28px 28px 0 0;
  position: relative;
  box-shadow: 0 -4px 30px rgba(13, 148, 136, 0.15);
}

.footer-main::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 0 0 4px 4px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.85fr 0.85fr 1.4fr;
  gap: 2.75rem 2rem;
  align-items: start;
}

.footer-brand {
  max-width: 340px;
}

.footer-logo {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff !important;
  text-decoration: none !important;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.5rem;
  transition: opacity 0.2s, transform 0.2s;
}

.footer-logo::after {
  content: ".";
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
}

.footer-logo:hover {
  color: #fff !important;
  opacity: 0.95;
  transform: translateX(2px);
}

.footer-tagline {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 1.5rem;
  line-height: 1.55;
  padding-left: 0.15rem;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-contact p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  line-height: 1.45;
}

.footer-contact i {
  font-size: 1.05rem;
  opacity: 0.95;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.92) !important;
  text-decoration: none;
  transition: color 0.2s, text-decoration 0.2s;
}

.footer-contact a:hover {
  color: #fff !important;
  text-decoration: underline;
}

.footer-contact a:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.8);
  outline-offset: 2px;
}

.footer-nav h4,
.footer-newsletter h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 1.25rem;
  letter-spacing: 0.03em;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.25);
  display: inline-block;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li {
  margin-bottom: 0.55rem;
}

.footer-nav a {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.88) !important;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s, gap 0.2s, transform 0.2s;
}

.footer-nav a::before {
  content: "";
  width: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 2px;
  transition: width 0.2s;
}

.footer-nav a:hover {
  color: #fff !important;
  gap: 0.6rem;
}

.footer-nav a:hover::before {
  width: 8px;
}

.footer-nav a:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.7);
  outline-offset: 2px;
  border-radius: 2px;
}

.footer-newsletter p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 1.15rem;
  line-height: 1.5;
}

.footer-newsletter .newsletter-form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.footer-newsletter .newsletter-form input[type=email] {
  flex: 1;
  min-width: 180px;
  padding: 12px 16px;
  font-size: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1) !important;
  color: #fff;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.footer-newsletter .newsletter-form input[type=email]:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.footer-newsletter .newsletter-form input[type=email]::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.footer-newsletter .newsletter-form input[type=submit] {
  padding: 12px 22px;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  background: #fff !important;
  color: var(--accent-color) !important;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
}

.footer-newsletter .newsletter-form input[type=submit]:hover {
  opacity: 0.97;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.footer-newsletter .newsletter-form input[type=submit]:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.3);
  padding: 1.1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-copy {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
  text-align: center;
  line-height: 1.5;
}

.footer-copy strong {
  color: #fff;
  font-weight: 600;
}

.footer-copy a {
  color: rgba(255, 255, 255, 0.92) !important;
  text-decoration: none;
  transition: color 0.2s, text-decoration 0.2s;
}

.footer-copy a:hover {
  color: #fff !important;
  text-decoration: underline;
}

.footer-copy a:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.7);
  outline-offset: 2px;
}

@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 2rem;
  }
  .footer-brand {
    max-width: 100%;
    grid-column: 1 / -1;
  }
  .footer-nav:nth-of-type(2) {
    grid-column: 1;
  }
  .footer-nav:nth-of-type(3) {
    grid-column: 2;
  }
  .footer-newsletter {
    grid-column: 1 / -1;
  }
  .footer-main {
    padding: 3rem 0 2.5rem;
  }
  .footer-main::before {
    width: 60px;
    height: 3px;
  }
}

@media (max-width: 575px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-nav:nth-of-type(2),
  .footer-nav:nth-of-type(3) {
    grid-column: auto;
  }
  .footer-newsletter {
    grid-column: auto;
  }
  .footer-main {
    padding: 2.5rem 0 2rem;
    border-radius: 22px 22px 0 0;
  }
  .footer-logo {
    font-size: 1.45rem;
  }
  .footer-nav h4,
  .footer-newsletter h4 {
    margin-bottom: 1rem;
  }
  .footer-newsletter .newsletter-form {
    flex-direction: column;
  }
  .footer-newsletter .newsletter-form input[type=email] {
    min-width: 100%;
  }
  .footer-newsletter .newsletter-form input[type=submit] {
    width: 100%;
  }
  .footer-bottom {
    padding: 1rem 0;
  }
  .footer-copy {
    font-size: 0.82rem;
  }
}

/* ========== Buttons (global) ========== */
.btn-get-started {
  background: var(--gradient-main) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 12px;
  padding: 12px 28px;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(13, 148, 136, 0.3);
  transition: transform 0.3s, box-shadow 0.3s, opacity 0.3s;
}

.btn-get-started:hover,
.btn-get-started:focus {
  color: #fff !important;
  opacity: 0.95;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(13, 148, 136, 0.4);
}

/* Section titles accent line */
.section-title h2 {
  color: var(--heading-color) !important;
}

.section-title h2:after {
  background: var(--gradient-main) !important;
  height: 4px;
  border-radius: 2px;
}

.section-title p {
  color: var(--default-color);
}

/* ========== Scroll to top ========== */
#scroll-top.scroll-top {
  background: var(--gradient-main) !important;
  color: #fff !important;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(13, 148, 136, 0.4);
}

#scroll-top.scroll-top:hover {
  background: var(--gradient-dark) !important;
  color: #fff !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(13, 148, 136, 0.5);
}

/* Inline section cards (e.g. about page mission box) */
.rounded-5.shadow-sm[style*="background-color: #f8f9fa"],
.bg-white .rounded-5 {
  background: var(--gradient-card-bg) !important;
  border: var(--card-border) !important;
  box-shadow: var(--card-shadow) !important;
  border-radius: var(--card-radius) !important;
}

/* Services page CTA card */
section.py-5.bg-white .rounded-5 {
  background: var(--gradient-card-bg) !important;
  border: var(--card-border) !important;
  box-shadow: var(--card-shadow) !important;
}

/* Text on light sections */
.text-dark {
  color: var(--heading-color) !important;
}

.text-muted {
  color: var(--default-color) !important;
}

.badge.bg-dark-subtle {
  background: rgba(13, 148, 136, 0.15) !important;
  color: var(--accent-color) !important;
}
