
/* =================================== */
/* 🔼 CSS STYLES */
/* =================================== */

.banner {
    width: 100%;
    min-height: clamp(520px, 72vh, 760px);
    background: radial-gradient(1200px 600px at 15% 30%, rgba(242, 159, 5, 0.22), rgba(242, 159, 5, 0) 60%),
        linear-gradient(to right, var(--pink-500), var(--pink-700));
    font-family: 'Inter', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: clamp(28px, 4vw, 64px);
}

.banner-content {
    width: 100%;
    max-width: var(--content-max);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-block: clamp(24px, 5vh, 72px);
    column-gap: clamp(24px, 4vw, 64px);
}

.text-box {
    max-width: 560px;
    color: white;
    text-align: left;
}

.text-box h1 {
    font-size: var(--fs-h1);
    font-weight: 700;
    text-align: left;
    line-height: var(--lh-tight);
    letter-spacing: -0.02em;
    margin: 0;
}

.text-box span {
    color: var(--yellow-500);
}

.hero-subtitle {
    margin-top: 14px;
    font-size: var(--fs-lg);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.88);
    max-width: 52ch;
}

.hero-actions {
    margin-top: clamp(18px, 3vh, 34px);
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 18px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    font-size: 1.05rem;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.hero-btn-primary {
    background: var(--yellow-500);
    color: var(--pink-700);
}

.hero-btn-primary:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.hero-btn-secondary {
    background: rgba(255, 255, 255, 0.14);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: none;
}

.hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.hero-media {
    flex: 1;
    min-width: min(520px, 46vw);
    max-width: 620px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
}

.hero-media img {
    width: 100%;
    height: clamp(300px, 42vh, 460px);
    object-fit: cover;
    display: block;
    filter: saturate(1.05) contrast(1.02);
}

.hero-animate {
    animation: home-hero-text 800ms ease both;
}

.hero-animate-media {
    animation: home-hero-media 900ms ease 140ms both;
}

.hero-animate .hero-actions {
    animation: home-hero-actions 700ms ease 280ms both;
}

@keyframes home-hero-text {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes home-hero-media {
    from {
        opacity: 0;
        transform: translateX(24px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes home-hero-actions {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-animate,
    .hero-animate-media,
    .hero-animate .hero-actions {
        animation: none;
    }
}

.scroll-down {
    width: 52px;
    height: auto;
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    animation: bounce 1.5s infinite;
    z-index: 10;
}

@keyframes bounce {
    0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0.5; transform: translateX(-50%) translateY(10px); }
}

/* 🔹 RESPONSIVENESS */
@media screen and (max-width: 1024px) {
    .banner-content {
        flex-direction: column;
        gap: 20px;
        padding-block: clamp(18px, 3.5vh, 42px);
    }

    .text-box {
        text-align: center;
    }

    .text-box h1 {
        font-size: clamp(2.1rem, 7vw, 2.8rem);
        text-align: center;
        margin: clamp(18px, 3vh, 28px) auto;
    }

    .hero-subtitle {
        margin-inline: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-media {
        width: 100%;
        min-width: 0;
        max-width: 820px;
        border-radius: 22px;
    }

    .hero-media img {
        height: auto;
        aspect-ratio: 16 / 10;
    }

    .btn-learn-more {
        margin-top: 20px;
    }

    .scroll-down {
        width: 60px;
        height: auto;
        position: absolute;
        bottom: 30px;
        left: 50%;
        transform: translateX(-50%);
        cursor: pointer;
        animation: bounce 1.5s infinite;
    }
    
    @keyframes bounce {
        0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
        50% { opacity: 0.5; transform: translateX(-50%) translateY(10px); }
    }
}

@media screen and (max-width: 640px) {
    .scroll-down {
        width: 34px;
        height: 34px;
        bottom: 18px;
        border-radius: 999px;
    }

    .scroll-down img {
        width: 24px;
        height: 24px;
    }
}


/* =================================== */
/* ABOUT SECTION                     */ 
/* =================================== */
.about-section {
    font-family: 'Inter', sans-serif;
    display: block; 
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    background: var(--surface);
    padding: clamp(44px, 6vw, 72px) 40px;
    min-height: auto;
}

/* 🔹 TITLE */
.about-title {
    text-align: left;
    margin: 0 auto 18px;
    max-width: var(--content-max);
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

/* Title is inside a <p>, so override global paragraph styles */
.about-title p {
    margin: 0;
    font-size: var(--fs-h2);
    font-weight: 700;
    line-height: var(--lh-tight);
    letter-spacing: -0.02em;
    color: var(--pink-600);
}

/* 🔹 CONTAINER */
.about-container {
    display: flex;
    flex-direction: row;
    align-items: start;
    max-width: var(--content-max);
    width: 100%;
    gap: clamp(24px, 4vw, 56px);
    margin: 0 auto;
}

/* 🔹 TEXT CONTENT */
.about-content {
    flex: 1;
    max-width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.about-paragraph {
    font-size: var(--fs-lg);
    color: var(--muted);
    line-height: 1.7;
    max-width: 100%;
    text-align: left;
}

/* 🔹 VIDEO */
.about-video {
    flex: 1;
    max-width: 50%;
}

.about-video iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

/* 🔹 RESPONSIVENESS - ABOUT SECTION*/
@media screen and (max-width: 1024px) {
    .about-container {
        flex-direction: column;
        text-align: center;
        width: 100%;
        max-width: 100%;
        padding: 16px 0 0;
        margin: 0 auto;
        align-items: center;
    }

    .about-content {
        text-align: center;
        width: 100%;
        max-width: 760px;
        line-height: 1.6;
    }

    .about-paragraph {
        text-align: center;
        font-size: clamp(1rem, 2.1vw, 1.0625rem);
        line-height: 1.6;
        max-width: 100%;
        margin: 0 auto;
    }

    .about-title {
        text-align: center;
        margin-bottom: 20px;
        margin-top: 20px;
    }

    .about-video {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }

    .about-video iframe {
        width: 100%;
        height: auto;
        aspect-ratio: 16/9;
        display: block;
    }
}

@media screen and (max-width: 640px) {
    .about-section {
        padding: 38px 16px;
    }

    .about-container {
        padding-top: 10px;
        gap: 22px;
    }

    .about-paragraph {
        font-size: 0.98rem;
        line-height: 1.55;
    }
}

/* =================================== */
/* 🔹 Latest News Section              */ 
/* =================================== */
.latest-news-section {
    font-family: 'Inter', sans-serif;
    background-color: var(--yellow-500);
    text-align: center;
    padding: 70px 40px;
    min-height: auto;
}

/* 🔹 Container */
.latest-news-container {
    max-width: var(--content-max);
    margin: 0 auto;
}

/* 🔹 Header */
.latest-news-header {
    text-align: left;
    margin-bottom: 26px;
}

/* 🔹 Title */
.latest-news-title {
    font-size: var(--fs-h2);
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
    text-align: left;
    letter-spacing: -0.01em;
}

.latest-news-subtitle {
    max-width: 68ch;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* 🔹 News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

.news-grid-page {
    margin-top: 18px;
}

/* 🔹 News Item - Clickable */
.news-item {
    display: block;
    background: white;
    overflow: hidden;
    text-align: left;
    box-shadow: var(--shadow-md);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-radius: 0;
    border: 1px solid rgba(31, 41, 55, 0.08);
    display: flex;
    flex-direction: column;
}

.latest-news-section .news-item.is-visible {
    animation: latest-news-float 4.8s ease-in-out infinite;
}

.latest-news-section .news-item:nth-child(2).is-visible {
    animation-delay: 0.7s;
}

.latest-news-section .news-item:nth-child(3).is-visible {
    animation-delay: 1.4s;
}

@keyframes latest-news-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* 🔹 Hover Effect */
.latest-news-section .news-item.is-visible:hover {
    animation: latest-news-poke 520ms ease both;
    box-shadow: var(--shadow-md);
}

@keyframes latest-news-poke {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    35% {
        transform: translateY(-12px) rotate(-0.8deg);
    }
    65% {
        transform: translateY(3px) rotate(0.6deg);
    }
    100% {
        transform: translateY(-5px) rotate(0deg);
    }
}

/* 🔹 News Image */
.news-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

/* 🔹 News Content */
.news-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

/* 🔹 Heading */
.news-heading {
    font-size: var(--fs-h3);
    font-weight: 700;
    color: rgb(43, 41, 41);
    margin: 0;
}

/* 🔹 Description */
.news-description {
    font-size: var(--fs-sm);
    color: var(--muted);
    line-height: 1.5;
    margin: 0;
}

.news-cta {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--pink-500);
    color: white;
    font-weight: 700;
    width: fit-content;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

@media screen and (min-width: 1025px) {
    .news-item {
        min-height: 520px;
    }
}

.news-item:hover .news-cta {
    transform: translateY(-1px);
    background: var(--pink-600);
}

/* 🔹 Responsiveness - NEWS SECTION */
@media screen and (max-width: 1024px) {
    .news-grid {
        grid-template-columns: 1fr;
    }

    /* 🔹 Title */
    .latest-news-title {
        text-align: center;
    }

    .latest-news-header {
        text-align: center;
    }

    .latest-news-subtitle {
        margin: 0 auto;
    }

    .news-item img {
        height: auto;
        aspect-ratio: 16 / 10;
    }
}

@media (prefers-reduced-motion: reduce) {
    .latest-news-section .news-item.is-visible {
        animation: none;
    }
}

/* =================================== */
/* 🔹 Help Section                   */
/* =================================== */

/* 🔹 General Section Styling */
.help-section {
    text-align: left;
    padding: 40px;
    background-color: var(--surface);
    color: var(--muted);
}

/* 🔹 Container */
.help-container {
    max-width: var(--content-max);
    width: 100%;
    margin: auto;
    background: transparent;
    padding: 0;
    box-shadow: none;
    border-radius: 0;
    border: none;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}


/* 🔹 Contact Content Layout */
.contact-content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-top: 30px;
    padding: 20px 0;
}

/* 🔹 Contact Info */
.contact-info {
    flex: 1;
}

.contact-info h2 {
    font-size: var(--fs-h2);
    font-weight: 700;
    color: var(--pink-600);
    margin-bottom: 15px;
}

.contact-info h3 {
    font-size: var(--fs-h3);
    font-weight: bold;
    margin-top: 20px;
}

.contact-info p {
    font-size: var(--fs-lg);
    line-height: 1.6;
    margin-top: 10px;
}

/* Email/links in the Home contact info (avoid default blue underline) */
.help-section .contact-info a {
    color: var(--pink-700);
    font-weight: 800;
    text-decoration: none;
}

.help-section .contact-info a:hover {
    color: var(--pink-600);
}

.help-section .contact-info a:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 3px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icons img {
    width: 35px;
    height: 35px;
}

/* 🔹 Contact Form */
.contact-form-container {
    flex: 1;
    background: linear-gradient(180deg, rgba(162, 25, 91, 0.95), rgba(121, 11, 62, 0.95));
    padding: 30px;
    color: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

/* 🔹 Form Layout */
.form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
    flex: 1;
    margin-bottom: 20px;
}

.form-group label {
    font-weight: bold;
    font-size: 1em;
    margin: 0 0 8px 0;
}

/* 🔹 Input and Textarea Styling */
.form-group input,
.form-group textarea {
    font-family: 'Inter', sans-serif; 
    padding: 12px;
    border: 1px solid rgba(162, 25, 91, 0.16);
    background: #fff;
    color: var(--text);
    font-size: 1em;
    width: 100%;
    border-radius: 12px;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

/* 🔹 Placeholder Text Styling */
::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: rgba(242, 159, 5, 0.9);
    background: #fff;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(31, 41, 55, 0.55);
}

/* 🔹 Fix textarea resizing */
textarea {
    resize: none;
    overflow-y: auto;
    height: 150px;
}

/* 🔹 Sent button */
.submit-button {
    background-color: var(--yellow-500);
    color: white;
    padding: 14px 18px;
    border: none;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    transition: background 0.3s ease-in-out;
    border-radius: 999px;
    box-shadow: var(--shadow-sm);
}

.submit-button img {
    width: 20px;
}

.submit-button:hover {
    background-color: var(--yellow-600);
}

/* 🔹 Success & Error Messages */
.success-msg, .error-msg {
    display: none; 
    margin-top: 15px;
    font-size: 1em;
    font-weight: 500;
    padding: 10px;
    text-align: center;
    background: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: none;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

/* 🔹 Success Message */
.success-msg {
    color: #28a745; 
    border: 1px solid #3b4e3f;
}

/* 🔹 Error Message */
.error-msg {
    color: #dc3545;
    border: 1px solid #865d61;
}

/* 🔹 Responsive Adjustments */
@media screen and (max-width: 1024px) {
    .help-container {
        max-width: 100%;
        padding: 0;
    }

    .contact-content {
        flex-direction: column;
        gap: 30px;
    }

    .contact-info h2 {
        font-size: clamp(1.55rem, 4.6vw, 1.85rem);
    }

    .contact-info h3 {
        font-size: clamp(1.05rem, 3vw, 1.15rem);
    }

    .contact-info p {
        font-size: clamp(1rem, 2.1vw, 1.0625rem);
        line-height: 1.6;
    }

    .form-row {
        flex-direction: column;
    }

    .contact-form-container {
        width: 100%;
    }
}

@media screen and (max-width: 640px) {
    .help-section {
        padding: 36px 16px;
    }

    .contact-content {
        padding: 0;
    }

    .contact-info h2 {
        font-size: 1.5rem;
        line-height: 1.2;
    }

    .contact-info h3 {
        font-size: 1.02rem;
        margin-top: 18px;
    }

    .contact-info p {
        font-size: 0.98rem;
        line-height: 1.55;
    }

    .social-icons img {
        width: 30px;
        height: 30px;
    }

    .contact-form-container {
        padding: 24px 18px;
    }

    .form-group label,
    .form-group input,
    .form-group textarea,
    .submit-button {
        font-size: 0.95rem;
    }
}
