/* GLOBAL VARIABLES */
:root {
  --font-primary: 'Outfit', sans-serif;
  
  /* Color Palette */
  --bg-color: #0A0D14; /* Deep professional black/navy */
  --bg-alt: #121824; 
  --text-main: #F4F6F8; 
  --text-muted: #A0ABB8;
  
  --primary-accent: #D4AF37; /* Premium Gold */
  --primary-hover: #B8962E;
  
  --secondary-accent: #FFFFFF; 
  --secondary-hover: #D4AF37;

  /* Spacing */
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  --spacing-xl: 4rem;
  --spacing-xxl: 8rem;

  /* Styling */
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 25px 30px -5px rgba(232, 106, 51, 0.15);
  
  --transition: 0.3s ease-in-out;
}

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

html {
  scroll-behavior: smooth;
}

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

/* TYPOGRAPHY */
h1, h2, h3 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--secondary-accent);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

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

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

p {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* UTILITIES */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

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

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}

.btn-small {
  padding: 0.75rem 1.5rem;
}

.btn-large {
  padding: 1.25rem 2.5rem;
  font-size: 1.125rem;
}

.btn-primary {
  background-color: var(--primary-accent);
  color: white;
  box-shadow: 0 4px 14px 0 rgba(232, 106, 51, 0.39);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 106, 51, 0.4);
}

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

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

/* NAVBAR */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: var(--transition);
}

nav.scrolled {
  background-color: rgba(10, 13, 20, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo {
  display: flex;
  align-items: center;
}

.brand-logo {
  height: 55px;
  width: auto;
  display: block;
  /* Add subtle glow to offset dark background nicely */
  filter: drop-shadow(0 0 4px rgba(212, 175, 55, 0.3));
}

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

.nav-links a:not(.btn) {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 500;
  transition: color var(--transition);
}

.nav-links a:not(.btn):hover {
  color: var(--primary-accent);
}

/* HERO SECTION */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
  position: relative;
  overflow: hidden;
  background-color: #0A0D14;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -5%; /* Margin for scaling */
  background: linear-gradient(135deg, rgba(10, 13, 20, 0.95) 0%, rgba(18, 24, 36, 0.85) 100%), url("https://images.unsplash.com/photo-1497366811353-6870744d04b2?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80") center/cover no-repeat;
  z-index: 0;
  animation: heroCinematic 25s ease-in-out infinite alternate;
}

@keyframes heroCinematic {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

.hero-bg-blob {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232, 106, 51, 0.15) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  z-index: 0;
}

.hero-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.tagline {
  display: inline-block;
  padding: 0.25rem 1rem;
  background-color: rgba(232, 106, 51, 0.1);
  color: var(--primary-accent);
  border-radius: var(--radius-full);
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.image-wrapper {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  background: url("https://images.unsplash.com/photo-1534438327276-14e5300c3a48?ixlib=rb-4.0.3&auto=format&fit=crop&w=1000&q=80") center/cover no-repeat;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,13,20,0.8), transparent);
  border-radius: var(--radius-lg);
}

.floating-card {
  position: absolute;
  bottom: 2rem;
  left: -2rem;
  background-color: var(--bg-alt);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.icon-circle {
  background-color: rgba(212, 175, 55, 0.1);
  padding: 0.75rem;
  border-radius: 50%;
  color: var(--primary-accent);
  font-size: 1.5rem;
  display: flex;
}

.stat {
  font-weight: 700;
  color: var(--secondary-accent);
}

.label {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* PROBLEM SECTION */
.problem {
  background-color: var(--bg-alt);
}

.problem-box {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 4rem;
  background-color: var(--bg-color);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.05);
}

.problem p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.highlight-text {
  font-weight: 600;
  color: var(--primary-accent);
  font-size: 1.5rem;
}

/* SERVICES */
.services-section {
  background-color: var(--bg-color);
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
}
.section-title p {
  max-width: 600px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: var(--bg-alt);
  padding: 3rem 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.service-icon {
  background-color: rgba(232, 106, 51, 0.1);
  color: var(--primary-accent);
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  font-size: 2rem;
}

.learn-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--secondary-accent);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  margin-top: 1rem;
}

/* TESTIMONIALS */
.testimonials {
  background-color: var(--bg-alt);
}

.testimonials-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: center;
}

.testimonial-card {
  background-color: var(--bg-color);
  padding: 4rem;
  border-radius: var(--radius-lg);
  position: relative;
}

.quote-mark {
  color: var(--primary-accent);
  font-size: 4rem;
  font-style: italic;
  position: absolute;
  top: 2rem;
  left: 2rem;
  opacity: 0.2;
  font-family: serif;
  line-height: 1;
}

.quote-text {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text-main);
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: url("https://images.unsplash.com/photo-1573497019940-1c28c88b4f3e?ixlib=rb-4.0.3&auto=format&fit=crop&w=150&q=80") center/cover no-repeat;
}

.author-name {
  font-weight: 700;
  color: var(--secondary-accent);
}

.author-title {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ABOUT SECTION */
.about-section {
  background-color: var(--bg-color);
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  background: url("guide-photo.jpg") center/cover no-repeat;
  box-shadow: var(--shadow-lg);
}

/* CTA SECTION */
.cta-section {
  padding: 0 0 var(--spacing-xxl) 0;
}

.cta-banner {
  background-color: var(--secondary-accent);
  border-radius: 32px;
  padding: 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-blob {
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(232, 106, 51, 0.4) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
}

.cta-banner h2 {
  color: white;
  position: relative;
  z-index: 1;
}

.cta-banner p {
  color: rgba(255,255,255,0.8);
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto 3rem auto;
  position: relative;
  z-index: 1;
}

.cta-banner .btn {
  position: relative;
  z-index: 1;
}

/* FOOTER */
footer {
  background-color: var(--bg-alt);
  padding: 4rem 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

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

.copyright {
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* ANIMATIONS */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }

/* MODAL & FORMS */
.modal {
  display: flex;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
  align-items: center;
  justify-content: center;
}

.modal.show {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background-color: var(--bg-alt);
  padding: 3rem;
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 500px;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: translateY(-20px);
  transition: transform var(--transition);
}

.modal.show .modal-content {
  transform: translateY(0);
}

.close-modal {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--transition);
}

.close-modal:hover {
  color: var(--primary-accent);
}

.form-group {
  margin-bottom: 1.5rem;
  text-align: left;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--secondary-accent);
}

.form-group input, 
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255,255,255,0.1);
  background-color: rgba(255,255,255,0.05);
  color: white;
  border-radius: var(--radius-md);
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus, 
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-accent);
  box-shadow: 0 0 0 3px rgba(232, 106, 51, 0.1);
}

/* RESPONSIVENESS */
@media (max-width: 768px) {
  .hero-container,.testimonials-container, .about-container {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none; /* simple mobile nav exclusion for vanilla simplicity */
  }
  .floating-card {
    left: 1rem;
    right: 1rem;
    bottom: -2rem;
  }
}
