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

:root {
  --primary-color: #386641;      /* Deep Sage Green */
  --primary-hover: #2e5335;
  --primary-dark: #1e3324;       /* Footer / dark green */
  --primary-light: #f2f7f4;
  --secondary-color: #bc4749;    /* Warm Red/Apple */
  --secondary-hover: #9c3a3b;
  --secondary-light: #fdf2f2;
  --accent-color: #f2a65a;       /* Soft Ochre/Gold */
  --accent-light: #fef6ee;
  --bg-color: #faf9f6;           /* Premium Warm White */
  --bg-card: #ffffff;
  --text-color: #2b3a30;         /* Slate/Charcoal Green */
  --text-muted: #5e6d62;
  --border-color: #e5ece7;
  
  --shadow-sm: 0 4px 6px -1px rgba(56, 102, 65, 0.05), 0 2px 4px -1px rgba(56, 102, 65, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(56, 102, 65, 0.08), 0 4px 6px -2px rgba(56, 102, 65, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(56, 102, 65, 0.1), 0 10px 10px -5px rgba(56, 102, 65, 0.04);
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

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

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

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

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

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

.section-padding {
  padding: 80px 0;
}

/* Topbar Notification */
.topbar {
  background-color: var(--primary-color);
  color: white;
  padding: 10px 0;
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
  position: relative;
  z-index: 1001;
}

.topbar-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.topbar-badge {
  background-color: var(--accent-color);
  color: var(--text-color);
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

/* Header & Navigation */
.site-header {
  background-color: rgba(250, 249, 246, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 14px;
}

#site-logo-img {
  height: 52px;
  width: auto;
  display: block;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.site-title {
  font-family: 'Patrick Hand', 'Comic Sans MS', cursive;
  font-size: 26px;
  color: var(--primary-color);
  line-height: 1.1;
}

.site-subtitle {
  font-family: var(--font-heading);
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: -2px;
}

/* Navigation Menu */
.nav-menu {
  display: flex;
  list-style: none;
  gap: 8px;
  align-items: center;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-color);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link:hover, .nav-item.active > .nav-link {
  background-color: var(--primary-light);
  color: var(--primary-color);
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 99;
  list-style: none;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-color);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  display: block;
}

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

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-color);
  font-size: 1.5rem;
}

/* Home highlight — matches live: Exceeding logo + Enrolments CTA */
.home-highlight {
  background-color: #ffffff;
  padding: 56px 0 48px 0;
  border-bottom: 1px solid var(--border-color);
}

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

.home-exceeding,
.home-badges {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 28px;
}

.home-exceeding-img {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  margin: 0 auto;
}

.home-free-kinder-img {
  display: block;
  width: 100%;
  max-width: 280px;
  height: auto;
  margin: 0 auto;
}

.free-kinder-logo-wrap {
  text-align: center;
  margin: 0 0 28px;
}

.free-kinder-logo {
  display: inline-block;
  max-width: 320px;
  width: 100%;
  height: auto;
}

.home-enrolments {
  text-align: left;
  max-width: 420px;
}

.home-enrolments-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 600;
  color: #6b6b6b;
  margin: 0 0 12px 0;
  line-height: 1.2;
}

.home-enrolments-lead {
  font-size: 1.125rem;
  color: #000;
  font-weight: 600;
  margin: 0 0 10px 0;
}

.home-enrolments-note {
  font-size: 1rem;
  color: #555;
  margin: 0 0 24px 0;
  line-height: 1.5;
}

.btn-enrol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 8px;
  background-color: #a8b8d8;
  color: #fff !important;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: none;
  box-shadow: none;
  transition: var(--transition);
}

.btn-enrol:hover {
  background-color: #8fa3c9;
  transform: translateY(-1px);
  color: #fff !important;
}

/* Legacy hero helpers (kept for any remaining references) */
.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  box-shadow: var(--shadow-sm);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

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

.btn-secondary {
  background-color: var(--secondary-color);
  color: white !important;
}

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

.btn-outline {
  background-color: transparent;
  color: var(--text-color) !important;
  border: 2px solid var(--border-color);
}

.btn-outline:hover {
  background-color: var(--primary-light);
  border-color: var(--primary-color);
  color: var(--primary-color) !important;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.875rem;
}

.hero-image-container {
  position: relative;
}

.hero-img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  display: block;
  object-fit: cover;
  aspect-ratio: 4/3;
  transform: rotate(-1.5deg);
  transition: var(--transition);
}

.hero-img:hover {
  transform: rotate(0deg);
}

.hero-card-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background-color: var(--bg-card);
  padding: 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 280px;
  border: 1px solid var(--border-color);
}

.badge-icon {
  background-color: var(--accent-light);
  color: var(--accent-color);
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.badge-text h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.badge-text p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Feature Grid */
.features-section {
  background-color: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px auto;
}

.section-tag {
  color: var(--primary-color);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-card {
  background-color: var(--bg-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-8px);
  background-color: var(--bg-card);
  box-shadow: var(--shadow-md);
  border-color: rgba(56, 102, 65, 0.15);
}

.feature-icon-wrapper {
  margin-bottom: 24px;
}

.feature-icon {
  background-color: white;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.feature-card:hover .feature-icon {
  background-color: var(--primary-light);
  color: var(--primary-color);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

.feature-card-link::after {
  content: '→';
  transition: var(--transition);
}

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

/* Page Layout for Inner Pages */
.page-header {
  background: linear-gradient(135deg, var(--primary-light) 0%, #ffffff 100%);
  padding: 60px 0;
  border-bottom: 1px solid var(--border-color);
  text-align: center;
}

.page-header h1 {
  font-size: 2.75rem;
  margin-bottom: 12px;
  color: var(--text-color);
}

.breadcrumbs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  list-style: none;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.breadcrumbs a {
  color: var(--text-muted);
}

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

.breadcrumbs-separator {
  color: var(--border-color);
}

.page-content-wrapper {
  padding: 70px 0;
}

.layout-sidebar {
  display: grid;
  grid-template-columns: 8fr 4fr;
  gap: 40px;
}

.sidebar-right {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.sidebar-widget {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

.widget-title {
  font-size: 1.25rem;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-light);
}

/* Enrolment CTA Sidebar Widget */
.enrolment-widget {
  background: linear-gradient(135deg, var(--accent-light) 0%, #ffffff 100%);
  border: 1px solid rgba(242, 166, 90, 0.2);
}

.enrolment-widget .widget-title {
  border-bottom-color: rgba(242, 166, 90, 0.15);
}

/* NQS Sidebar Widget */
.nqs-widget {
  background: linear-gradient(135deg, var(--secondary-light) 0%, #ffffff 100%);
  border: 1px solid rgba(188, 71, 73, 0.2);
  text-align: center;
}

.nqs-widget-logo {
  max-width: 180px;
  margin: 0 auto 20px auto;
  display: block;
}

.nqs-widget .widget-title {
  border-bottom-color: rgba(188, 71, 73, 0.15);
}

/* Standard Content Styles */
.rich-text {
  font-size: 1.05rem;
  color: var(--text-color);
}

.rich-text a {
  color: var(--primary-color);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}

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

.rich-text p {
  margin-bottom: 24px;
}

.rich-text h2 {
  font-size: 1.75rem;
  margin: 40px 0 20px 0;
}

.rich-text h3 {
  font-size: 1.35rem;
  margin: 30px 0 16px 0;
}

.rich-text ul {
  list-style: none;
  margin-bottom: 30px;
  padding-left: 8px;
}

.rich-text ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
}

.rich-text ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 2px;
  background-color: var(--primary-light);
  color: var(--primary-color);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.rich-text blockquote {
  border-left: 4px solid var(--accent-color);
  background-color: var(--accent-light);
  padding: 24px 30px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 30px 0;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-color);
}

/* Timetable styling (table fallback) */
.timetable-wrapper {
  margin: 30px 0;
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.timetable {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  background-color: white;
}

.timetable th {
  background-color: var(--primary-color);
  color: white;
  padding: 16px 20px;
  font-family: var(--font-heading);
  font-weight: 600;
}

.timetable td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.95rem;
}

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

.timetable tr:nth-child(even) {
  background-color: var(--primary-light);
}

/* Coloured day cards — style inspired by Appletree School timetable brochure */
.timetable-days {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 28px 0 36px 0;
}

.day-card {
  border-radius: 14px;
  padding: 22px 20px 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.06);
  min-height: 180px;
}

.day-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
  min-height: 26px;
}

.day-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 4px;
  color: #fff;
  line-height: 1.4;
}

.day-tag-blue { background-color: #3b6fd4; }
.day-tag-green { background-color: #2f9e44; }
.day-tag-yellow { background-color: #e6a817; color: #1a1a1a; }
.day-tag-3yo { background-color: #c45c26; }

.day-card-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 8px 0;
  text-decoration: underline;
  text-underline-offset: 4px;
  color: #222;
}

.day-card-time {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 14px 0;
  color: #222;
}

.day-card-staff {
  font-size: 0.9rem;
  line-height: 1.45;
  margin: 0 0 6px 0;
  color: #333;
}

.day-card-staff strong {
  font-weight: 700;
}

/* Day colours (from brochure) */
.day-monday {
  background: linear-gradient(160deg, #f7e7a1 0%, #f0d56a 100%);
}
.day-tuesday {
  background: linear-gradient(160deg, #f3c4d4 0%, #e8a0b8 100%);
}
.day-wednesday {
  background: linear-gradient(160deg, #c5daf5 0%, #9bbfea 100%);
}
.day-thursday {
  background: linear-gradient(160deg, #f3c4d4 0%, #e8a0b8 100%);
}
.day-friday {
  background: linear-gradient(160deg, #c5daf5 0%, #9bbfea 100%);
}

.group-key {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin: 16px 0 8px 0;
  font-size: 0.95rem;
}

.group-key-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 600px) {
  .timetable-days {
    grid-template-columns: 1fr;
  }
}

/* Calendar event type badges */
.calendar-type {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.type-holiday {
  background-color: var(--primary-light);
  color: var(--primary-color);
  border: 1px solid rgba(56, 102, 65, 0.15);
}

.type-school {
  background-color: var(--accent-light);
  color: #b7762c;
  border: 1px solid rgba(242, 166, 90, 0.2);
}

.type-festival {
  background-color: var(--secondary-light);
  color: var(--secondary-color);
  border: 1px solid rgba(56, 102, 65, 0.1);
}

/* Policies Table styling */
.policies-table-container {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  margin-top: 30px;
}

.policies-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  background-color: white;
}

.policies-table th {
  background-color: var(--primary-light);
  color: var(--primary-color);
  padding: 16px 20px;
  font-family: var(--font-heading);
  font-weight: 700;
  border-bottom: 2px solid var(--border-color);
}

.policies-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.9rem;
}

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

.policies-table tr:hover {
  background-color: rgba(56, 102, 65, 0.02);
}

/* Badges inside tables */
.policy-status {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.status-current {
  background-color: var(--primary-light);
  color: var(--primary-color);
  border: 1px solid rgba(56, 102, 65, 0.15);
}

.status-review {
  background-color: var(--accent-light);
  color: #c9751e;
  border: 1px solid rgba(242, 166, 90, 0.15);
}

.badge-child-safe {
  background-color: var(--secondary-light);
  color: var(--secondary-color);
  font-size: 0.85rem;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* Staff Grid styling */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.staff-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  padding: 30px;
  transition: var(--transition);
}

.staff-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(56, 102, 65, 0.1);
}

.staff-avatar-wrapper {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.staff-avatar-placeholder {
  background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
  color: var(--primary-color);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
}

.staff-meta h3 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.staff-role {
  color: var(--primary-color);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Google Reviews page */
.google-rating-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  background: linear-gradient(135deg, #ffffff 0%, var(--primary-light) 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 32px 28px;
  margin: 28px 0 36px;
}

.google-rating-badge {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.google-rating-main {
  flex: 1 1 180px;
  min-width: 160px;
}

.google-rating-score {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  color: var(--text-color);
  letter-spacing: -0.02em;
}

.google-stars {
  display: flex;
  gap: 2px;
  margin: 8px 0 10px;
  line-height: 1;
}

.google-stars .star {
  color: #d1d5db;
  font-size: 1.5rem;
}

.google-stars .star.filled {
  color: #fbbc04;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.google-stars-sm .star {
  font-size: 1.1rem;
}

.google-rating-label {
  font-weight: 600;
  color: var(--text-color);
  margin: 0 0 4px !important;
  font-size: 1rem;
}

.google-rating-sub {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0 !important;
}

.google-rating-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 0 1 220px;
}

.google-rating-actions .btn {
  width: 100%;
  text-align: center;
}

.review-cards {
  display: grid;
  gap: 16px;
  margin: 20px 0 32px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  transition: var(--transition);
}

.review-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.review-card-link:hover {
  border-color: rgba(56, 102, 65, 0.25);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  color: inherit;
}

.review-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.review-source {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-color);
}

.review-card-body {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0 0 14px !important;
  line-height: 1.65;
}

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

.leave-review-cta {
  background: var(--accent-light);
  border: 1px solid rgba(242, 166, 90, 0.35);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  margin-top: 12px;
}

.leave-review-cta h2 {
  margin-top: 0;
}

.leave-review-cta .btn {
  margin-top: 8px;
}

@media (max-width: 700px) {
  .google-rating-panel {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 20px;
  }

  .google-rating-actions {
    width: 100%;
    flex: 1 1 100%;
  }

  .google-rating-score {
    font-size: 2.5rem;
  }
}

.staff-bio {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Contact Cards Grid */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

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

.contact-card h3 {
  font-size: 1.25rem;
  margin-bottom: 20px;
  color: var(--primary-color);
  border-bottom: 2px solid var(--primary-light);
  padding-bottom: 8px;
}

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

.contact-icon {
  color: var(--primary-color);
  font-size: 1.15rem;
  margin-top: 2px;
}

.contact-text h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-text p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  margin-top: 30px;
  height: 400px;
}

/* Footer styling */
.site-footer {
  background-color: var(--primary-dark);
  color: #e5ece7;
  padding: 70px 0 30px 0;
  font-size: 0.95rem;
}

.site-footer h3,
.site-footer .footer-widget h3 {
  color: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-info-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.footer-logo-box {
  background: white;
  color: var(--primary-color);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.footer-desc {
  color: #adc1b2;
  font-size: 0.875rem;
  max-width: 320px;
  line-height: 1.6;
}

.footer-widget h3 {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 24px;
  font-weight: 600;
}

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

.footer-link {
  color: #adc1b2;
  font-size: 0.875rem;
  transition: var(--transition);
}

.footer-link:hover {
  color: white;
  padding-left: 4px;
}

/* Monash logo panel — Enrolments page */
.monash-enrol-panel {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  background: var(--primary-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 8px 0 28px;
}

.monash-enrol-logo-link {
  flex-shrink: 0;
  display: block;
}

.monash-enrol-logo {
  display: block;
  max-width: 180px;
  width: 100%;
  height: auto;
  background: #fff;
  border-radius: 6px;
  padding: 8px 10px;
  border: 1px solid var(--border-color);
}

.monash-enrol-note {
  flex: 1 1 200px;
  margin: 0 !important;
  font-size: 0.95rem;
  color: var(--text-color);
  line-height: 1.55;
}

.footer-acknowledgement {
  border-top: 1px solid rgba(229, 236, 231, 0.1);
  padding: 28px 0 8px;
  margin-top: 8px;
  text-align: center;
}

.footer-flags {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.footer-flag {
  width: 56px;
  height: 28px;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  background: #fff;
  display: block;
}

/* Acknowledgement Song block in footer */
.footer-ack-song {
  max-width: 720px;
  margin: 20px auto 0;
  text-align: left;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(229, 236, 231, 0.12);
  border-radius: var(--radius-md);
  padding: 24px 22px 22px;
}

.footer-ack-song-title {
  color: #ffffff !important;
  font-size: 1.15rem !important;
  margin: 0 0 14px !important;
  font-weight: 700;
}

.footer-ack-song-intro,
.footer-ack-song-follow {
  color: #c5d4c9;
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0 0 16px;
}

.footer-ack-song-follow {
  margin-bottom: 0;
}

.footer-ack-lyrics-wrap {
  margin: 0 0 16px;
}

.footer-ack-lyrics-heading {
  color: #e8f0ea;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 10px;
}

.footer-ack-lyrics {
  background: rgba(0, 0, 0, 0.18);
  border-left: 3px solid var(--accent-color);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 14px 16px;
  color: #e5ece7;
  font-size: 0.95rem;
  line-height: 1.55;
}

.footer-ack-lyrics p {
  margin: 0 0 12px;
}

.footer-ack-lyrics p:last-child {
  margin-bottom: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(229, 236, 231, 0.1);
  padding-top: 30px;
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.8rem;
  color: #92ab98;
}

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

.footer-bottom-links a {
  color: #92ab98;
}

.footer-bottom-links a:hover {
  color: white;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Responsive Styles */
@media (max-width: 992px) {
  html {
    font-size: 15px;
  }
  
  .home-highlight-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .home-enrolments {
    text-align: center;
    max-width: 100%;
    margin: 0 auto;
  }

  .home-exceeding-img {
    max-width: 280px;
  }

  .home-free-kinder-img {
    max-width: 240px;
  }

  .free-kinder-logo {
    max-width: 260px;
  }
  
  .btn-group {
    justify-content: center;
  }
  
  .layout-sidebar {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .site-header {
    padding: 10px 0;
  }

  .logo-link {
    gap: 8px;
    max-width: 70%;
    min-width: 0;
  }

  .logo-text {
    min-width: 0;
  }

  #site-logo-img {
    height: 36px;
    width: 36px;
    flex-shrink: 0;
  }

  .site-title {
    font-size: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
  }

  .site-subtitle {
    display: none;
  }

  .hero-title {
    font-size: 1.85rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .page-header h1 {
    font-size: 1.85rem;
  }

  .topbar-content {
    flex-direction: column;
    gap: 4px;
    font-size: 0.8rem;
    padding: 4px 10px;
    text-align: center;
  }

  .btn-group {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }

  .menu-toggle {
    display: block;
    font-size: 1.25rem;
    padding: 6px 10px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 700;
    flex-shrink: 0;
    border: none;
  }
  
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    padding: 20px;
    flex-direction: column;
    align-items: stretch;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    box-shadow: var(--shadow-md);
  }
  
  .nav-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background-color: var(--bg-color);
    margin-top: 8px;
    padding-left: 15px;
    display: none;
  }
  
  .nav-item.active-dropdown .dropdown-menu {
    display: block;
  }
  
  .nav-link {
    justify-content: space-between;
  }

  #footer-logo-img {
    max-width: 100% !important;
    height: auto !important;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
