/* Add this to your existing styles.css */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: #333;
}

@font-face {
  font-family: 'Bremen BT';
  src: url('fonts/bremen-bd-bt.ttf') format('truetype');
}
.custom-font {
  font-family: 'Bremen BT', sans-serif;
}

.container {
  max-width: 960px;
  margin: auto;
  padding: 20px;
}

.hero {
  background: linear-gradient(to right, #007BFF, #00A8FF);
  color: white;
  padding: 80px 20px;
  text-align: center;
}

.hero h1 {
  font-size: 3em;
  margin-bottom: 0.5em;
}

.hero p {
  font-size: 1.3em;
  margin-bottom: 1em;
}

.btn {
  background: white;
  color: #007BFF;
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.btn:hover {
  background: #e0e0e0;
}

.section {
  padding: 60px 20px;
  text-align: center;
}

.section.light {
  background-color: #f0f8ff;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  padding: 0;
  list-style: none;
}

.card {
  background: white;
  border: 1px solid #ccc;
  border-radius: 12px;
  padding: 20px;
  font-weight: bold;
  color: #007BFF;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.testimonial {
  background-color: #f8f9fa;
  padding: 30px;
  border-radius: 15px;
  font-style: italic;
  font-size: 1.1em;
  color: #444;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.swiper {
  padding: 20px 0;
}

.footer {
  background-color: #007BFF;
  color: white;
  text-align: center;
  padding: 20px;
}

.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero .swiper-slide {
  height: 100vh;
  background-size: cover;
  background-position: center;
}

.slide1 {
  background-image: url('images/slide1.jpg');
}
.slide2 {
  background-image: url('images/slide2.jpg');
}
.slide3 {
  background-image: url('images/slide3.jpg');
}

.overlay {
  background-color: rgba(0, 0, 0, 0.5);
  height: 100%;
  color: white;
  text-align: center;
  padding-top: 20%;
}

.overlay h1 {
  font-size: 3em;
  margin-bottom: 0.3em;
}

.overlay p {
  font-size: 1.3em;
  margin-bottom: 1em;
}

.overlay .btn {
  background: white;
  color: #007BFF;
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
}
 .slider-section {
    width: 100%;
    height: 100vh;
    overflow: hidden;
  }

  .swiper {
    width: 100%;
    height: 100%;
  }

  .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
 
 .scroll-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
}

.scroll-wrapper::-webkit-scrollbar {
  display: none; /* Safari and Chrome */
}
.contact-section {
  background: linear-gradient(135deg, #c0c0c0 0%, #c0c0c0 100%);

}
#notice-board {
  background: #fffbe6;
}

#notice-board h2 {
  font-weight: 700;
  color: #333;
}

.notice-card {
  border-left: 5px solid #ffc107;
  transition: transform 0.3s ease;
}

.notice-card:hover {
  transform: translateY(-5px);
  background-color: #fffde7;
}
.carousel-inner img {
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }
  
  .section {
  padding: 40px 20px;
  background-color: #f8f8f8;
  border-bottom: 1px solid #ddd;
}

.courses-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
}

.course-card {
  background: white;
  padding: 20px;
  border-radius: 8px;
  width: 250px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.notice-list {
  list-style: none;
  padding-left: 0;
}

.notice-list li {
  margin-bottom: 10px;
  font-size: 16px;
}

.gallery-grid {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  padding-left: 50px;
  padding-right: 50px;
}

.gallery-grid img {
  border-radius: 8px;
  width: 200px;
  height: 150px;
  object-fit: cover;
}

.section-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 30px;
  color: #2c3e50;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.course-card {
  background: #ffffff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease;
}

.course-card:hover {
  transform: translateY(-5px);
}

.course-icon {
  font-size: 40px;
  margin-bottom: 15px;
}

.our-courses {
  padding: 50px 20px;
  background: #f9f9f9;
  text-align: center;
  font-family: 'Segoe UI', sans-serif;
}

.section-heading {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 40px;
}

.course-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.course-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  width: 300px;
  padding: 20px;
  transition: transform 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s forwards;
}

.course-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
}

.course-card h3 {
  font-size: 1.4rem;
  margin: 15px 0 10px;
  color: #34495e;
}

.course-card p {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 20px;
}

.course-buttons .btn {
  display: inline-block;
  padding: 10px 16px;
  margin: 0 5px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  color: white;
  transition: background 0.3s;
}

.btn.learn {
  background: #3498db;
}

.btn.learn:hover {
  background: #2980b9;
}

.btn.enroll {
  background: #2ecc71;
}

.btn.enroll:hover {
  background: #27ae60;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .course-container {
    flex-direction: column;
    align-items: center;
  }
}

.notice-board-horizontal {
  background: #fffbea;
  padding: 40px 20px;
  font-family: 'Segoe UI', sans-serif;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  color: #e67e22;
  margin-bottom: 20px;
}

.notice-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.notice-card {
  background: #fff;
  border-left: 5px solid #3498db;
  padding: 20px;
  width: 250px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  text-align: left;
  transition: transform 0.3s;
}

.notice-card:hover {
  transform: translateY(-5px);
}

.notice-card.urgent {
  border-left-color: #e74c3c;
  background-color: #ffeaea;
}

.notice-date {
  font-weight: bold;
  font-size: 0.9rem;
  color: #7f8c8d;
  margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 768px) {
  .notice-row {
    flex-direction: column;
    align-items: center;
  }
}

.marquee {
  background-color: #f39c12;
  color: white;
  font-weight: bold;
  padding: 10px;
  font-size: 1rem;
}

.gallery-section {
  padding: 40px 20px;
  background: #f4f4f4;
  text-align: center;
}

.gallery-section h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #333;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  justify-items: center;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

.caption {
  position: absolute;
  bottom: 0;
  background: rgba(0,0,0,0.6);
  color: #fff;
  width: 100%;
  text-align: center;
  padding: 8px 0;
  font-size: 1rem;
  font-weight: bold;
  transition: 0.3s;
}

.hero-section {
    background: linear-gradient(to right, #2563eb, #4f46e5);
    color: #fff;
    padding: 100px 20px;
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: relative;
    overflow: hidden;
  }
  
  .hero-section-course {
    background: linear-gradient(to right, #2563eb, #4f46e5);
    color: #fff;
    padding: 50px 20px;
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: relative;
    overflow: hidden;
  }

  .hero-section::after {
    content: "";
    background: url('https://images.unsplash.com/photo-1555529669-2d5f4f6a10f0?auto=format&fit=crop&w=1200&q=80') no-repeat center center/cover;
    opacity: 0.2;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
  }

  .hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: auto;
  }

  .hero-section h1 {
    font-size: 3em;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
  }

  .hero-section p {
    font-size: 1.2em;
    margin-bottom: 30px;
    line-height: 1.5;
  }

  .hero-buttons a {
    display: inline-block;
    padding: 15px 30px;
    margin: 10px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
  }

  .hero-buttons .primary-btn {
    background: #fff;
    color: #1e3a8a;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  }

  .hero-buttons .primary-btn:hover {
    background: #e2e8f0;
  }

  .hero-buttons .secondary-btn {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
  }

  .hero-buttons .secondary-btn:hover {
    background: #fff;
    color: #1e3a8a;
  }

  @media (max-width: 600px) {
    .hero-section h1 {
      font-size: 2em;
    }
    .hero-section p {
      font-size: 1em;
    }
  }

.testimonials-section {
    background: #f9fafb;
    padding: 80px 20px;
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }

  .testimonials-section h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
    color: #1e3a8a;
  }

  .testimonial-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
  }

  .testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    max-width: 350px;
    flex: 1 1 300px;
    text-align: left;
  }

  .testimonial-card p {
    font-style: italic;
    color: #4b5563;
    margin-bottom: 20px;
    line-height: 1.5;
  }

  .testimonial-author {
    display: flex;
    align-items: center;
  }

  .testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
  }

  .testimonial-author span {
    font-weight: bold;
    color: #1f2937;
  }

  @media (max-width: 768px) {
    .testimonial-card {
      max-width: 90%;
    }
  }
  
  .events-section {
    background: #ffffff;
    padding: 80px 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: center;
  }

  .events-section h2 {
    font-size: 2.5em;
    margin-bottom: 50px;
    color: #1e3a8a;
  }

  .event-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
  }

  .event-card {
    background: #f1f5f9;
    border-radius: 12px;
    overflow: hidden;
    width: 300px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    text-align: left;
    transition: transform 0.3s;
  }

  .event-card:hover {
    transform: translateY(-5px);
  }

  .event-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
  }

  .event-content {
    padding: 20px;
  }

  .event-date {
    font-size: 0.9em;
    color: #64748b;
    margin-bottom: 8px;
  }

  .event-title {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 12px;
    color: #111827;
  }

  .event-desc {
    font-size: 0.95em;
    color: #374151;
    margin-bottom: 15px;
  }

  .read-more {
    display: inline-block;
    font-weight: bold;
    color: #2563eb;
    text-decoration: none;
    transition: color 0.3s;
  }

  .read-more:hover {
    color: #1e40af;
  }
  
  :root {
    --primary-dark: #1e3a8a;   /* deep blue  */
    --primary-mid : #2563eb;   /* lighter blue */
    --neutral-100: #f9fafb;    /* very light  */
  }

  .site-footer {
    background: var(--primary-dark);
    color: #ffffff;
    padding: 60px 25px 40px;
    font-family: "Segoe UI", Tahoma, sans-serif;
  }

  .footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 40px;
  }

  /* ---------- columns ---------- */
  .footer-brand h3 {
    font-size: 1.7em;
    margin-bottom: 10px;
    font-weight: 700;
  }
  .footer-brand p {
    font-size: 0.95em;
    line-height: 1.5;
  }

  .footer-links a {
    display: block;
    color: #cbd5e1;
    margin: 8px 0;
    text-decoration: none;
    font-size: 0.95em;
    transition: color .25s;
  }
  .footer-links a:hover { color: #ffffff; }

  /* ---------- newsletter ---------- */
  .newsletter p { margin-bottom: 15px; }
  .newsletter form {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
  }
  .newsletter input[type="email"] {
    flex: 1;
    padding: 10px 14px;
    border: none;
    border-radius: 6px;
    font-size: 0.95em;
  }
  .newsletter button {
    padding: 10px 18px;
    background: var(--primary-mid);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background .25s;
  }
  .newsletter button:hover { background: #3b5ae0; }

  /* ---------- social ---------- */
  .social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 2px solid #ffffff33;
    border-radius: 50%;
    color: #ffffff;
    margin-right: 10px;
    transition: all .25s;
    font-size: 1.1em;
  }
  .social a:hover {
    background: #ffffff;
    color: var(--primary-dark);
    transform: translateY(-3px);
  }

  /* ---------- copyright ---------- */
  .footer-bottom {
    border-top: 1px solid #ffffff22;
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    font-size: 0.85em;
    color: #cbd5e1;
  }
  
  :root {
    --primary-color: #2563eb;
    --bg-light: #f3f4f6;
    --border-color: #d1d5db;
    --text-dark: #1f2937;
  }

  .contact-section {
    background-color: var(--bg-light);
    padding: 80px 20px;
    font-family: 'Segoe UI', Tahoma, sans-serif;
  }

  .contact-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  }

  .contact-wrapper h2 {
    text-align: center;
    font-size: 2em;
    margin-bottom: 30px;
    color: var(--text-dark);
  }

  .contact-form {
    display: grid;
    gap: 20px;
  }

  .contact-form input,
  .contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    font-size: 1em;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: border-color 0.3s;
  }

  .contact-form input:focus,
  .contact-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
  }

  .contact-form .half {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
  }

  .contact-form .half > div {
    flex: 1 1 250px;
  }

  .contact-form textarea {
    resize: vertical;
    min-height: 150px;
  }

  .contact-form button {
    width: fit-content;
    padding: 12px 28px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s;
  }

  .contact-form button:hover {
    background-color: #1d4ed8;
  }
  
   .faq-section {
    background-color: #f9fafb;
    padding: 80px 20px;
    font-family: 'Segoe UI', Tahoma, sans-serif;
  }

  .faq-wrapper {
    max-width: 1000px;
    margin: 0 auto;
  }

  .faq-wrapper h2 {
    text-align: center;
    font-size: 2.2em;
    margin-bottom: 40px;
    color: #1f2937;
  }

  .faq-item {
    border-bottom: 1px solid #d1d5db;
    padding: 20px 0;
  }

  .faq-question {
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
    color: #111827;
  }

  .faq-question::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.5em;
    color: #2563eb;
  }

  input.faq-toggle {
    display: none;
  }

  .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: #4b5563;
    font-size: 1em;
    margin-top: 10px;
  }

  input.faq-toggle:checked + label .faq-question::after {
    content: "-";
  }

  input.faq-toggle:checked ~ .faq-answer {
    max-height: 500px;
    margin-top: 10px;
  }