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

:root {
  --primary: #ca8a04;
  --primary-hover: #b45309;
  --primary-light: #fefce8;
  --secondary: #eab308;
  --secondary-hover: #ca8a04;
  --secondary-light: #fffdeb;
  --accent: #fbbf24;
  --accent-dark: #d97706;
  
  /* Ofsted color scale */
  --ofsted-1: #10b981; /* Outstanding */
  --ofsted-2: #84cc16; /* Good */
  --ofsted-3: #f59e0b; /* Requires Improvement */
  --ofsted-4: #ef4444; /* Inadequate */
  
  --dark: #0f172a;
  --dark-light: #334155;
  --light: #fefdf0;
  --border: #fef08a;
  --white: #ffffff;
  
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 10px 15px -3px rgba(15, 23, 42, 0.1), 0 4px 6px -4px rgba(15, 23, 42, 0.1);
  --shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, 0.12), 0 8px 10px -6px rgba(15, 23, 42, 0.12);
  --radius-sm: 8px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-full: 9999px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--white);
  color: var(--dark-light);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  color: var(--dark);
  font-weight: 700;
  line-height: 1.25;
}

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

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

/* Common Layout Elements */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--dark);
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}

.section-title p {
  color: var(--dark-light);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Header & Navigation */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

header.scrolled {
  box-shadow: var(--shadow);
  background-color: rgba(255, 255, 255, 0.95);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary);
}

.logo img {
  width: 36px;
  height: 36px;
}

.logo span {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--dark-light);
  position: relative;
  padding: 6px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}

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

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

.nav-links a.active {
  color: var(--primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Mobile Nav Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--dark);
  margin: 5px 0;
  transition: var(--transition);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

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

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.2);
}

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

.btn-secondary:hover {
  background-color: var(--primary-light);
  transform: translateY(-1px);
}

.btn-accent {
  background-color: var(--accent);
  color: var(--dark);
}

.btn-accent:hover {
  background-color: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}

.btn-text {
  background: none;
  color: var(--dark-light);
  padding: 8px 16px;
}

.btn-text:hover {
  color: var(--primary);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-light) 100%);
  position: relative;
  overflow: hidden;
  padding: 100px 0 120px 0;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: 0;
  width: 100%;
  height: 100px;
  background-color: var(--white);
  transform: skewY(-2deg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-content h1 span {
  color: var(--primary);
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--dark-light);
  margin-bottom: 36px;
}

/* Search Bar Component */
.search-container {
  background-color: var(--white);
  padding: 16px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.search-tabs {
  display: flex;
  gap: 12px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
}

.search-tab {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.9rem;
  background: none;
  border: none;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  color: var(--dark-light);
  cursor: pointer;
  transition: var(--transition);
}

.search-tab.active {
  background-color: var(--primary-light);
  color: var(--primary);
}

.search-box {
  display: flex;
  gap: 12px;
}

.search-input-wrapper {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}

.search-input-wrapper svg {
  position: absolute;
  left: 16px;
  width: 20px;
  height: 20px;
  color: #94a3b8;
}

.search-box input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 16px 16px 16px 48px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  outline: none;
  transition: var(--transition);
}

.search-box input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

.hero-visual {
  position: relative;
}

.hero-visual-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.visual-map-placeholder {
  height: 350px;
  background-color: #e2e8f0;
  background-image: radial-gradient(var(--border) 15%, transparent 16%);
  background-size: 16px 16px;
  position: relative;
}

.map-mock-pin {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: float 3s ease-in-out infinite;
}

.map-mock-pin svg {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.15));
}

.map-mock-pin span {
  background-color: var(--white);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: var(--shadow);
  margin-top: -6px;
  white-space: nowrap;
}

.map-mock-pin.outstanding {
  top: 30%;
  left: 45%;
}

.map-mock-pin.outstanding svg { color: var(--ofsted-1); }

.map-mock-pin.good {
  top: 60%;
  left: 20%;
  animation-delay: 0.5s;
}

.map-mock-pin.good svg { color: var(--ofsted-2); }

.map-mock-pin.improvement {
  top: 45%;
  left: 75%;
  animation-delay: 1s;
}

.map-mock-pin.improvement svg { color: var(--ofsted-3); }

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  background-color: var(--white);
  border-radius: var(--radius);
  padding: 40px 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius);
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.feature-icon svg {
  width: 32px;
  height: 32px;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.feature-card p {
  color: var(--dark-light);
  margin-bottom: 24px;
}

.feature-card .arrow-link {
  color: var(--primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.feature-card .arrow-link:hover svg {
  transform: translateX(4px);
}

.feature-card .arrow-link svg {
  width: 16px;
  height: 16px;
  transition: var(--transition);
}

/* Statistics Section */
.stats {
  background-color: var(--primary);
  color: var(--white);
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat-item h3 {
  font-size: 3.5rem;
  color: var(--white);
  font-weight: 800;
  margin-bottom: 8px;
}

.stat-item p {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Testimonial Slider */
.testimonials {
  background-color: var(--light);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.testimonial-card {
  background-color: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.rating {
  color: var(--accent);
  margin-bottom: 16px;
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 24px;
  color: var(--dark-light);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background-color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary);
}

.author-info h4 {
  font-size: 1rem;
}

.author-info span {
  font-size: 0.85rem;
  color: #64748b;
}

/* Map Dashboard Layout for Search Page */
.dashboard-container {
  display: flex;
  height: calc(100vh - 80px);
  overflow: hidden;
}

.sidebar {
  width: 450px;
  min-width: 400px;
  background-color: var(--white);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  z-index: 10;
  box-shadow: var(--shadow);
}

.sidebar-header {
  padding: 20px;
  border-bottom: 1px solid var(--border);
}

.sidebar-search-box {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.sidebar-search-box input {
  flex: 1;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  outline: none;
}

.sidebar-search-box input:focus {
  border-color: var(--primary);
}

.filter-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-pill {
  padding: 6px 14px;
  background-color: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-pill.active {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.school-list {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Custom Scrollbar for school list */
.school-list::-webkit-scrollbar {
  width: 6px;
}

.school-list::-webkit-scrollbar-track {
  background: transparent;
}

.school-list::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: var(--radius-full);
}

.school-list::-webkit-scrollbar-thumb:hover {
  background: #cbd5e1;
}

/* School Card */
.school-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  cursor: pointer;
  transition: var(--transition);
}

.school-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.school-card.active {
  border-color: var(--primary);
  background-color: var(--primary-light);
}

.school-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
}

.school-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
}

.ofsted-badge {
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
}

.ofsted-badge.outstanding { background-color: var(--ofsted-1); }
.ofsted-badge.good { background-color: var(--ofsted-2); }
.ofsted-badge.improvement { background-color: var(--ofsted-3); }
.ofsted-badge.inadequate { background-color: var(--ofsted-4); }

.school-type {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 12px;
}

.school-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  border-top: 1px dashed var(--border);
  padding-top: 12px;
  font-size: 0.8rem;
}

.school-stat-label {
  color: #64748b;
  font-weight: 500;
  display: block;
  margin-bottom: 2px;
}

.school-stat-val {
  font-weight: 700;
  color: var(--dark);
}

.map-container-wrapper {
  flex: 1;
  position: relative;
  height: 100%;
}

#map {
  width: 100%;
  height: 100%;
  background-color: #f1f5f9;
}

/* Info Window Custom Styling for Leaflet */
.leaflet-popup-content-wrapper {
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow-lg) !important;
  font-family: var(--font-body) !important;
  padding: 0 !important;
  overflow: hidden;
}

.leaflet-popup-content {
  margin: 0 !important;
  width: 280px !important;
}

.map-popup-card {
  padding: 16px;
}

.map-popup-card h4 {
  font-family: var(--font-title);
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.map-popup-card .ofsted-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.map-popup-card .type-label {
  font-size: 0.8rem;
  color: #64748b;
}

.map-popup-card .details-btn {
  width: 100%;
  text-align: center;
  background-color: var(--primary);
  color: var(--white);
  border: none;
  padding: 8px;
  border-radius: var(--radius-sm);
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  margin-top: 10px;
  transition: var(--transition);
}

.map-popup-card .details-btn:hover {
  background-color: var(--primary-hover);
}

/* Modal Component */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 750px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  position: relative;
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--light);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-light);
  transition: var(--transition);
}

.modal-close:hover {
  background-color: var(--border);
  color: var(--dark);
}

.modal-header {
  padding: 32px 32px 20px 32px;
  border-bottom: 1px solid var(--border);
}

.modal-header h3 {
  font-size: 1.75rem;
  margin-bottom: 8px;
  max-width: calc(100% - 40px);
}

.modal-body {
  padding: 32px;
}

.modal-section {
  margin-bottom: 28px;
}

.modal-section h4 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  border-left: 4px solid var(--primary);
  padding-left: 10px;
}

.modal-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.modal-table th, .modal-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.modal-table th {
  background-color: var(--light);
  font-weight: 600;
  color: var(--dark);
}

/* Pricing Section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: center;
}

.pricing-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  position: relative;
  transition: var(--transition);
}

.pricing-card:hover {
  transform: translateY(-5px);
}

.pricing-card.premium {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-lg);
}

.pricing-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary);
  color: var(--white);
  padding: 4px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
}

.pricing-card h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.pricing-card .price {
  font-size: 3rem;
  color: var(--dark);
  font-weight: 800;
  margin-bottom: 20px;
}

.pricing-card .price span {
  font-size: 1rem;
  color: var(--dark-light);
  font-weight: 500;
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}

.pricing-features li svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
}

/* Contact Page Styles */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-item {
  display: flex;
  gap: 16px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 24px;
  height: 24px;
}

.contact-item h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.contact-form-wrapper {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

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

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

.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  outline: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

/* Map Embed Demonstration on Estate Agent page */
.embed-demo-box {
  background: var(--light);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
  margin-top: 32px;
}

.embed-preview {
  background: var(--white);
  border-radius: var(--radius);
  height: 350px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-top: 20px;
  position: relative;
}

.embed-code-block {
  background: var(--dark);
  color: #e2e8f0;
  padding: 16px 24px;
  border-radius: var(--radius);
  font-family: monospace;
  font-size: 0.85rem;
  overflow-x: auto;
  margin-top: 16px;
  position: relative;
}

.copy-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255,255,255,0.1);
  border: none;
  color: var(--white);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  cursor: pointer;
}

.copy-btn:hover {
  background: rgba(255,255,255,0.2);
}

/* Legal Documents layout */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0;
}

.legal-content h1 {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.legal-content .meta {
  color: #64748b;
  margin-bottom: 40px;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 32px;
  margin-bottom: 16px;
}

.legal-content p {
  margin-bottom: 16px;
  color: var(--dark-light);
}

.legal-content ul, .legal-content ol {
  margin-bottom: 20px;
  padding-left: 24px;
}

.legal-content li {
  margin-bottom: 8px;
}

/* Footer styling */
footer {
  background-color: var(--dark);
  color: #94a3b8;
  padding: 80px 0 32px 0;
  border-top: 1px solid #1e293b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-column h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 24px;
}

.footer-column ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-column ul a:hover {
  color: var(--white);
}

.footer-about p {
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 36px;
  height: 36px;
  background-color: #1e293b;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
}

.social-link:hover {
  background-color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}

/* Animations */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

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

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  h1 { font-size: 2.75rem !important; }
  .features-grid, .pricing-grid, .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2.25rem !important; }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .features-grid, .pricing-grid, .testimonials-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  .mobile-toggle {
    display: block;
  }
  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--white);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
  }
  .nav-links.active {
    left: 0;
  }
  .nav-actions {
    display: none;
  }
  .dashboard-container {
    flex-direction: column;
    height: auto;
  }
  .sidebar {
    width: 100%;
    min-width: 100%;
    height: 500px;
  }
  .map-container-wrapper {
    height: 400px;
  }
}

/* Bubble Background Decorations */
.bubble-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.bubble {
  position: absolute;
  bottom: -80px;
  background: rgba(254, 240, 138, 0.45); /* Translucent soft banana cream */
  border-radius: 50%;
  animation: floatUp 12s infinite ease-in;
  box-shadow: inset 0 2px 6px rgba(255, 255, 255, 0.6), 0 2px 4px rgba(0, 0, 0, 0.03);
}

@keyframes floatUp {
  0% {
    transform: translateY(0) scale(1) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.8;
  }
  90% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(-130vh) scale(1.6) rotate(360deg);
    opacity: 0;
  }
}

/* Make sure hero and stats grid contents index above background bubble elements */
.hero-grid, .stats-grid {
  position: relative;
  z-index: 1;
}

/* Add custom organic bubble backdrops to cards */
.feature-card, .pricing-card {
  position: relative;
  overflow: hidden;
}

.feature-card::before, .pricing-card::before {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(254, 240, 138, 0.15);
  top: -40px;
  right: -40px;
  pointer-events: none;
  transition: var(--transition);
}

.feature-card:hover::before, .pricing-card:hover::before {
  transform: scale(1.2);
  background: rgba(254, 240, 138, 0.3);
}
