/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* New professional color scheme: white background with blue/teal accents */
  --primary-blue: #0066cc;
  --secondary-teal: #00a8a8;
  --accent-orange: #ff6b35;
  --light-gray: #f8f9fa;
  --medium-gray: #e9ecef;
  --dark-gray: #495057;
  --text-dark: #212529;
  --text-light: #6c757d;
  --white: #ffffff;
  --shadow: rgba(0, 0, 0, 0.1);
  --shadow-lg: rgba(0, 0, 0, 0.15);
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--white);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Animated Background Canvas */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.15;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--white);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 0;
  box-shadow: 0 2px 10px var(--shadow);
  border-bottom: 1px solid var(--medium-gray);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-blue);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.logo img {
  height: 40px;   /* adjust to fit your navbar */
  width: auto;
  display: block;
}


.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
  font-size: 0.95rem;
}

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

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-blue);
  transition: width 0.3s ease;
}

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

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text-dark);
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;

  background-image:
    linear-gradient(
      rgba(248, 249, 250, 0.85),
      rgba(255, 255, 255, 0.85)
    ),
    url("images/hero-image.jpg");

  background-size: cover;
  background-position: center;
}



.hero-content {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 1200px;
  margin: 0 auto;
}

}

/* Fixed 3D container positioning and sizing */
.hero-content .img {
    object-fit: cover;
    width: 100%;
    height: 100vh;
}

.hero-text {
  color: var(--text-dark);
  position: relative;
  padding: 2rem;

}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.1;
  color: var(--primary-blue);
  text-align: center;
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--secondary-teal);
  margin-bottom: 1rem;
  text-align: center;
}

.hero-description {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.8;
  color: var(--text-light);
}

.hero-rotating-text {
  min-height: 80px;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--accent-orange);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
}

#typed-text {
  display: inline-block;
}

.cursor {
  display: inline-block;
  animation: blink 1s infinite;
  margin-left: 5px;
}

@keyframes blink {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 0;
  }
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  padding-left: 50px;
}

.btn {
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  cursor: pointer;
  border: none;
  font-size: 1rem;
  
}

.btn-primary {
  background: var(--primary-blue);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
  background: #0052a3;
}

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

.btn-secondary:hover {
  background: var(--primary-blue);
  color: var(--white);
  transform: translateY(-2px);
}

/* Stats Section */
.stats-section {
  padding: 4rem 0;
  background: var(--light-gray);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.stat-card {
  text-align: center;
  padding: 2rem;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 2px 10px var(--shadow);
  transition: transform 0.3s ease;
  border: 1px solid var(--medium-gray);
}

.stat-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px var(--shadow-lg);
}

.stat-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  color: var(--text-light);
  font-weight: 600;
}

/* Services Overview */
.services-overview {
  padding: 6rem 0;
}

.section-title {
  font-size: 3rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 4rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--medium-gray);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 2px 10px var(--shadow);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px var(--shadow-lg);
  border-color: var(--primary-blue);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.service-card p {
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.service-link {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.service-link:hover {
  color: var(--secondary-teal);
}

/* How It Works */
.how-it-works {
  padding: 6rem 0;
  background: var(--light-gray);
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.process-step {
  text-align: center;
  padding: 2rem;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 2px 10px var(--shadow);
  transition: transform 0.3s ease;
  border: 1px solid var(--medium-gray);
}

.process-step:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px var(--shadow-lg);
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--primary-blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  margin: 0 auto 1rem;
}

.process-step h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.process-step p {
  color: var(--text-light);
  line-height: 1.8;
}

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

/* Disclaimer */
.disclaimer {
  padding: 3rem 0;
  background: #fff3cd;
  border-top: 1px solid #ffc107;
  border-bottom: 1px solid #ffc107;
}

.disclaimer-text {
  text-align: center;
  color: #856404;
  font-size: 0.95rem;
  line-height: 1.8;
}

/* Footer */
.footer {
  background: var(--text-dark);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--secondary-teal);
}

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

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: var(--secondary-teal);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 968px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
    position: relative;
  }

  /* Mobile: text overlays 3D element */
  .hero-3d {
    height: 400px;
    order: 0;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    width: 100%;
    opacity: 0.3;
    z-index: 1;
  }

  .hero-text {
    order: 0;
    position: relative;
    z-index: 30;
    padding: 2rem;
  }

  .hero {
    position: relative;
    padding-bottom: 30px;
  }

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

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 2rem;
    gap: 1rem;
    box-shadow: 0 10px 25px var(--shadow);
    border-bottom: 1px solid var(--medium-gray);
  }

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

  .mobile-menu-toggle {
    display: flex;
  }

  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 640px) {
  /* Mobile: further optimize 3D overlay */
  .hero-3d {
    height: 300px;
    opacity: 0.2;
  }

  .hero {
    padding-bottom: 30px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

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

  .hero-rotating-text {
    font-size: 1rem;
    min-height: 60px;
  }

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

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

  .process-timeline {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}

/* Page Hero (for all internal pages) */
.page-hero {
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 100px;
  padding-bottom: 4rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.page-hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.page-hero p {
  font-size: 1.3rem;
  color: var(--text-light);
  font-weight: 600;
}

.fade-in {
  opacity: 0;
  animation: fadeIn 1s ease forwards;
}

.fade-in-delay {
  opacity: 0;
  animation: fadeIn 1s ease 0.3s forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Process Page Styles */
.process-section {
  padding: 4rem 0 6rem;
}

.process-timeline {
  max-width: 900px;
  margin: 0 auto 4rem;
}

.process-step {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
  padding: 2rem;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--medium-gray);
  box-shadow: 0 2px 10px var(--shadow);
  transition: all 0.3s ease;
}

.process-step:hover {
  transform: translateX(10px);
  box-shadow: 0 10px 25px var(--shadow-lg);
}

.step-number {
  width: 80px;
  height: 80px;
  background: var(--primary-blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 800;
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 1.8rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.step-content p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.step-content ul {
  list-style: none;
  padding-left: 0;
}

.step-content ul li {
  color: var(--text-light);
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.step-content ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--secondary-teal);
  font-weight: bold;
}

.cta-box {
  text-align: center;
  padding: 3rem;
  background: var(--light-gray);
  border-radius: 12px;
  border: 1px solid var(--medium-gray);
  margin-top: 4rem;
}

.cta-box h2 {
  font-size: 2.5rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.cta-box p {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.cta-button {
  display: inline-block;
  padding: 1.2rem 2.5rem;
  background: var(--primary-blue);
  color: var(--white);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(0, 102, 204, 0.4);
  background: #0052a3;
}

/* Contact Page Styles */
.contact-section {
  padding: 4rem 0 6rem;
  margin: auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.contact-form-wrapper,
.contact-info-wrapper {
  background: var(--white);
  border-radius: 12px;
  padding: 3rem;
  border: 1px solid var(--medium-gray);
  box-shadow: 0 2px 10px var(--shadow);
}

.contact-form-wrapper h2 {
  font-size: 2rem;
  color: var(--text-dark);
  margin-bottom: 2rem;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid var(--medium-gray);
  background: var(--white);
  color: var(--text-dark);
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-blue);
  background: #f0f7ff;
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

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

.submit-btn {
  padding: 1.2rem 2rem;
  background: var(--primary-blue);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
  background: #0052a3;
}

.form-message {
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1rem;
  text-align: center;
  font-weight: 600;
}

.form-message.success {
  background: #d4edda;
  border: 1px solid #28a745;
  color: #155724;
}

.form-message.error {
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}

.contact-info-card {
  background: var(--light-gray);
  padding: 2rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  text-align: center;
  transition: transform 0.3s ease;
  border: 1px solid var(--medium-gray);
}

.contact-info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px var(--shadow-lg);
}

.info-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact-info-card h3 {
  font-size: 1.3rem;
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
}

.contact-info-card p {
  color: var(--text-light);
  line-height: 1.8;
}

.urgent-note {
  color: var(--accent-orange);
  font-weight: 600;
  margin-top: 0.5rem;
}

.emergency-notice {
  background: #fff3cd;
  border: 2px solid #ffc107;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  margin-top: 3rem;
}

.emergency-notice h3 {
  font-size: 1.8rem;
  color: #856404;
  margin-bottom: 1rem;
}

.emergency-notice p {
  color: #856404;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

/* Case Studies Page Styles */
.case-studies-section {
  padding: 4rem 0 6rem;
}

.case-study-card {
  background: var(--white);
  border-radius: 12px;
  padding: 3rem;
  margin-bottom: 3rem;
  border: 1px solid var(--medium-gray);
  box-shadow: 0 2px 10px var(--shadow);
  transition: all 0.3s ease;
}

.case-study-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px var(--shadow-lg);
}

.case-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.case-tag {
  background: var(--primary-blue);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
}

.case-amount {
  background: #d4edda;
  color: #155724;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 700;
  font-size: 1rem;
}

.case-study-card h3 {
  font-size: 2rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.case-description {
  color: var(--text-light);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.case-details h4 {
  color: var(--primary-blue);
  font-size: 1.3rem;
  margin-top: 1.5rem;
  margin-bottom: 0.8rem;
}

.case-details p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.case-details ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1rem;
}

.case-details ul li {
  color: var(--text-light);
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.case-details ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--secondary-teal);
  font-weight: bold;
}

.case-timeline {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--medium-gray);
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Resources Page Styles */
.resources-section {
  padding: 4rem 0 6rem;
}

.resource-category {
  margin-bottom: 5rem;
}

.resource-category h2 {
  font-size: 2.5rem;
  color: var(--text-dark);
  margin-bottom: 2rem;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.resource-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid var(--medium-gray);
  box-shadow: 0 2px 10px var(--shadow);
  transition: all 0.3s ease;
}

.resource-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px var(--shadow-lg);
}

.resource-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.resource-card h3 {
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.resource-card p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.resource-link {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.resource-link:hover {
  color: var(--secondary-teal);
}

.articles-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.article-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid var(--medium-gray);
  box-shadow: 0 2px 10px var(--shadow);
  transition: all 0.3s ease;
}

.article-card:hover {
  transform: translateX(10px);
  box-shadow: 0 10px 30px var(--shadow-lg);
}

.article-date {
  color: var(--secondary-teal);
  font-size: 0.9rem;
  font-weight: 600;
}

.article-card h3 {
  font-size: 1.5rem;
  color: var(--text-dark);
  margin: 0.5rem 0 1rem;
}

.article-card p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.article-link {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.article-link:hover {
  color: var(--secondary-teal);
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.tool-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid var(--medium-gray);
  box-shadow: 0 2px 10px var(--shadow);
  text-align: center;
  transition: all 0.3s ease;
}

.tool-card:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px var(--shadow-lg);
}

.tool-card h3 {
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.tool-card p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.tool-button {
  padding: 0.8rem 1.5rem;
  background: var(--primary-blue);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tool-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
  background: #0052a3;
}

.newsletter-section {
  background: var(--light-gray);
  border-radius: 12px;
  padding: 3rem;
  text-align: center;
  margin: 4rem 0;
  border: 1px solid var(--medium-gray);
}

.newsletter-section h2 {
  font-size: 2.5rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.newsletter-section p {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.newsletter-form {
  display: flex;
  gap: 1rem;
  max-width: 600px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.newsletter-form input {
  flex: 1;
  min-width: 250px;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid var(--medium-gray);
  background: var(--white);
  color: var(--text-dark);
  font-size: 1rem;
}

.newsletter-form button {
  padding: 1rem 2rem;
  background: var(--primary-blue);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
  background: #0052a3;
}

/* Legal Pages (Privacy & Terms) Styles */
.legal-content {
  padding: 4rem 0 6rem;
}

.legal-document {
  max-width: 900px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 12px;
  padding: 4rem;
  border: 1px solid var(--medium-gray);
  box-shadow: 0 2px 10px var(--shadow);
}

.legal-document h2 {
  font-size: 2rem;
  color: var(--text-dark);
  margin-top: 3rem;
  margin-bottom: 1rem;
}

.legal-document h2:first-child {
  margin-top: 0;
}

.legal-document h3 {
  font-size: 1.5rem;
  color: var(--primary-blue);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.legal-document p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.legal-document ul,
.legal-document ol {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 1rem;
  padding-left: 2rem;
}

.legal-document li {
  margin-bottom: 0.5rem;
}

.legal-document strong {
  color: var(--primary-blue);
  font-weight: 700;
}

.legal-footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--medium-gray);
  text-align: center;
}

.legal-footer p {
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

/* Responsive adjustments for new pages */
@media (max-width: 968px) {
    
 .contact-section {
  margin: 0 auto;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .process-step {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .step-number {
    margin: 0 auto 1rem;
  }

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

  .legal-document {
    padding: 2rem;
  }

  .resource-grid,
  .tools-grid {
    grid-template-columns: 1fr;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .page-hero h1 {
    font-size: 2rem;
  }

  .case-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .case-study-card {
    padding: 2rem;
  }
  
  .contact-section {
    margin: 0 auto;
  }

  .legal-document {
    padding: 1.5rem;
  }

  .contact-form-wrapper,
  .contact-info-wrapper {
    padding: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .nav-links {
    gap: 0.5rem;
  }

  .nav-links a {
    font-size: 0.9rem;
  }
}
