/* =================== Reset and Base Styles =================== */
@import url('./src/styles/navigation.css');
@import url('./src/styles/components.css');
@import url('./src/styles/animations.css');
@import url('./src/styles/sections.css');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(15px, 4vw, 20px);
}

/* =================== Cursor Trail =================== */
#cursor-trail {
  position: fixed;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.8), rgba(255, 215, 0, 0.2));
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.1s ease;
  transform: translate(-50%, -50%);
  opacity: 0;
}

@media (hover: none) and (pointer: coarse) {
  #cursor-trail {
    display: none;
  }
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  padding: clamp(80px, 15vh, 120px) 0 0;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.animated-lines {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(90deg, rgba(255, 215, 0, 0.1) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 215, 0, 0.1) 1px, transparent 1px);
  background-size: clamp(30px, 8vw, 50px) clamp(30px, 8vw, 50px);
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

.floating-elements {
  position: absolute;
  width: 100%;
  height: 100%;
}

.float-element {
  position: absolute;
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: rgba(255, 215, 0, 0.3);
  animation: float 6s ease-in-out infinite;
}

.float-element:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.float-element:nth-child(2) {
  top: 60%;
  right: 15%;
  animation-delay: 1.5s;
}

.float-element:nth-child(3) {
  bottom: 30%;
  left: 20%;
  animation-delay: 3s;
}

.float-element:nth-child(4) {
  top: 40%;
  right: 25%;
  animation-delay: 4.5s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 clamp(1rem, 4vw, 2rem);
  width: 100%;
}

.hero-title {
  font-size: clamp(2rem, 8vw, 3.5rem);
  font-weight: 700;
  color: white;
  margin-bottom: clamp(1rem, 3vw, 1.5rem);
  line-height: 1.2;
}

.highlight {
  color: #ffd700;
  position: relative;
}

.hero-subtitle {
  font-size: clamp(1rem, 3vw, 1.2rem);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: clamp(2rem, 5vw, 2.5rem);
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: clamp(0.75rem, 2vw, 1rem) clamp(1.5rem, 4vw, 2rem);
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  font-weight: 600;
  color: #0f172a;
  background: linear-gradient(135deg, #ffd700 0%, #ffed4a 100%);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  touch-action: manipulation;
  min-height: 44px; /* Touch target size */
  margin: 0.5rem;
}

.cta-button:hover,
.cta-button:focus {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
  outline: none;
}

.cta-button:active {
  transform: translateY(0);
}

.scroll-indicator {
  position: absolute;
  bottom: clamp(1rem, 4vw, 2rem);
  left: 50%;
  transform: translateX(-50%);
}

.scroll-arrow {
  width: 2px;
  height: clamp(20px, 5vw, 30px);
  background: rgba(255, 255, 255, 0.5);
  position: relative;
  animation: scrollBounce 2s infinite;
}

.scroll-arrow::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -3px;
  width: 8px;
  height: 8px;
  border-right: 2px solid rgba(255, 255, 255, 0.5);
  border-bottom: 2px solid rgba(255, 255, 255, 0.5);
  transform: rotate(45deg);
}

@keyframes scrollBounce {
  0%, 100% { opacity: 0.7; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(10px); }
}

/* Sections */
.section-title {
  font-size: clamp(2rem, 6vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: clamp(2rem, 6vw, 3rem);
  color: #1e293b;
  line-height: 1.2;
}

/* Definition Box Section */
.definition-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f9fafc;
  padding: clamp(1.5rem, 4vw, 2rem);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  margin-bottom: clamp(2rem, 6vw, 3rem);
  gap: clamp(1rem, 4vw, 2rem);
}

.definition-text {
  flex: 1;
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  line-height: 1.6;
}

.definition-image {
  flex-shrink: 0;
}

.definition-image img {
  max-width: clamp(200px, 40vw, 350px);
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
}

/* Flow Container Section */
.flow-container {
  position: relative;
  padding: 2rem 0;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.flow-line {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, #0056b3, #00c853);
  border-radius: 2px;
}

.flow-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  position: relative;
}

.flow-card {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  position: relative;
  width: 40%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect */
.flow-card:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Alternate left and right alignment */
.flow-card:nth-child(odd) {
  align-self: flex-start;
  margin-left: 0;
}

.flow-card:nth-child(even) {
  align-self: flex-end;
  margin-right: 0;
}

/* Small decorative connector dot */
.flow-card::before {
  content: '';
  position: absolute;
  top: 1.2rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #00c853;
  border: 3px solid white;
  box-shadow: 0 0 0 3px rgba(0, 200, 83, 0.3);
}

/* Position dot left/right depending on card side */
.flow-card:nth-child(odd)::before {
  right: -38px;
}

.flow-card:nth-child(even)::before {
  left: -38px;
}

/* Comparison Section */
.comparison-section {
  padding: clamp(3rem, 8vw, 4rem) clamp(1rem, 4vw, 2rem);
  background: #f9fbfd;
}

.comparison-section .section-title {
  text-align: center;
  font-size: clamp(1.8rem, 5vw, 2rem);
  margin-bottom: clamp(1.5rem, 4vw, 2rem);
  font-weight: 600;
  color: #0a2540;
}

.table-wrapper {
  overflow-x: auto;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  background: #fff;
  -webkit-overflow-scrolling: touch;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  min-width: 600px;
}

.comparison-table thead tr {
  background: linear-gradient(90deg, #0a2540, #134b8a);
  color: #3d3b3b;
}

.comparison-table th,
.comparison-table td {
  padding: clamp(0.75rem, 2vw, 1rem) clamp(0.8rem, 2.5vw, 1.2rem);
  text-align: left;
  border-bottom: 1px solid #e5eaf1;
  vertical-align: top;
}

.comparison-table th {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: clamp(0.75rem, 1.8vw, 0.85rem);
}

.comparison-table tbody tr:nth-child(even) {
  background-color: #f7faff;
}

.comparison-table tbody tr:hover {
  background-color: #eef6ff;
  transition: background 0.3s ease;
}

.comparison-table td:first-child {
  font-weight: 600;
  color: #0a2540;
  background: #f2f6fb;
  min-width: clamp(150px, 30vw, 220px);
}

.comparison-table td {
  color: #333;
  line-height: 1.5;
}

/* FAQ Section */
.faq-section {
  padding: clamp(3rem, 8vw, 4rem) clamp(1rem, 4vw, 1.25rem);
  background: #f9fafb;
  font-family: "Segoe UI", sans-serif;
}

.faq-title {
  text-align: center;
  font-size: clamp(1.8rem, 5vw, 2rem);
  font-weight: 700;
  margin-bottom: clamp(2rem, 6vw, 2.5rem);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr));
  gap: clamp(1.5rem, 4vw, 2.5rem);
  max-width: 1100px;
  margin: 0 auto;
}

.faq-item {
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  margin-bottom: clamp(1rem, 3vw, 1.375rem);
  position: relative;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: clamp(1rem, 3vw, 1.125rem) clamp(1rem, 3vw, 1.25rem);
  background: #fff;
  border: none;
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  font-weight: 600;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  touch-action: manipulation;
  min-height: 44px;
}

.faq-question:hover,
.faq-question:focus {
  background: #f0f4f8;
  outline: none;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s ease;
  padding: 0 clamp(1rem, 3vw, 1.25rem);
}

.faq-answer p {
  margin: clamp(0.75rem, 2vw, 0.9375rem) 0;
  color: #555;
  line-height: 1.5;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

.faq-item.active .faq-answer {
  max-height: clamp(150px, 40vw, 200px);
  padding: 0 clamp(1rem, 3vw, 1.25rem) clamp(0.75rem, 2vw, 0.9375rem);
}

/* Ripple Effect */
.faq-question::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  background: rgba(0, 123, 255, 0.4);
  border-radius: 50%;
  transform: scale(0);
  opacity: 0;
  pointer-events: none;
}

.faq-question.ripple::after {
  animation: ripple 0.5s ease-out;
}

@keyframes ripple {
  from {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0.7;
  }
  to {
    transform: translate(-50%, -50%) scale(20);
    opacity: 0;
  }
}

/* Growth Line Section */
.growth-line-section {
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: clamp(3rem, 8vw, 3.75rem) 0;
}

.growth-line {
  width: 100%;
  max-width: clamp(300px, 80vw, 600px);
  height: clamp(200px, 50vw, 300px);
}

/* Base animation */
.animated-line {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: drawLine 4s linear infinite;
}

/* Slight delays for variety */
.line1 {
  animation-delay: 0s;
}
.line2 {
  animation-delay: 1s;
  opacity: 0.7;
}
.line3 {
  animation-delay: 2s;
  opacity: 0.5;
}

@keyframes drawLine {
  from {
    stroke-dashoffset: 1000;
  }
  to {
    stroke-dashoffset: 0;
  }
}

/* About Section */
.about-section {
  padding: clamp(4rem, 10vw, 6rem) 0;
  background: #f8fafc;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: clamp(1.5rem, 4vw, 2rem);
}

.about-card {
  background: white;
  padding: clamp(1.5rem, 4vw, 2rem);
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.1);
}

.about-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.about-card h3 {
  font-size: clamp(1.2rem, 3vw, 1.4rem);
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 1rem;
}

.about-card p {
  color: #64748b;
  line-height: 1.6;
  font-size: clamp(0.9rem, 2.5vw, 1rem);
}

/* Audience Section */
.audience-section {
  padding: clamp(4rem, 10vw, 6rem) 0;
  background: white;
}

.eligibility-table {
  max-width: 800px;
  margin: 0 auto;
  background: #f8fafc;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.eligibility-header {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  color: white;
  padding: clamp(1.5rem, 4vw, 2rem);
  text-align: center;
}

.eligibility-header h3 {
  font-size: clamp(1.3rem, 3vw, 1.6rem);
  font-weight: 600;
}

.eligibility-items {
  padding: clamp(1.5rem, 4vw, 2rem);
}

.eligibility-item {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 1.5rem);
  padding: clamp(1rem, 3vw, 1.5rem) 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateX(-30px);
}

.eligibility-item:last-child {
  border-bottom: none;
}

.check-icon {
  width: clamp(40px, 8vw, 50px);
  height: clamp(40px, 8vw, 50px);
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: bold;
  flex-shrink: 0;
  transform: scale(0);
}

.animate-check.visible .check-icon {
  animation: checkPop 0.6s ease forwards;
}

.animate-check.delay-1.visible .check-icon {
  animation-delay: 0.1s;
}

.animate-check.delay-2.visible .check-icon {
  animation-delay: 0.2s;
}

.animate-check.delay-3.visible .check-icon {
  animation-delay: 0.3s;
}

.item-content h4 {
  font-size: clamp(1.1rem, 2.5vw, 1.2rem);
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.item-content p {
  color: #64748b;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

/* Strategies Section */
.scrollable-content {
  max-height: 400px;  /* adjust as per design */
  overflow-y: auto;   /* enables vertical scroll */
  padding-right: 10px; /* space for scrollbar */
}
.strategies-section {
  padding: clamp(4rem, 10vw, 6rem) 0;
  background: #f8fafc;
}

.strategies-container {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2rem);
  margin-bottom: clamp(2rem, 5vw, 3rem);
  flex-wrap: wrap;
}

.strategy-tab {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: clamp(0.75rem, 2vw, 1rem) clamp(1.5rem, 3vw, 2rem);
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  color: #64748b;
  font-size: clamp(0.9rem, 2vw, 1rem);
  touch-action: manipulation;
  min-height: 44px;
}

.strategy-tab.active {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  color: white;
  border-color: #1e293b;
}

.strategy-tab:hover,
.strategy-tab:focus {
  border-color: #ffd700;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  outline: none;
}

.tab-icon {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
}

.strategy-content {
  position: relative;
  min-height: clamp(300px, 60vw, 400px);
}

.strategy-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
  pointer-events: none;
}

.strategy-panel.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.strategy-card {
  background: white;
  padding: clamp(2rem, 5vw, 3rem);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.1);
}

.strategy-card h3 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: #1e293b;
  margin-bottom: clamp(1.5rem, 4vw, 2rem);
  text-align: center;
}

.strategy-features {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2rem);
}

.feature {
  display: flex;
  gap: clamp(1rem, 3vw, 1.5rem);
  align-items: flex-start;
  padding: clamp(1rem, 3vw, 1.5rem);
  background: #f8fafc;
  border-radius: 15px;
  transition: all 0.3s ease;
}

.feature:hover {
  transform: translateX(10px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: clamp(1.5rem, 4vw, 2rem);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.feature h4 {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.feature p {
  color: #64748b;
  line-height: 1.6;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

/* CTA Section */
.cta-section {
  padding: clamp(4rem, 10vw, 6rem) 0;
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  text-align: center;
}

.cta-content h2 {
  font-size: clamp(2rem, 6vw, 2.5rem);
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.cta-content p {
  font-size: clamp(1rem, 3vw, 1.2rem);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: clamp(1.5rem, 4vw, 2rem);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Contact Section */
.contact-section {
  padding: clamp(4rem, 10vw, 6rem) 0;
  background: #f8fafc;
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
}

.contact-form {
  background: white;
  padding: clamp(2rem, 5vw, 3rem);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
  position: relative;
  margin-bottom: clamp(1.5rem, 4vw, 2rem);
}

.form-group input {
  width: 100%;
  padding: clamp(0.75rem, 2vw, 1rem) clamp(0.75rem, 2vw, 1rem) clamp(0.75rem, 2vw, 1rem) 0;
  border: none;
  border-bottom: 2px solid #e2e8f0;
  background: transparent;
  font-size: clamp(0.9rem, 2.5vw, 1rem);
  outline: none;
  transition: border-color 0.3s ease;
  min-height: 44px;
}

.form-group input:focus {
  border-bottom-color: #ffd700;
}

.form-group label {
  position: absolute;
  left: 0;
  top: clamp(0.75rem, 2vw, 1rem);
  color: #64748b;
  font-size: clamp(0.9rem, 2vw, 1rem);
  transition: all 0.3s ease;
  pointer-events: none;
}

.form-group input:focus + label,
.form-group input:valid + label {
  top: -0.5rem;
  font-size: clamp(0.7rem, 1.8vw, 0.8rem);
  color: #ffd700;
}

.checkbox-group {
  display: flex;
  gap: clamp(0.75rem, 2vw, 1rem);
  align-items: flex-start;
  margin-bottom: clamp(1.5rem, 4vw, 2rem);
}

.checkbox-group input[type="checkbox"] {
  margin-top: 0.2rem;
  flex-shrink: 0;
  min-width: 16px;
  min-height: 16px;
}

.checkbox-group label {
  font-size: clamp(0.8rem, 2vw, 0.9rem);
  color: #64748b;
  line-height: 1.5;
}

.submit-button {
  width: 100%;
  padding: clamp(0.75rem, 2vw, 1rem) clamp(1.5rem, 4vw, 2rem);
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  font-weight: 600;
  color: #0f172a;
  background: linear-gradient(135deg, #ffd700 0%, #ffed4a 100%);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 50px;
  touch-action: manipulation;
}

.submit-button:hover,
.submit-button:focus {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
  outline: none;
}

/* Footer */
.footer {
  background: #0f172a;
  color: white;
  padding: clamp(2rem, 5vw, 3rem) 0 clamp(1rem, 2vw, 1rem);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: clamp(1.5rem, 4vw, 2rem);
}

.footer-section h3,
.footer-section h4 {
  margin-bottom: 1rem;
  color: #ffd700;
  font-size: clamp(1.1rem, 2.5vw, 1.2rem);
}

.footer-logo {
  font-size: clamp(1.5rem, 4vw, 1.8rem);
  font-weight: 700;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

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

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

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: clamp(0.9rem, 2vw, 1rem);
  touch-action: manipulation;
  display: inline-block;
  padding: 0.25rem 0;
}

.footer-section ul li a:hover,
.footer-section ul li a:focus {
  color: #ffd700;
  outline: none;
}

.social-links {
  display: flex;
  gap: clamp(0.75rem, 2vw, 1rem);
  flex-wrap: wrap;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(40px, 8vw, 48px);
  height: clamp(40px, 8vw, 48px);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  text-decoration: none;
  font-size: clamp(1.1rem, 2.5vw, 1.2rem);
  transition: all 0.3s ease;
  touch-action: manipulation;
}

.social-link:hover,
.social-link:focus {
  background: #ffd700;
  color: #0f172a;
  transform: translateY(-3px);
  outline: none;
}

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

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: clamp(0.8rem, 2vw, 0.9rem);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 1rem;
}

.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

.modal-content {
  background: white;
  padding: clamp(2rem, 5vw, 3rem);
  border-radius: 20px;
  text-align: center;
  max-width: min(400px, 90vw);
  width: 100%;
  transform: scale(0.7);
  transition: transform 0.3s ease;
}

.modal.show .modal-content {
  transform: scale(1);
}

.success-icon {
  width: clamp(60px, 15vw, 80px);
  height: clamp(60px, 15vw, 80px);
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: bold;
  margin: 0 auto clamp(1rem, 3vw, 1.5rem);
  animation: successPop 0.6s ease;
}

.modal-content h3 {
  font-size: clamp(1.4rem, 4vw, 1.8rem);
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
}

.modal-content p {
  color: #64748b;
  line-height: 1.6;
  margin-bottom: clamp(1.5rem, 4vw, 2rem);
  font-size: clamp(0.9rem, 2.5vw, 1rem);
}

.modal-button {
  padding: clamp(0.75rem, 2vw, 0.75rem) clamp(1.5rem, 4vw, 2rem);
  font-size: clamp(0.9rem, 2.5vw, 1rem);
  font-weight: 600;
  color: white;
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  touch-action: manipulation;
  min-height: 44px;
}

.modal-button:hover,
.modal-button:focus {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  outline: none;
}
#contact {
  margin-top: 300px;
  /* padding-top: 250px; */
  position: relative;
  z-index: 10;
}
.scrollable-content::-webkit-scrollbar {
  width: 8px;
}

.scrollable-content::-webkit-scrollbar-thumb {
  background: #cbd5e1; /* light gray */
  border-radius: 4px;
}

.scrollable-content::-webkit-scrollbar-thumb:hover {
  background: #94a3b8; /* darker on hover */
}
/* Mobile Specific Styles */
@media (max-width: 768px) {
    .scrollable-content {
    max-height: 300px;
  }
  .hero {
    min-height: 100vh;
    padding-top: 60px;
  }
  #contact {
    margin-top: 500px;
    border-radius: 40px;
    /* padding-top: 250px; */
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .strategies-container {
    flex-direction: column;
    align-items: stretch;
  }
  
  .strategy-tab {
    width: 100%;
    max-width: none;
    justify-content: center;
  }
  
  .feature {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .feature-icon {
    align-self: center;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .eligibility-item {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .item-content {
    text-align: center;
  }
  
  .strategy-content {
    min-height: 350px;
  }
  
  /* Mobile optimizations for new sections */
  .definition-box {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  
  .definition-text {
    margin-right: 0;
    order: 2;
  }
  
  .definition-image {
    order: 1;
    align-self: center;
  }
  
  .definition-image img {
    max-width: 100%;
    width: 100%;
  }
  
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .comparison-table {
    min-width: 500px;
    font-size: 0.85rem;
  }
  
  .comparison-table th,
  .comparison-table td {
    padding: 0.75rem 0.8rem;
  }
  
  .comparison-table td:first-child {
    min-width: 120px;
  }
  
  .flow-container {
    padding-left: 1rem;
  }
  
  .flow-line {
    left: 20px;
    width: 3px;
  }
  
  .flow-grid {
    margin-left: 2rem;
    gap: 1.5rem;
  }
  
  .flow-card {
    padding: 1.25rem;
  }
  
  .growth-line {
    max-width: 90vw;
    height: 250px;
  }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    .scrollable-content {
    max-height: 250px;
  }
  .hero {
    min-height: 100vh;
    padding-top: 60px;
  }
  #contact {
    margin-top: 120px;   /* pushes it down from above section */
    padding-top: 100px;  /* keeps inner spacing */
    z-index: 50000;      /* stays on top of floating items */
  }
  .hero-content {
    padding: 0 1rem;
  }
  
  .container {
    padding: 0 15px;
  }
  
  .nav-container {
    padding: 0.75rem 1rem;
  }
  
  .strategy-content {
    min-height: 300px;
  }
  
  .cta-button {
    width: 100%;
    max-width: 300px;
  }
  
  .strategies-container {
    gap: 0.5rem;
  }
  
  .modal-content {
    margin: 0 1rem;
  }
  #contact{
    margin-top: 00;
    padding-top: 150;
    z-index: 50000;
  }
  .form-group input {
    font-size: 16px; /* Prevents zoom on iOS */
  }
  
  /* Small mobile optimizations for new sections */
  .definition-box {
    padding: 1.5rem;
  }
  
  .definition-text {
    font-size: 1rem;
  }
  
  .faq-question {
    padding: 1rem;
    font-size: 1rem;
  }
  
  .faq-answer p {
    font-size: 0.9rem;
  }
  
  .comparison-section {
    padding: 3rem 1rem;
  }
  
  .comparison-table {
    min-width: 450px;
    font-size: 0.8rem;
  }
  
  .comparison-table th,
  .comparison-table td {
    padding: 0.6rem 0.6rem;
  }
  
  .flow-container {
    padding-left: 0.75rem;
    display: block;
  }
  
  .flow-line {
    left: 15px;
    width: 2px;
  }
  
  .flow-grid {
    margin-left: 1.5rem;
    gap: 1.25rem;
  }
  
  .flow-card {
    padding: 1rem;
  }
  
  .card-icon {
    font-size: 1.5rem;
  }
  
  .growth-line {
    height: 200px;
  }
  
  .floating-elements {
    display: none;
  }
}

/* Tablet Specific Styles */
@media (min-width: 768px) and (max-width: 1024px) {
  .hero {
    min-height: 80vh;
  }
  
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .strategies-container {
    gap: 1rem;
  }
  
  .strategy-tab {
    flex: 1;
    max-width: 200px;
  }
  
  .feature {
    flex-direction: row;
    text-align: left;
  }
  
  .eligibility-item {
    flex-direction: row;
    text-align: left;
  }
  
  .definition-box {
    flex-direction: row;
    text-align: left;
  }
  
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .comparison-table {
    min-width: 700px;
  }
  
  .flow-container {
    padding-left: 2rem;
  }
  
  .flow-grid {
    margin-left: 2.5rem;
  }
}

/* Large Screen Optimizations */
@media (min-width: 1440px) {
  .hero-title {
    font-size: 4rem;
  }
  
  .hero-subtitle {
    font-size: 1.3rem;
  }
  
  .section-title {
    font-size: 3rem;
  }
  
  .container {
    padding: 0 2rem;
  }
  
  .definition-box {
    padding: 2.5rem;
  }
  
  .definition-text {
    font-size: 1.2rem;
  }
  
  .definition-image img {
    max-width: 400px;
  }
  
  .faq-grid {
    gap: 3rem;
  }
  
  .comparison-table {
    font-size: 1rem;
  }
  
  .flow-card {
    padding: 2rem;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .nav-link::after {
    height: 3px;
  }
  
  .cta-button {
    border: 2px solid #ffd700;
  }
  
  .about-card,
  .definition-box,
  .flow-card,
  .faq-item {
    border: 2px solid rgba(255, 215, 0, 0.3);
  }
}

/* Print Styles */
@media print {
  .navbar,
  .scroll-indicator,
  .floating-elements,
  .animated-lines,
  .hamburger,
  .growth-line-section {
    display: none !important;
  }
  
  .hero {
    height: auto;
    min-height: auto;
    padding: 2rem 0;
  }
  
  .hero-background {
    display: none;
  }
  
  * {
    color: #000 !important;
    background: white !important;
  }
  
  .section-title,
  .hero-title {
    color: #000 !important;
  }
  
  .cta-button {
    border: 2px solid #000 !important;
  }
  
  .about-card,
  .strategy-card,
  .contact-form,
  .definition-box,
  .flow-card,
  .faq-item {
    box-shadow: none !important;
    border: 1px solid #ccc !important;
  }
  
  .comparison-table {
    min-width: auto !important;
  }
}

/* Focus visible styles for better accessibility */
*:focus-visible {
  outline: 2px solid #ffd700;
  outline-offset: 2px;
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  .nav-link:hover::after,
  .about-card:hover,
  .feature:hover,
  .flow-card:hover {
    transform: none;
  }
  
  .cta-button:hover,
  .strategy-tab:hover,
  .faq-question:hover {
    transform: none;
  }
  
  /* Increase touch targets */
  .nav-link,
  .cta-button,
  .strategy-tab,
  .social-link,
  .faq-question {
    min-height: 44px;
    min-width: 44px;
  }
}