/* ===========================
    1. VARIABLES & GLOBALS
=========================== */
:root {
    /* Colors */
    --color-primary: #fbb017;
    --color-secondary: #000;
    --color-text-dark: #101828;
    --color-text-light: #333;
    --color-background-light: #fff;
    --color-background-grey: #f9f9f9;
    
    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 15px;
    --spacing-md: 40px;
    --spacing-lg: 60px;
    
    /* Layout */
    --max-width: 1200px;
}

* { 
    box-sizing: border-box; 
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    overflow-x: hidden;
    color: var(--color-text-dark);
}

/* Reusable container for max-width and centering */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* Global Typography */
h1 {
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 900;
}

h2 {
    margin: 40px auto 16px;
    text-align: center;
    font-size: clamp(20px, 2.5vw, 28px);
}

/* Buttons */
.button {
    display: inline-block;
    padding: 15px 30px;
    background: var(--color-secondary);
    color: var(--color-background-light);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s;
}

.button:hover {
    background: #333;
}

.read-more {
    display: inline-block;
    background: var(--color-secondary);
    color: var(--color-background-light);
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: 0.3s;
}

.read-more:hover {
    background: var(--color-primary);
    color: var(--color-secondary);
}


/* ===========================
    2. HEADER & NAVIGATION (UPDATED)
=========================== */
.header {
    background: var(--color-background-light);
    box-shadow: 0 3px 6px #00000029;
    padding: var(--spacing-sm) var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 100;
}

/* NEW: Larger Logo */
.logo img {
    height: 90px; /* Increased logo size */
}

.nav-links {
    display: flex;
    gap: 30px;
}

/* NEW: Bolder Navigation Text */
.nav-links a {
    text-decoration: none;
    color: var(--color-secondary);
    font-weight: 700; /* Made text bold */
    font-size: 16px;
    transition: color 0.2s;
}
.nav-links a:hover {
    color: var(--color-primary);
}

.hamburger {
    display: none;
    font-size: 30px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    color: var(--color-secondary);
}

/* ===========================
    3. HERO SECTION (UPDATED)
=========================== */
/* ===========================
    HERO SECTION: STRUCTURE AND ALIGNMENT
=========================== */
/* ====================================
   1. HERO SECTION CONTAINER (Wraps the whole section)
   ==================================== */
.hero {
    position: relative;
    height: 90vh; /* Set hero height */
    overflow: hidden;
    display: flex;
    align-items: center; /* Vertical centering of content wrapper */
    justify-content: center;
}

/* ====================================
   2. VIDEO & OVERLAY STYLING
   ==================================== */

.hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures video covers the entire area */
    z-index: 1;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    /* Custom Gradient (Yellow on the left, fade to transparent) */
    background: linear-gradient(
        to right,
        var(--color-primary, #FFC107) 0%, 
        var(--color-primary, #FFC107) 38%, /* Yellow covers about 38% of the width */
        rgba(255, 255, 255, 0.1) 100%
    );
    z-index: 2;
}

/* ====================================
   3. CONTENT WRAPPER (Handles Left/Right Split)
   ==================================== */

.hero__content-wrapper.container {
    position: relative;
    z-index: 3;
    width: 100%; /* Important for Flexbox to take full width */
    display: flex;
    align-items: center; /* Vertical alignment */
    justify-content: space-between; /* Pushes content and logos apart */
    
    /* REMOVES PADDING on the left so the text starts right on the edge of the gradient */
    padding-left: 0; 
}


/* --- Left Side: Content Block (Text/Button) --- */
/* --- Content Typography --- */

.hero__content h1 {
    /* Responsive sizing for "DREAM THE FUTURE" */
    font-size: clamp(60px, 8vw, 65px); 
    font-weight: 900; 
    margin-bottom: var(--spacing-sm, 10px);
    line-height: 1.1;
    /* Keeps the title on one line on desktop for a strong look */
    white-space: nowrap; 
}

.hero__content p {
    font-size: 24px;
    font-weight: 700;
    margin: var(--spacing-sm, 10px) 0 var(--spacing-md, 20px);
    
    /* ADDED: Forces the paragraph onto a single line */
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis; /* Will show "..." if the line is clipped */
}

.hero__content .button {
    /* Basic button styling (ensure it uses your design) */
    display: inline-block;
    padding: 12px 25px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    background-color: #0d0d0d; 
    color: #ebe6e6;
    transition: background-color 0.3s;
}

/* --- Right Side: Logo Block --- */

.hero__logo {
    display: flex;
    flex-direction: column; /* Stack logos vertically */
    align-items: flex-end; /* Align logos to the right edge */
    padding-right: 50px; /* Space from the right edge of the screen */
}

/* --- Logo Images (BIG Sizes) --- */
.hero__logo img:first-child {
    height: 220px; /* Big size for main logo (Bee icon) */
    width: auto;
    margin-bottom: 5px; /* Space between the two logos */
}

.hero__logo img:last-child {
    height: 150px; /* Big size for text logo */
    width: auto;
}


/* ====================================
   4. MOBILE RESPONSIVENESS (Stacking Content)
   ==================================== */

@media (max-width: 991px) {
    .hero {
        height: 80vh; 
    }
    
    /* Stack content and logos vertically and center them */
    .hero__content-wrapper.container {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 0 20px;
    }
    
    /* Center text content */
    .hero__content {
        padding-left: 0;
        text-align: center;
        margin-bottom: 30px;
    }

    /* Allow H1 to wrap on small screens */
    .hero__content h1 {
        white-space: normal;
    }
    
    /* Center logo group */
    .hero__logo {
        align-items: center;
        padding-right: 0;
    }
    
    /* Smaller logo size for mobile */
    .hero__logo img:first-child {
        height: 60px; 
    }

    .hero__logo img:last-child {
        height: 40px; 
    }
}
/* Optional: Ensure the title has a margin below it */
.section__title {
    margin-bottom: 20px;
}

/* Optional: Ensure the paragraph has a max width so it doesn't span the full screen */
.welcome__desc {
    max-width: 800px; /* Adjust this value as needed */
    margin: 0 auto; /* Centers the paragraph block itself */
}
/* ===========================
    FEATURE SECTION: GENERAL STYLING
=========================== */
.feature-section {
    padding: 80px 0; /* Add vertical spacing for separation */
}

.feature__container {
    display: flex; /* Activate flexbox for side-by-side layout */
    align-items: center; /* Vertically center image and content */
    gap: 40px; /* Space between the image and the content */
}

.feature__image,
.feature__content {
    /* Each side takes up roughly half the container space */
    flex: 1; 
}

.feature__image img {
    /* Ensures the image fills its container without stretching */
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px; /* Optional: adds a soft look to the image */
}

.feature__title {
    font-size: 32px;
    font-weight: 700;
    color: #101828; /* Use your primary color for emphasis */
    margin-bottom: 20px;
}

.feature__content p {
    line-height: 1.6;
    margin-bottom: 20px;
}

.read-more {
    display: inline-block;
    color: #fff; /* Use an accent color for the link */
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid #101828;
    padding-bottom: 2px;
}

/* ===========================
    CONTACT SECTION: LAYOUT (Flexbox)
=========================== */
.contact-section {
    padding: 80px 0;
    background-color: #f8f8f8; /* Light background for contrast, if needed */
}

.contact__container {
    display: flex;
    align-items: center; /* Vertically centers content and image */
    gap: 40px; /* Space between the form and the image */
}

.contact__form,
.contact__image {
    /* Form on the left, Image on the right, taking equal width */
    flex: 1; 
}

/* Ensure the image scales correctly */
.contact__image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* --- CONTACT HEADING STYLE --- */
.contact__form h2 {
    font-size: 32px;
    margin-bottom: 25px;
    color: var(--color-secondary);
}


/* ===========================
    CONTACT SECTION: FORM STYLING
=========================== */

/* Style for the row containing First and Second Name */
.contact__form .form-row {
    display: flex;
    gap: 15px; /* Space between the two name inputs */
    margin-bottom: 15px;
}

/* Style for all input fields */
.contact__form input:not([type="submit"]) {
    width: 100%; /* Makes inputs take up full width of their container */
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    box-sizing: border-box; /* Important for padding/border not to exceed width */
}

/* Specific styling for inputs inside the form-row (First/Second Name) */
.contact__form .form-row input {
    flex: 1; /* Makes each input in the row take equal space */
    margin-bottom: 0; /* Remove bottom margin here since form-row handles it */
}

/* Submit button styling */
.contact__form .button--submit {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: var(--color-primary); /* Use your primary yellow color */
    color: var(--color-secondary); /* Use a dark text color on the button */
    border: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact__form .button--submit:hover {
    background-color: var(--color-accent); /* Darken or change color on hover */
}
/* ===========================
    FEATURE SECTION: ALTERNATING LAYOUT FIX (The Key Fix)
=========================== */

/* Style for the SECOND and every ALTERNATING section (Design) */
.feature-section--design .feature__image {
    /* Pushes the image to the right side by setting its order higher than the content */
    order: 2; 
}

.feature-section--design .feature__content {
    /* Pushes the content to the left side by setting its order lower than the image */
    order: 1; 
}


/* ===========================
    5. SPONSORS STRIP (UPDATED)
=========================== */
.sponsors {
    --size: 170px; /* Smaller size for logos */
    --gap: 20px; 
    --speed: 35s;
    --band: #f2f4f7;
    --edge-fade: 90px;

    background: var(--band);
    overflow: hidden;
    position: relative;
    padding: 30px 0; /* Reduced padding */
}

/* Left / Right Fade Shadow */
.sponsors::before,
.sponsors::after {
    content: "";
    position: absolute;
    top: 0; bottom: 0;
    width: var(--edge-fade);
    z-index: 3;
    pointer-events: none;
}

.sponsors::before {
    left: 0;
    background: linear-gradient(to right, var(--band), transparent);
}

.sponsors::after {
    right: 0;
    background: linear-gradient(to left, var(--band), transparent);
}

.sponsor-track {
    display: flex;
    align-items: center;
    gap: var(--gap);
    width: max-content;
    animation: marquee var(--speed) linear infinite;
    padding: 0 var(--edge-fade);
}

.sponsors:hover .sponsor-track {
    animation-play-state: paused;
}

.sponsor {
    flex: 0 0 auto;
    width: var(--size);
    height: var(--size);
    border-radius: 90%;
    background: var(--color-background-light);
    border: 1px solid #e6e6e6;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px; /* Reduced padding */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
}

.sponsor img {
    max-width: 100%;
    /* NEW: Enforce uniform visual height, let width auto scale */
    max-height: 90px; 
    width: auto;
    object-fit: contain;
    opacity: 0.85;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.sponsor:hover {
    transform: translateY(0); /* Removed hover lift */
    box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
}

.sponsor:hover img {
    opacity: 1;
    transform: scale(1.05);
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}


/* ===========================
    6. FOOTER (FINAL - BLACK CENTERED COPYRIGHT)
=========================== */
.footer {
    --pad-x: 20px;
    --cap-h: clamp(80px, 14vw, 140px);
    
    /* Removed padding-bottom here to manage the gap with the section below */
    padding: 24px var(--pad-x) 0; 
    background: var(--color-primary); 
    color: var(--color-secondary); 
    
    /* Important: This yellow section should NOT have a bottom border if the black bar is separate */
    border-bottom: none; 
    
    position: relative;
    /* Removed full-width positioning on the main footer */
}

/* Wave graphic background (Keep if you are using it) */
.footer::before {
    /* ... (no change to this block) ... */
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, calc(-1 * var(--cap-h)));
    width: 100%;
    height: var(--cap-h);
    background: url("img/IMG-20250127-WA0016.png") center bottom / 100% auto no-repeat;
    border-bottom: 4px solid #000;
}

.footer__inner {
    display: grid;
    /* Keep the column definitions */
    grid-template-columns: minmax(150px, auto) 1fr 1.5fr 1fr; 
    
    /* FIX 1: Reduced gap between columns */
    gap: 20px; 
    
    /* Add padding to separate grid content from copyright block */
    padding-bottom: 30px; 
}

/* --- COLUMN STYLING (No changes needed here) --- */

.footer__col--brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer__logo {
    height: 200px; 
    width: auto;
}

.footer__nav {
    display: flex;
    flex-direction: column; 
    gap: 5px;
}

.footer__nav a {
    color: var(--color-secondary);
    text-decoration: none;
    font-weight: 500;
    padding: 2px 0;
}

.footer__title {
    font-weight: 700;
    display: block;
    margin-bottom: 10px; 
    color: #111; 
}

.footer__col p {
    margin-bottom: 8px;
    line-height: 1.4;
    color: var(--color-secondary);
}

.footer__col strong {
    font-weight: 900;
    margin-right: 5px;
}


/* ===========================
    FIX 2: CENTERING THE BLACK COPYRIGHT BOX
=========================== */

.footer__copy {
    /* This element must be located OUTSIDE the .footer__inner in the HTML */
    
    /* Set the black background and white text */
    background: #000; 
    color: #fff;
    padding: 15px 20px;
    
    /* Use flexbox to center content horizontally */
    display: flex; 
    justify-content: center; 
    align-items: center;
    font-size: 14px;
    
    /* To make it span full width if needed, or simply let the container control it */
    width: 100%; 
    
    /* Ensure no weird spacing/gaps */
    margin: 0;
    box-sizing: border-box;
}

.footer__copy .container {
    /* Forces the text content (inside the container) to center-align if it doesn't span full width */
    text-align: center; 
}



/* =======================================
    7. MOBILE RESPONSIVENESS (Media Queries)
======================================= */

/* --- Tablet / Navigation Breakpoint (Max 900px) --- */
@media (max-width: 900px) {
    /* NAVIGATION: Hide desktop links and show the hamburger menu */
    .nav-links {
        display: none; /* Hidden by default on mobile */
        position: absolute;
        top: 100%; 
        left: 0;
        width: 100%;
        flex-direction: column;
        background: var(--color-background-light);
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        padding: 20px 0;
        z-index: 90;
    }
    .nav-links a {
        padding: 10px var(--spacing-sm);
        text-align: center;
        border-bottom: 1px solid #eee;
    }
    .hamburger {
        display: block; /* Show the hamburger icon */
    }
    /* Note: You will need JavaScript to toggle .nav-links to display:flex for the menu to appear */
}


/* --- Mobile Breakpoint (Max 768px) --- */
@media (max-width: 768px) {
    /* GLOBAL SPACING ADJUSTMENTS */
    h2 {
        font-size: 24px;
        margin-top: 20px;
    }
    .feature-section, .contact-section {
        padding: 40px 0; /* Reduce section padding */
    }
    .welcome.container {
        padding: 40px 0;
    }

    /* HERO SECTION */
    .hero {
        height: auto; /* Allow height to adjust based on content */
        padding-top: 50px; 
        padding-bottom: 50px; 
    }

    .hero__overlay {
        /* Change overlay direction and dominance for mobile stacking */
        background: linear-gradient(
            to bottom,
            var(--color-primary) 0%, 
            var(--color-primary) 50%,
            rgba(255, 255, 255, 0.1) 100%
        );
    }
    
    .hero__content-wrapper.container {
        flex-direction: column; /* Stack content and logo vertically */
        text-align: center; 
        padding: 0 var(--spacing-sm) !important; 
    }
    
    .hero__content-wrapper.container > .hero__content {
        order: 2; /* Content below the logo */
        margin-top: 30px;
        max-width: 100%;
        padding: 0;
    }

    .hero__logo {
        order: 1; /* Logo above the content */
        margin-bottom: 20px;
        max-width: 100%;
    }
    
    .hero__content h1 {
        /* Reset single-line forcing for H1 on mobile, allowing wrap */
        white-space: normal !important; 
        font-size: clamp(32px, 8vw, 45px);
    }
    
    .hero__content p {
        font-size: 18px;
    }

    .hero__content .button {
        margin-top: 20px;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* FEATURE SECTION */
    .feature__container {
        flex-direction: column; /* Stack image and content vertically */
        gap: 30px;
    }
    
    /* Remove alternating order on mobile */
    .feature-section--design .feature__image {
        order: initial; 
    }

    .feature-section--design .feature__content {
        order: initial; 
    }

    .feature__image {
        margin-bottom: 0;
    }
    
    /* CONTACT SECTION */
    .contact__container {
        flex-direction: column; /* Stack form and image */
    }
    
    .contact__image {
        order: 2; /* Image below the form on mobile */
        margin-top: 30px;
    }

    .contact__form {
        order: 1; /* Form above the image on mobile */
    }

    /* Stack First Name and Last Name inputs vertically */
    .contact__form .form-row {
        flex-direction: column;
        gap: 0;
    }

    /* Add back bottom margin to individual inputs within the stacked form-row */
    .contact__form .form-row input {
        margin-bottom: 15px;
    }
    
 
.footer {
    --pad-x: 20px;
    --cap-h: clamp(80px, 14vw, 140px);
    
    /* Removed padding-bottom here to manage the gap with the section below */
    padding: 24px var(--pad-x) 0; 
    background: var(--color-primary); 
    color: var(--color-secondary); 
    
    /* Important: This yellow section should NOT have a bottom border if the black bar is separate */
    border-bottom: none; 
    
    position: relative;
    box-sizing: border-box; 
}

/* Wave graphic background (Keep as is) */
.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, calc(-1 * var(--cap-h)));
    width: 100%;
    height: var(--cap-h);
    background: url("img/IMG-20250127-WA0016.png") center bottom / 100% auto no-repeat;
    border-bottom: 4px solid #000;
}

/* --- MOBILE LAYOUT: STACKED GRID (1fr) --- */
.footer__inner {
    /* Mobile-first approach: Columns stack vertically via 1fr grid */
    display: grid; 
    grid-template-columns: 1fr; 
    gap: 30px; /* Space between stacked columns */
    padding-bottom: 30px; 
}

/* --- COLUMN STYLING (Mobile Centering) --- */
.footer__col {
    margin-bottom: 0; 
    text-align: center;
}

.footer__col--brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center; /* Centers logo and content */
}

.footer__logo {
    height: 100px; /* Mobile-friendly size */
    width: auto;
}

/* Center navigation links within the column */
.footer__nav {
    display: flex;
    flex-direction: column; 
    gap: 5px;
    align-items: center; 
}

/* --- COLUMN CONTENT STYLING (Applies to mobile/desktop) --- */
.footer__nav a {
    color: var(--color-secondary);
    text-decoration: none;
    font-weight: 500;
    padding: 2px 0;
}

.footer__title {
    font-weight: 700;
    display: block;
    margin-bottom: 10px; 
    color: #111; 
}

.footer__col p {
    margin-bottom: 8px;
    line-height: 1.4;
    color: var(--color-secondary);
}

.footer__col strong {
    font-weight: 900;
    margin-right: 5px;
}


/* ====================================
   DESKTOP LAYOUT (min-width: 992px) - Grid Overrides Mobile
   ==================================== */
@media (min-width: 992px) {
    .footer__inner {
        /* Re-enables 4-column custom grid for desktop ONLY */
        grid-template-columns: minmax(150px, auto) 1fr 1.5fr 1fr; 
        gap: 20px; 
        padding-bottom: 30px; 
    }
    
    .footer__col {
        text-align: left; /* Reset text alignment for desktop */
    }

    .footer__col--brand {
        align-items: flex-start; /* Reset logo alignment */
        text-align: left;
    }
    
    .footer__nav {
        align-items: flex-start; /* Reset nav link alignment */
    }

    .footer__logo {
        height: 200px; /* Original large size for desktop */
    }
}


/* ===========================
   COPYRIGHT BOX (Applies to all views)
   =========================== */

.footer__copy {
    background: #000; 
    color: #fff;
    padding: 15px 20px;
    display: flex; 
    justify-content: center; 
    align-items: center;
    font-size: 14px;
    width: 100%; 
    margin: 0;
    box-sizing: border-box;
}

.footer__copy .container {
    text-align: center; 
}

/* Default Desktop */
.hamburger {
  display: none;
  font-size: 32px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: #000;
  font-weight: 600;
}

/* --------------------------------------- */
/* MOBILE VIEW STYLES */
/* --------------------------------------- */
@media (max-width: 768px) {

  .header {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  /* Show hamburger */
  .hamburger {
    display: block;
  }

  /* Hide nav links initially */
  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    background: #ffffff;
    width: 100%;
    display: none;
    flex-direction: column;
    text-align: center;
    padding: 15px 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }

  .nav-links a {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
  }

  /* Show menu when toggled */
  .nav-links.show-menu {
    display: flex;
  }

  /* Reduce logo size on mobile */
  .logo img {
    height: 100px;
  }
}

}