:root {
  --primary: #c8102e;
  --accent: #ff6600;
  --gold: #f2c94c;
}

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

body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: linear-gradient(135deg, #e0f7fa 0%, #f8f1e3 100%);
  overflow-x: hidden;
}

/* ===================== HEADER ===================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.nav {
  max-width: 1300px;
  height: 85px;
  margin: auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 26px;
  color: var(--primary);
}

.logo img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 50%;
}

.overlay.active{
    opacity:1;
    visibility:visible;
}

/* Menu */
.nav-links {
    display:flex;
    align-items:center;
    gap:32px;
}

.nav-links a{
    position:relative;
    color:#243b55;
    text-decoration:none;
    font-weight:600;
    transition:.3s;
}

.nav-links a.active{
    color:#c8102e;
}

.nav-links a.active::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-10px;
    width:100%;
    height:3px;
    background:#c8102e;
}

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

.hamburger{
    display:none;
    font-size:28px;
    cursor:pointer;
    color:var(--primary);
}

/* ===================== HERO ===================== */
.hero {
  min-height: 100vh;
  padding-top: 85px;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(135deg, #f8fbff 0%, #dceeff 40%, #b8dcff 100%);
}

.hero-content {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.6rem, 6.5vw, 4.5rem);
  line-height: 1.1;
  font-weight: 900;
  color: #173B6C;
  margin-bottom: 20px;
}

.hero-text h1 span {
  color: #D62828;
  position: relative;
}

.hero-text h1 span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 6px;
  width: 100%;
  height: 16px;
  background: #FFD54F;
  opacity: 0.45;
  z-index: -1;
  border-radius: 20px;
}

.hero-text p {
  font-size: clamp(1.2rem, 3vw, 1.45rem);
  line-height: 1.7;
  color: #425466;
  margin-bottom: 35px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  background: linear-gradient(45deg, #ff6b00, #ff8c00);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 1.25rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(255, 107, 0, 0.5);
  transition: all 0.4s;
}

.btn:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(255, 107, 0, 0.6);
}

.hero-image img {
  width: 100%;
  max-width: 480px;
  border-radius: 20px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
  animation: float 6s ease-in-out infinite;
}

/* ===================== EXPLORE SECTION ===================== */
.explore {
  padding: 100px 20px;
  max-width: 1300px;
  margin: 0 auto;
}

.explore h2 {
  text-align: center;
  font-size: clamp(2.2rem, 5vw, 3rem);
  margin-bottom: 60px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  transition: all 0.4s ease;
  cursor: pointer;
}

.card:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 50px rgba(200, 16, 46, 0.2);
}

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

.card-content {
  padding: 24px;
}

.card h3 {
  font-size: 1.65rem;
  margin-bottom: 12px;
  color: var(--primary);
}

.card p {
  color: #555;
  line-height: 1.6;
}


/* Footer */
footer {
  background: linear-gradient(135deg, #f8fbff 0%, #dceeff 40%, #b8dcff 100%);
  color: black;
  text-align: center;
  padding: 50px 20px 30px;
  font-size: 1rem;
}

/* ===================== ANIMATIONS ===================== */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-25px); }
}

/* ===================== MOBILE MENU ===================== */
@media (max-width: 767px) {
  .hamburger {
    display: block;
  }

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

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

  .nav-links a {
    padding: 10px 0;
    text-align: center;
    font-size: 17px;
  }
}

@media (max-width: 767px) {
  .nav {
    height: 75px;
  }

  .hero {
    min-height: 80vh;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-image img {
    max-width: 360px;
  }

  .explore {
    padding: 80px 15px;
  }

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

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: clamp(2rem, 8.5vw, 2.6rem);
  }
}