/* Bukhaar Islamic School - Official Brand Color System (Derived from Logo) */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --primary-green: #006837;
  --primary-green-dark: #004D28;
  --primary-green-deep: #00361C;
  --accent-red: #E31B23;
  --accent-red-hover: #C4141B;
  --pale-green: #E8F4EE;
  --light-bg: #F8FAFC;
}

body {
  font-family: 'Inter', sans-serif;
  color: #1E293B;
  background-color: #FFFFFF;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: 'Montserrat', sans-serif;
}

/* Curved Hero Bottom Right - Reference Feature */
.hero-curved {
  border-bottom-right-radius: 120px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero-curved {
    border-bottom-right-radius: 180px;
  }
}

/* Curved Top Right Corner for Book a Tour Header */
.hero-curved-white-bottom {
  border-bottom-right-radius: 140px;
}

/* Chevron Backgrounds for School Levels - Green Brand Palette */
.bg-chevron-down {
  position: relative;
  background-color: #E8F4EE;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);
}

.bg-chevron-up {
  position: relative;
  background-color: #D6EADF;
  clip-path: polygon(0 15%, 50% 0, 100% 15%, 100% 85%, 50% 100%, 0 85%);
}

.bg-chevron-bottom {
  position: relative;
  background-color: #C3E0D0;
  clip-path: polygon(0 15%, 50% 0, 100% 15%, 100% 100%, 0 100%);
}

/* Reference Doodle Banner Simulation */
.doodle-pattern-bg {
  background-image: radial-gradient(#006837 0.75px, transparent 0.75px), radial-gradient(#E31B23 0.75px, #f8fafc 0.75px);
  background-size: 30px 30px;
  background-position: 0 0, 15px 15px;
}

/* Infinite Horizontal Scrolling Marquee Banner */
.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  width: 100%;
}

.marquee-content {
  display: inline-flex;
  animation: marquee-scroll 30s linear infinite;
}

.marquee-content:hover {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Circular Image Frame Hover Effect */
.circle-img-container {
  overflow: hidden;
  border-radius: 9999px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.circle-img-container:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -6px rgba(0, 104, 55, 0.3);
}

.circle-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.circle-img-container:hover img {
  transform: scale(1.08);
}

/* Drawer Menu Smooth Transition */
.drawer-menu {
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.drawer-menu.closed {
  transform: translateX(100%);
}

.drawer-menu.open {
  transform: translateX(0);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background: #006837;
}
::-webkit-scrollbar-thumb:hover {
  background: #E31B23;
}
