/* Color Theme - St. Louis Nursery & Primary School Bida */
/* Colors extracted from the official school logo:
   - Deep Navy Blue  → primary (shield & main background of crest)
   - Sky/Light Blue  → highlight (outer ring of logo)
   - Gold/Yellow     → accent (banners, ribbons, dots)
   - Soft Blue-White → background (clean, airy feel)
   - Dark Navy       → dark-text
*/
:root {
  --primary: #1a2a6c; /* Deep navy blue — shield/crest */
  --secondary: #7ec8e3; /* Sky blue — outer logo ring */
  --accent: #f5c518; /* Gold/yellow — banners & dots */
  --highlight: #4a90d9; /* Mid blue — ribbon accents */
  --background: #eef4fb; /* Soft blue-white — clean page bg */
  --text: #1c2a4a; /* Dark navy — readable body text */
  --light-gray: #ddeaf7; /* Pale blue-gray — section bg */
  --white: #ffffff;
  --dark-text: #0d1b3e; /* Deepest navy — headings */
  --success: #81c784;
  --error: #e57373;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Lato", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background-color: var(--background);
  line-height: 1.6;
}

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--dark-text);
  font-weight: 600;
  margin-bottom: 15px;
}

h1 {
  font-size: 3rem;
}
h2 {
  font-size: 2.2rem;
}
h3 {
  font-size: 1.5rem;
}

p {
  color: var(--text);
  margin-bottom: 15px;
}

/* Navigation */
.navbar {
  background: var(--primary);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo img,
footer img {
  width: 60px;
  height: 60px;
}

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

.nav-link {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
}

.apply-btn {
  background: var(--accent);
  color: var(--dark-text) !important;
  padding: 10px 20px;
  border-radius: 25px;
  transition: all 0.3s ease;
  font-weight: 700;
}

.apply-btn:hover {
  background: #e6b800;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245, 197, 24, 0.4);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Buttons */
.btn {
  padding: 12px 30px;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  font-weight: 600;
}

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

.btn-primary:hover {
  background: #0d1b3e;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(26, 42, 108, 0.35);
}

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

.btn-secondary:hover {
  background: #e6b800;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(245, 197, 24, 0.35);
}

.btn-small {
  padding: 8px 16px;
  font-size: 0.9rem;
  background: var(--accent);
  color: var(--dark-text);
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 700;
}

.btn-small:hover {
  background: #e6b800;
  transform: scale(1.05);
}

/* Hero Section */
.hero {
  color: var(--white);
  padding: 120px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url(Images/Trial.jpg);
  background-size: cover;
  background-blend-mode: multiply;
  background-position: center;
  background-repeat: no-repeat;
  background-color: rgba(26, 42, 108, 0.72);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  color: var(--white);
  font-size: 3.5rem;
  margin-bottom: 20px;
  animation: fadeInUp 1s ease;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.hero p {
  color: var(--accent);
  font-size: 1.3rem;
  margin-bottom: 40px;
  animation: fadeInUp 1.2s ease;
  font-weight: 600;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1.4s ease;
}

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

/* Welcome Section */
.welcome {
  padding: 80px 20px;
  background: var(--white);
}

.welcome-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.principal-message {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.principal-photo {
  flex-shrink: 0;
}

.principal-photo img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 4px solid var(--accent);
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(26, 42, 108, 0.2);
}

.message-text h2 {
  color: var(--primary);
  margin-bottom: 20px;
}

.signature {
  margin-top: 20px;
  font-style: italic;
  color: var(--primary);
  font-weight: 600;
}

/* Section Title */
.section-title {
  text-align: center;
  color: var(--dark-text);
  font-size: 2.5rem;
  margin-bottom: 50px;
  position: relative;
  padding-bottom: 20px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
}

/* Why Choose Us */
.why-choose-us {
  padding: 80px 20px;
  background: var(--light-gray);
}

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

.feature-card {
  background: var(--white);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  border-top: 3px solid var(--accent);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(26, 42, 108, 0.15);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--highlight));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
  color: var(--white);
}

.feature-card h3 {
  color: var(--primary);
  margin-bottom: 15px;
}

/* Stats Section */
.stats-section {
  background: linear-gradient(135deg, var(--primary), #0d1b3e);
  color: var(--white);
  padding: 80px 20px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 10px;
  text-align: center;
}

.stat-card {
  padding: 10px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
}

.stat-label {
  font-size: 1.1rem;
  opacity: 0.9;
  color: var(--secondary);
}

/* Programs Section */
.programs-section {
  padding: 80px 20px;
  background: var(--white);
}

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

.program-card {
  background: linear-gradient(135deg, var(--light-gray), var(--white));
  padding: 30px;
  border-radius: 15px;
  border-left: 4px solid var(--accent);
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.program-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(26, 42, 108, 0.15);
}

.program-header {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.program-age {
  color: var(--highlight);
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.program-card p {
  margin-bottom: 20px;
  line-height: 1.7;
}

.link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.link:hover {
  color: var(--accent);
}

/* Testimonials */
.testimonials {
  padding: 80px 20px;
  background: var(--light-gray);
}

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

.testimonial-card {
  background: var(--white);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border-bottom: 3px solid var(--accent);
}

.testimonial-card:hover {
  box-shadow: 0 10px 25px rgba(26, 42, 108, 0.15);
}

.stars {
  color: var(--accent);
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 20px;
  color: var(--text);
}

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

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}
.author-avatar img {
  width: 4rem;
  background-color: var(--secondary);
  border-radius: 50%;
}
.author-info strong {
  display: block;
  color: var(--dark-text);
}

.author-info span {
  color: var(--highlight);
  font-size: 0.9rem;
}

/* Gallery Preview */
.gallery-preview {
  padding: 80px 20px;
  background: var(--white);
}

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

.gallery-item {
  position: relative;
  height: 280px;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.gallery-item:hover img {
  transform: scale(1.1);
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 42, 108, 0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .overlay {
  opacity: 1;
}

.overlay p {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
  color: var(--accent);
}

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

/* News Preview */
.news-preview {
  padding: 80px 20px;
  background: var(--light-gray);
}

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

.news-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(26, 42, 108, 0.15);
}

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

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

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

.news-date {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--accent);
  color: var(--dark-text);
  padding: 8px 15px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.9rem;
}

.news-content {
  padding: 25px;
}

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

.news-category {
  color: var(--highlight);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 10px;
  text-transform: uppercase;
}

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

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--highlight));
  color: var(--white);
  padding: 60px 20px;
  text-align: center;
  border-radius: 15px;
  margin: 80px 20px;
}

.cta-section h2 {
  color: var(--accent);
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.cta-section p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.92);
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--highlight) 100%);
  color: var(--white);
  padding: 60px 20px;
  text-align: center;
  margin-top: 70px;
}

.page-header h1 {
  color: var(--accent);
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.page-header p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
}

/* Footer */
.footer {
  background: var(--dark-text);
  color: var(--white);
  padding: 60px 20px 20px;
  margin-top: 80px;
}

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

.footer-col h4 {
  color: var(--accent);
  margin-bottom: 20px;
}

.footer-col p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 15px;
}

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

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

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: var(--accent);
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  background: var(--highlight);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background: var(--accent);
  color: var(--dark-text);
  transform: translateY(-5px);
}

.newsletter-form {
  display: flex;
  gap: 10px;
}

.newsletter-form input {
  flex: 1;
  padding: 6px 12px;
  border: none;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--dark-text);
}

.newsletter-form input::placeholder {
  color: var(--text);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 20px;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom p {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom a {
  color: var(--accent);
  text-decoration: none;
}

/* About Page Styles */
.story-timeline {
  position: relative;
}

.timeline-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 30px;
  margin-bottom: 50px;
  align-items: flex-start;
  position: relative;
  padding-bottom: 30px;
}

.timeline-item::after {
  content: "";
  position: absolute;
  left: 75px;
  top: 100%;
  width: 2px;
  height: 30px;
  background: var(--accent);
}

.timeline-item:last-child::after {
  display: none;
}

.timeline-marker {
  background: var(--primary);
  color: var(--accent);
  width: 150px;
  padding: 15px;
  border-radius: 10px;
  text-align: center;
  font-weight: 700;
  font-size: 1.2rem;
  border: 2px solid var(--accent);
}

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

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

.value-card {
  background: var(--white);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border-top: 4px solid var(--accent);
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(26, 42, 108, 0.15);
}

.value-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary), var(--highlight));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  color: var(--white);
}

/* Team Section */
.team {
  padding: 80px 20px;
  background: var(--light-gray);
}

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

.team-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border-bottom: 3px solid var(--accent);
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(26, 42, 108, 0.15);
}

.team-photo {
  height: 250px;
  overflow: hidden;
}

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

.team-card:hover .team-photo img {
  transform: scale(1.05);
}

.team-card h3 {
  padding: 20px 20px 5px;
  color: var(--primary);
}

.team-role {
  color: var(--highlight);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0 20px 15px;
  margin-bottom: 0;
}

.team-card > p:last-child {
  padding: 0 20px 20px;
  font-size: 0.95rem;
}

/* Facilities */
.facilities {
  padding: 80px 20px;
  background: var(--white);
}

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

.facility-card {
  background: linear-gradient(135deg, var(--light-gray), var(--white));
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  border-bottom: 4px solid var(--accent);
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.facility-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(26, 42, 108, 0.15);
}

.facility-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary), var(--highlight));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  color: var(--white);
}

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

/* Programs Page */
.programs-detailed {
  padding: 80px 20px;
  background: var(--white);
}

.program-detail-card {
  background: var(--light-gray);
  padding: 40px;
  margin-bottom: 30px;
  border-radius: 15px;
  border-left: 5px solid var(--primary);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.program-detail-header {
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--accent);
}

.program-detail-content h3 {
  color: var(--highlight);
  margin: 25px 0 15px;
  font-size: 1.2rem;
}

.highlight-list {
  list-style: none;
  padding-left: 0;
}

.highlight-list li {
  padding: 10px 0;
  padding-left: 30px;
  position: relative;
  color: var(--text);
}

.highlight-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 1.2rem;
}

/* Extracurricular */
.extracurricular {
  padding: 80px 20px;
  background: var(--light-gray);
}

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

.activity-card {
  background: var(--white);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  border-top: 3px solid var(--accent);
}

.activity-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(26, 42, 108, 0.15);
}

.activity-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary), var(--highlight));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  color: var(--white);
}

/* Admissions Page */
.application-process {
  padding: 80px 20px;
  background: var(--white);
}

.process-steps {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.step {
  flex: 1;
  min-width: 180px;
  text-align: center;
  background: var(--light-gray);
  padding: 30px;
  border-radius: 15px;
  transition: all 0.3s ease;
}

.step:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-5px);
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-weight: 700;
  font-size: 1.3rem;
  border: 2px solid var(--accent);
}

.step:hover .step-number {
  background: var(--accent);
  color: var(--dark-text);
  border-color: var(--dark-text);
}

.step-title {
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 10px;
}

.step:hover .step-title {
  color: var(--accent);
}
.step p {
  color: var(--dark-text);
}

.step p {
  font-size: 0.9rem;
  margin-bottom: 0;
}
.step:hover p {
  color: rgba(255, 255, 255, 0.9);
}
.arrow {
  font-size: 2rem;
  color: var(--accent);
  font-weight: 700;
  flex: 0.5;
  text-align: center;
}

/* Important Dates */
.important-dates {
  padding: 80px 20px;
  background: var(--light-gray);
}

.dates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.date-card {
  background: var(--white);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.date-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(26, 42, 108, 0.15);
}

.date-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--highlight));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-size: 1.5rem;
  color: var(--accent);
}

.date-card h3 {
  color: var(--primary);
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.date-card p {
  color: var(--text);
  font-weight: 600;
  margin-bottom: 0;
}

/* Fee Table */
.fee-structure {
  padding: 80px 20px;
  background: var(--white);
}

.fee-table-wrapper {
  overflow-x: auto;
  background: var(--light-gray);
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 30px;
}

.fee-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
}

.fee-table thead {
  background: var(--primary);
  color: var(--accent);
}

.fee-table th {
  padding: 18px;
  text-align: left;
  font-weight: 700;
}

.fee-table td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--light-gray);
  color: var(--text);
}

.fee-table tbody tr:hover {
  background: var(--light-gray);
}

.fee-note {
  background: linear-gradient(135deg, var(--primary), var(--highlight));
  padding: 20px;
  border-radius: 10px;
  color: var(--white);
  margin-bottom: 0;
}

/* FAQs */
.faqs {
  padding: 80px 20px;
  background: var(--light-gray);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.faq-question {
  padding: 20px;
  background: var(--light-gray);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  border-left: 4px solid var(--primary);
}

.faq-question:hover {
  background: var(--primary);
  color: var(--white);
}

.faq-question:hover h3 {
  color: var(--accent);
}

.faq-question h3 {
  margin-bottom: 0;
  color: var(--dark-text);
  font-size: 1rem;
}

.faq-question i {
  color: var(--primary);
  transition: transform 0.3s ease;
}

.faq-question:hover i {
  color: var(--accent);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 20px;
  color: var(--text);
}

.faq-item.active .faq-answer {
  display: block;
}

/* Gallery Section */
.gallery-section {
  padding: 80px 20px;
  background: var(--white);
}

.gallery-filter {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.filter-btn {
  padding: 10px 25px;
  border: 2px solid var(--primary);
  background: transparent;
  color: var(--primary);
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  color: var(--accent);
}

.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
}

.gallery-item {
  position: relative;
  height: 300px;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.15);
}

.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 42, 108, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .overlay {
  opacity: 1;
}

.gallery-item .overlay p {
  color: var(--accent);
  font-size: 1.2rem;
  font-weight: 600;
  text-align: center;
  margin: 0;
}

/* News & Events */
.upcoming-events {
  padding: 80px 20px;
  background: var(--light-gray);
}

.events-list {
  max-width: 900px;
  margin: 0 auto;
}

.event-card-full {
  background: var(--white);
  padding: 30px;
  margin-bottom: 25px;
  border-radius: 15px;
  display: flex;
  gap: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  align-items: flex-start;
}

.event-card-full:hover {
  box-shadow: 0 10px 25px rgba(26, 42, 108, 0.15);
}

.event-date {
  flex-shrink: 0;
  width: 80px;
  height: 100px;
  background: linear-gradient(135deg, var(--primary), var(--highlight));
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-weight: 700;
  text-align: center;
}

.date-month {
  font-size: 0.9rem;
  opacity: 0.9;
}

.date-day {
  font-size: 2rem;
}

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

.event-time,
.event-location {
  color: var(--highlight);
  font-weight: 600;
  margin-bottom: 10px;
}

.event-time i,
.event-location i {
  margin-right: 8px;
}

/* Latest News */
.latest-news {
  padding: 80px 20px;
  background: var(--white);
}

.news-posts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.news-post {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
  padding: 30px;
  background: var(--light-gray);
  border-radius: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.news-post:hover {
  box-shadow: 0 10px 25px rgba(26, 42, 108, 0.15);
}

.post-image {
  height: 300px;
  border-radius: 10px;
  overflow: hidden;
}

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

.news-post:hover .post-image img {
  transform: scale(1.05);
}

.post-date {
  color: var(--highlight);
  font-weight: 600;
  font-size: 0.9rem;
}

.news-post h3 {
  color: var(--primary);
  margin: 10px 0;
}
.full-text {
  display: none;
  margin-top: 10px;
}

.news-post.active .full-text {
  display: block;
}

.news-post.active .preview-text {
  display: none;
}
.post-category {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  margin: 0 0 15px 0;
}

/* Contact Page */
.contact-section {
  padding: 80px 20px;
  background: var(--light-gray);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.contact-info h2 {
  color: var(--primary);
}

.info-card {
  background: var(--white);
  padding: 25px;
  border-radius: 10px;
  display: flex;
  gap: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border-left: 4px solid var(--accent);
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(26, 42, 108, 0.15);
}

.info-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--highlight));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent);
  flex-shrink: 0;
}

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

.info-content p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--white);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  border-top: 4px solid var(--accent);
}

.contact-form-wrapper h2 {
  color: var(--primary);
  margin-bottom: 30px;
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid var(--light-gray);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 42, 108, 0.1);
}

.contact-form button {
  width: 100%;
}

.form-message {
  margin-top: 20px;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  display: none;
  font-weight: 600;
}

.form-message.success {
  background: var(--success);
  color: var(--white);
  display: block;
}

.form-message.error {
  background: var(--error);
  color: var(--white);
  display: block;
}

/* Map Section */
.map-section {
  padding: 80px 20px;
  background: var(--white);
  display: flex;
}

.map-wrapper {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  .nav-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--primary);
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

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

  .hero-buttons a {
    width: 100%;
    max-width: 300px;
  }

  .principal-message {
    flex-direction: column;
    text-align: center;
  }

  .principal-photo {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .process-steps {
    flex-direction: column;
  }

  .arrow {
    transform: rotate(90deg);
  }

  .event-card-full {
    flex-direction: column;
  }

  .event-date {
    width: 100%;
  }

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

  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .timeline-marker {
    width: 100%;
  }

  .timeline-item::after {
    left: 0;
  }

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

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 600px) {
  .page-header {
    padding: 40px 20px;
  }

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

  .features-grid,
  .programs-grid,
  .team-grid,
  .activities-grid {
    grid-template-columns: 1fr;
  }

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

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

  .newsletter-form {
    flex-direction: column;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-buttons a {
    width: 100%;
  }
}
