/* ========== GOOGLE FONTS IMPORT ========== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Outfit:wght@300;400;500;600;700&display=swap');

/* ========== CSS VARIABLES ========== */
:root {
  --navy: #0A1628;
  --gold: #C8A55A;
  --teal: #0F5E5A;
  --off-white: #F5F3EF;
  --warm-gray: #E8E4DD;
  --text-dark: #0A1628;
  --text-light: #6B6B6B;
  --border-radius-sm: 8px;
  --border-radius-lg: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  color: var(--text-dark);
  background-color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

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

button {
  font-family: 'Outfit', sans-serif;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: var(--text-dark);
  margin-bottom: 0.8rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
}

h4 {
  font-size: 1.25rem;
  font-weight: 600;
}

p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.subtitle {
  font-size: 1.125rem;
  font-weight: 300;
  color: var(--text-light);
  margin-bottom: 2rem;
}

/* ========== UTILITIES ========== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-padding {
  padding: 4rem 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 3rem 0;
  }
}

.text-center {
  text-align: center;
}

.text-teal {
  color: var(--teal);
}

.text-gold {
  color: var(--gold);
}

/* ========== HEADER & NAVIGATION ========== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--warm-gray);
  padding: 1rem 0;
  transition: var(--transition);
}

header.scrolled {
  box-shadow: 0 2px 12px rgba(10, 22, 40, 0.1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  font-family: 'Playfair Display', serif;
}

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

nav {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

nav a {
  font-weight: 500;
  color: var(--text-dark);
  position: relative;
  padding-bottom: 0.25rem;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--teal);
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

.nav-parent-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--teal);
  font-weight: 600;
}

.nav-parent-link::after {
  background-color: var(--teal) !important;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 0.375rem;
  background: none;
  padding: 0.5rem;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background-color: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background-color: white;
    border-bottom: 1px solid var(--warm-gray);
    padding: 1.5rem 2rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  nav.active {
    max-height: 400px;
  }

  nav a {
    padding: 0.75rem 0;
    display: block;
  }

  .header-content {
    padding: 0.5rem 1rem;
  }
}

/* ========== HERO SECTION ========== */
.hero {
  margin-top: 80px;
  padding: 6rem 2rem;
  background: linear-gradient(135deg, var(--off-white) 0%, rgba(15, 94, 90, 0.05) 100%);
  text-align: center;
  animation: fadeInDown 0.8s ease;
}

.hero-content h1 {
  margin-bottom: 1.5rem;
  color: var(--navy);
}

.hero-content p {
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-primary {
  display: inline-block;
  padding: 0.875rem 2.5rem;
  background-color: var(--teal);
  color: white;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(15, 94, 90, 0.2);
}

.cta-primary:hover {
  background-color: #0d4a47;
  box-shadow: 0 6px 20px rgba(15, 94, 90, 0.3);
  transform: translateY(-2px);
}

.cta-secondary {
  display: inline-block;
  padding: 0.875rem 2.5rem;
  background-color: transparent;
  border: 2px solid var(--teal);
  color: var(--teal);
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
}

.cta-secondary:hover {
  background-color: var(--teal);
  color: white;
}

@media (max-width: 768px) {
  .hero {
    padding: 4rem 1rem;
    margin-top: 70px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }
}

/* ========== CARDS ========== */
.card {
  background-color: white;
  border: 1px solid var(--warm-gray);
  border-radius: var(--border-radius-sm);
  padding: 2rem;
  transition: var(--transition);
  animation: fadeUp 0.6s ease backwards;
}

.card:hover {
  border-color: var(--teal);
  box-shadow: 0 8px 24px rgba(15, 94, 90, 0.12);
  transform: translateY(-4px);
}

.card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.5rem;
  background-color: rgba(15, 94, 90, 0.1);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--teal);
  fill: none;
  stroke-width: 1.5;
}

.card h3 {
  margin-bottom: 1rem;
  color: var(--navy);
}

.card p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* ========== GRID LAYOUTS ========== */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ========== SECTIONS ========== */
section {
  scroll-margin-top: 80px;
}

.section-bg-light {
  background-color: var(--off-white);
}

.section-bg-navy {
  background-color: var(--navy);
  color: white;
}

.section-bg-navy p {
  color: rgba(255, 255, 255, 0.85);
}

.section-bg-navy h2 {
  color: white;
}

/* ========== VALUE PROPOSITION ========== */
.values-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.value-item {
  display: flex;
  gap: 1.5rem;
  animation: fadeUp 0.6s ease backwards;
}

.value-item:nth-child(2) {
  animation-delay: 0.1s;
}

.value-item:nth-child(3) {
  animation-delay: 0.2s;
}

.value-item:nth-child(4) {
  animation-delay: 0.3s;
}

.value-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background-color: rgba(15, 94, 90, 0.15);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--teal);
  fill: none;
  stroke-width: 1.5;
}

.value-content h4 {
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.value-content p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* ========== CTA SECTION ========== */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, rgba(10, 22, 40, 0.9) 100%);
  color: white;
  text-align: center;
  padding: 4rem 2rem;
  border-radius: var(--border-radius-lg);
  margin: 3rem 0;
}

.cta-section h2 {
  color: white;
  margin-bottom: 1.5rem;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.cta-button-group {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-button-group .cta-primary {
  background-color: var(--teal);
}

.cta-button-group .cta-primary:hover {
  background-color: #0d4a47;
}

.cta-button-group .cta-secondary {
  border-color: white;
  color: white;
}

.cta-button-group .cta-secondary:hover {
  background-color: white;
  color: var(--navy);
}

@media (max-width: 768px) {
  .cta-button-group {
    flex-direction: column;
  }

  .cta-button-group a, .cta-button-group button {
    width: 100%;
  }
}

/* ========== FOOTER ========== */
footer {
  background-color: var(--navy);
  color: white;
  padding: 3rem 2rem;
  text-align: center;
  border-top: 1px solid rgba(200, 165, 90, 0.2);
}

footer h3 {
  color: var(--gold);
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
  text-align: left;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.footer-section h4 {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-section p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.footer-section a:hover {
  color: var(--gold);
}

.footer-divider {
  height: 1px;
  background-color: rgba(200, 165, 90, 0.2);
  margin: 2rem 0;
}

.footer-bottom {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom p {
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ========== FORMS ========== */
.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

input[type="text"],
input[type="email"],
input[type="phone"],
textarea,
select {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--warm-gray);
  border-radius: var(--border-radius-sm);
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  color: var(--text-dark);
  transition: var(--transition);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="phone"]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(15, 94, 90, 0.1);
}

textarea {
  resize: vertical;
  min-height: 150px;
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Scroll animation observer class */
.scroll-animate {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s ease forwards;
}

/* ========== RESPONSIVE UTILITIES ========== */
@media (max-width: 1024px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (max-width: 768px) {
  header {
    padding: 0.75rem 0;
  }

  .header-content {
    padding: 0.75rem 1rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  .subtitle {
    font-size: 1rem;
  }

  .section-padding {
    padding: 2.5rem 0;
  }

  .cta-section {
    margin: 2rem 0;
    padding: 2.5rem 1rem;
  }
}

/* ========== ACCESSIBILITY ========== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ========== PRINT STYLES ========== */
@media print {
  header,
  .menu-toggle {
    display: none;
  }

  body {
    background-color: white;
  }

  .section-bg-navy {
    background-color: var(--navy);
  }
}
