:root {
    --primary-font: 'Poppins', sans-serif;
    --gray-bg: #e0e0e0;
    --main-white: #ffffff;
    --text-color: #333;
    --button-color: #FFC93C;
    --button-hover: #FFC93C;
}

/* Base Styles (Desktop First) */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--primary-font);
    color: var(--text-color);
    /* Background Image Properties */
    background-image: url('img/area51\ white.png'); /* Ensure this path is correct */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed; 
    background-color: var(--main-white); 
    
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

html {
    scroll-behavior: smooth;
}

/* ---------------------------------- */
/* ## 🔑 Keyframe Animation */
/* ---------------------------------- */

@keyframes pulseFade {
    from {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1);
    }
    to {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(1.05);
    }
}

/* Header */
header {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 30px; 
}

/* Navigation */
.main-nav {
    width: 70%;
    max-width: 1000px;
    background-color: var(--main-white);
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;

    /* Start hidden for page load animation */
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Main Nav Visibility controlled by JavaScript on page load */
.main-nav {
    opacity: 1;
    transform: translateY(0);
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 55px; 
    width: auto; 
    display: block; 
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 5px 0;
    transition: color 0.3s, transform 0.2s ease-in-out; 
}

.nav-links a:hover {
    color: var(--button-color);
    transform: translateY(-2px); /* Subtle lift on hover */
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
    width: 100%;
}

/* Hero Section Elements - Start hidden and positioned for fade-in (Scroll Reveal) */
.headline, .subheadline, .contact-btn {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.headline {
    font-size: 2.8rem;
    font-weight: 700;
    max-width: 800px;
    margin: 0 auto 20px;
    line-height: 1.2;
    transition-delay: 0.2s; /* Staggered timing */
}

.subheadline {
    font-size: 1.2rem;
    font-weight: 400;
    color: #555;
    max-width: 600px;
    margin: 0 auto 50px;
    transition-delay: 0.4s; /* Staggered timing */
}

/* Contact Button */
.contact-btn {
    padding: 15px 40px;
    border: 2px solid var(--button-color);
    background-color: transparent;
    color: var(--button-color);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s, transform 0.3s, box-shadow 0.3s; 
    transition-delay: 0.6s; /* Staggered timing */
}

/* ## SCROLL REVEAL VISIBILITY CLASS (Set by JavaScript) */
.headline.is-visible, 
.subheadline.is-visible, 
.contact-btn.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* JavaScript Class for Hover */
.contact-btn.hover-active {
    background-color: var(--button-color);
    color: var(--main-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Subtle Background Design */
.background-design {
    position: absolute;
    top: 50%;
    left: 50%;
    /* Initial transform is handled by JavaScript for Parallax */
    width: 400px;
    height: 400px;
    z-index: -1;
    /* Creating a subtle circle shape */
    background: radial-gradient(circle, rgba(200, 200, 200, 0.1) 0%, rgba(200, 200, 200, 0) 70%);

    /* Animation: Subtle slow pulse/fade for the background element */
    animation: pulseFade 4s infinite alternate;
}

/* ---------------------------------------------------------------------- */
/* ## 📱 Media Queries for Mobile Responsiveness */
/* ---------------------------------------------------------------------- */

@media (max-width: 900px) {
    .main-nav {
        width: 90%; 
        padding: 15px 20px;
    }
    
    .nav-links li {
        margin-left: 20px;
    }

    .headline {
        font-size: 2.2rem;
    }

    .subheadline {
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    header {
        padding-top: 15px;
    }

    .main-nav {
        flex-direction: column; 
        border-radius: 20px;
        padding: 15px 15px 5px;
    }

    .logo-img {
        height: 45px; 
        margin-bottom: 10px;
    }

    .nav-links {
        flex-wrap: wrap; 
        justify-content: center; 
        width: 100%;
        padding-bottom: 10px;
    }

    .nav-links li {
        margin: 5px 10px; 
    }

    .nav-links a {
        font-size: 0.8rem;
    }

    .hero-section {
        padding: 60px 15px;
    }

    .headline {
        font-size: 1.8rem; 
    }

    .subheadline {
        font-size: 0.9rem;
        margin-bottom: 30px;
    }

    .contact-btn {
        padding: 12px 30px; 
        font-size: 0.9rem;
    }
    
    .background-design {
        width: 300px;
        height: 300px;
    }
}


 /*FOOTER*/
   
        .site-footer {
  width: 100%;
  background-color: #f7f7f9;
  border-top: 1px solid #e0e0e0;
  padding: 60px 20px 20px 20px;
  margin-top: 80px;
  font-family: inherit;
  color: #555570;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
}

/* Footer Columns */
.footer-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e1e38;
  margin-bottom: 24px;
}

.footer-logo {
  max-width: 180px;
  height: auto;
  margin-bottom: 20px;
}

.brand-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #636688;
  margin-bottom: 20px;
}

.contact-info p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #555570;
  margin-bottom: 6px;
}

.contact-info strong {
  color: #1e1e38;
}

.contact-info a {
  color: #555570;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* Navigation Lists */
.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  text-decoration: none;
  color: #636688;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #1e1e38;
}

/* Newsletter & Socials */
.newsletter-sub {
  font-size: 0.88rem;
  line-height: 1.5;
  color: #636688;
  margin-bottom: 16px;
}

.newsletter-form input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #b8b8b8;
  border-radius: 8px;
  background-color: #dcdcdc;
  font-size: 0.9rem;
  outline: none;
  color: #333;
}

.newsletter-form input::placeholder {
  color: #888;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 24px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background-color: #000000;
  color: #ffffff;
  border-radius: 50%;
  text-decoration: none;
  font-size: 1.2rem;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-links a:hover {
  transform: translateY(-3px);
  opacity: 0.85;
}

/* Bottom Copyright Bar */
.footer-bottom {
  max-width: 1200px;
  margin: 50px auto 0 auto;
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: #636688;
}

.footer-bottom a {
  color: #4a51a3;
  text-decoration: none;
  font-weight: 600;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* Responsive Footer Layout */
@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}


.team-section {
  width: 100%;
  max-width: 1200px;
  text-align: center;
}

/* Title */
.section-title {
  font-size: 2.75rem;
  font-weight: 800;
  color: #1f235d;
  margin-bottom: 50px;
}

/* Common Card Styling */
.member-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.avatar {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  background-color: #d8d8d8; /* Placeholder color matching image */
  margin-bottom: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.member-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #222222;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  max-width: 200px;
  line-height: 1.3;
}

.member-role {
  font-size: 0.85rem;
  font-weight: 800;
  color: #000000;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  max-width: 200px;
  line-height: 1.2;
}

/* Top Stacked Executives */
.leadership-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  margin-bottom: 50px;
}

/* Main Team Grid (5 columns) */
.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px 20px;
  justify-items: center;
}

/* Responsive adjustments for mobile/tablets */
@media (max-width: 992px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 400px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}