/* ===== ALstudyLanka - Complete Styling ===== */
:root {
  --accent: #0b6ff0;
  --bg: #f6f8fb;
  --muted: #6b7280;
  --card: #ffffff;
  --radius: 12px;
  --shadow: 0 8px 30px rgba(16, 24, 40, 0.06);
  --shadow-hover: 0 18px 40px rgba(16, 24, 40, 0.12);
  --max: 1100px;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #f8fbff 0%, var(--bg) 100%);
  color: #0f172a;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

/* LAYOUT */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px;
}

/* HEADER */
.site-header {
  backdrop-filter: blur(6px);
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(15, 23, 42, 0.04);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  font-size: 1.5rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav a {
  text-decoration: none;
  color: inherit;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.2s ease;
}

.nav a:hover {
  background: rgba(11, 111, 240, 0.08);
}

/* BUTTONS */
.btn {
  padding: 10px 18px;
  border-radius: 10px;
  border: 0;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  font-weight: 600;
  display: inline-block;
  transition: all 0.3s ease;
}

.btn:hover {
  background: #0959d0;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(11, 111, 240, 0.3);
}

.btn.ghost {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.btn.ghost:hover {
  background: var(--accent);
  color: #fff;
}

.btn.small {
  padding: 8px 14px;
  font-size: 0.9rem;
}

/* HERO SECTION */
.hero {
  padding: 80px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 40px;
  align-items: center;
}

.hero-text h1 {
  font-size: 2.5rem;
  margin: 0 0 16px;
  line-height: 1.2;
}

.hero-text p {
  color: var(--muted);
  margin: 0 0 24px;
  font-size: 1.1rem;
}

.hero-cta {
  display: flex;
  gap: 12px;
}

/* HERO CARD WITH SLIDESHOW */
.hero-card {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.7),
    rgba(255, 255, 255, 0.5)
  );
  border-radius: 18px;
  padding: 14px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.slideshow-track {
  position: relative;
  width: 100%;
  height: 280px;
  border-radius: 12px;
}

.slideshow-track img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  opacity: 0;
  transition: opacity 2s ease-in-out;
}

.slideshow-track img:first-child {
  opacity: 1;
}

/* Fade animations */
@keyframes fade1 {
  0%,
  20% {
    opacity: 1;
  }
  30%,
  100% {
    opacity: 0;
  }
}

@keyframes fade2 {
  0%,
  10% {
    opacity: 0;
  }
  20%,
  40% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

@keyframes fade3 {
  0%,
  30% {
    opacity: 0;
  }
  40%,
  60% {
    opacity: 1;
  }
  70%,
  100% {
    opacity: 0;
  }
}

@keyframes fade4 {
  0%,
  50% {
    opacity: 0;
  }
  60%,
  80% {
    opacity: 1;
  }
  90%,
  100% {
    opacity: 0;
  }
}

@keyframes fade5 {
  0%,
  70% {
    opacity: 0;
  }
  80%,
  100% {
    opacity: 1;
  }
}

.slideshow-track img:nth-child(1) {
  animation: fade1 20s infinite;
}
.slideshow-track img:nth-child(2) {
  animation: fade2 20s infinite;
}
.slideshow-track img:nth-child(3) {
  animation: fade3 20s infinite;
}
.slideshow-track img:nth-child(4) {
  animation: fade4 20s infinite;
}
.slideshow-track img:nth-child(5) {
  animation: fade5 20s infinite;
}

/* SECTIONS */
.section {
  padding: 60px 0;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 12px;
  text-align: center;
}

.section-subtitle {
  text-align: center;
  color: var(--muted);
  margin-bottom: 40px;
  font-size: 1.1rem;
}

/* SERVICES SECTION */
.services-section {
  background: #fff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.service-card {
  background: var(--card);
  padding: 28px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(11, 111, 240, 0.08);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.service-card h3 {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 1.2rem;
}

.service-card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.6;
}

/* WHY CHOOSE US SECTION */
.why-section {
  background: linear-gradient(135deg, #f8fbff 0%, #e8f1ff 100%);
}

.why-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.stat-box {
  background: var(--card);
  padding: 32px;
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  animation: float 3s ease-in-out infinite;
}

.stat-box:nth-child(2) {
  animation-delay: 0.5s;
}
.stat-box:nth-child(3) {
  animation-delay: 1s;
}
.stat-box:nth-child(4) {
  animation-delay: 1.5s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.stat-box:hover {
  transform: translateY(-12px) scale(1.05);
  box-shadow: var(--shadow-hover);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}

.stat-label {
  color: var(--muted);
  font-weight: 500;
  font-size: 1rem;
}

.story-section {
  text-align: center;
  margin-top: 40px;
}

.story-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.story-link:hover {
  transform: translateX(8px);
}

/* CTA SECTION */
.cta-section {
  background: linear-gradient(135deg, var(--accent) 0%, #0959d0 100%);
  color: #fff;
}

.cta-container {
  text-align: center;
}

.cta-container h2 {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.cta-container p {
  font-size: 1.1rem;
  margin-bottom: 32px;
  opacity: 0.95;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.cta-buttons .btn {
  background: #fff;
  color: var(--accent);
}

.cta-buttons .btn:hover {
  background: #f0f9ff;
}

.cta-buttons .btn.ghost {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.cta-buttons .btn.ghost:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* PRE-FOOTER */
.pre-footer {
  background: #fff;
  padding: 60px 0;
}

.pre-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

.footer-about h3 {
  color: var(--accent);
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.footer-about p {
  color: var(--muted);
  line-height: 1.7;
}

.footer-links h4 {
  margin-bottom: 16px;
  color: #0f172a;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--accent);
}

/* FOOTER */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 32px 0;
}

.footer-content {
  text-align: center;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icons {
  display: flex;
  gap: 16px;
}

.social-icons a {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
  text-decoration: none;
}

.social-icons a:hover {
  transform: scale(1.2);
}

.footer-legal {
  display: flex;
  gap: 12px;
  align-items: center;
}

.footer-legal a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: #fff;
}

.footer-tagline p {
  margin: 8px 0;
  color: #cbd5e1;
}

.copyright {
  font-size: 0.9rem;
  color: #64748b;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .pre-footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-row {
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero-cta {
    flex-direction: column;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .nav a:not(.btn) {
    display: none;
  }

  .hero-text h1 {
    font-size: 1.6rem;
  }
}
/* ===== ENHANCED ABOUT PAGE STYLES ===== */

/* ABOUT HERO WITH BACKGROUND IMAGE */
.about-hero {
  background: url("https://i.pinimg.com/1200x/d7/af/db/d7afdb6904f637315bb564ae9f72f4a6.jpg")
    center/cover no-repeat;
  color: #fff;
  padding: 140px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.about-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.about-hero .container {
  position: relative;
  z-index: 2;
}

@keyframes kenburns {
  0% {
    transform: scale(1) translateX(0);
  }
  100% {
    transform: scale(1.1) translateX(-20px);
  }
}

.about-hero h1 {
  font-size: 3.5rem;
  margin: 0 0 20px;
  position: relative;
  animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
  font-size: 1.3rem;
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.95;
  position: relative;
  animation: fadeInUp 1s ease-out 0.3s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* STORY SECTION - FIXED LAYOUT */
/* Story Section Typography */
.story-text h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: var(--accent);
  position: relative;
  font-family: inherit; /* Maintain consistency */
}

.story-text h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
}

.inspirational-quote {
  font-style: italic;
  color: var(--muted);
  border-left: 4px solid var(--accent);
  padding-left: 20px;
  margin: 25px 0;
  font-size: 1.1rem;
  line-height: 1.6;
  font-family: inherit; /* Maintain consistency */
}

.tagline {
  font-weight: 600;
  color: var(--accent);
  font-size: 1.2rem;
  margin: 20px 0 25px 0;
  text-align: center;
  padding: 15px;
  background: rgba(11, 111, 240, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(11, 111, 240, 0.1);
  font-family: inherit; /* Maintain consistency */
}

.story-text p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 20px;
  font-size: 1.05rem;
  font-family: inherit; /* Maintain consistency */
}

/* Resource Links Styling */
.resource-links {
  margin-top: 30px;
  padding: 25px;
  background: rgba(11, 111, 240, 0.03);
  border-radius: 12px;
  border-left: 4px solid var(--accent);
}

.resource-links h3 {
  margin-bottom: 20px;
  color: var(--accent);
  font-size: 1.3rem;
  font-family: inherit; /* Maintain consistency */
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .story-text h2 {
    font-size: 2rem;
  }

  .inspirational-quote {
    font-size: 1rem;
    margin: 20px 0;
  }

  .tagline {
    font-size: 1.1rem;
  }

  .story-text p {
    font-size: 1rem;
  }
}

@media (max-width: 640px) {
  .story-text h2 {
    font-size: 1.8rem;
  }

  .resource-links {
    padding: 20px;
  }

  .resource-links h3 {
    font-size: 1.2rem;
  }
}
/* MISSION SECTION */
.mission-section {
  background: linear-gradient(135deg, #f8fbff 0%, #e8f1ff 100%);
  position: relative;
}

.mission-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: url("https://images.unsplash.com/photo-1665567030471-da505f62b640?ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=871&q=80")
    center/cover;
  opacity: 0.05;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 50px;
  position: relative;
}

.mission-card {
  background: var(--card);
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
}

.mission-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.5s ease;
}

.mission-card:hover::before {
  left: 100%;
}

.mission-card:hover {
  transform: translateY(-15px) scale(1.05);
  box-shadow: 0 25px 50px rgba(11, 111, 240, 0.15);
  border-color: var(--accent);
}

.mission-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  display: inline-block;
  animation: float 3s ease-in-out infinite;
}

.mission-card:nth-child(2) .mission-icon {
  animation-delay: 0.5s;
}
.mission-card:nth-child(3) .mission-icon {
  animation-delay: 1s;
}
.mission-card:nth-child(4) .mission-icon {
  animation-delay: 1.5s;
}

.mission-card h3 {
  color: var(--accent);
  margin-bottom: 15px;
  font-size: 1.3rem;
  font-weight: 700;
}

.mission-card p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1rem;
  position: relative;
}

/* WHY ENGLISH SECTION */
.why-english-section {
  background: #fff;
  position: relative;
}

.why-english-content {
  position: relative;
}

.why-english-content h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: var(--accent);
  text-align: center;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.why-english-content h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 25%;
  width: 50%;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
}

.why-english-content p {
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 25px;
  font-size: 1.1rem;
  max-width: 900px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
  transition: all 0.3s ease;
}

.why-english-content p:hover {
  color: #0f172a;
  transform: scale(1.02);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.stat-item {
  text-align: center;
  padding: 40px 20px;
  background: linear-gradient(135deg, #f8fbff 0%, #e8f1ff 100%);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  border: 3px solid transparent;
}

.stat-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("https://images.unsplash.com/photo-1450101499163-c8848c66ca85?w=800&q=80&auto=format&fit=crop")
    center/cover;
  opacity: 0.05;
}

.stat-item:hover {
  transform: translateY(-10px) rotate(1deg);
  border-color: var(--accent);
  box-shadow: 0 20px 40px rgba(11, 111, 240, 0.1);
}

.stat-item strong {
  display: block;
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 10px;
  font-weight: 800;
  position: relative;
}

.stat-item span {
  color: var(--muted);
  font-weight: 600;
  font-size: 1.1rem;
  position: relative;
}

/* VALUES SECTION */
.values-section {
  background: linear-gradient(135deg, #f8fbff 0%, #e8f1ff 100%);
  position: relative;
}

.values-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: url("https://images.unsplash.com/photo-1523240795612-9a054b0db644?w=1200&q=80&auto=format&fit=crop")
    center/cover;
  opacity: 0.05;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  margin-top: 50px;
  position: relative;
}

.value-item {
  background: var(--card);
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  border-left: 5px solid var(--accent);
}

.value-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--accent) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.value-item:hover::before {
  opacity: 0.05;
}

.value-item:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.value-item h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: #0f172a;
  position: relative;
  transition: all 0.3s ease;
}

.value-item:hover h3 {
  color: var(--accent);
  transform: translateX(10px);
}

.value-item p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
  position: relative;
  transition: all 0.3s ease;
}

.value-item:hover p {
  color: #0f172a;
}

/* PULSE ANIMATION FOR IMPORTANT ELEMENTS */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.pulse {
  animation: pulse 2s infinite;
}

/* FLOATING ANIMATION */
@keyframes floating {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

.floating {
  animation: floating 3s ease-in-out infinite;
}

/* RESPONSIVE FOR ENHANCED ABOUT PAGE */
@media (max-width: 1024px) {
  .mission-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-hero h1 {
    font-size: 3rem;
  }
}

@media (max-width: 900px) {
  .story-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .story-image {
    order: -1;
  }

  .about-hero h1 {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .mission-grid {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .stats-row {
    grid-template-columns: 1fr;
  }

  .about-hero {
    padding: 100px 0 80px;
  }

  .about-hero h1 {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .mission-card,
  .value-item {
    padding: 30px 20px;
  }

  .stat-item {
    padding: 30px 20px;
  }

  .stat-item strong {
    font-size: 2.5rem;
  }
}

/* SCROLL ANIMATIONS */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.numbered-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.numbered-link-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background: linear-gradient(135deg, #f8fbff 0%, #e8f1ff 100%);
  border-radius: 12px;
  border: 2px solid rgba(11, 111, 240, 0.1);
  transition: all 0.3s ease;
}

.numbered-link-item:hover {
  transform: translateX(10px);
  border-color: var(--accent);
  box-shadow: 0 8px 25px rgba(11, 111, 240, 0.15);
}

.link-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  font-weight: bold;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.numbered-link-item:hover .link-number {
  transform: scale(1.1);
  background: #0959d0;
}

.resource-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #0f172a;
  font-weight: 500;
  font-size: 1.1rem;
  flex-grow: 1;
  transition: all 0.3s ease;
}

.resource-link:hover {
  color: var(--accent);
}

.link-icon {
  font-size: 1.3rem;
  transition: transform 0.3s ease;
}

.resource-link:hover .link-icon {
  transform: scale(1.2);
}

/* Responsive design for numbered links */
@media (max-width: 640px) {
  .numbered-link-item {
    padding: 12px;
    gap: 12px;
  }

  .link-number {
    width: 30px;
    height: 30px;
    font-size: 1rem;
  }

  .resource-link {
    font-size: 1rem;
    gap: 10px;
  }

  .link-icon {
    font-size: 1.2rem;
  }
}
/* MAKE NAVIGATION MENU VISIBLE */
.site-header .nav a {
  color: #0f172a !important; /* Black text color */
  font-weight: 500;
}

.site-header .nav a:hover {
  color: #0b6ff0 !important; /* Brand blue on hover */
  background: rgba(11, 111, 240, 0.08);
}

/* Ensure the header background is visible */
.site-header {
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(6px);
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid rgba(15, 23, 42, 0.04);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}
.social-icons {
  display: flex;
  gap: 16px;
}

.social-icons a {
  color: #666;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-icons a:hover {
  color: #3b82f6; /* You can change this to your brand color */
}
/* SEO Keywords Section - Hidden from users but accessible to search engines */
.seo-keywords {
  display: none;
}
/* Email validation styles */
.form-input.error {
  border-color: #e74c3c !important;
  background-color: rgba(231, 76, 60, 0.05) !important;
}

.error-message {
  color: #e74c3c;
  font-size: 0.8rem;
  margin-top: 5px;
  padding: 5px;
  background: rgba(231, 76, 60, 0.1);
  border-radius: 4px;
  border-left: 3px solid #e74c3c;
}

/* Dark mode support */
.dark-mode .form-input.error {
  border-color: #e74c3c !important;
  background-color: rgba(231, 76, 60, 0.1) !important;
}

.dark-mode .error-message {
  background: rgba(231, 76, 60, 0.15);
  color: #ff6b6b;
}

