/* ===== CSS Variables ===== */
:root {
  --primary: #1e3a5f;
  --primary-dark: #152a45;
  --primary-light: #2a4a73;
  --secondary: #25d366;
  --secondary-dark: #1da851;
  --accent: #f0a500;
  --text: #333333;
  --text-light: #666666;
  --text-muted: #888888;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gradient-primary: linear-gradient(135deg, #1e3a5f 0%, #2a4a73 50%, #3d5a80 100%);
  --gradient-hero: linear-gradient(135deg, rgba(30, 58, 95, 0.95) 0%, rgba(42, 74, 115, 0.9) 100%);
  --gradient-cta: linear-gradient(135deg, #1e3a5f 0%, #2a4a73 100%);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --radius-sm: 0.375rem;
  --radius: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --transition: all 0.3s ease;
  --transition-fast: all 0.15s ease;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* ===== Container ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  line-height: 1.3;
  color: var(--primary-dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }

p {
  margin-bottom: 1rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn svg {
  flex-shrink: 0;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--secondary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
}

.btn-white:hover {
  background: var(--gray-100);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* ===== Navigation ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--primary);
  padding: 1rem 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: var(--primary);
  box-shadow: var(--shadow);
  padding: 0.75rem 0;
}

.navbar.scrolled .logo-text,
.navbar.scrolled .nav-links a {
  color: var(--white);
}

.navbar.scrolled .logo-icon {
  background: var(--white);
  color: var(--primary);
}

.navbar.scrolled .nav-toggle span {
  background: var(--white);
}

.navbar .container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.nav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-top-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-contact-link {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-contact-link:hover {
  color: var(--accent);
}

.navbar.scrolled .container {
  flex-direction: column;
  align-items: flex-start;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 1001;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: var(--white);
  color: var(--primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  transition: var(--transition);
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  transition: var(--transition);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--white);
  position: relative;
  white-space: nowrap;
}

.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

.nav-links a:not(.nav-cta):hover::after {
  width: 100%;
}

/* Active nav link styling */
.nav-links a.active:not(.nav-cta) {
  color: var(--accent);
}

.nav-links a.active:not(.nav-cta)::after {
  width: 100%;
}

.nav-cta {
  background: var(--accent);
  color: var(--primary-dark) !important;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
}

.nav-cta:hover {
  background: #d99400;
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* Hamburger animation when active */
.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Search Box ===== */
.search-container {
  position: relative;
  display: flex;
  align-items: center;
}

.search-toggle {
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  border-radius: var(--radius);
}

.search-toggle:hover {
  color: var(--accent);
  background: rgba(255, 255, 255, 0.1);
}

.search-box {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%) scaleX(0);
  transform-origin: right center;
  display: flex;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0;
  width: 300px;
}

.search-box.active {
  transform: translateY(-50%) scaleX(1);
  opacity: 1;
}

.search-box input {
  flex: 1;
  border: none;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  outline: none;
  background: transparent;
}

.search-box input::placeholder {
  color: var(--text-muted);
}

.search-btn {
  background: var(--primary);
  border: none;
  color: var(--white);
  padding: 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.search-btn:hover {
  background: var(--primary-dark);
}

.search-close {
  background: none;
  border: none;
  color: var(--text-muted);
  padding: 0.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.search-close:hover {
  color: var(--text);
}

.search-results {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  width: 350px;
  max-height: 400px;
  overflow-y: auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  display: none;
  z-index: 1002;
}

.search-results.active {
  display: block;
}

.search-result-item {
  display: block;
  padding: 1rem;
  border-bottom: 1px solid var(--gray-200);
  transition: var(--transition);
  cursor: pointer;
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-item:hover {
  background: var(--gray-50);
}

.search-result-title {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
}

.search-result-text {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.4;
}

.search-result-text mark {
  background: rgba(240, 165, 0, 0.3);
  color: inherit;
  padding: 0 2px;
  border-radius: 2px;
}

.search-no-results {
  padding: 1.5rem;
  text-align: center;
  color: var(--text-muted);
}

.search-no-results svg {
  margin-bottom: 0.5rem;
  opacity: 0.5;
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-primary);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-hero);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 8rem 1.5rem 6rem;
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 2;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: auto;
}

/* ===== Sections ===== */
.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== Services Section ===== */
.services {
  background: var(--gray-50);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  display: block;
  text-decoration: none;
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--gray-200);
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--primary-dark);
}

.service-card > p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.service-features {
  list-style: none;
}

.service-features li {
  padding: 0.375rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.9rem;
  color: var(--text-light);
}

.service-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: 600;
}

/* ===== About Section ===== */
.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: center;
}

.about-card {
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-2xl);
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.about-icon {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--white);
}

.about-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.about-title {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.about-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.about-contact a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--primary);
  font-size: 0.9rem;
}

.about-contact a:hover {
  color: var(--secondary);
}

.about-content h2 {
  margin-bottom: 1.5rem;
}

.about-lead {
  font-size: 1.15rem;
  color: var(--text);
  font-weight: 500;
}

.about-content p {
  color: var(--text-light);
}

.about-content .btn {
  margin-top: 1rem;
}

/* ===== Partners Section ===== */
.partners {
  background: var(--gray-100);
  padding: 3rem 0;
}

.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem;
}

.partner-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: var(--primary);
}

.partner-badge span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
}

/* ===== Testimonials Section ===== */
.testimonials {
  background: var(--white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--gray-50);
  border-radius: var(--radius-xl);
  padding: 2rem;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.testimonial-content p {
  font-style: italic;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.testimonial-content p::before {
  content: '"';
  font-size: 2rem;
  color: var(--primary-light);
  font-family: Georgia, serif;
  line-height: 0;
  vertical-align: -0.4em;
  margin-right: 0.25rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
}

.author-info strong {
  display: block;
  color: var(--primary-dark);
  font-size: 0.95rem;
}

.author-info span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===== Insights Section ===== */
.insights {
  background: var(--gray-50);
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.insight-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2rem;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.insight-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.insight-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.insight-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.insight-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.insight-link {
  color: var(--primary);
  font-weight: 500;
  font-size: 0.9rem;
}

.insight-link:hover {
  color: var(--secondary);
}

/* ===== Articles Section ===== */
.articles {
  background: var(--white);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.article-card {
  background: var(--gray-50);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.article-image {
  height: 60px;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}

.article-category {
  background: var(--accent);
  color: var(--primary-dark);
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.article-content {
  padding: 1.5rem;
}

.article-content h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  color: var(--primary-dark);
}

.article-content p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.article-link {
  color: var(--primary);
  font-weight: 500;
  font-size: 0.9rem;
}

.article-link:hover {
  color: var(--secondary);
}

.articles-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* ===== CTA Section ===== */
.cta-section {
  background: var(--gradient-cta);
  padding: 5rem 0;
}

.cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ===== Contact Section ===== */
.contact {
  background: var(--gray-50);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.contact-info h3,
.contact-links h3,
.contact-about h3 {
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  color: var(--primary-dark);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.contact-item svg {
  flex-shrink: 0;
  margin-top: 0.25rem;
  color: var(--primary);
}

.contact-item strong {
  display: block;
  color: var(--text);
  font-size: 0.9rem;
}

.contact-item a {
  color: var(--primary);
  font-size: 0.9rem;
}

.contact-item a:hover {
  color: var(--secondary);
}

.contact-links ul li {
  margin-bottom: 0.75rem;
}

.contact-links ul li a {
  color: var(--text-light);
  font-size: 0.95rem;
}

.contact-links ul li a:hover {
  color: var(--primary);
}

.contact-about p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.contact-cta {
  display: flex;
  gap: 0.75rem;
}

/* ===== Footer ===== */
.footer {
  background: #1a2a3a;
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-brand {
  max-width: 350px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.footer .logo-icon {
  width: 50px;
  height: 50px;
  background: var(--white);
  color: var(--primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
}

.footer .logo-text-group {
  display: flex;
  flex-direction: column;
}

.footer .logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
}

.footer .logo-subtitle {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.footer-column h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 0.75rem;
}

.footer-column ul li a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-column ul li a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem 0;
  text-align: center;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.footer-credits {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.footer-credits a {
  color: var(--accent);
  font-weight: 500;
}

.footer-credits a:hover {
  color: var(--white);
}

.footer-credits svg {
  vertical-align: middle;
  margin-right: 0.25rem;
}

.footer-disclaimer {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: span 2;
    max-width: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-card {
    max-width: 400px;
    margin: 0 auto;
  }

  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-about {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  /* Search box mobile styles */
  .search-container {
    position: static;
  }

  .search-box {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    border-radius: 0;
    transform: translateY(-100%);
    z-index: 1003;
    padding: 0.5rem;
  }

  .search-box.active {
    transform: translateY(0);
  }

  .search-results {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    width: 100%;
    border-radius: 0;
    max-height: calc(100vh - 60px);
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 6rem 2rem 2rem;
    gap: 0;
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 1rem 0;
    color: var(--text);
    border-bottom: 1px solid var(--gray-200);
  }

  .nav-cta {
    margin-top: 1rem;
    text-align: center;
  }

  .navbar.scrolled .nav-toggle span,
  .nav-toggle span {
    background: var(--primary);
  }

  .nav-links.active + .nav-toggle span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-links.active + .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .nav-links.active + .nav-toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero-content {
    padding: 7rem 1rem 5rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 280px;
  }

  .section {
    padding: 3.5rem 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid,
  .insights-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-about {
    grid-column: auto;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .cta-actions .btn {
    width: 100%;
    max-width: 280px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-logo {
    justify-content: center;
  }

  .articles-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .logo-text {
    font-size: 1rem;
  }

  .service-card,
  .testimonial-card,
  .insight-card,
  .article-card {
    padding: 1.5rem;
  }

  .article-card {
    padding: 0;
  }

  .about-card {
    padding: 2rem 1.5rem;
  }
}

/* ===== Animations ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

/* ===== Page Hero (Internal Pages) ===== */
.page-hero {
  position: relative;
  min-height: 45vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-hero);
  color: var(--white);
  text-align: center;
  padding: 8rem 0 4rem;
  overflow: hidden;
}

.page-hero .hero-content h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

.page-hero .hero-subtitle {
  max-width: 700px;
  margin: 0 auto;
}

/* ===== About Founder Section ===== */
.about-founder {
  padding: 5rem 0;
}

.about-founder-content {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  align-items: start;
}

.about-founder-image {
  display: flex;
  justify-content: center;
}

.founder-image-placeholder {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid var(--primary);
}

.founder-image-placeholder svg {
  color: var(--primary);
  opacity: 0.5;
}

.about-founder-text h2 {
  margin-bottom: 1.5rem;
}

.about-founder-text p {
  color: var(--text-light);
  line-height: 1.8;
}

/* ===== About Mission Section ===== */
.about-mission {
  padding: 5rem 0;
  background: var(--gray-50);
}

.mission-statement {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
  color: var(--text-light);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.value-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-xl);
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.value-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.25rem;
  background: var(--gray-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.value-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.value-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ===== About Approach Section ===== */
.about-approach {
  padding: 5rem 0;
}

.approach-steps {
  max-width: 800px;
  margin: 0 auto;
}

.approach-step {
  display: flex;
  gap: 2rem;
  margin-bottom: 2.5rem;
  align-items: flex-start;
}

.approach-step:last-child {
  margin-bottom: 0;
}

.step-number {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
}

.step-content h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.step-content p {
  color: var(--text-light);
  margin-bottom: 0;
}

/* ===== About Partnerships Section ===== */
.about-partnerships {
  padding: 5rem 0;
  background: var(--gray-50);
}

.partnerships-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.partnerships-content p {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* ===== About Compliance Section ===== */
.about-compliance {
  padding: 5rem 0;
}

.compliance-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.compliance-content p {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* ===== About CTA Section ===== */
.about-cta {
  padding: 5rem 0;
  background: var(--gradient-cta);
}

.cta-box {
  text-align: center;
  color: var(--white);
}

.cta-box h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-box p {
  max-width: 600px;
  margin: 0 auto 2rem;
  opacity: 0.9;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ===== About Page Responsive ===== */
@media (max-width: 1024px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .about-founder-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .founder-image-placeholder {
    width: 200px;
    height: 200px;
  }

  .approach-step {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .values-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .page-hero {
    min-height: 40vh;
    padding: 7rem 0 3rem;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .cta-actions .btn {
    width: 100%;
    max-width: 280px;
  }
}

/* ===== Service Pages Styles ===== */

/* Service Intro Section */
.service-intro {
  padding: 5rem 0;
}

.service-intro-content {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: center;
}

.service-intro-text h2 {
  margin-bottom: 1.5rem;
}

.service-intro-text p {
  color: var(--text-light);
  line-height: 1.8;
}

.service-intro-icon {
  display: flex;
  justify-content: center;
  align-items: center;
}

.service-intro-icon svg {
  color: var(--primary);
  opacity: 0.3;
}

/* Service Components Section */
.service-components {
  padding: 5rem 0;
  background: var(--gray-50);
}

.components-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.component-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.component-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.component-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 1.25rem;
  background: var(--gray-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.component-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
}

.component-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 0;
  line-height: 1.7;
}

/* Service Comparison Table */
.service-comparison {
  padding: 5rem 0;
}

.comparison-table-wrapper {
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.comparison-table th,
.comparison-table td {
  padding: 1.25rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
}

.comparison-table th {
  background: var(--primary);
  color: var(--white);
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
}

.comparison-table th:first-child {
  width: 20%;
}

.comparison-table tbody tr:hover {
  background: var(--gray-50);
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.comparison-table td {
  color: var(--text-light);
  line-height: 1.6;
}

/* Service FAQ Section */
.service-faq {
  padding: 5rem 0;
  background: var(--gray-50);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--primary-dark);
  text-align: left;
  transition: var(--transition);
}

.faq-question:hover {
  background: var(--gray-50);
}

.faq-question svg {
  flex-shrink: 0;
  transition: var(--transition);
  color: var(--primary);
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-light);
  line-height: 1.7;
  margin: 0;
}

/* Service Get Started Section */
.service-get-started {
  padding: 5rem 0;
}

.get-started-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.get-started-content h2 {
  margin-bottom: 1.5rem;
}

.get-started-content p {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* Service Pages Responsive */
@media (max-width: 1024px) {
  .components-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .service-intro-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .service-intro-icon {
    order: -1;
  }

  .service-intro-icon svg {
    width: 80px;
    height: 80px;
  }

  .components-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin: 0 auto;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 1rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .comparison-table th:first-child,
  .comparison-table td:first-child {
    min-width: 100px;
  }
}

/* ===== Insurance Page Styles ===== */

/* Coverage Grid */
.coverage-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.coverage-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.coverage-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.coverage-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 1.5rem;
  background: var(--gray-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.coverage-card h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.coverage-card p {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 0;
}

/* Service Considerations Section */
.service-considerations {
  padding: 5rem 0;
  background: var(--gray-50);
}

.considerations-content {
  max-width: 800px;
  margin: 0 auto;
}

.considerations-content p {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.8;
  text-align: center;
}

/* Service Culture Section */
.service-culture {
  padding: 5rem 0;
}

.culture-content {
  max-width: 800px;
  margin: 0 auto;
}

.culture-content p {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.8;
  text-align: center;
}

/* Insurance Page Responsive */
@media (max-width: 768px) {
  .coverage-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .coverage-card {
    padding: 2rem;
  }
}

/* ===== Health & Medicare Page Styles ===== */

/* Medicare Parts Grid */
.medicare-parts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.medicare-part-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  border-top: 4px solid var(--primary);
}

.medicare-part-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.part-label {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.medicare-part-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.medicare-part-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.medicare-note {
  max-width: 800px;
  margin: 2rem auto 0;
  text-align: center;
}

.medicare-note p {
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.8;
}

/* Supplemental Section */
.service-supplemental {
  padding: 5rem 0;
}

.supplemental-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.supplemental-content p {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* Long-Term Care Section */
.service-ltc {
  padding: 5rem 0;
  background: var(--gray-50);
}

.ltc-content {
  display: grid;
  grid-template-columns: 1fr 150px;
  gap: 3rem;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.ltc-text p {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.8;
}

.ltc-icon {
  display: flex;
  justify-content: center;
  align-items: center;
}

.ltc-icon svg {
  color: var(--primary);
  opacity: 0.3;
}

/* Advisor Section */
.service-advisor {
  padding: 5rem 0;
}

.advisor-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.advisor-content p {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* Health Page Responsive */
@media (max-width: 1024px) {
  .medicare-parts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .medicare-parts-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto 2rem;
  }

  .ltc-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .ltc-icon {
    order: -1;
  }

  .ltc-icon svg {
    width: 80px;
    height: 80px;
  }
}

/* ===== Education Savings Page Styles ===== */

/* Education Vehicles Grid */
.education-vehicles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.education-vehicle-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-top: 4px solid var(--primary);
}

.education-vehicle-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.vehicle-header h3 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.education-vehicle-card > p {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.vehicle-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.vehicle-features li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text);
  font-size: 0.95rem;
}

.vehicle-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: 700;
}

/* Education Page Responsive */
@media (max-width: 1024px) {
  .education-vehicles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .education-vehicles-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
}

/* ===== Retirement Page Styles ===== */
.retirement-vehicles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.retirement-vehicle-card {
  background: white;
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  box-shadow: 0 4px 20px rgba(30, 58, 95, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.retirement-vehicle-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(30, 58, 95, 0.12);
}

.retirement-vehicle-card .vehicle-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, rgba(30, 58, 95, 0.1), rgba(30, 58, 95, 0.05));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: var(--primary);
}

.retirement-vehicle-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.retirement-vehicle-card p {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Retirement Page Responsive */
@media (max-width: 1024px) {
  .retirement-vehicles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .retirement-vehicles-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
}

/* ===== Tax & LLC Page Styles ===== */
.llc-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.llc-benefit-card {
  background: white;
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  box-shadow: 0 4px 20px rgba(30, 58, 95, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.llc-benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(30, 58, 95, 0.12);
}

.llc-benefit-card .benefit-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, rgba(30, 58, 95, 0.1), rgba(30, 58, 95, 0.05));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: var(--primary);
}

.llc-benefit-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.llc-benefit-card p {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Process Steps */
.service-process {
  background: var(--light);
}

.process-steps {
  max-width: 800px;
  margin: 0 auto;
}

.process-step {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
}

.process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 25px;
  top: 60px;
  width: 2px;
  height: calc(100% - 30px);
  background: linear-gradient(to bottom, var(--accent), rgba(240, 165, 0, 0.2));
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
  background: white;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 15px rgba(30, 58, 95, 0.08);
}

.step-content h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.step-content p {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* CTA Secondary Action */
.cta-secondary-action {
  margin-top: 1.5rem;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

/* LLC Page Responsive */
@media (max-width: 1024px) {
  .llc-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .llc-benefits-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .process-step {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .process-step:not(:last-child)::after {
    display: none;
  }
}

/* ===== Blog Page Styles ===== */
.blog-posts {
  background: var(--light);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.blog-card {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(30, 58, 95, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(30, 58, 95, 0.12);
}

.blog-card-image {
  background: linear-gradient(135deg, var(--primary), rgba(30, 58, 95, 0.8));
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.blog-card-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-light);
}

.blog-author {
  color: var(--primary);
  font-weight: 500;
}

.blog-card-content h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.blog-card-content p {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  flex: 1;
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.3s ease;
}

.blog-read-more:hover {
  gap: 0.75rem;
}

.blog-read-more svg {
  transition: transform 0.3s ease;
}

.blog-read-more:hover svg {
  transform: translateX(3px);
}

/* Blog Page Responsive */
@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
}

/* ===== Resources Page Styles ===== */
.resources-section {
  background: var(--light);
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.resource-card {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(30, 58, 95, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resource-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(30, 58, 95, 0.12);
}

.resource-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(30, 58, 95, 0.1), rgba(30, 58, 95, 0.05));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.resource-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.resource-card p {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.resource-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.3s ease;
}

.resource-link:hover {
  gap: 0.75rem;
}

.resource-link svg {
  transition: transform 0.3s ease;
}

.resource-link:hover svg {
  transform: translateX(3px);
}

/* External Resources */
.external-resources {
  background: white;
}

.external-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.external-link-card {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--light);
  border-radius: 0.75rem;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
}

.external-link-card:hover {
  background: rgba(30, 58, 95, 0.08);
  transform: translateY(-2px);
}

.external-icon {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.external-content h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.external-content p {
  color: var(--text);
  font-size: 0.9rem;
  margin: 0;
}

.resources-note {
  text-align: center;
  color: var(--text);
  font-size: 1rem;
  margin-top: 2rem;
}

/* Resources Page Responsive */
@media (max-width: 1024px) {
  .resources-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }
  
  .external-links-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .resource-card {
    padding: 1.5rem;
  }
  
  .external-link-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ===== Enhanced Mobile Responsiveness ===== */

/* Ensure touch-friendly tap targets */
@media (max-width: 768px) {
  /* Navigation improvements */
  .nav-top-right {
    gap: 0.5rem;
  }
  
  .nav-contact-link {
    display: none;
  }
  
  .nav-cta {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }
  
  .logo-text {
    font-size: 1rem;
  }
  
  .logo-icon {
    width: 38px;
    height: 38px;
    font-size: 1.25rem;
  }
  
  /* Page hero mobile */
  .page-hero {
    min-height: 35vh;
    padding: 7rem 0 3rem;
  }
  
  .page-hero .hero-content h1 {
    font-size: 1.75rem;
  }
  
  .page-hero .hero-subtitle {
    font-size: 0.95rem;
  }
  
  /* Section headers */
  .section-header h2 {
    font-size: 1.5rem;
  }
  
  .section-header p {
    font-size: 0.95rem;
  }
  
  /* Service cards improvements */
  .service-card {
    padding: 1.5rem;
  }
  
  .service-icon {
    width: 50px;
    height: 50px;
  }
  
  .service-card h3 {
    font-size: 1.1rem;
  }
  
  /* Coverage cards */
  .coverage-grid {
    grid-template-columns: 1fr;
  }
  
  .coverage-card {
    padding: 1.5rem;
  }
  
  /* Blog cards */
  .blog-card {
    flex-direction: column;
  }
  
  .blog-card-image {
    width: 100%;
    height: 150px;
  }
  
  /* CTA section */
  .cta-section h2 {
    font-size: 1.5rem;
  }
  
  .cta-section p {
    font-size: 0.95rem;
  }
  
  /* FAQ improvements */
  .faq-question {
    padding: 1rem;
    font-size: 0.95rem;
  }
  
  .faq-answer {
    padding: 0 1rem 1rem;
    font-size: 0.9rem;
  }
  
  /* About founder section */
  .founder-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .founder-photo {
    margin: 0 auto 2rem;
  }
  
  /* Touch-friendly buttons */
  .btn {
    min-height: 48px;
    padding: 0.875rem 1.5rem;
  }
  
  .btn-sm {
    min-height: 40px;
  }
  
  /* Insight cards mobile */
  .insight-card {
    padding: 1.5rem;
  }
  
  /* Article cards mobile */
  .article-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
  }
  
  .article-image {
    height: 150px;
  }
  
  .article-content {
    padding: 1.25rem;
  }
  
  /* Comparison table scroll */
  .comparison-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  /* Process steps mobile */
  .process-steps {
    flex-direction: column;
  }
  
  .process-step {
    flex-direction: row;
    text-align: left;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  /* Extra small screens */
  .hero h1 {
    font-size: 1.5rem;
  }
  
  .hero-subtitle {
    font-size: 0.9rem;
  }
  
  .container {
    padding: 0 1rem;
  }
  
  .section {
    padding: 2.5rem 0;
  }
  
  .footer-bottom {
    padding: 1.5rem 0;
  }
  
  .footer-disclaimer {
    font-size: 0.75rem;
  }
  
  /* Mobile navigation slide-in */
  .nav-links {
    width: 100%;
    right: -100%;
    padding-top: 5rem;
  }
  
  /* Smaller cards on very small screens */
  .service-card,
  .insight-card,
  .testimonial-card {
    padding: 1.25rem;
  }
  
  /* Smaller headings */
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.35rem; }
  h3 { font-size: 1.1rem; }
}

/* Landscape phone orientation */
@media (max-width: 768px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: 6rem 0 3rem;
  }
  
  .page-hero {
    min-height: auto;
    padding: 5rem 0 2rem;
  }
  
  .hero-content {
    padding: 5rem 1rem 3rem;
  }
}

/* Ensure images don't overflow */
img, video, iframe {
  max-width: 100%;
  height: auto;
}

/* Prevent horizontal scroll */
html, body {
  overflow-x: hidden;
}

/* Improve form inputs on mobile */
@media (max-width: 768px) {
  input, select, textarea {
    font-size: 16px; /* Prevents iOS zoom on focus */
  }
}

/* ===== Utility Classes ===== */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* ===== Floating Contact Buttons ===== */
.floating-buttons {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1000;
}

.floating-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}

.floating-btn:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-lg);
}

.floating-call {
  background: rgba(30, 58, 95, 0.85);
  color: var(--white);
}

.floating-call:hover {
  background: var(--primary);
}

.floating-whatsapp {
  background: rgba(37, 211, 102, 0.85);
  color: var(--white);
}

.floating-whatsapp:hover {
  background: var(--secondary);
}

@media (max-width: 768px) {
  .floating-buttons {
    right: 15px;
    bottom: 80px;
  }
  
  .floating-btn {
    width: 45px;
    height: 45px;
  }
  
  .floating-btn svg {
    width: 20px;
    height: 20px;
  }
}

/* ===== Back to Top Button ===== */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 160px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {
  .back-to-top {
    right: 15px;
    bottom: 200px;
    width: 40px;
    height: 40px;
  }
}

/* ===== Mobile Sticky CTA ===== */
.mobile-sticky-cta {
  display: none;
}

@media (max-width: 768px) {
  .mobile-sticky-cta {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 12px 15px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 998;
  }

  .mobile-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-lg);
    transition: var(--transition);
  }

  .mobile-cta-btn:hover {
    background: var(--primary-dark);
  }

  /* Adjust footer padding to account for sticky CTA */
  .footer {
    padding-bottom: 80px;
  }
}

/* ===== Scroll Animations ===== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animation for cards */
.services-grid .animate-on-scroll:nth-child(1) { transition-delay: 0s; }
.services-grid .animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.services-grid .animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.services-grid .animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }
.services-grid .animate-on-scroll:nth-child(5) { transition-delay: 0.4s; }
.services-grid .animate-on-scroll:nth-child(6) { transition-delay: 0.5s; }
.services-grid .animate-on-scroll:nth-child(7) { transition-delay: 0.6s; }

.articles-grid .animate-on-scroll:nth-child(1) { transition-delay: 0s; }
.articles-grid .animate-on-scroll:nth-child(2) { transition-delay: 0.15s; }
.articles-grid .animate-on-scroll:nth-child(3) { transition-delay: 0.3s; }

.insights-grid .animate-on-scroll:nth-child(1) { transition-delay: 0s; }
.insights-grid .animate-on-scroll:nth-child(2) { transition-delay: 0.15s; }
.insights-grid .animate-on-scroll:nth-child(3) { transition-delay: 0.3s; }
.insights-grid .animate-on-scroll:nth-child(4) { transition-delay: 0.45s; }
