@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Crimson+Pro:wght@400;600&display=swap');

:root {
  /* Ocean-inspired color palette */
  --primary-navy: #1a2f4a;
  --ocean-blue: #2d5986;
  --sea-foam: #7ba8c7;
  --wave-light: #b8d4e8;
  --sand-warm: #f5f1ed;
  --coral-accent: #d97757;
  --deep-teal: #1e5d70;
  
  /* Typography */
  --font-display: 'Crimson Pro', serif;
  --font-body: 'Outfit', sans-serif;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  
  /* Animation */
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

body {
  font-family: var(--font-body);
  color: var(--primary-navy);
  background: var(--sand-warm);
  line-height: 1.7;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--space-sm);
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

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

p {
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
  font-weight: 300;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(245, 241, 237, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: var(--space-sm) var(--space-md);
  border-bottom: 1px solid rgba(26, 47, 74, 0.1);
  transition: var(--transition-smooth);
}

nav.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  color: var(--primary-navy);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.logo img {
  height: 50px;
  width: auto;
  transition: var(--transition-bounce);
  filter: brightness(1.1);
}

.logo:hover img {
  transform: translateY(-3px) rotate(-5deg);
}

.nav-links {
  display: flex;
  gap: var(--space-md);
  list-style: none;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--primary-navy);
  font-weight: 400;
  position: relative;
  padding: 0.5rem 0;
  transition: var(--transition-smooth);
}

.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--ocean-blue);
  transition: var(--transition-smooth);
}

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

.nav-links a:hover {
  color: var(--ocean-blue);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-smooth);
  border: none;
  cursor: pointer;
  font-size: 1.05rem;
  font-family: var(--font-body);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: var(--ocean-blue);
  color: white;
  box-shadow: 0 4px 15px rgba(45, 89, 134, 0.3);
}

.btn-primary:hover {
  background: var(--deep-teal);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(45, 89, 134, 0.4);
}

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

.btn-secondary:hover {
  background: var(--ocean-blue);
  color: white;
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--space-xl) + 60px) var(--space-md) var(--space-xl);
  background: linear-gradient(135deg, var(--sand-warm) 0%, var(--wave-light) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120'%3E%3Cpath d='M0,64 C240,120 480,0 720,64 C960,120 1200,0 1200,64 L1200,120 L0,120 Z' fill='%231a2f4a' opacity='0.1'/%3E%3C/svg%3E");
  background-size: cover;
  animation: wave 20s linear infinite;
}

@keyframes wave {
  0% { background-position: 0 0; }
  100% { background-position: 1200px 0; }
}

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.hero-content {
  animation: fadeInUp 1s ease-out;
}

.hero h1 {
  margin-bottom: var(--space-md);
  color: var(--primary-navy);
}

.hero p {
  font-size: 1.3rem;
  color: var(--ocean-blue);
  margin-bottom: var(--space-md);
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-top: var(--space-md);
}

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

.hero-image {
  animation: fadeInRight 1s ease-out 0.3s both;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 30px rgba(26, 47, 74, 0.2));
}

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

/* Trust Bar */
.trust-bar {
  background: var(--primary-navy);
  color: white;
  padding: var(--space-md);
  text-align: center;
}

.trust-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 1.1rem;
  font-weight: 400;
}

.trust-item::before {
  content: '✓';
  font-size: 1.5rem;
  color: var(--coral-accent);
}

/* Section Styles */
section {
  padding: var(--space-xl) var(--space-md);
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-lg);
  animation: fadeIn 1s ease-out;
}

.section-header h2 {
  color: var(--primary-navy);
  margin-bottom: var(--space-sm);
}

.section-header p {
  color: var(--ocean-blue);
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Feature Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.feature-card {
  background: white;
  padding: var(--space-md);
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--ocean-blue), var(--sea-foam));
  transform: scaleX(0);
  transition: var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card h3 {
  color: var(--primary-navy);
  margin-bottom: var(--space-sm);
  font-size: 1.5rem;
}

.feature-card p {
  color: var(--ocean-blue);
  font-size: 1.05rem;
}

/* Problem Section */
.problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
  margin: var(--space-lg) 0;
}

.problem-card {
  background: white;
  padding: var(--space-md);
  border-radius: 15px;
  border-left: 4px solid var(--coral-accent);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition-smooth);
}

.problem-card:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.problem-card h4 {
  color: var(--primary-navy);
  font-size: 1.2rem;
  margin-bottom: var(--space-xs);
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.testimonial-card {
  background: white;
  padding: var(--space-md);
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  position: relative;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 350px;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 5rem;
  color: var(--wave-light);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-card:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
  position: relative;
  z-index: 1;
  margin-top: 0;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.testimonial-text {
  font-style: italic;
  color: var(--ocean-blue);
  margin-bottom: var(--space-sm);
  font-size: 1.05rem;
}

.testimonial-author-section {
  margin-top: auto;
  padding-top: var(--space-sm);
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-navy);
  margin-bottom: 0.25rem;
}

.testimonial-role {
  font-size: 0.95rem;
  color: var(--sea-foam);
  margin-bottom: 0;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.gallery-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: var(--transition-smooth);
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--ocean-blue) 0%, var(--deep-teal) 100%);
  color: white;
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  border-radius: 30px;
  margin: var(--space-xl) var(--space-md);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

.cta-section h2 {
  color: white;
  margin-bottom: var(--space-sm);
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  margin-bottom: var(--space-md);
}

.cta-buttons {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.btn-light {
  background: white;
  color: var(--ocean-blue);
}

.btn-light:hover {
  background: var(--sand-warm);
  transform: translateY(-2px);
}

/* Footer */
footer {
  background: var(--primary-navy);
  color: white;
  padding: var(--space-lg) var(--space-md) var(--space-md);
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.footer-section h4 {
  color: white;
  margin-bottom: var(--space-sm);
  font-size: 1.2rem;
}

.footer-section p,
.footer-section a {
  color: var(--wave-light);
  text-decoration: none;
  display: block;
  margin-bottom: var(--space-xs);
  transition: var(--transition-smooth);
}

.footer-section a:hover {
  color: white;
  transform: translateX(5px);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--wave-light);
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-navy);
  cursor: pointer;
}

/* Responsive Design */
@media (max-width: 768px) {
  :root {
    --space-md: 1.5rem;
    --space-lg: 3rem;
    --space-xl: 4rem;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--sand-warm);
    flex-direction: column;
    padding: var(--space-md);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .trust-container {
    flex-direction: column;
    align-items: center;
  }
  
  .features-grid,
  .problems-grid,
  .testimonials-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 300px;
  }
}

/* Utility Classes */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

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

.mt-lg {
  margin-top: var(--space-lg);
}

.mb-lg {
  margin-bottom: var(--space-lg);
}
