/* --- Global Reset & Variables --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
}

:root {
    --bg-dark-primary: #121212;
    --bg-dark-secondary: #1e1e1e;
    --accent-orange: #ffb347; /* From your theme */
    --accent-yellow-primary: #ffcc33; /* From your theme */
    --accent-yellow-secondary: #ffd966; /* From your theme */
    --text-light: #fff5cc; /* Soft light text from your theme */
    --text-dark: #121212; /* Dark text for light backgrounds */
    --gradient-header: linear-gradient(90deg, var(--accent-orange), var(--accent-yellow-primary));
    --shadow-color: rgba(255, 179, 71, 0.6); /* Orange shadow */
    --shadow-soft: rgba(255, 179, 71, 0.15);
    --shadow-soft-hover: rgba(255, 179, 71, 0.35);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Seoge UI', Tahoma, Geneva, Verdana, sans-serif; /* From your theme */
    background-color: var(--bg-dark-primary);
    color: var(--text-light);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

.container {
    max-width: 1100px; /* Slightly wider than your example for more space */
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* --- Typography --- */
h1, h2, h3 {
    color: var(--accent-orange);
    margin-bottom: 1.5rem;
    line-height: 1.3;
    font-weight: 700;
}

h1 { font-size: 2.8rem; text-align: center; }
h2 {
    font-size: 2.2rem;
    border-bottom: 3px solid var(--accent-yellow-secondary); /* From your theme */
    padding-bottom: 10px;
    margin-bottom: 2rem; /* More space after heading */
    text-align: center; /* Centered for consistency */
}
h3 { font-size: 1.5rem; color: var(--accent-yellow-primary); }

p {
    margin-bottom: 1rem;
    color: var(--text-light); /* Ensure paragraphs use the light text */
    font-size: 1.1rem; /* Slightly larger default text */
}

a {
    color: var(--accent-yellow-secondary);
    text-decoration: none; /* Remove default underline */
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-orange);
}

ul, ol {
    margin-bottom: 1rem;
    padding-left: 25px; /* Indent lists */
}

li {
    margin-bottom: 0.75rem; /* Space between list items */
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px; /* Slightly rounded corners for images */
}

/* --- Header & Navigation --- */
header {
    background: var(--gradient-header);
    color: var(--text-dark);
    padding: 15px 0; /* Adjusted padding */
    box-shadow: 0 4px 8px var(--shadow-color); /* From your theme */
    position: sticky; /* Make header stick */
    top: 0;
    z-index: 1000;
    width: 100%;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container img {
    height: 50px; /* Adjust as needed for your logo size */
    width: auto;
    display: block;
    border-radius: 0; /* Logos usually don't have rounded corners */
}

nav ul {
    list-style: none;
    display: flex;
    padding-left: 0; /* Override default padding */
    margin-bottom: 0; /* Override default margin */
}

nav ul li {
    margin-left: 15px; /* Space between nav items */
    margin-bottom: 0; /* Override default margin */
}

nav ul li a {
    color: var(--text-dark); /* Dark text on gradient */
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 8px 15px; /* Padding for clickable area */
    border-radius: 6px;
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

nav ul li a:hover,
nav ul li a:focus {
    background-color: var(--accent-yellow-primary); /* Use theme yellow for hover */
    color: var(--text-dark);
    outline: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

nav ul li a.active {
    background-color: var(--text-dark); /* Dark background for active */
    color: var(--accent-orange); /* Orange text for active */
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.4);
}

/* --- Main Content & Sections --- */
main {
    flex: 1; /* Ensure main content takes available space */
    padding: 0 0 60px 0; /* Adjusted bottom padding */
    }

.section {
    background-color: var(--bg-dark-secondary);
    padding: 40px 30px; /* Adjusted padding */
    margin-bottom: 40px;
    border-radius: 12px; /* From your theme */
    box-shadow: 0 4px 10px var(--shadow-soft); /* From your theme */
    transition: box-shadow 0.3s ease;
}

.section:hover {
    box-shadow: 0 6px 15px var(--shadow-soft-hover); /* From your theme */
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    background-color: var(--accent-orange);
    color: var(--text-dark);
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 30px; /* Pill shape from your theme */
    text-decoration: none;
    font-size: 1.1rem;
    text-align: center;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(255, 179, 71, 0.5); /* From your theme */
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 0.4rem; /* Add some space above button */
}

.btn:hover,
.btn:focus {
    background-color: var(--accent-yellow-secondary); /* Use lighter yellow on hover */
    color: #F5F5F5; /* Keep text light */
    text-shadow: 0 2px 8px rgba(0,0,0,0.18), 0 1px 1px rgba(255,179,71,0.12);
    transform:
    scale(1.05); /* Slight scale effect */
    outline: none;
    box-shadow: 0 6px 15px rgba(255, 217, 102, 0.6); /* Adjusted shadow */
}

/* --- Footer --- */
footer {
    background-color: var(--bg-dark-secondary);
    color: var(--accent-orange);
    text-align: center;
    padding: 25px 15px; /* Increased padding */
    font-size: 1rem;
    box-shadow: inset 0 4px 8px rgba(0, 0, 0, 0.3); /* Inner shadow for depth */
    margin-top: auto; /* Push footer to bottom */
    width: 100%;
}

footer p {
    margin-bottom: 0.5rem; /* Space between footer lines */
    color: var(--accent-yellow-secondary); /* Lighter text in footer */
}

/* --- Page Specific Styles --- */

/* Update styles for the main hero section */
#landing-hero {
    min-height: 85vh;
    display: flex; /* Keep flexbox for centering text container */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    color: #ffffff;
    position: relative; /* Still needed for positioning video and overlay */
    overflow: hidden; /* Important to contain the absolute positioned video */
    border-radius: 12px;
    margin-bottom: 40px;
    background-color: var(--bg-dark-primary); /* Add a fallback background color */

    /* --- REMOVE OR COMMENT OUT the old background image rule --- */
    /* background: url('#####images/hero-bg.jpg') no-repeat center center/cover; */
}

/* --- ADD STYLES FOR THE VIDEO --- */
#hero-video {
    position: absolute; /* Position it relative to #landing-hero */
    top: 50%; /* Center vertically */
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -50%); /* Fine-tune centering */
    min-width: 100%; /* Ensure it covers width */
    min-height: 100%; /* Ensure it covers height */
    width: auto; /* Maintain aspect ratio */
    height: auto; /* Maintain aspect ratio */
    z-index: 0; /* Place the video BEHIND overlay and text */
    object-fit: cover; /* Cover the area, cropping as needed */
}

/* Overlay style remains the same, but ensure it has a background color */
#landing-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Adjust darkness (0.6 = 60% black opacity) */
    background: rgba(0, 0, 0, 0.6);
    z-index: 1; /* Place overlay ON TOP of video (z-index 0) */
    border-radius: 12px;
}

/* Text container style remains the same */
#landing-hero .container {
    position: relative; /* Keep relative for z-index */
    z-index: 2; /* Place text ON TOP of overlay (z-index 1) */
}

/* Optional: Text color adjustments might be needed depending on video content */
#landing-hero h1,
#landing-hero .subtitle,
#landing-hero p {
    color: #ffffff; /* Keep default white */
}
#landing-hero .subtitle {
     color: var(--accent-yellow-primary); /* Keep subtitle yellow */
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    margin: 0 auto;
    overflow: hidden;
    background: #000;
    border: none;
}

.video-container iframe,
.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
}

.vertical-video-container {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
    padding: 2rem 0;
}

.vertical-video-container video {
    width: auto;
    height: 80vh; /* Adjust height as needed */
    max-height: 90vh;
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}


.faq-section {
    max-width: 900px;
    margin: 0 auto;
    color: #FFD366;
    background: #181818;
    padding: 30px 10px;
  }
  
  .faq-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    border-bottom: 3px solid #FFD366;
    margin-bottom: 24px;
  }
  
  .faq-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  
  .faq-item {
    background: #222;
    border-radius: 14px;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  }
  
  .faq-question {
    width: 100%;
    background: none;
    border: none;
    color: #FFD366;
    font-size: 1.35rem;
    font-weight: bold;
    text-align: left;
    padding: 24px 24px 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    outline: none;
    box-shadow: 0 4px 12px rgba(255, 179, 71, 0.5); /* Orange glow like .btn */
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.faq-question:hover,
.faq-question:focus {
    background-color: var(--accent-yellow-secondary);
    color: #1A1A40; /* Keep text dark */
    transform: scale(1.05);
    outline: none;
    /* Faded orange glow with multiple layers for realism */
    text-shadow: 0 2px 8px rgba(0,0,0,0.18), 0 1px 1px rgba(255,179,71,0.12);
    box-shadow:
        0 0 8px 2px rgba(255, 179, 71, 0.6),   /* inner soft glow */
        0 0 16px 4px rgba(255, 179, 71, 0.3),  /* mid glow */
        0 0 32px 8px rgba(255, 179, 71, 0.15); /* outer faded glow */
}
 
  .arrow {
    font-size: 1.5rem;
    transition: transform 0.3s;
  }
  
  .faq-item.open .arrow {
    transform: rotate(180deg);
  }
  
  .faq-answer {
    background: #262626; /* Lighter dark */
    color: #fff;
    font-size: 1.1rem;
    padding: 0 24px 20px 24px;
    display: none;
    animation: fadeIn 0.4s;
    border-radius: 0 0 14px 14px; /* Match the box's rounded corners at the bottom */
  }
 
  
  .faq-item.open .faq-answer {
    display: block;
  }
  
  @keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
  }
  

/* Join Us Page */
.join-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two equal columns */
    gap: 40px;
    align-items: start; /* Align items to the top */
}

.join-grid .image-column img {
    margin-bottom: 25px; /* Space between the two images */
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.join-grid .image-column img:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 15px var(--shadow-soft-hover);
}

.join-grid .text-column h3 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

/* Who Are We Page */
.tagline {
    font-size: 1.8rem;
    font-style: italic;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--accent-yellow-secondary);
}

.image-wall {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
    padding: 20px;
}

.image-wall img {
    width: 100%;
    height: 250px; /* fixed height forces images to align like text lines */
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 0 12px var(--shadow-soft);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Optional: Add hover effect */
.image-wall img:hover {
    transform: scale(1.03) rotate(0deg);
    box-shadow: 0 0 20px var(--shadow-color);
}

/* Contact Page */
#contact-section .container {
    max-width: 750px; /* Narrower container for contact */
    text-align: center;
}

.contact-intro {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
}

.social-links {
    margin-top: 2rem;
}

.social-links a {
    margin: 0 18px; /* Increased spacing */
    font-size: 2.2rem; /* Larger icons */
    color: var(--accent-orange);
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block; /* Needed for transform */
}

.social-links a:hover {
    color: var(--accent-yellow-primary);
    transform: translateY(-5px); /* Slight lift effect */
}

/* --- JavaScript Fade-in Effect --- */
.fade-in {
    opacity: 0;
    transform: translateY(40px); /* Start further below */
    transition: opacity 0.9s ease-out, transform 0.7s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .container {
        max-width: 90%;
    }
    h1 { font-size: 2.5rem; }
    #landing-hero h1 { font-size: 3.2rem; }
    h2 { font-size: 2rem; }
    .image-wall {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }
    .image-wall img { height: 150px; }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        align-items: center;
        padding-bottom: 10px; /* Space below nav when stacked */
    }
    .logo-container {
        margin-bottom: 10px;
    }
    nav ul {
        justify-content: center;
        flex-wrap: wrap; /* Allow nav items to wrap */
        width: 100%;
    }
    nav ul li {
        margin: 5px; /* Adjust spacing for wrapped items */
    }

    #landing-hero { min-height: 70vh; }
    #landing-hero h1 { font-size: 2.8rem; }
    #landing-hero .subtitle { font-size: 1.4rem; }

    .join-grid {
        grid-template-columns: 1fr; /* Stack columns */
        gap: 30px;
    }
    .join-grid .image-column {
        order: 2; /* Images below text */
    }
    .join-grid .text-column {
        order: 1;
        text-align: center; /* Center text when stacked */
    }
    .join-grid .text-column h2 { text-align: center; } /* Center heading too */

    .image-wall {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 10px;
    }
     .image-wall img { height: 120px; }

    .social-links a { font-size: 2rem; margin: 0 12px; }
}

@media (max-width: 480px) {
    body { font-size: 15px; } /* Adjust base font slightly */
    h1 { font-size: 2.2rem; }
    #landing-hero h1 { font-size: 2.5rem; }
    h2 { font-size: 1.8rem; }
    #landing-hero .subtitle { font-size: 1.2rem; }
    #landing-hero p { font-size: 1rem; }

    .btn {
        padding: 10px 22px;
        font-size: 1rem;
        width: 90%; /* Make buttons mostly full width */
        margin-left: auto;
        margin-right: auto;
        display: block; /* Ensure block display for width */
    }
    nav ul li a { font-size: 1rem; padding: 6px 10px; }
    .section { padding: 30px 20px; }
    .social-links a { font-size: 1.8rem; margin: 0 10px; }

    /* style.css */
/* ... (all your other styles) ... */

/* --- JavaScript Fade-in Effect --- */
.fade-in {
    opacity: 0;
    /* Start slightly below and transparent */
    transform: translateY(40px);
    /* Smooth transition for opacity and transform */
    transition: opacity 0.9s ease-out, transform 0.7s ease-out;
    /* Ensure visibility is not hidden, only opacity controls appearance */
    visibility: visible;
}

.fade-in.visible {
    opacity: 1;
    /* Move back to original position */
    transform: translateY(0);
} 

/* ========= ADD THESE STYLES TO style.css ========= */

/* Contact Page Specific Styles */
#contact-section .container {
    max-width: 1000px; /* Adjust width if needed */
}

.contact-intro {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    text-align: center; /* Center intro text */
}

.contact-methods {
    margin-top: 3rem;
    display: flex;
    flex-wrap: wrap; /* Wrap blocks on smaller screens */
    gap: 2  0px; /* Space between the blocks */
    justify-content: center; /* Center blocks if they don't fill width */
}

.contact-method {
    background-color: var(--bg-dark-primary); /* Slightly darker than section bg */
    padding: 30px;
    border-radius: 12px; /* Match section radius */
    flex: 1; /* Each block tries to take equal space */
    min-width: 300px; /* Minimum width before wrapping */
    max-width: 480px; /* Optional: Max width per block */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1); /* Subtle border */
}

.contact-method h3 {
    color: var(--accent-orange); /* Heading color */
    border-bottom: 2px solid var(--accent-yellow-secondary);
    padding-bottom: 10px;
    margin-bottom: 1.5rem;
    font-size: 1.5rem; /* Slightly larger heading */
    text-align: left; /* Align heading left */
}

.contact-method p {
    margin-bottom: 1rem;
    text-align: left; /* Align paragraphs left */
    color: var(--text-light); /* Ensure text color */
}

.contact-method ul,
.contact-method ol {
    list-style: none;         /* Remove bullet points */
    padding-left: 0;          /* Remove indentation */
    margin-bottom: 1.5rem;    /* Keep margin */
    text-align: left;         /* Keep text alignment */
    /* Removed the redundant padding-left: 25px from the old rule */
}

.contact-method li {
    margin-bottom: 0.8rem;
    color: var(--text-light);
}

/* Style for the inline links (icon + text) */
.social-links-inline {
    margin-top: 2rem; /* Space above links */
    display: flex;
    flex-wrap: wrap;
    gap: 50px; /* Space between links */
    justify-content: flex-start; /* Align links to the start */
}

.social-links-inline a {
    display: inline-flex;
    align-items: center;
    gap: 20px; /* Space between icon and text */
    color: var(--text-dark); /* Dark text on button */
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 25px; /* Pill shape */
    background-color: var(--accent-orange); /* Use accent color */
    text-decoration: none;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(255, 179, 71, 0.4);
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.social-links-inline a:hover,
.social-links-inline a:focus {
    background-color: var(--accent-yellow-secondary);
    color: var(--text-dark);
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 5px 12px rgba(255, 217, 102, 0.5);
    outline: none;
}

.social-links-inline a i {
    font-size: 1.25em; /* Slightly larger icon */
}


/* --- Responsive Adjustments for Contact Page --- */
@media (max-width: 768px) {
    .contact-methods {
        flex-direction: column; /* Stack methods vertically */
        gap: 25px;
        align-items: center; /* Center stacked blocks */
    }
    .contact-method {
        min-width: 90%; /* Allow blocks to take more width */
        max-width: 500px; /* Limit max width when stacked */
    }
    .contact-method h3 {
        font-size: 1.4rem;
    }
    .social-links-inline {
       justify-content: center; /* Center links when stacked */
    }
}

@media (max-width: 480px) {
     #contact-section .container {
        max-width: 100%;
        padding: 0 15px; /* Adjust padding on small screens */
    }
    .contact-intro {
        font-size: 1.1rem;
    }
     .contact-method {
        padding: 20px;
    }
     .contact-method h3 {
        font-size: 1.3rem;
    }
    .social-links-inline a {
        font-size: 0.9rem;
        padding: 8px 16px;
        justify-content: center; /* Center icon/text in button */
    }
     .social-links-inline {
        gap: 20px; /* Reduce gap */
    }
}

/* --- Remove or Adjust Old .social-links styling if it conflicts --- */
/* Make sure the style below (from your original CSS) doesn't override */
/* the new .social-links-inline or adjust as needed */
.social-links {
    margin-top: 2rem;
    /* Maybe comment out or delete if only .social-links-inline is used now */
    /* text-align: center; Ensure it doesn't force center the new layout */
}
/* ========= END OF STYLES TO ADD ========= */

/* ... (rest of your styles like responsive rules etc.) ... */
}