/* GENERAL */
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
}
/* REMOVE UNDERLINE FROM NAV LINKS */
.nav-link {
  text-decoration: none; /* removes underline */
}

.nav-link.btn-cta {
  text-decoration: none; /* removes underline from CTA button */
}

.nav-link:hover,
.nav-link.active {
  background: rgba(255, 255, 255, 0.2);
  text-decoration: none; /* ensures no underline on hover */
}


/* HEADER */
.header {
  position: sticky;
  top: 0;
  width: 100%;
  background: linear-gradient(90deg, #4a6cf7, #8aa4ff);
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}

.header .container {
  max-width: 1300px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 8%;
}

/* LOGO */
.logo img {
  width: 180px;
  height: auto;
  transition: transform 0.3s ease;
}
.logo img:hover {
  transform: scale(1.05);
}

/* NAVIGATION */
.nav {
  display: flex;
  gap: 25px;
  align-items: center;
}

.nav-link {
  color: #fff;
  font-weight: 600;
  transition: 0.3s;
  padding: 8px 12px;
  border-radius: 8px;
}

.nav-link:hover,
.nav-link.active {
  background: rgba(255, 255, 255, 0.2);
}

.nav-link.btn-cta {
  background: #fff;
  color: #4a6cf7;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 12px;
  transition: 0.3s;
}

.nav-link.btn-cta:hover {
  background: #f0f4ff;
}

/* HAMBURGER MENU */
.menu-icon {
  display: none;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
  user-select: none;
}

/* MOBILE MENU */
@media (max-width: 992px) {
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100%;
    flex-direction: column;
    background: #4a6cf7;
    width: 250px;
    padding-top: 100px;
    gap: 25px;
    transition: right 0.3s ease;
    z-index: 999;
  }

  .nav.show {
    right: 0;
  }

  .menu-icon {
    display: block;
  }
}

/* RESOURCES HERO SECTION */
.resources-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 150px 8% 120px;
  background: linear-gradient(135deg, #f3f7ff 0%, #e9f1ff 100%);
  gap: 50px;
  flex-wrap: wrap;
  overflow: hidden;
}

.resources-hero-content {
  flex: 1;
  max-width: 600px;
}

.resources-hero-content h1 {
  font-size: 45px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 20px;
}

.resources-hero-content p {
  font-size: 18px;
  color: #333;
  line-height: 1.7;
  margin-bottom: 35px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
}

/* Buttons */
.primary-btn {
  padding: 15px 40px;
  background: #4a6cf7;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-radius: 12px;
  transition: 0.3s;
}

.primary-btn:hover {
  background: #3a55c2;
  transform: translateY(-3px);
}

.secondary-btn {
  padding: 15px 40px;
  border: 2px solid #4a6cf7;
  color: #4a6cf7;
  font-weight: 700;
  text-decoration: none;
  border-radius: 12px;
  transition: 0.3s;
}

.secondary-btn:hover {
  background: #4a6cf7;
  color: #fff;
  transform: translateY(-3px);
}

/* Hero Image */
.resources-hero-img {
  flex: 1;
  max-width: 520px;
}

.resources-hero-img img {
  width: 100%;
  border-radius: 22px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.1);
}

/* Glowing elements */
.res-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
  opacity: 0.55;
}

.res-glow1 {
  top: -90px;
  left: -70px;
  background: #9dc2ff;
}

.res-glow2 {
  bottom: -90px;
  right: -60px;
  background: #b6d5ff;
}

/* Responsive */
@media (max-width: 992px) {
  .resources-hero {
    text-align: center;
    flex-direction: column-reverse;
  }

  .hero-buttons {
    justify-content: center;
  }

  .resources-hero-content h1 {
    font-size: 34px;
  }

  .resources-hero-content p {
    font-size: 16px;
  }
}
/* RESOURCES CATEGORIES SECTION */
.resources-categories {
  padding: 120px 8%;
  background: #ffffff;
  text-align: center;
}

.resources-categories h2 {
  font-size: 42px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 15px;
}

.resources-sub {
  font-size: 18px;
  color: #555;
  max-width: 700px;
  margin: 0 auto 50px;
  line-height: 1.7;
}

/* Grid */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 35px;
}

/* Cards */
.resource-card {
  padding: 40px 30px;
  background: #f7faff;
  border-radius: 22px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
  transition: 0.3s;
}

.resource-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 18px 45px rgba(0,0,0,0.08);
}

.resource-card img {
  width: 70px;
  margin-bottom: 20px;
}

.resource-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #1e293b;
}

.resource-card p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
  .resources-categories h2 {
    font-size: 32px;
  }
  .resources-sub {
    font-size: 16px;
  }
}
/* ---- Resource Categories Section ---- */

.resource-categories {
    background: #f7fafc;
    padding: 80px 0;
}

.resource-container {
    max-width: 1200px;
    margin: auto;
    padding: 0 24px;
    text-align: center;
}

.resource-container h2 {
    font-size: 38px;
    font-weight: 700;
    color: #1a1a1a;
}

.resource-container h2 span {
    color: #2563eb;
}

.subtext {
    font-size: 17px;
    color: #555;
    max-width: 600px;
    margin: 12px auto 40px;
    line-height: 1.6;
}

/* Grid */
.resource-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.resource-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    text-align: left;
    box-shadow: 0px 6px 18px rgba(0, 0, 0, 0.08);
    transition: 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-6px);
    box-shadow: 0px 10px 22px rgba(0, 0, 0, 0.12);
}

.resource-card h3 {
    font-size: 22px;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.resource-card p {
    color: #555;
    font-size: 15px;
    margin-bottom: 16px;
    line-height: 1.6;
}

.card-link {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.card-link:hover {
    text-decoration: underline;
}

@media (min-width: 768px) {
    .resource-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}













/* FOOTER SECTION */
.footer-section {
  background: #4a6cf7;; /* light background consistent with CTA and hero */
  color: #ffffff;
  padding: 60px 8% 30px 8%;
  font-family: 'Poppins', sans-serif;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-logo img {
  width: 150px;
  margin-bottom: 15px;
}

.footer-logo p {
  font-size: 14px;
  line-height: 1.5;
  max-width: 250px;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 15px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  text-decoration: none;
  color: #ffffff;
  transition: color 0.3s;
}

.footer-links ul li a:hover {
  color: #ffffff;
}

.footer-contact p {
  margin-bottom: 10px;
  font-size: 14px;
}

.footer-socials a {
  display: inline-block;
  margin-right: 10px;
}

.footer-socials img {
  width: 24px;
  height: 24px;
  transition: transform 0.3s;
}

.footer-socials img:hover {
  transform: scale(1.2);
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  font-size: 14px;
  color: #ffffff;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-links ul li {
    display: inline-block;
    margin: 0 10px 10px 10px;
  }

  .footer-socials a {
    margin: 0 8px;
  }
}
