/* ==========================================================================
   RADIANT GROWTH MARKETING - MASTER STYLESHEET
   Minimal, human-crafted agency design matching FirstConnect's layout & structure
   Color Palette: Radiant Growth (Navy, Royal Blue, Electric Blue, Cyan, White)
   ========================================================================== */

:root {
  /* Radiant Growth Brand Colors */
  --navy: #071735;
  --royal: #0B1B43;
  --blue: #0755E8;
  --blue-hover: #0544BC;
  --electric: #087CFF;
  --cyan: #00D4F0;
  --cyan-soft: rgba(0, 212, 240, 0.12);
  --yellow: #FFC928;
  --ink: #1C2740;
  --text-muted: #556987;
  --border: #DDE5F0;
  --border-focus: #0755E8;
  --off-white: #F8FAFD;
  --white: #FFFFFF;

  /* Typography */
  --font-main: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(7, 23, 53, 0.06);
  --shadow-card: 0 4px 16px rgba(7, 85, 232, 0.08);
  --shadow-hover: 0 14px 28px rgba(7, 85, 232, 0.16);
  --transition: all 0.25s ease-in-out;
}

/* --------------------------------------------------------------------------
   Reset & Base
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.68;
  color: var(--ink);
  background-color: #FFFFFF;
  background-image: url("https://www.transparenttextures.com/patterns/black-thread-light.png");
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-main);
  color: var(--royal);
  font-weight: 700;
  line-height: 1.25;
}

h1 { font-size: clamp(2.1rem, 4.2vw, 3.2rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.15rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}
p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: var(--transition);
}
a:hover {
  color: var(--blue-hover);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

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

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

/* --------------------------------------------------------------------------
   Containers & Spacing
   -------------------------------------------------------------------------- */
.container {
  width: min(1200px, 100% - 3rem);
  margin-inline: auto;
}

.container-fluid {
  width: 100%;
  padding-inline: 1.5rem;
}

.section {
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
}

.section-alt {
  background-color: var(--off-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  margin-bottom: 3rem;
}

.section-header.text-center {
  text-align: center;
}

.section-header .sub-badge {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--blue);
  background: rgba(7, 85, 232, 0.08);
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}

.section-header h2 {
  margin-bottom: 0.75rem;
}

.section-header p {
  max-width: 680px;
  margin-inline: auto;
  font-size: 1.05rem;
}

/* --------------------------------------------------------------------------
   Buttons (FirstConnect Layout with Radiant Growth Colors)
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.75rem;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  line-height: 1.2;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  box-shadow: 0 4px 14px rgba(7, 85, 232, 0.28);
}
.btn-primary:hover {
  background: var(--blue-hover);
  border-color: var(--blue-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(7, 85, 232, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--royal);
  box-shadow: var(--shadow-sm);
}
.btn-white:hover {
  background: var(--off-white);
  color: var(--blue);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Header & Navigation
   (FirstConnect Layout + Radiant Growth Hero Background)
   -------------------------------------------------------------------------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #FFFFFF;
  background-image: url('../assets/images/hero-bg.svg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
  border-bottom: 1px solid rgba(7, 85, 232, 0.12);
  box-shadow: 0 2px 10px rgba(7, 23, 53, 0.04);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
}

.navbar-brand {
  display: flex;
  align-items: center;
}

.navbar-brand img {
  height: 52px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav-link {
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--royal);
  padding: 0.4rem 0.2rem;
  position: relative;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--blue);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: var(--blue);
  border-radius: 2px;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 230px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow-hover);
  padding: 0.6rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 1100;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 0.55rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  transition: var(--transition);
}

.dropdown-item:hover {
  background: var(--off-white);
  color: var(--blue);
  padding-left: 1.4rem;
}

/* Mobile Toggle */
.navbar-toggler {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}

.navbar-toggler span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--royal);
  margin: 5px 0;
  border-radius: 2px;
  transition: var(--transition);
}

/* --------------------------------------------------------------------------
   Hero Section (FirstConnect bg-home4 layout + Radiant Growth hero-bg.svg)
   -------------------------------------------------------------------------- */
.hero-section {
  background: url('../assets/images/hero-bg.svg') no-repeat center center / cover;
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content h1 {
  margin-bottom: 1.25rem;
}

.hero-content p {
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 2rem;
  color: #334460;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  max-width: 100%;
  filter: drop-shadow(0 15px 30px rgba(7, 85, 232, 0.12));
}

/* --------------------------------------------------------------------------
   Inner Page Header Banner (FirstConnect images/header.jpg layout)
   -------------------------------------------------------------------------- */
.page-banner {
  background: url('../assets/images/header-bg.svg') no-repeat center center / cover;
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  text-align: center;
  color: var(--white);
  position: relative;
}

.page-banner h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.5rem;
}

.page-banner p {
  color: #D2E3FC;
  font-size: 1.1rem;
  max-width: 650px;
  margin-inline: auto;
}

.breadcrumbs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--cyan);
  margin-bottom: 1rem;
}
.breadcrumbs a {
  color: #FFFFFF;
}
.breadcrumbs a:hover {
  color: var(--cyan);
}

/* --------------------------------------------------------------------------
   Section 2: Why Are Email Marketing Services Highly Recommended?
   (FirstConnect 2-column about/feature layout)
   -------------------------------------------------------------------------- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.feature-media img {
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  width: 100%;
  object-fit: cover;
}

.feature-body .tagline {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--blue);
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 0.5rem;
}

.feature-body h2 {
  color: var(--royal);
  margin-bottom: 1.25rem;
}

.feature-body p {
  text-align: justify;
  line-height: 1.75;
  margin-bottom: 1.2rem;
}

/* --------------------------------------------------------------------------
   Section 3: Services (FirstConnect webcoderskull-item card design)
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--blue);
  border-radius: 10px;
  padding: 2.2rem 2rem;
  transition: var(--transition);
  box-shadow: 0 1px 4px rgba(7, 85, 232, 0.08);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--electric);
}

.service-card .svc-icon {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  background: rgba(7, 85, 232, 0.08);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.85rem;
  color: var(--royal);
}

.service-card p {
  font-size: 0.95rem;
  line-height: 1.65;
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.service-card .learn-more {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.service-card .learn-more:hover {
  color: var(--blue-hover);
  gap: 0.55rem;
}

/* --------------------------------------------------------------------------
   Section 4: How Can You Select The Top Email Marketing Agency (3 Pillars)
   -------------------------------------------------------------------------- */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.pillar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.pillar-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
  border-color: var(--blue);
}

.pillar-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.pillar-card-content {
  padding: 1.8rem;
}

.pillar-card-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--royal);
}

.pillar-card-content p {
  font-size: 0.93rem;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   Section 5: Why Choose Us (Left Text / Right Image)
   -------------------------------------------------------------------------- */
.choose-list {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.choose-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.choose-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(7, 85, 232, 0.1);
  color: var(--blue);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-weight: 800;
  font-size: 0.9rem;
}

.choose-item h4 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.choose-item p {
  font-size: 0.92rem;
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   Section 6: Benefits (4 Cards)
   -------------------------------------------------------------------------- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.benefit-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.benefit-card:hover {
  transform: translateY(-4px);
  border-color: var(--blue);
  box-shadow: var(--shadow-card);
}

.benefit-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: rgba(7, 85, 232, 0.08);
  color: var(--blue);
  display: grid;
  place-items: center;
}

.benefit-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.65rem;
  color: var(--royal);
}

.benefit-card p {
  font-size: 0.9rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Section 7: FAQs (FirstConnect Accordion + Image)
   -------------------------------------------------------------------------- */
.faq-row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
}

.accordion {
  display: grid;
  gap: 1rem;
}

.accordion-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition);
}

.accordion-item.active {
  border-color: var(--blue);
  box-shadow: var(--shadow-sm);
}

.accordion-header {
  width: 100%;
  text-align: left;
  padding: 1.1rem 1.4rem;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 1rem;
  color: var(--royal);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-header:hover {
  color: var(--blue);
}

.accordion-arrow {
  transition: transform 0.25s ease;
}

.accordion-item.active .accordion-arrow {
  transform: rotate(180deg);
  color: var(--blue);
}

.accordion-body {
  padding: 0 1.4rem 1.2rem;
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--text-muted);
  display: none;
}

.accordion-item.active .accordion-body {
  display: block;
}

/* --------------------------------------------------------------------------
   Section 8: Conversion CTA Banner
   -------------------------------------------------------------------------- */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--royal) 100%);
  color: var(--white);
  padding: 4rem 2rem;
  border-radius: 14px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 212, 240, 0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-banner h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 1rem;
}

.cta-banner p {
  color: #D0E0FC;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* --------------------------------------------------------------------------
   Footer (4 Columns + Verified San Francisco Address)
   -------------------------------------------------------------------------- */
footer.site-footer {
  background: var(--navy);
  color: #A3B8D9;
  padding: 5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  color: #8CA4CA;
  font-size: 0.92rem;
  line-height: 1.7;
  margin: 1.25rem 0 1.5rem;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  color: var(--white);
  transition: var(--transition);
}

.footer-socials a:hover {
  background: var(--blue);
  border-color: var(--blue);
  transform: translateY(-2px);
}

.footer-col h3 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.6rem;
}

.footer-col h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--cyan);
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #A3B8D9;
  font-size: 0.92rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--cyan);
  padding-left: 4px;
}

.footer-contact li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin-bottom: 1rem;
  font-size: 0.92rem;
  color: #A3B8D9;
}

.footer-contact svg {
  color: var(--cyan);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact a {
  color: #A3B8D9;
}
.footer-contact a:hover {
  color: var(--cyan);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.88rem;
  color: #728AB0;
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-links a {
  color: #728AB0;
}
.footer-legal-links a:hover {
  color: var(--cyan);
}

/* --------------------------------------------------------------------------
   Contact Form & Map
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.contact-info-item {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(7, 85, 232, 0.08);
  color: var(--blue);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.contact-info-item h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.contact-info-item p {
  font-size: 0.92rem;
  line-height: 1.55;
}

.form-group {
  margin-bottom: 1.4rem;
}

.form-group label {
  display: block;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.4rem;
  color: var(--royal);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(7, 85, 232, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 130px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.map-box {
  margin-top: 3.5rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  height: 380px;
}

.map-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* --------------------------------------------------------------------------
   Scroll to Top Floating Button (FirstConnect btn-floating)
   -------------------------------------------------------------------------- */
.btn-back-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 15px rgba(7, 85, 232, 0.35);
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  z-index: 999;
}

.btn-back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.btn-back-to-top:hover {
  background: var(--blue-hover);
  transform: translateY(-3px);
}

/* --------------------------------------------------------------------------
   Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  .hero-grid,
  .feature-row,
  .faq-row,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .services-grid,
  .pillar-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

  .navbar-toggler {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 73px;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 2rem;
    gap: 1.25rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-hover);
    transform: translateY(-120%);
    transition: transform 0.3s ease;
    z-index: 1000;
  }

  .nav-menu.active {
    transform: translateY(0);
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding-left: 1rem;
    width: 100%;
  }
}

@media (max-width: 600px) {
  .services-grid,
  .pillar-grid,
  .benefits-grid,
  .footer-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
