:root {
  --bg-primary: #f9fafb; /* Light off-white */
  --bg-secondary: #ffffff;
  --accent-primary: #0056b3; /* Slightly deeper blue for light theme contrast */
  --accent-secondary: #d4af37; /* Gold */
  --text-primary: #111827;
  --text-secondary: #4b5563;
  --text-muted: #9ca3af;
  --border-color: rgba(0, 0, 0, 0.08);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Outfit', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, .display-text {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

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

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header & Nav */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border-color);
  padding: 1.5rem 0;
  transition: all 0.3s ease;
}

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

.logo {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--text-primary);
}

.logo span {
  color: var(--accent-primary);
}

.nav-links {
  display: flex;
  gap: 3rem;
  align-items: center;
}

.nav-item {
  position: relative;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}

.nav-item:hover, .nav-item.active {
  color: var(--accent-primary);
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  min-width: 250px;
  padding: 1rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a {
  display: block;
  padding: 0.8rem 2rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.dropdown-menu li a:hover {
  background: #f3f4f6;
  color: var(--accent-primary);
  padding-left: 2.5rem;
}

/* Hero Section */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 240px; /* Increased gap from top */
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85); /* Lighter for light theme */
}

.hero-content {
  max-width: 800px;
  background: rgba(255, 255, 255, 0.85);
  padding: 4rem;
  border-radius: 8px;
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 2rem;
  color: #000;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  max-width: 600px;
}

.btn {
  display: inline-block;
  padding: 1.2rem 3rem;
  background: var(--accent-primary);
  color: white;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 4px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: #004494;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 86, 179, 0.2);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--accent-primary);
  color: var(--accent-primary);
}

.btn-outline:hover {
  background: var(--accent-primary);
  color: white;
}

/* Sections */
section {
  padding: 10rem 0;
}

.section-header {
  margin-bottom: 5rem;
}

.section-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin-bottom: 1rem;
  letter-spacing: 0.2em;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  max-width: 800px;
  color: var(--text-primary);
}

/* Grid Layouts */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
}

.card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 3.5rem;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

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

.card h3 {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}

.card p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* Footer */
footer {
  background: #ffffff;
  padding: 8rem 0 4rem;
  border-top: 1px solid var(--border-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 6rem;
}

.footer-logo {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 2rem;
  display: block;
  color: var(--text-primary);
}

.footer-about p {
  color: var(--text-secondary);
  max-width: 300px;
}

.footer-links h4 {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-primary);
}

.footer-links ul li {
  margin-bottom: 1rem;
}

.footer-links ul li a {
  color: var(--text-secondary);
  font-weight: 500;
}

.footer-links ul li a:hover {
  color: var(--accent-primary);
}

.footer-bottom {
  padding-top: 4rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Success Message */
.success-message {
  background: #ecfdf5 !important;
  border: 1px solid #10b981 !important;
}

.text-light {
  color: #ffffff !important;
}

.bg-section {
  position: relative;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.bg-overlay-dark::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.75);
  z-index: -1;
}

.bg-overlay-light::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(255, 255, 255, 0.85);
  z-index: -1;
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hero h1 {
    font-size: 3rem;
  }
  .hero-content {
    padding: 2rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

