/* Rise Search Engine Marketing - Brand Styles */

/* ========================================
   BRAND COLORS & VARIABLES
   ======================================== */
:root {
  /* Primary Palette - Sunrise Theme */
  --navy-deep: #0d1b2a;
  --navy: #1b263b;
  --slate: #415a77;
  --sky: #778da9;
  --coral: #ff6b35;
  --coral-light: #ff8c5a;
  --sunrise-orange: #f7931e;
  --gold: #ffc107;

  /* Neutrals */
  --white: #ffffff;
  --off-white: #f8f9fa;
  --gray-light: #e9ecef;
  --gray: #6c757d;
  --gray-dark: #343a40;

  /* Gradients */
  --gradient-sunrise: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 40%, var(--coral) 100%);
  --gradient-hero: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 60%, var(--slate) 100%);
  --gradient-cta: linear-gradient(135deg, var(--coral) 0%, var(--sunrise-orange) 100%);

  /* Typography */
  --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --section-padding: 80px 0;
  --container-width: 1200px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.3s ease;
}

/* ========================================
   RESET & BASE
   ======================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-dark);
  background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy-deep);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }

a {
  color: var(--coral);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--coral-light);
}

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

/* ========================================
   LAYOUT
   ======================================== */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: var(--section-padding);
}

.section-dark {
  background-color: var(--navy-deep);
  color: var(--white);
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-gray {
  background-color: var(--off-white);
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(13, 27, 42, 0.95);
  backdrop-filter: blur(10px);
  padding: 15px 0;
  transition: all var(--transition-smooth);
}

.navbar.scrolled {
  padding: 10px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 60px;
  width: auto;
  display: block;
}

.logo-img-footer {
  height: 90px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 40px;
}

.nav-links a {
  color: var(--white);
  font-weight: 500;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding: 5px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-cta);
  transition: width var(--transition-smooth);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--coral);
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--white);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  min-height: 70vh;
  padding-bottom: 80px;
  padding-top: 100px;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(255, 107, 53, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(247, 147, 30, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

/* Rising Sun Element */
.hero::after {
  content: '';
  position: absolute;
  bottom: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.3) 0%, rgba(247, 147, 30, 0.1) 30%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content {
  text-align: center;
  z-index: 1;
  padding: 0 20px;
  max-width: 900px;
}

.hero h1 {
  color: var(--white);
  font-size: 4rem;
  margin-bottom: 20px;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.3);
}

.hero h1 span {
  background: var(--gradient-cta);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.4rem;
  color: var(--sky);
  margin-bottom: 40px;
  font-weight: 300;
}

.hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 35px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all var(--transition-smooth);
}

.btn-primary {
  background: var(--gradient-cta);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255, 107, 53, 0.5);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--navy-deep);
}

.btn-dark {
  background: var(--navy-deep);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--navy);
  transform: translateY(-3px);
  color: var(--white);
}

/* ========================================
   SERVICES PREVIEW (Homepage)
   ======================================== */
.services-preview {
  padding: 100px 0;
  background: var(--off-white);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  margin-bottom: 15px;
}

.section-header p {
  font-size: 1.2rem;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}

.section-header .accent-line {
  width: 80px;
  height: 4px;
  background: var(--gradient-cta);
  margin: 20px auto 0;
  border-radius: 2px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.service-card {
  background: var(--white);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-cta);
  transform: scaleX(0);
  transition: transform var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--slate) 100%);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  font-size: 2rem;
}

.service-card h3 {
  margin-bottom: 15px;
}

.service-card p {
  color: var(--gray);
  margin-bottom: 20px;
}

.service-link {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.service-link::after {
  content: '→';
  transition: transform var(--transition-fast);
}

.service-link:hover::after {
  transform: translateX(5px);
}

.services-cta {
  text-align: center;
}

/* ========================================
   STATS SECTION
   ======================================== */
.stats-section {
  background: var(--navy-deep);
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-item h3 {
  font-size: 3rem;
  color: var(--coral);
  margin-bottom: 10px;
}

.stat-item p {
  color: var(--sky);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
}

/* ========================================
   WHY CHOOSE US
   ======================================== */
.why-us {
  padding: 100px 0;
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.why-item {
  text-align: center;
  padding: 30px;
}

.why-icon {
  width: 80px;
  height: 80px;
  background: var(--off-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  color: var(--coral);
  transition: all var(--transition-smooth);
}

.why-item:hover .why-icon {
  background: var(--gradient-cta);
  color: var(--white);
  transform: scale(1.1);
}

.why-item h4 {
  margin-bottom: 10px;
}

.why-item p {
  color: var(--gray);
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
  background: var(--gradient-sunrise);
  padding: 100px 0;
  text-align: center;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 20px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 30px;
}

/* ========================================
   SERVICES PAGE
   ======================================== */
.page-hero {
  background: var(--gradient-hero);
  padding: 180px 0 100px;
  text-align: center;
  position: relative;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(255, 107, 53, 0.2) 0%, transparent 50%);
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.page-hero p {
  color: var(--sky);
  font-size: 1.3rem;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.service-detail {
  padding: 100px 0;
}

.service-detail:nth-child(even) {
  background: var(--off-white);
}

.service-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.service-content.reverse {
  direction: rtl;
}

.service-content.reverse > * {
  direction: ltr;
}

.service-text h2 {
  margin-bottom: 25px;
}

.service-text p {
  color: var(--gray);
  margin-bottom: 15px;
}

.service-features {
  list-style: none;
  margin: 25px 0;
}

.service-features li {
  padding: 10px 0;
  padding-left: 35px;
  position: relative;
  color: var(--gray-dark);
}

.service-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--coral);
  font-weight: bold;
  font-size: 1.2rem;
}

.service-visual {
  background: var(--navy-deep);
  border-radius: 20px;
  padding: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.service-visual::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.2) 0%, transparent 70%);
}

.service-visual-icon {
  font-size: 6rem;
  color: var(--coral);
  position: relative;
  z-index: 1;
}

.service-visual h3 {
  color: var(--white);
  margin-top: 20px;
  position: relative;
  z-index: 1;
}

/* ========================================
   ABOUT PAGE
   ======================================== */
.about-intro {
  padding: 100px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  margin-bottom: 25px;
}

.about-text p {
  color: var(--gray);
  margin-bottom: 15px;
}

.about-image {
  background: var(--gradient-hero);
  border-radius: 20px;
  padding: 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-image::before {
  content: '';
  position: absolute;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.4) 0%, transparent 70%);
}

.location-icon {
  font-size: 5rem;
  position: relative;
  z-index: 1;
}

.about-image h3 {
  color: var(--white);
  margin-top: 20px;
  position: relative;
  z-index: 1;
}

.about-image p {
  color: var(--sky);
  position: relative;
  z-index: 1;
}

.values-section {
  background: var(--off-white);
  padding: 100px 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.value-card {
  background: var(--white);
  padding: 40px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
  transition: all var(--transition-smooth);
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.value-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.value-card h4 {
  margin-bottom: 15px;
}

.value-card p {
  color: var(--gray);
}

/* ========================================
   CONTACT PAGE
   ======================================== */
.contact-section {
  padding: 100px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
}

.contact-info h2 {
  margin-bottom: 20px;
}

.contact-info > p {
  color: var(--gray);
  margin-bottom: 40px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 20px;
}

.contact-method-icon {
  width: 60px;
  height: 60px;
  background: var(--off-white);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--coral);
  flex-shrink: 0;
}

.contact-method h4 {
  margin-bottom: 5px;
  font-size: 1rem;
}

.contact-method p {
  color: var(--gray);
  margin: 0;
}

.contact-form-wrapper {
  background: var(--off-white);
  padding: 50px;
  border-radius: 20px;
}

.contact-form-wrapper h3 {
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--navy-deep);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid var(--gray-light);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--coral);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

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

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--navy-deep);
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-brand .logo {
  margin-bottom: 20px;
}

.footer-brand p {
  color: var(--sky);
  max-width: 300px;
}

.footer-links h4 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--sky);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--coral);
}

.footer-bottom {
  border-top: 1px solid var(--slate);
  padding-top: 30px;
  text-align: center;
  color: var(--sky);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 992px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }

  .hero h1 { font-size: 3rem; }

  .service-content,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .service-content.reverse {
    direction: ltr;
  }

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

  .why-us-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand p {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy-deep);
    flex-direction: column;
    padding: 20px;
    gap: 0;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    border-bottom: 1px solid var(--slate);
  }

  .nav-links a {
    display: block;
    padding: 15px 0;
  }

  .nav-toggle {
    display: flex;
  }

  .hero h1 { font-size: 2.2rem; }
  .hero-subtitle { font-size: 1.1rem; }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

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

  .contact-form-wrapper {
    padding: 30px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.animate-fade-in {
  animation: fadeInUp 0.6s ease forwards;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }

/* Simple Photo Container (No Background) */
.about-image-simple {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image-simple img {
  max-width: 100%;
  height: auto;
}


/* Free Consultation Button in Nav */
.nav-links a.btn-consultation {
  background: var(--gradient-cta);
  padding: 10px 20px;
  border-radius: 6px;
  color: var(--white) !important;
  font-weight: 600;
}

.nav-links a.btn-consultation::after {
  display: none;
}

.nav-links a.btn-consultation:hover {
  opacity: 0.9;
  color: var(--white) !important;
}


/* ========================================
   ENHANCED MOBILE RESPONSIVENESS
   ======================================== */

/* Better Mobile Navigation */
@media (max-width: 768px) {
  .nav-links.active {
    max-height: 500px;
    padding: 20px 0;
  }

  .nav-links a.btn-consultation {
    margin: 10px 20px;
    text-align: center;
  }

  /* Better spacing for mobile hero */
  .hero {
    min-height: 80vh;
    padding: 100px 20px 60px;
  }

  .hero h1 {
    font-size: 2rem;
    margin-bottom: 15px;
  }

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

  /* Services preview mobile improvements */
  .services-preview {
    padding: 60px 20px;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .service-card {
    margin-bottom: 20px;
  }

  /* About grid mobile improvements */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image-simple img {
    max-width: 300px;
    margin: 0 auto;
  }

  /* Service detail sections */
  .service-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .service-visual {
    order: -1;
  }

  .service-content.reverse .service-visual {
    order: -1;
  }

  /* Why us grid */
  .why-us-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  /* Values grid */
  .values-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  /* Contact grid */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Footer improvements */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .footer-links {
    text-align: center;
  }

  /* Page hero mobile */
  .page-hero {
    padding: 100px 20px 60px;
  }

  .page-hero h1 {
    font-size: 2rem;
  }

  /* Stats section mobile */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* Extra small devices */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.75rem;
  }

  .section-header h2 {
    font-size: 1.75rem;
  }

  .page-hero h1 {
    font-size: 1.75rem;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.95rem;
  }

  .service-card {
    padding: 30px 20px;
  }

  .contact-form-wrapper {
    padding: 25px 20px;
  }

  .experience-highlight,
  .value-card,
  .why-item {
    padding: 25px 20px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-item h3 {
    font-size: 2rem;
  }
}

/* Landscape mobile adjustments */
@media (max-width: 768px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: 120px 20px 60px;
  }
}


/* About page - Photo above text on mobile */
@media (max-width: 768px) {
  .about-intro .about-grid {
    display: flex;
    flex-direction: column;
  }

  .about-intro .about-image-simple {
    order: -1;
    margin-bottom: 30px;
  }

  .about-intro .about-text {
    order: 1;
  }
}

/* Smaller homepage buttons on mobile */
@media (max-width: 768px) {
  .hero-cta .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

/* More compact form on mobile - Rise Search Engine Marketing */
@media (max-width: 768px) {
  .contact-form-wrapper {
    padding: 30px 20px;
  }

  .contact-form-wrapper h3 {
    margin-bottom: 8px;
  }

  .contact-form-wrapper p {
    margin-bottom: 20px;
  }

  .form-group {
    margin-bottom: 12px;
  }

  .form-row {
    gap: 12px;
  }
}


/* ========================================
   NAV + HERO SPACING UPDATE
   ======================================== */

/* Mobile-only consultation button (hidden on desktop) */
.nav-cta-mobile {
  display: none;
}

/* Give the homepage hero more breathing room below the fixed nav (desktop) */
.hero {
  padding-top: 150px;
}

@media (max-width: 768px) {
  /* Compact mobile nav */
  .navbar {
    padding: 8px 0;
  }

  .navbar.scrolled {
    padding: 6px 0;
  }

  .nav-container {
    padding: 0 16px;
  }

  .logo-img {
    height: 40px;
  }

  /* Free Consultation button sits just before the hamburger */
  .nav-cta-mobile {
    display: inline-block;
    margin-left: auto;
    margin-right: 12px;
    background: var(--gradient-cta);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 12px;
    border-radius: 6px;
    white-space: nowrap;
  }

  .nav-cta-mobile:hover {
    color: var(--white);
    opacity: 0.9;
  }

  /* The button now lives in the bar, so drop the duplicate from the dropdown */
  .nav-links li:has(> a.btn-consultation) {
    display: none;
  }

  /* More space between the smaller nav and the hero text */
  .hero {
    padding: 130px 20px 60px;
  }
}

@media (max-width: 360px) {
  .logo-img {
    height: 34px;
  }

  .nav-cta-mobile {
    font-size: 0.65rem;
    padding: 7px 10px;
    margin-right: 8px;
  }
}
