/* Modern Mobile-First CSS Upgrade */

:root {
  /* Premium Business Color Board */
  --primary-color: #0d1b2a; /* Deep Navy */
  --secondary-color: #1b263b; /* Lighter Navy */
  --accent-color: #e0e1dd; /* Platinum */
  --highlight-color: #c9a227; /* Muted Gold for CTAs/Accents */
  --text-dark: #333333;
  --text-light: #f4f4f4;
  --bg-white: #ffffff;
  --bg-light: #f8f9fa;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;
  
  /* Layout */
  --container-width: 1200px;
  --header-height: 80px;
  
  /* Transitions */
  --transition-fast: 0.3s ease;
  --transition-smooth: 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-white);
  overflow-x: hidden;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  margin-bottom: var(--spacing-sm);
  color: var(--primary-color);
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

h2 {
  font-size: 2rem;
  text-align: center;
  position: relative;
  padding-bottom: var(--spacing-sm);
  margin-bottom: var(--spacing-lg);
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--highlight-color);
}

p {
  margin-bottom: var(--spacing-sm);
}

/* Utilities */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--highlight-color);
  color: var(--primary-color);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn:hover {
  background-color: #d4b445; /* Slightly lighter gold */
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.section-padding {
  padding: var(--spacing-lg) 0;
}

/* Header & Nav */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: var(--transition-fast);
}

nav {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 50px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: var(--spacing-md);
}

.nav-links a {
  font-weight: 500;
  color: var(--primary-color);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--highlight-color);
  transition: width var(--transition-fast);
}

.nav-links a:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none; /* Hidden on desktop */
  font-size: 1.5rem;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-light);
  overflow: hidden;
}

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

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(13, 27, 42, 0.6); /* Navy tint */
  z-index: -1;
}

.hero-content {
  max-width: 800px;
  padding: var(--spacing-md);
  opacity: 0; /* JS Fade in */
  transform: translateY(20px);
}

.hero-content h1 {
  font-size: 3rem;
  color: var(--text-light);
  margin-bottom: var(--spacing-sm);
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: var(--spacing-md);
  color: var(--accent-color);
}

/* Services Section */
.services {
  background-color: var(--bg-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-md);
}

.service-card {
  background: var(--bg-white);
  padding: var(--spacing-md);
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  transition: var(--transition-fast);
  text-align: center;
  border-bottom: 3px solid transparent;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  border-bottom-color: var(--highlight-color);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
}

.service-card p {
  color: #666;
}

.service-icon {
  font-size: 2.5rem;
  color: var(--highlight-color);
  margin-bottom: var(--spacing-sm);
}

/* Impact / Testimonials */
.impact-section {
  background-color: var(--primary-color);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.impact-section h2 {
  color: var(--text-light);
}

.scrolling-testimonials {
  display: flex;
  overflow: hidden;
  padding: var(--spacing-md) 0;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.testimonials-track {
  display: flex;
  gap: var(--spacing-md);
  animation: scroll 30s linear infinite;
  width: max-content;
}

.testimonial-item {
  background: rgba(255, 255, 255, 0.1);
  padding: var(--spacing-md);
  border-radius: 8px;
  min-width: 300px;
  backdrop-filter: blur(5px);
}

.testimonial-item p {
  font-style: italic;
  font-size: 1rem;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); } 
}

/* Contact Section */
.contact-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--spacing-lg);
  padding: var(--spacing-lg) var(--spacing-sm);
}

.contact-image {
  flex: 1;
  min-width: 300px;
}

.contact-image img {
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-form-container {
  flex: 1;
  min-width: 300px;
  background: var(--bg-white);
  padding: var(--spacing-md);
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.contact-form input, 
.contact-form textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  transition: border-color var(--transition-fast);
}

.contact-form input:focus, 
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

/* Sponsor Logos */
.sponsors {
  background-color: #f0f0f0;
  padding: var(--spacing-md) 0;
  text-align: center;
}

.sponsor-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-lg);
  flex-wrap: wrap;
}

.sponsor-grid img {
  max-height: 60px;
  opacity: 0.6;
  filter: grayscale(100%);
  transition: var(--transition-fast);
}

.sponsor-grid img:hover {
  opacity: 1;
  filter: grayscale(0);
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: var(--spacing-lg) 0 var(--spacing-md);
  font-size: 0.9rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

.footer-socials a {
  margin-left: 15px;
  color: var(--text-light);
  font-size: 1.2rem;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
  :root {
    --spacing-lg: 3rem;
  }
  
  h1 { font-size: 2rem; }
  
  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--bg-white);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: transform var(--transition-smooth);
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
  }
  
  .nav-links.active {
    transform: translateX(0);
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .contact-section {
    flex-direction: column-reverse;
  }
}

/* Helper Classes for JS Animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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