body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #1f2937;
    background-color: rgb(255, 215, 0, 0.4);
    line-height: 1.6;
}

/* VIDEO HERO */

header {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(255, 215, 0, 0.15),
            rgba(0, 0, 0, 0.5));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
    max-width: 900px;
}

header h1 {
    font-size: 4rem;
    font-weight: 800;
    margin: 0;
    text-shadow: 0 10px 20px rgba(0, 0, 0, 1);
}

header h1+h1 {
    margin-top: 12px;
}

header p {
    font-size: 1.35rem;
    margin: 30px auto 40px;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    padding: 16px 42px;
    background-color: rgba(255, 215, 0, 0.9);
    color: rgba(0, 0, 0, 0.783);
    text-decoration: none;
    border-radius: 20px;
    font-weight: 700;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
}

.highlight {
  position: relative;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(255, 0, 0, 0.5); /* Red with transparency */
  color: white;
  padding: 5px 15px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 5px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  z-index: 10; /* Ensure it stays above the image */
}

section {
    padding: 40px 20px 10px 20px;
    max-width: 1150px;
    margin: 0 auto;
}

section h2 {
    text-align: center;
    font-size: 2.6rem;
    margin-bottom: 20px;
    font-weight: 500;
}

section p {
    max-width: 760px;
    margin: 0 auto 50px;
    text-align: center;
    color: #4b5563;
    font-size: 1.05rem;
}

.image-grid {
    display: grid;
    gap: 20px;
    padding: 10px;
}

.image-item {
    position: relative;
    overflow: hidden;
    /* ensures rounded corners clip text properly */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
}

.image-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 5px;
}

.image-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(255, 255, 0, 0.01);
    /* Light overlay color */
    border-radius: 5px;
    /* Match image corners */
    z-index: 1;
}

.image-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgb(0, 0, 0);
    text-align: center;
    font-weight: 400;
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* First line underlined */
.image-text .line1 {
    font-size: 30px;
    text-decoration: underline;
    white-space: nowrap;
}

.line2 {
    font-size: 20px;
    white-space: nowrap;
}

.line3 {
    font-size: 18px;
    white-space: nowrap;
}

footer {
    background: #111827;
    color: #d1d5db;
    text-align: center;
    padding: 50px 20px;
}

footer a {
    color: #d1d5db;
}

/* Responsive Grid Layout */
@media (min-width: 768px) {
    .image-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    header h1 {
        font-size: 2.4rem;
    }

    header p {
        font-size: 1.1rem;
    }

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