:root {
  --bg-color: #ffffff;
  --text-color: #111;
  --accent-color: #00539C;
}

body.dark-mode {
  --bg-color: #111;
  --text-color: #f0f0f0;
  --accent-color: #4db8ff;
}

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  transition: background-color 0.3s, color 0.3s;
}

/* Header and Navigation */
.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 25px;
  background-color: var(--accent-color);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  animation: slideDown 1s ease;
}

@keyframes slideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo {
  height: 50px;
  margin-right: 15px;
}

.nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  position: relative;
  transition: color 0.3s ease;
}

.nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: white;
  bottom: -4px;
  left: 0;
  transition: width 0.3s;
}

.nav a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: white;
}

.theme-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Hero Section */
.hero-section {
  text-align: center;
  padding: 50px 20px;
}

.hero-text h2 {
  font-size: 2.5rem;
  animation: fadeIn 1s ease-in;
}

.hero-text p {
  font-size: 1.2rem;
  margin-top: 10px;
  animation: fadeIn 2s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Slider */
.hero-slider {
  max-width: 100%;
  overflow: hidden;
  margin-top: 30px;
}

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slides img {
  width: 100%;
  max-height: 400px;
  object-fit: contain;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .nav ul {
    flex-direction: column;
    background: var(--accent-color);
    position: absolute;
    top: 70px;
    right: 0;
    width: 200px;
    display: none;
    padding: 10px;
    border-radius: 5px;
  }

  .nav ul.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}

/* Footer */
.main-footer {
  background-color: var(--accent-color);
  color: white;
  padding: 40px 20px 10px;
  margin-top: 40px;
  animation: fadeInUp 1s ease-in;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.footer-content h3, .footer-content h4 {
  margin-bottom: 10px;
}

.footer-content p,
.footer-content li {
  font-size: 0.9rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 5px;
}

.footer-links ul li a {
  color: white;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links ul li a:hover {
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  font-size: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding-top: 10px;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Footer Responsive */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

.footer-contact i {
  margin-right: 8px;
  color: #333;
}
.footer-contact a {
  text-decoration: none;
  color: inherit;
}
.footer-contact a:hover {
  text-decoration: underline;
  color: #007BFF;
}

/*==About Page==*/
.about-page {
  padding: 40px 20px;
  max-width: 1000px;
  margin: auto;
}

.about-hero {
  text-align: center;
  margin-bottom: 40px;
}

.about-hero h2 {
  font-size: 2.5rem;
}

.about-details h3 {
  color: var(--primary-color);
  margin-top: 30px;
}

.about-details p,
.about-details ul {
  font-size: 1.1rem;
  line-height: 1.6;
}

.about-details ul {
  list-style: none;
  padding-left: 0;
}

.about-details li {
  margin: 10px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-primary {
  display: inline-block;
  background: #007acc;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  margin-top: 30px;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background: #005fa3;
}


/*==Subjects Page==*/
.subjects-page {
  max-width: 1000px;
  margin: auto;
  padding: 40px 20px;
}

.subjects-hero {
  text-align: center;
  margin-bottom: 40px;
}

.subjects-hero h2 {
  font-size: 2.5rem;
}

.subject-group {
  margin-bottom: 40px;
}

.subject-group h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

.subject-group ul {
  list-style: none;
  padding-left: 0;
  font-size: 1.1rem;
}

.subject-group li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
}

.subject-group i {
  color: var(--secondary-color);
}

.cta {
  text-align: center;
  margin-top: 40px;
}

.btn-primary {
  display: inline-block;
  background: #007acc;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  margin-top: 30px;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background: #005fa3;
}


:root {
  --bg-color: #ffffff;
  --text-color: #111;
  --accent-color: #00539C;
}

body.dark-mode {
  --bg-color: #111;
  --text-color: #f0f0f0;
  --accent-color: #4db8ff;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  transition: background-color 0.3s, color 0.3s;
}

/*== Schedule Page ==*/
.schedule-page {
  max-width: 1000px;
  margin: auto;
  padding: 40px 20px;
}

.schedule-hero {
  text-align: center;
  margin-bottom: 40px;
}

.schedule-hero h2 {
  font-size: 2.5rem;
}

.schedule-table table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}

.schedule-table th,
.schedule-table td {
  border: 1px solid var(--text-color);
  padding: 12px;
  text-align: center;
  background-color: var(--bg-color);
  transition: background-color 0.3s, color 0.3s;
}

.schedule-table th {
  background-color: var(--accent-color);
  color: white;
}

.schedule-table tr:nth-child(even) {
  background-color: rgba(0, 0, 0, 0.03);
}

@media (max-width: 768px) {
  .schedule-table table,
  .schedule-table thead,
  .schedule-table tbody,
  .schedule-table th,
  .schedule-table td,
  .schedule-table tr {
    display: block;
  }

  .schedule-table tr {
    margin-bottom: 20px;
  }

  .schedule-table td {
    text-align: left;
    padding-left: 50%;
    position: relative;
  }

  .schedule-table td::before {
    content: attr(data-label);
    position: absolute;
    left: 10px;
    font-weight: bold;
    white-space: nowrap;
  }

  .schedule-table thead {
    display: none;
  }
}

.logo-text{
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

.logo-text:hover {
    color: #f0f0f0;
    text-decoration: underline;
}

/*== Contact Page ==*/
.contact-page {
  max-width: 1000px;
  margin: auto;
  padding: 40px 20px;
}

.contact-hero {
  text-align: center;
  margin-bottom: 30px;
}

.contact-form-container {
  background: var(--bg-color);
  padding: 20px;
  border-radius: 10px;
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.contact-form button {
  margin-top: 15px;
}

.thank-you-page {
  text-align: center;
  padding: 80px 20px;
}

.thank-you-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.thank-you-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.thank-you-content a {
  display: inline-block;
  background: var(--accent-color);
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s ease;
}
.thank-you-content a:hover {
  background: #007acc;
}

/*== Error Page ==*/
.error-page {
  text-align: center;
  padding: 80px 20px;
}

/*== Pricing Page ==*/
.pricing-page {
  max-width: 1000px;
  margin: auto;
  padding: 40px 20px;
}

.pricing-hero {
  text-align: center;
  margin-bottom: 40px;
}

.pricing-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.pricing-card {
  background: var(--bg-color);
  color: var(--text-color);
  border: 1px solid var(--accent-color);
  padding: 30px;
  border-radius: 12px;
  width: 300px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
}

.pricing-card h3 {
  margin-bottom: 10px;
}

.pricing-card .price {
  font-size: 1.8rem;
  color: var(--accent-color);
  margin: 10px 0;
}

.pricing-card ul {
  list-style: none;
  padding-left: 0;
  margin: 20px 0;
}

.pricing-card li {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pricing-card i {
  color: var(--accent-color);
}

@media (max-width: 768px) {
  .pricing-cards {
    flex-direction: column;
    align-items: center;
  }
}


/* About Slider Section */
.about-slider {
  max-width: 800px;
  margin: 40px auto;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.slider-container {
  position: relative;
}

.slider-images {
  display: flex;
  transition: transform 0.5s ease;
}

.slider-images img {
  width: 100%;
  flex-shrink: 0;
  object-fit: cover;
  max-height: 700px;
  height: 400px; 
  height: auto;
}

/* Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  font-size: 24px;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 2;
  border-radius: 50%;
}

.slider-arrow.left {
  left: 10px;
}

.slider-arrow.right {
  right: 10px;
}

/* Dots */
.slider-dots {
  text-align: center;
  margin-top: 10px;
}

.slider-dots .dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 5px;
  background-color: #bbb;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s;
}

.slider-dots .dot.active {
  background-color: var(--accent-color);
}

@media (max-width: 768px) {
  .slider-arrow {
    font-size: 18px;
    padding: 6px;
  }
}

@media (max-width: 768px) {
  .slider-images img {
    max-height: 600px;
  }
}

.bio h3, .mission h3 , .approach h3 {
  color: blue;
}
.bio p, .mission p, .approach p {
  font-size: 1.1rem;
  line-height: 1.6;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #222;
  color: #fff;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
  font-size: 0.95rem;
}

.cookie-banner a {
  color: #4db8ff;
  text-decoration: underline;
}

.cookie-banner button {
  background: #4db8ff;
  color: white;
  border: none;
  padding: 8px 15px;
  cursor: pointer;
  border-radius: 5px;
}


