@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Poppins:wght@600;700&display=swap');

:root {
  /* Core palette */
  --mfy-navy: #0B2D4D;
  --mfy-teal: #14B8B1;
  --mfy-sky: #6BCFE3;
  --mfy-green: #43A047;
  --mfy-green-light: #C8E6C9;
  --mfy-white: #F8FBFC;
  --mfy-mist: #E9EEF2;
  --mfy-slate: #2F4559;

  /* Semantic mapping */
  --color-bg: var(--mfy-white);
  --color-surface: #ffffff;
  --color-text: var(--mfy-slate);
  --color-heading: var(--mfy-navy);
  --color-primary: var(--mfy-navy);
  --color-primary-hover: #11416D;
  --color-accent: var(--mfy-teal);
  --color-accent-soft: var(--mfy-sky);
  --color-green: var(--mfy-green);
  --color-green-light: var(--mfy-green-light);
  --color-border: var(--mfy-mist);

  /* Typography */
  --font-heading: 'Poppins', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;

  /* Sizing */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-soft: 0 8px 24px rgba(11, 45, 77, 0.08);
  --shadow-green: 0 8px 24px rgba(67, 160, 71, 0.15);

  /* Layout */
  --container-width: 1100px;
  --header-height: 80px;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-heading);
  line-height: 1.2;
}

h1 { font-size: 3rem; margin-bottom: 1rem; }
h2 { font-size: 2.25rem; margin-bottom: 1.5rem; text-align: center; }
h3 { font-size: 1.5rem; margin-bottom: 1rem; }

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

ul {
  list-style: none;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: 0.3s;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent) 0%, #0D9488 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(20, 184, 177, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(20, 184, 177, 0.4);
}

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

.btn-secondary:hover {
  background: linear-gradient(135deg, var(--color-primary) 0%, #0A1F3D 100%);
  color: white;
  transform: translateY(-2px);
}

.btn-green {
  background: linear-gradient(135deg, var(--color-green) 0%, #2E7D32 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(67, 160, 71, 0.3);
}

.btn-green:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(67, 160, 71, 0.4);
}

/* Header */
header {
  height: var(--header-height);
  background-color: white;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo img {
  height: 60px;
}

nav ul {
  display: flex;
  gap: 30px;
}

nav ul li a {
  font-weight: 500;
  position: relative;
  padding-bottom: 4px;
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-green));
  transition: width 0.3s ease;
  border-radius: 2px;
}

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

nav ul li a:hover {
  color: var(--color-accent);
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--color-primary);
  cursor: pointer;
}

/* Hero */
.hero {
  padding: 120px 0;
  background: linear-gradient(135deg, #ffffff 0%, #E8F5E9 30%, var(--mfy-mist) 70%, #E0F2F1 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(20, 184, 177, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(67, 160, 71, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero h1 {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.hero p {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  position: relative;
  z-index: 1;
}

.hero-btns {
  display: flex;
  gap: 20px;
  justify-content: center;
  position: relative;
  z-index: 1;
}

/* Sections */
section {
  padding: 80px 0;
}

.section-alt {
  background-color: white;
}

/* Why Choose Us */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.feature-card {
  background-color: white;
  padding: 35px 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  text-align: center;
  transition: 0.3s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-green));
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-green);
}

.feature-card i {
  font-size: 2.5rem;
  color: var(--color-green);
  margin-bottom: 20px;
  display: block;
}

/* Services */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: var(--color-bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: 0.3s;
  position: relative;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-green), var(--mfy-sky));
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(11, 45, 77, 0.12);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-content {
  padding: 30px;
}

.service-content h3 {
  color: var(--color-primary);
  margin-bottom: 12px;
}

.service-content ul {
  margin-top: 15px;
  margin-bottom: 20px;
}

.service-content li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 24px;
}

.service-content li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-green);
  font-weight: bold;
  font-size: 1.1rem;
}

/* Pricing Table */
.pricing-container {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background-color: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

th, td {
  padding: 20px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

th {
  background-color: var(--color-primary);
  color: white;
  font-family: var(--font-heading);
}

tr:last-child td {
  border-bottom: none;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.pricing-card {
  background-color: white;
  padding: 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: 0.3s;
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-green));
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(11, 45, 77, 0.1);
}

.pricing-card h4 {
  margin-bottom: 10px;
  color: var(--color-primary);
  font-size: 1.2rem;
}

.pricing-card .price {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-green);
  margin-bottom: 10px;
}

.pricing-card p {
  font-size: 0.95rem;
  opacity: 0.8;
}

.pricing-callout {
  text-align: center;
  margin-top: 40px;
  padding: 40px;
  background: linear-gradient(135deg, var(--mfy-mist) 0%, #E8F5E9 100%);
  border-radius: var(--radius-md);
  border: 1px solid var(--mfy-green-light);
}

.pricing-callout h3 {
  color: var(--color-primary);
  margin-bottom: 10px;
}

/* Booking Form */
.booking-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, #0A1F3D 100%);
  color: white;
}

.booking-section h2 {
  color: white;
}

.booking-form {
  max-width: 600px;
  margin: 0 auto;
  background-color: white;
  padding: 40px;
  border-radius: var(--radius-lg);
  color: var(--color-text);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--color-primary);
}

.form-group input, 
.form-group select, 
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  background-color: var(--mfy-white);
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-green);
  box-shadow: 0 0 0 3px rgba(67, 160, 71, 0.1);
}

.form-group textarea {
  height: 100px;
}

.booking-form .btn-primary {
  width: 100%;
  padding: 16px;
  font-size: 1.1rem;
}

/* Footer */
footer {
  background-color: var(--color-primary);
  color: white;
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo img {
  height: 50px;
  margin-bottom: 20px;
}

.footer-links h4 {
  color: white;
  margin-bottom: 20px;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Reviews Section */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-bottom: 50px;
}

.review-card {
  background-color: white;
  padding: 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  position: relative;
  transition: 0.3s;
}

.review-card::before {
  content: '\201C';
  position: absolute;
  top: 15px;
  left: 20px;
  font-size: 4rem;
  color: var(--mfy-green-light);
  line-height: 1;
  font-family: Georgia, serif;
  opacity: 0.6;
}

.review-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-green);
}

.review-card.review-card-new {
  animation: fadeInUp 0.5s ease;
}

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

.review-stars {
  color: #FFB300;
  font-size: 1.3rem;
  margin-bottom: 15px;
  letter-spacing: 2px;
}

.review-text {
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.review-author {
  font-weight: 600;
  color: var(--color-primary);
  font-size: 0.95rem;
}

.review-form-container {
  max-width: 600px;
  margin: 0 auto;
  background-color: white;
  padding: 35px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.review-form-container h3 {
  text-align: center;
  margin-bottom: 25px;
  color: var(--color-primary);
}

/* Responsive */
@media (max-width: 768px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }
  
  .menu-toggle {
    display: block;
  }

  nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
  }

  nav.active {
    display: block;
  }

  nav ul {
    flex-direction: column;
    padding: 20px;
    gap: 15px;
  }
  
  .hero {
    padding: 60px 0;
  }
  
  .hero-btns {
    flex-direction: column;
  }
}
