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

body {
    background: #F4F4F4;
    color: #222;
    font-family: "Inter", "Segoe UI", sans-serif;
}

/* BRAND COLORS */
:root {
    --red: #D62828;
    --red-dark: #B71F1F;
    --blue: #003F88;
    --blue-dark: #002B5C;
    --black: #000000;
    --gray: #444444;
    --light-gray: #F4F4F4;
}

/* HEADER */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 40px;
    background: var(--black);
    color: white;
    border-bottom: 4px solid var(--red);
}

.logo {
    display: flex;
    align-items: center;
    font-family: "Montserrat", sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo img {
    height: 40px;
    margin-right: 12px;
}


.nav-links a {
    margin-left: 24px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--red);
}

.hero {
    height: 65vh;
    /* Added #000 at the end to set a black background behind the contained SVG */
    background: url('https://buupquest-bpy-s3-bucket.s3.us-east-2.amazonaws.com/ns/assets/nc-crest.svg') center/contain no-repeat #000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    position: relative;
}


.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    color: white;
}

.hero-content h1 {
    font-family: "Montserrat", sans-serif;
    font-size: 3rem;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 25px;
}

.hero-content button {
    padding: 14px 28px;
    background: var(--red);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
}

.hero-content button:hover {
    background: var(--red-dark);
}

/* PAGE BANNER */
.page-banner {
    background: var(--black);
    color: var(--red);
    padding: 50px 20px;
    text-align: center;
    font-family: "Montserrat", sans-serif;
}

.page-banner h1 {
    font-size: 2.5rem;
}

/* CONTENT */
.content-section {
    padding: 50px 40px;
    max-width: 900px;
    margin: auto;
}

.content-section h2 {
    font-family: "Montserrat", sans-serif;
    color: var(--black);
    margin-top: 50px;
    margin-bottom: 15px;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.content-section p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333333;
    margin-bottom: 30px;
}

/* CONTENT EXTRA: QUOTE BLOCK */
.content-section .quote {
    font-style: italic;
    font-weight: 500;
    color: var(--gray);
    border-left: 4px solid var(--red);
    padding-left: 20px;
    margin-top: 50px;
    margin-bottom: 40px;
    font-size: 1.2rem;
    line-height: 1.6;
}

/* CARDS */
.cards-section {
    padding: 60px 40px;
    text-align: center;
}

.cards-section h2 {
    font-family: "Montserrat", sans-serif;
    font-size: 2.2rem;
    margin-bottom: 30px;
}

.cards-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.card {
    background: white;
    padding: 30px;
    width: 320px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    text-align: left;
}

.card h3 {
    font-family: "Montserrat", sans-serif;
    margin-bottom: 12px;
    font-size: 1.4rem;
}

.card p {
    margin-bottom: 20px;
    color: var(--gray);
}


/* 2. Hover state trigger */
.big-card-btn:hover{
  background: var(--blue-dark);
  animation: hotGlowPulse 2s infinite ease-in-out;
}

/* 3. The 3D Glow Keyframes blueprint */
@keyframes hotGlowPulse {
  0% {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1), 0 0 0 0px var(--blue-dark);
  }
  50% {
    /* Radiates a soft neon outline outward */
    box-shadow: 0 14px 28px rgba(255, 0, 0, 0.25),0 0 0 8px rgba(0, 123, 255, 0); /* Fades out at 8px */
        background-color:black;
  }
  100% {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1), 0 0 0 0px rgba(0, 123, 255, 0);
    background-color: var(--red-dark);
  }
}


/* 1. Base button state (Crucial for smooth entry and exit transitions) */
.card-btn {
  display: inline-block;
  background: var(--blue);
  color: white;
  text-decoration: none;
  font-weight: 600;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  
  /* Smoothly animate back to normal when unhovering */
  transition: background 0.4s ease, transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease;
}

/* 2. Hover state trigger */
.card-btn:hover{
  background: var(--blue-dark);
  transform: translateY(-4px) scale(1.02); /* Slight lift and scale */
  
  /* Triggers the infinite glowing pulse animation */
  animation: glowPulse 2s infinite ease-in-out;
}

/* 3. The 3D Glow Keyframes blueprint */
@keyframes glowPulse {
  0% {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2), 0 0 0 0px var(--blue-dark);
  }
  50% {
    /* Radiates a soft neon outline outward */
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25),0 0 0 8px rgba(0, 123, 255, 0); /* Fades out at 8px */
        background-color:black;
  }
  100% {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2), 0 0 0 0px rgba(0, 123, 255, 0);
    background-color: var(--blue);
  }
}

/* 
.card-btn {

}

.card-btn:hover {
    background: var(--blue-dark);
} */

/* FORM */
.join-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 20px;
}

.join-form input,
.join-form textarea {
    padding: 14px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 1rem;
}

.join-form button {
    padding: 14px;
    background: var(--red);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
}

.join-form button:hover {
    background: var(--red-dark);
}

/* FOOTER */
.site-footer {
    text-align: center;
    padding: 25px;
    background: var(--black);
    color: white;
    margin-top: 60px;
    border-top: 4px solid var(--red);
}
