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

img {
  max-width: 100%;
  height: auto;
  image-rendering: high-quality;
  image-rendering: -webkit-optimize-contrast;
  backface-visibility: hidden;
  transform: translateZ(0);
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: #ff8c00;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: #ff7f00;
  transform: translateY(-3px);
}

/* Contact Section Centering */
@media (max-width: 768px) {
  .contact-section {
    text-align: center;
  }

  .contact-item {
    justify-content: center;
  }

  .social-links {
    justify-content: center;
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.bg-light {
  background-color: #f8f9fa;
}

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

/* Header Styles */
.header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.school-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1f2937;
}

.nav-menu ul {
  display: flex;
  list-style: none;
  gap: 20px;
}

.nav-menu a {
  white-space: nowrap;
}

.nav-menu a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: #ff8c00;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #ff8c00;
  transition: width 0.3s ease;
}

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

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 1001;
}

.mobile-menu-header {
  display: none;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: #ff8c00;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* Hero Section Variants */

/* Home Hero - Redesigned */
.hero-home {
  background-image: url("../images/1@ (6).JPG");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #1f2937;
  color: white;
  padding: 80px 0;
  display: flex;
  align-items: center;
  min-height: 100vh;
  position: relative;
  animation: heroBackgroundSlide 16s infinite;
}

.hero-home::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.4) 70%, transparent 100%);
  z-index: 1;
}

/* About Hero - Split Design */
.hero-about {
  background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
  color: white;
  padding: 100px 0;
  min-height: 70vh;
  position: relative;
  overflow: hidden;
}

.hero-about::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background-image: url("../images/_DSC0422 copy.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.3;
}

/* Academics Hero - Orange Gradient with Icons */
.hero-academics {
  background-image: url("../images/_DSC0389.JPG");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  padding: 80px 0;
  display: flex;
  align-items: center;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.hero-academics::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: 1;
}

/* Hide overlay on desktop by default */
@media (min-width: 1024px) {
  .hero-academics::after {
    display: none;
  }
}

.hero-academics .hero-content {
  position: relative;
  z-index: 2;
}




.academics-icons {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.academic-icon {
  width: 80px;
  height: 80px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  animation: float 3s ease-in-out infinite;
}

.academic-icon:nth-child(2) { animation-delay: 0.5s; }
.academic-icon:nth-child(3) { animation-delay: 1s; }
.academic-icon:nth-child(4) { animation-delay: 1.5s; }

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

/* Admissions Hero - Dark with Highlights */
.hero-admissions {
  background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
  color: white;
  padding: 100px 0;
  min-height: 70vh;
}

.admission-highlights {
  background: rgba(255,255,255,0.1);
  padding: 40px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  margin-top: 30px;
}

/* Hide admission highlights on mobile */
@media (max-width: 767px) {
  .admission-highlights {
    display: none;
  }
}

/* Show on desktop */
@media (min-width: 1024px) {
  .admission-highlights {
    display: block;
  }
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.highlight-icon {
  width: 50px;
  height: 50px;
  background: #ff8c00;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}

/* Facilities Hero - Image Grid */
.hero-facilities {
  background: #1f2937;
  color: white;
  padding: 80px 0;
  min-height: 80vh;
}

.facilities-showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  height: 400px;
  margin-top: 30px;
}

.facility-preview {
  border-radius: 15px;
  overflow: hidden;
  position: relative;
}

.facility-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.facility-preview:hover img {
  transform: scale(1.1);
}

.facility-preview:first-child {
  grid-row: span 2;
}

/* Gallery Hero - Dark with Mosaic */
.hero-gallery {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
              url('../images/IMG-20251113-WA0080.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: white;
  padding: 100px 0;
  min-height: 80vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .hero-gallery {
    background-attachment: scroll;
    background-size: cover;
    background-position: center center;
    min-height: 100vh;
  }
}

.gallery-mosaic {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 5px;
  opacity: 0.3;
  pointer-events: none;
}

.mosaic-item {
  background-size: cover;
  background-position: center;
  transition: opacity 0.3s ease;
}

/* News Hero - Light Theme */
.hero-news {
  background: #f8f9fa;
  color: #1f2937;
  padding: 100px 0;
  min-height: 70vh;
}

.news-highlight {
  background: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
  border-left: 5px solid #ff8c00;
  margin-top: 30px;
}

.news-date {
  color: #ff8c00;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.news-headline {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.3;
}

/* Contact Hero - Orange Theme */
.hero-contact {
  background: linear-gradient(135deg, #ff8c00 0%, #ff7f00 100%);
  color: white;
  padding: 100px 0;
  min-height: 70vh;
}

.contact-info-card {
  background: rgba(255,255,255,0.15);
  padding: 40px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  margin-top: 30px;
}

.contact-item-hero {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
  padding: 15px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
}

.contact-icon-hero {
  width: 50px;
  height: 50px;
  background: white;
  color: #ff8c00;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

/* Default Hero (fallback) */
.hero {
  background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
  color: white;
  padding: 100px 0;
  min-height: 70vh;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

@keyframes heroBackgroundSlide {
  0%, 25% {
    background-image: url("../images/IMG-20251113-WA0073.jpg");
    background-size: cover;
    background-position: center;
  }
  25.01%, 50% {
    background-image: url("../images/IMG-20251113-WA0075.jpg");
    background-size: cover;
    background-position: center;
  }
  50.01%, 75% {
    background-image: url("../images/IMG-20251113-WA0078.jpg");
    background-size: cover;
    background-position: center;
  }
  75.01%, 100% {
    background-image: url("../images/IMG-20251113-WA0079.jpg");
    background-size: cover;
    background-position: center;
  }
}

/* Mobile-First: Consistent Hero Heights for Phones */
@media (max-width: 767px) {
  /* All heroes have identical height on mobile */
  .hero, 
  .hero-home, 
  .hero-about, 
  .hero-academics, 
  .hero-admissions, 
  .hero-facilities, 
  .hero-gallery, 
  .hero-news, 
  .hero-contact {
    min-height: 100vh;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Ensure background images stay contained and scale properly */
  .hero-home,
  .hero-academics,
  .hero-gallery {
    background-size: cover;
    background-position: center;
    background-attachment: scroll; /* Disable fixed on mobile for better performance */
  }

  /* Remove overlay on mobile */
  .hero-home::after {
    display: none;
  }

  .hero-about::before {
    width: 100%;
    height: 50%;
    top: auto;
    bottom: 0;
  }

  /* Content layout adjustments for mobile */
  .hero-content {
    max-width: 100%;
    padding: 1rem;
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }

  /* Typography remains readable on mobile */
  .hero-title {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  /* Buttons remain touch-friendly */
  .hero-buttons {
    flex-direction: column;
    gap: 0.75rem;
    justify-content: center;
  }

  .hero-buttons .btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
    min-height: 44px;
  }

  /* Preserve existing mobile adaptations for special elements */
  .academics-icons {
    gap: 1rem;
  }
  
  .academic-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .facilities-showcase {
    display: none;
  }
  
  /* Show only on tablet and up */
}

@media (min-width: 768px) {
  .facilities-showcase {
    display: grid !important;
  }
  
  .facility-preview:first-child {
    grid-row: span 1;
  }
  
  .gallery-mosaic {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(6, 1fr);
  }
}

/* Tablet adjustments (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero, 
  .hero-home, 
  .hero-about, 
  .hero-academics, 
  .hero-admissions, 
  .hero-facilities, 
  .hero-gallery, 
  .hero-news, 
  .hero-contact {
    min-height: 80vh;
    padding: 2rem;
  }

  .hero-content {
    max-width: 90%;
    padding: 1.5rem;
  }

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

  .hero-subtitle {
    font-size: 1.1rem;
  }
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 20px;
}

.hero-slideshow {
  display: none;
}

.hero-image {
  display: none;
}

.hero-slideshow .slide.active {
  opacity: 1;
  z-index: 2;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-Junior {
  background: #ff8c00;
  color: #fff;
}

.btn-Junior:hover {
  background: #ff7f00;
  color: #fff;
  border-color: #ff7f00;
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.btn-secondary:hover {
  background: #fff;
  color: #1f2937;
}

.btn-outline {
  background: transparent;
  color: #ff8c00;
  border-color: #ff8c00;
}

.btn-outline:hover {
  background: #ff8c00;
  color: #fff;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  color: #1f2937;
  margin-bottom: 15px;
}

.section-header p {
  font-size: 1.1rem;
  color: #374151;
  max-width: 600px;
  margin: 0 auto;
}

/* Theme Section */
.theme-section {
  margin-top: 20px;
}

.theme-title {
  font-size: 1.2rem;
  color: #4b5563;
  font-weight: 600;
  margin-bottom: 20px;
}

.bible-verse {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 30px;
  border-radius: 15px;
  border-left: 5px solid #6b7280;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.verse-text {
  font-size: 1.3rem;
  font-style: italic;
  color: #1f2937;
  line-height: 1.6;
  margin-bottom: 15px;
  font-family: Georgia, serif;
}

.verse-reference {
  font-size: 1rem;
  color: #6b7280;
  font-weight: 600;
  text-align: right;
  margin-bottom: 0;
}

/* About Preview */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h3 {
  font-size: 1.8rem;
  color: #4b5563;
  margin-bottom: 20px;
}

.about-text p {
  margin-bottom: 30px;
  color: #374151;
  line-height: 1.8;
}

/* ...existing code... */
.about-image img {
  width: 70%;
  max-width: 350px;
  height: 420px;
  border-radius: 15px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  display: block;
  margin: 0 auto;
}

/* Academics Grid - Responsive Ellipse Layout */
.academics-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 50px 0;
  padding: 20px 0;
}

/* Desktop: Horizontal Ellipse (≥1024px) */
@media (min-width: 1024px) {
  .ellipse-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
  }

  .left-semicircle {
    width: 280px;
    height: 400px;
    border-radius: 200px 0 0 200px;
    overflow: hidden;
    flex-shrink: 0;
  }

  .center-rectangle {
    width: 600px;
    height: 400px;
    display: flex;
    flex-direction: row;
    flex-shrink: 0;
  }

  .center-rectangle .academic-card {
    width: 50%;
    height: 100%;
  }

  .right-semicircle {
    width: 280px;
    height: 400px;
    border-radius: 0 200px 200px 0;
    overflow: hidden;
    flex-shrink: 0;
  }

  .academic-card {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
  }

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

/* Tablet: Horizontal Ellipse (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .ellipse-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
  }

  .left-semicircle {
    width: 200px;
    height: 320px;
    border-radius: 160px 0 0 160px;
    overflow: hidden;
    flex-shrink: 0;
  }

  .center-rectangle {
    width: 480px;
    height: 320px;
    display: flex;
    flex-direction: row;
    flex-shrink: 0;
  }

  .center-rectangle .academic-card {
    width: 50%;
    height: 100%;
  }

  .right-semicircle {
    width: 200px;
    height: 320px;
    border-radius: 0 160px 160px 0;
    overflow: hidden;
    flex-shrink: 0;
  }

  .academic-card {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
  }

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

/* Mobile: Vertical Ellipse (≤767px) */
@media (max-width: 767px) {
  .academics-grid {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .ellipse-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 280px;
    margin: 0 auto !important;
  }

  .left-semicircle {
    width: 280px;
    height: 140px;
    border-radius: 140px 140px 0 0;
    overflow: hidden;
  }

  .center-rectangle {
    width: 280px;
    display: flex;
    flex-direction: column;
  }

  .center-rectangle .academic-card {
    width: 100%;
    height: 200px;
  }

  .right-semicircle {
    width: 280px;
    height: 140px;
    border-radius: 0 0 140px 140px;
    overflow: hidden;
  }

  .academic-card {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
  }

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

/* Facilities Grid */
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

@media (max-width: 767px) {
  .facilities-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    padding: 0 10px;
  }

  .facility-card {
    margin-bottom: 0;
    width: 100%;
    max-width: 100%;
  }
  
  .facility-card img {
    height: 250px;
    width: 100%;
    object-fit: cover;
  }
  
  .facility-card h3 {
    font-size: 1.1rem;
    padding: 15px 15px 8px;
  }
  
  .facility-card p {
    font-size: 0.9rem;
    padding: 0 15px 15px;
    line-height: 1.5;
  }
}

.facility-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.facility-card:hover {
  transform: translateY(-10px);
}

.facility-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  image-rendering: high-quality;
  image-rendering: -webkit-optimize-contrast;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.facility-card h3 {
  padding: 20px 20px 10px;
  color: #4b5563;
  font-size: 1.3rem;
}

.facility-card p {
  padding: 0 20px 20px;
  color: #374151;
}

/* Important Dates */
.dates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

@media (max-width: 767px) {
  .dates-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    display: grid !important;
  }

  .date-card {
    padding: 12px 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    min-height: 140px;
  }

  .date-icon {
    width: 35px;
    height: 35px;
    font-size: 1rem;
    margin-bottom: 8px;
  }

  .date-card h3 {
    font-size: 0.85rem;
    margin-bottom: 5px;
    text-align: center;
    line-height: 1.2;
  }

  .date-card .date {
    font-size: 0.75rem;
    margin-bottom: 6px;
    text-align: center;
    font-weight: 600;
    color: #ff8c00;
  }

  .date-card p {
    font-size: 0.7rem;
    line-height: 1.3;
    margin-bottom: 0;
    text-align: center;
  }

  .container {
    padding: 0 10px;
  }
}

.date-card {
  background: #fff;
  padding: 20px 15px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  border-top: 3px solid #6b7280;
}

.date-card:hover {
  transform: translateY(-10px);
}

.date-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  color: #fff;
  font-size: 1.3rem;
}

.date-card h3 {
  color: #1f2937;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.date-card .date {
  font-size: 0.95rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
}

.date-card p {
  color: #374151;
  font-size: 0.85rem;
  line-height: 1.4;
}

/* Fee Structure */
.fee-table {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.fee-table table {
  width: 100%;
  border-collapse: collapse;
}

.fee-table th {
  background: #1f2937;
  color: #fff;
  padding: 20px;
  text-align: left;
  font-weight: 600;
}

.fee-table td {
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
}

@media (max-width: 768px) {
  .fee-table th,
  .fee-table td {
    padding: 10px 8px;
    font-size: 0.9rem;
  }
}

/* Magazine Layout */
.magazine-header {
  text-align: center;
  margin-bottom: 50px;
  border-bottom: 3px solid #6b7280;
  padding-bottom: 20px;
}

.magazine-title {
  font-size: 3rem;
  font-weight: 700;
  color: #1f2937;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.magazine-date {
  font-size: 1.1rem;
  color: #374151;
  font-style: italic;
}

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

.featured-story {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.scattered-photos {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  border-radius: 15px;
}

.scattered-photos img {
  position: absolute;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  object-fit: cover;
}

.scattered-photos img:hover {
  transform: scale(1.05) rotate(2deg);
  z-index: 10;
}

.photo-1 {
  width: 45%;
  height: 60%;
  top: 10%;
  left: 5%;
  transform: rotate(-3deg);
}

.photo-2 {
  width: 35%;
  height: 45%;
  top: 15%;
  right: 8%;
  transform: rotate(5deg);
}

.photo-3 {
  width: 40%;
  height: 50%;
  bottom: 10%;
  left: 15%;
  transform: rotate(2deg);
}

.photo-4 {
  width: 30%;
  height: 40%;
  bottom: 15%;
  right: 15%;
  transform: rotate(-4deg);
}

.bottom-photos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.bottom-photos img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.bottom-photos img:hover {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .bottom-photos img {
    height: 150px;
  }
}

.featured-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 40px 30px 30px;
}

.category {
  background: #6b7280;
  color: white;
  padding: 5px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.featured-content h2 {
  font-size: 1.8rem;
  margin: 15px 0 10px;
  line-height: 1.3;
}

.lead {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  opacity: 0.9;
}

.news-columns {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.news-column {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.magazine-article {
  background: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  border-left: 4px solid #6b7280;
}

.magazine-article h3 {
  font-size: 1.2rem;
  margin: 10px 0;
  color: #333;
  line-height: 1.4;
}

.magazine-article p {
  color: #374151;
  line-height: 1.6;
  margin-bottom: 15px;
}

@media (max-width: 768px) {
  .magazine-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .magazine-title {
    font-size: 2rem;
  }

  .featured-story img {
    height: 250px;
  }

  .featured-content {
    padding: 20px 20px 15px;
  }

  .featured-content h2 {
    font-size: 1.4rem;
  }
}

/* PLE Results */
.results-table {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 50px;
}

.results-table table {
  width: 100%;
  border-collapse: collapse;
}

.results-table th {
  background: #1f2937;
  color: #fff;
  padding: 15px 10px;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
}

.results-table td {
  padding: 12px 10px;
  text-align: center;
  border-bottom: 1px solid #eee;
  font-size: 0.9rem;
}

.results-table tr:hover {
  background: #333;
  color: #fff;
}

.pdf-link {
  color: #4b5563;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.pdf-link:hover {
  color: #374151;
}

.pdf-link i {
  margin-right: 5px;
}

.results-summary {
  margin-top: 50px;
}

.results-summary h3 {
  color: #1f2937;
  margin-bottom: 30px;
  text-align: center;
  font-size: 1.8rem;
}

.summary-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.summary-card {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-top: 4px solid #6b7280;
}

.summary-card h4 {
  color: #374151;
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.summary-card .stat {
  font-size: 2rem;
  font-weight: 700;
  color: #4b5563;
}

@media (max-width: 768px) {
  .results-table {
    overflow-x: auto;
  }

  .results-table th,
  .results-table td {
    padding: 8px 5px;
    font-size: 0.8rem;
  }

  .summary-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .summary-card .stat {
    font-size: 1.5rem;
  }
}

/* Event Gallery */
.event-gallery {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.event-section h3 {
  color: #1f2937;
  margin-bottom: 20px;
  font-size: 1.5rem;
  text-align: center;
}

.event-photos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

@media (max-width: 768px) {
  .event-photos {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

.event-photos img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.event-photos img:hover {
  transform: scale(1.05);
}

/* Top Students */
.top-students-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

@media (max-width: 768px) {
  .top-students-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}

.student-card {
  background: #fff;
  padding: 20px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

.student-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 3px solid #6b7280;
}

.student-card h4 {
  color: #333;
  margin-bottom: 10px;
  font-size: 1rem;
}

.student-card .aggregate {
  color: #4b5563;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Testimonials Slider */
.testimonials-slider-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.testimonials-slider {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.testimonial-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.5s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-slide.active {
  opacity: 1;
  transform: translateX(0);
}

.testimonial-slide.prev {
  transform: translateX(-100%);
}

.testimonial-card {
  background: transparent;
  padding: 40px 30px;
  text-align: center;
  width: 100%;
  max-width: 700px;
}

.testimonial-content {
  margin-bottom: 30px;
  position: relative;
}

.quote-icon {
  font-size: 2rem;
  color: #ff8c00;
  margin-bottom: 20px;
  opacity: 0.8;
}

.testimonial-content p {
  font-style: italic;
  color: #374151;
  line-height: 1.8;
  font-size: 1.2rem;
  margin: 0;
  position: relative;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #ff8c00;
}

.testimonial-author h4 {
  color: #1f2937;
  margin-bottom: 5px;
  font-weight: 600;
}

.testimonial-author span {
  color: #6b7280;
  font-size: 0.9rem;
}

/* Navigation Buttons */
.testimonials-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  transform: translateY(-50%);
  pointer-events: none;
}

.testimonial-nav-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 140, 0, 0.9);
  border: none;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  pointer-events: all;
  box-shadow: 0 5px 15px rgba(255, 140, 0, 0.3);
}

.testimonial-nav-btn:hover {
  background: #ff8c00;
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(255, 140, 0, 0.4);
}

.testimonial-nav-btn:active {
  transform: scale(0.95);
}

/* Dots Navigation */
.testimonials-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 20px;
  background: rgba(248, 249, 250, 0.8);
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d1d5db;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: #ff8c00;
  transform: scale(1.2);
}

.dot:hover {
  background: #ff8c00;
  transform: scale(1.1);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .testimonials-slider-container {
    margin: 0 10px;
  }
  
  .testimonials-slider {
    height: 350px;
  }
  
  .testimonial-card {
    padding: 30px 20px;
  }
  
  .testimonial-content p {
    font-size: 1.1rem;
  }
  
  .testimonials-nav {
    padding: 0 10px;
  }
  
  .testimonial-nav-btn {
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .testimonials-slider {
    height: 380px;
  }
  
  .testimonial-card {
    padding: 25px 15px;
  }
  
  .testimonial-content p {
    font-size: 1rem;
    line-height: 1.6;
  }
  
  .testimonial-author {
    flex-direction: column;
    gap: 10px;
  }
  
  .testimonial-author img {
    width: 50px;
    height: 50px;
  }
}

/* Footer */
.footer {
  background: #1f2937;
  color: #fff;
  padding: 20px 0 20px;
}

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

.footer-brand h3 {
  color: #ff8c00;
  margin: 15px 0;
}

.footer-logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
}

.footer-section h4 {
  color: #ff8c00;
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-section ul {
  list-style: none;
}

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

.footer-section ul li a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #fff;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  color: #9ca3af;
}

.contact-item i {
  color: #ff8c00;
  width: 20px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #ff8c00;
  color: #fff;
  border-radius: 50%;
  text-decoration: none;
  transition: background 0.3s ease;
}

.social-links a:hover {
  background: #ff7f00;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #1f2937;
  color: #9ca3af;
}

/* Animation Classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Enhanced Mobile Menu Styles */
@media (max-width: 768px) {
  .nav-brand .school-name {
    font-size: 1rem;
  }

  .logo {
    width: 40px;
    height: 40px;
  }
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100%;
    max-height: 100vh;
    background: #fff;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1000;
    padding: 0;
    overflow-y: scroll;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  .mobile-menu-header {
    display: flex !important;
    justify-content: center;
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 0;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 10;
  }

  .mobile-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu ul {
    flex-direction: column;
    gap: 0;
    padding: 20px;
    padding-bottom: 80px;
  }

  .nav-menu li {
    border-bottom: 1px solid #f0f0f0;
  }

  .nav-menu a {
    display: block;
    padding: 15px 0;
    font-size: 1.1rem;
    color: #333;
    border-left: 4px solid transparent;
    padding-left: 15px;
    transition: all 0.3s ease;
  }

  .nav-menu a:hover,
  .nav-menu a.active {
    color: #ff8c00;
    border-left-color: #ff8c00;
    background: #f8f9fa;
  }

  .nav-menu a::after {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .mobile-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto !important;
  }

  .hero .hero-title,
  .hero .hero-subtitle {
    text-align: center !important;
  }

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

  .about-content {
    grid-template-columns: 1fr;
  }

  .academics-grid {
    grid-template-columns: 1fr;
  }

  .facilities-grid {
    grid-template-columns: 1fr;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }

  .footer-links-row {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin: 20px 0;
  }

  .footer-links-row .footer-section {
    flex: 1;
    max-width: 150px;
  }
}

.footer-links-row {
  display: flex;
  gap: 60px;
}

.footer-links-row .footer-section {
  flex: 1;

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .bible-verse {
    padding: 20px;
    margin: 0 10px;
  }

  .verse-text {
    font-size: 1.1rem;
  }
}

/* Additional Mobile Responsiveness */
@media (max-width: 1024px) {
  .hero-content {
    gap: 40px;
  }

  .about-content {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .section-header h2 {
    font-size: 2rem;
  }

  .section-header p {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .btn {
    padding: 12px 25px;
    font-size: 0.9rem;
  }

  .academic-card {
    padding: 30px 20px;
  }

  .academic-card i {
    font-size: 2.5rem;
  }

  .facility-card h3 {
    font-size: 1.1rem;
    padding: 15px 15px 8px;
  }

  .facility-card p {
    padding: 0 15px 15px;
    font-size: 0.9rem;
  }

  .news-card {
    padding: 25px;
  }

  .testimonial-card {
    padding: 30px 20px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-content {
    gap: 25px;
  }

  .footer-links-row {
    gap: 40px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .container {
    padding: 0 12px;
  }

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

  .about-text h3 {
    font-size: 1.5rem;
  }

  .academics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 0 5px;
  }

  .academic-card {
    padding: 18px 12px;
  }

  .academic-card h3 {
    font-size: 0.95rem;
  }

  .academic-card i {
    font-size: 1.8rem;
  }
  
  .academic-card p {
    font-size: 0.8rem;
  }

  .facility-card img {
    height: 150px;
  }

  .news-card {
    padding: 20px;
  }

  .news-card h3 {
    font-size: 1.1rem;
  }

  .testimonial-card {
    padding: 25px 15px;
  }

  .testimonial-content p {
    font-size: 1rem;
  }

  .footer {
    padding: 15px 0 15px;
  }

  .footer-content {
    gap: 20px;
    margin-bottom: 20px;
  }

  .footer-links-row {
    display: flex !important;
    flex-direction: row !important;
    gap: 40px;
    align-items: flex-start;
    justify-content: center;
  }

  .footer-section h4 {
    font-size: 1rem;
  }

  .contact-item {
    font-size: 0.9rem;
  }

  .social-links a {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }

  .back-to-top {
    width: 45px;
    height: 45px;
    bottom: 20px;
    right: 20px;
    font-size: 1rem;
  }
}

@media (max-width: 360px) {
  .hero-title {
    font-size: 1.6rem;
  }

  .section-header h2 {
    font-size: 1.6rem;
  }

  .container {
    padding: 0 10px;
  }

  .btn {
    padding: 10px 20px;
    font-size: 0.85rem;
  }

  .academics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .academic-card {
    padding: 15px 10px;
  }
  
  .academic-card h3 {
    font-size: 0.9rem;
  }
  
  .academic-card i {
    font-size: 1.6rem;
  }
  
  .academic-card p {
    font-size: 0.75rem;
  }

  .facility-card h3 {
    font-size: 1rem;
  }

  .footer-links-row .footer-section {
    max-width: 120px;
  }
}

/* Enhanced Responsive Styles */

/* Mobile-first responsive design for important dates */
@media (max-width: 768px) {
  .dates-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .date-card {
    padding: 25px 20px;
    margin: 0 auto;
    max-width: 350px;
    width: 100%;
  }
  
  .date-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    margin-bottom: 20px;
  }
  
  .date-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
  }
  
  .date-card .date {
    font-size: 1.1rem;
    margin-bottom: 12px;
  }
  
  .date-card p {
    font-size: 0.95rem;
    line-height: 1.5;
  }
}

/* Mobile responsive for about image */
@media (max-width: 768px) {
  .about-image img {
    width: 85%;
    max-width: 280px;
    height: 250px;
    margin: 20px auto;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .about-image img {
    width: 90%;
    max-width: 240px;
    height: 270px;
  }
  
  .date-card {
    padding: 20px 15px;
  }
  
  .date-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  .date-card h3 {
    font-size: 1.1rem;
  }
  
  .date-card .date {
    font-size: 1rem;
  }
  
  .date-card p {
    font-size: 0.9rem;
  }
}

/* Ensure grid responsiveness across all sections */
@media (max-width: 768px) {
  .academics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 50px 0;
    padding: 20px 0;
  }
  
  .facilities-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .facility-card {
    max-width: 100%;
    margin: 0 auto;
  }
  
  .academic-card {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px 15px;
  }
  
  .academic-card i {
    font-size: 2rem;
    margin-bottom: 10px;
  }
  
  .academic-card h3 {
    font-size: 1rem;
    margin-bottom: 8px;
  }
  
  .academic-card p {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .facilities-grid, .dates-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Better hero responsiveness */
@media (max-width: 768px) {
  .hero-content {
    text-align: center;
    padding: 40px 20px;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .btn {
    width: 200px;
    text-align: center;
  }
}

/* Enhanced mobile navigation */
@media (max-width: 768px) {
  .nav-menu ul {
    padding: 20px 0;
  }
  
  .nav-menu ul li {
    margin: 8px 0;
  }
  
  .nav-menu ul li a {
    padding: 12px 20px;
    font-size: 1.1rem;
  }
}

/* Event Cards Styles */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.event-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  position: relative;
}

.event-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.event-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.event-card:hover .event-image img {
  transform: scale(1.05);
}

.event-date-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #ff8c00;
  color: white;
  border-radius: 10px;
  padding: 8px 12px;
  text-align: center;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
}

.event-date-badge .month {
  display: block;
  font-size: 0.8rem;
  line-height: 1;
}

.event-date-badge .day {
  display: block;
  font-size: 1.4rem;
  line-height: 1;
}

.event-content {
  padding: 25px;
}

.event-content h3 {
  font-size: 1.4rem;
  color: #1f2937;
  margin-bottom: 15px;
  font-weight: 600;
}

.event-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 15px;
}

.event-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #6b7280;
  font-size: 0.9rem;
}

.event-meta i {
  color: #ff8c00;
  width: 16px;
}

.event-content p {
  color: #374151;
  line-height: 1.6;
  margin-bottom: 20px;
}

.event-btn {
  display: inline-block;
  background: #ff8c00;
  color: white;
  padding: 12px 24px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.event-btn:hover {
  background: #ff7f00;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 140, 0, 0.3);
}

/* Article Cards Styles */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.article-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.article-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.article-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.article-card:hover .article-image img {
  transform: scale(1.05);
}

.article-category {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(255, 140, 0, 0.9);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.article-content {
  padding: 25px;
}

.article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  color: #6b7280;
  font-size: 0.9rem;
}

.article-date {
  font-weight: 500;
}

.read-time {
  background: #f3f4f6;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.8rem;
}

.article-content h3 {
  font-size: 1.3rem;
  color: #1f2937;
  margin-bottom: 15px;
  font-weight: 600;
  line-height: 1.4;
}

.article-content p {
  color: #374151;
  line-height: 1.6;
  margin-bottom: 20px;
}

.article-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-top: 15px;
  border-top: 1px solid #f3f4f6;
}

.author-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ff8c00;
}

.author-info h4 {
  font-size: 0.95rem;
  color: #1f2937;
  margin: 0;
  font-weight: 600;
}

.author-info span {
  font-size: 0.8rem;
  color: #6b7280;
}

.article-btn {
  display: inline-block;
  background: transparent;
  color: #ff8c00;
  padding: 10px 20px;
  border: 2px solid #ff8c00;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.article-btn:hover {
  background: #ff8c00;
  color: white;
  transform: translateY(-2px);
}

/* Mobile Responsive for Events and Articles */
@media (max-width: 767px) {
  .events-grid,
  .articles-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    max-width: 100%;
    margin: 20px auto 0;
  }
  
  .event-card,
  .article-card {
    max-width: 100%;
    margin: 0;
  }
  
  .event-image,
  .article-image {
    height: 120px;
  }
  
  .event-content,
  .article-content {
    padding: 12px;
  }
  
  .event-date-badge {
    top: 8px;
    right: 8px;
    padding: 6px 8px;
  }
  
  .event-date-badge .month {
    font-size: 0.65rem;
  }
  
  .event-date-badge .day {
    font-size: 1.1rem;
  }
  
  .event-meta {
    gap: 4px;
    margin-bottom: 8px;
  }
  
  .event-meta span {
    font-size: 0.7rem;
  }
  
  .article-content h3,
  .event-content h3 {
    font-size: 0.95rem;
    margin-bottom: 8px;
    line-height: 1.3;
  }
  
  .event-content p,
  .article-content p {
    font-size: 0.75rem;
    margin-bottom: 10px;
    line-height: 1.4;
  }
  
  .event-btn,
  .article-btn {
    padding: 8px 14px;
    font-size: 0.75rem;
    border-radius: 15px;
  }
  
  .article-author {
    display: none;
  }
  
  .article-category {
    font-size: 0.65rem;
    padding: 4px 8px;
  }
  
  .article-meta {
    font-size: 0.7rem;
    margin-bottom: 8px;
  }
}

@media (max-width: 480px) {
  .events-grid,
  .articles-grid {
    max-width: 320px;
  }
  
  .event-image,
  .article-image {
    height: 180px;
  }
  
  .event-content,
  .article-content {
    padding: 18px;
  }
  
  .article-author {
    gap: 10px;
  }
  
  .author-avatar {
    width: 40px;
    height: 40px;
  }
}
