:root {
  --primary: #0b2341;
  --secondary: #0072ce;
  --light: #f5f8fc;
  --text: #1f2937;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text);
  line-height: 1.7;
}

.container {
  width: min(90%, 1200px);
  margin: auto;
}

.section {
  padding: 90px 0;
}

.light-bg {
  background: var(--light);
}

.header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
}

.logo img {
  height: 58px;
  width: auto;
  display: block;
}

/* Tablet */
@media (max-width: 900px) {
  .logo img {
    height: 44px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .logo img {
    height: 26px;
    max-width: 220px;
    object-fit: contain;
  }
}

/* Very small devices */
@media (max-width: 400px) {
  .logo img {
    height: 28px;
  }
}

@media (max-width: 600px) {
  .navbar {
    padding: 12px 0;
  }
}

@media (max-width: 600px) {
  .menu-btn {
    font-size: 28px;
  }
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: var(--primary);
  font-weight: 600;
}

.menu-btn {
  display: none;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  min-width: 220px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  display: none;
  flex-direction: column;
  padding: 10px 0;
  z-index: 1000;
}

.dropdown-menu.show {
  display: flex;
}

.dropdown-menu a {
  padding: 12px 20px;
  color: var(--primary);
  white-space: nowrap;
}

.dropdown:hover .dropdown-menu {
  display: flex;
}

@media (max-width: 900px) {
  .dropdown-menu {
    position: static;
    box-shadow: none;
    display: flex;
    padding-left: 15px;
    background: none;
  }
}

.hero {
  background:
    linear-gradient(rgba(11, 35, 65, 0.85), rgba(11, 35, 65, 0.85)),
    url(images/hero.jpg);
  background-size: cover;
  background-position: center;
  min-height: 85vh;
  display: flex;
  align-items: center;
  color: white;
}

.hero h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin: 20px 0;
  max-width: 700px;
}

.hero p {
  max-width: 650px;
  font-size: 1.15rem;
}

.hero-tag {
  background: rgba(255, 255, 255, 0.15);
  padding: 10px 18px;
  border-radius: 999px;
}

.hero-buttons {
  margin-top: 35px;
  display: flex;
  gap: 15px;
}

.btn-primary {
  background: var(--secondary);
  color: white;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
}

.btn-outline {
  border: 1px solid white;
  color: white;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 8px;
}

.stats {
  background: var(--primary);
  color: white;
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}

.stats h3 {
  font-size: 2.5rem;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--primary);
}

.journal-grid,
.feature-grid,
.discipline-grid,
.index-grid {
  display: grid;
  gap: 25px;
}

.journal-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.journal-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  transition: 0.3s;
}

.journal-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.journal-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.card-content {
  padding: 20px;
}

.card-content a {
  color: var(--secondary);
  text-decoration: none;
  font-weight: 600;
}

.feature-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.feature-card,
.discipline-grid div,
.index-grid div {
  background: white;
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid #e5e7eb;
}

.discipline-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.editorial {
  background: var(--primary);
  color: white;
  padding: 90px 0;
}

.editorial .section-title h2 {
  color: white;
}

.editorial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
}

.editorial-grid h3 {
  font-size: 3rem;
}

.index-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.cta {
  position: relative;

  padding: 120px 0;

  background:
    linear-gradient(rgba(11, 35, 65, 0.88), rgba(11, 35, 65, 0.88)),
    url("images/research-bg.jpg");

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

  text-align: center;

  overflow: hidden;
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-tag {
  display: inline-block;

  padding: 10px 18px;

  background: rgba(255, 255, 255, 0.12);

  border: 1px solid rgba(255, 255, 255, 0.15);

  color: white;

  border-radius: 999px;

  font-size: 0.85rem;

  font-weight: 600;

  letter-spacing: 1px;

  margin-bottom: 24px;
}

.cta h2 {
  color: white;

  font-size: 3rem;

  line-height: 1.2;

  max-width: 900px;

  margin: auto;
}

.cta p {
  color: rgba(255, 255, 255, 0.9);

  max-width: 700px;

  margin: 24px auto 40px;

  font-size: 1.15rem;
}

.cta-buttons {
  display: flex;

  justify-content: center;

  gap: 16px;

  flex-wrap: wrap;
}

.btn-outline-light {
  border: 1px solid rgba(255, 255, 255, 0.4);

  color: white;

  text-decoration: none;

  padding: 14px 28px;

  border-radius: 8px;

  transition: 0.3s;
}

.btn-outline-light:hover {
  background: white;

  color: #0b2341;
}

@media (max-width: 768px) {
  .cta {
    padding: 80px 0;
  }

  .cta h2 {
    font-size: 2rem;
  }

  .cta p {
    font-size: 1rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

footer {
  background: #041a34;
  color: #d7dde8;
  padding: 70px 0 25px;
}

.footer-top {
  display: grid;
  grid-template-columns:
    2fr
    1fr
    1fr
    1fr
    1.2fr;
  gap: 50px;
}

.footer-about img {
  width: 220px;
  margin-bottom: 25px;
}

.footer-about p {
  max-width: 320px;
  line-height: 1.8;
}

footer h4 {
  color: white;
  margin-bottom: 25px;
  font-size: 1.1rem;
}

footer a {
  display: block;
  color: #cfd7e6;
  text-decoration: none;
  margin-bottom: 14px;
  transition: 0.3s;
}

footer a:hover {
  color: white;
}

.footer-bottom {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 30px;
}

@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 900px) {
  .menu-btn {
    display: block;
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
  }

  .nav-links {
    position: absolute;
    top: 92px;
    left: 0;
    width: 100%;
    background: white;
    display: none;
    flex-direction: column;
    padding: 25px;
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
  }

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

  .hero {
    text-align: center;
    min-height: 75vh;
  }

  .hero h1 {
    font-size: 2.6rem;
  }

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

  .stats-grid,
  .editorial-grid {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }

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

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

  .stats-grid,
  .editorial-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 70px 0;
  }
}
