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

body {
  overflow-x: hidden;
}

/* Main nav link styles */
.navbar-nav .nav-link {
  background-color: #4367dd; /* Blue background */
  color: #fff !important;
  margin: 5px;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  font-weight: 500;
  -webkit-transition: background-color 0.3s ease;
  transition: background-color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  background-color: #2e4bbf; /* Darker on hover */
  color: #fff;
}

/* Dropdown menu background */
.dropdown-menu {
  background-color: #f0f4ff; /* Light blue/gray */
  border: none;
  -webkit-box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
          box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Dropdown item styles */
.dropdown-item {
  padding: 0.5rem 1.5rem;
  font-weight: 500;
  color: #333;
  -webkit-transition: background-color 0.3s ease;
  transition: background-color 0.3s ease;
}

.dropdown-item:hover {
  background-color: #d9e3ff; /* Hover effect */
  color: #000;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: #fff; /* Nav background when open */
    padding: 1.5rem 1rem;
    text-align: center;
  }
  .navbar-nav .nav-link {
    display: block;
    width: 100%;
  }
  .dropdown-menu {
    text-align: left;
    background-color: #e8efff;
  }
}
.header-section {
  background-color: #111;
}
.header-section .btu_signup,
.header-section .btu_login {
  background-color: #fff;
  color: orange;
  border: 2px solid orange;
  border-radius: 20px;
  padding: 5px 15px;
  margin-left: 10px;
}
.header-section .btu_signup:hover,
.header-section .btu_login:hover {
  background-color: orange;
  color: #fff;
}
.header-section .contact-info p {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
}
.header-section .contact-info p img {
  margin-right: 10px;
}
.header-section .contact-info p a {
  color: #fff;
  text-decoration: none;
}
.header-section .contact-info p a:hover {
  color: #ffc107;
}

.banner > img {
  width: 1350px;
  height: 700px;
}

.notice {
  background-color: limegreen;
}

.highlights {
  text-align: center;
  margin-top: 20px;
}

.Tamiltext1,
.Engtext1 {
  border: 2px solid navy;
  display: inline-block;
  border-radius: 15px;
  background-color: midnightblue;
  padding: 18px;
  margin-bottom: 15px;
  color: whitesmoke;
  font-size: 20px;
  font-weight: bold;
}

.Engtext1 {
  margin-top: 15px;
}

.testimonials {
  background-color: #1c1c1c;
  color: #ffffff;
}
.testimonials h2 {
  font-weight: bold;
  font-size: 2rem;
  margin-bottom: 1rem;
}
.testimonials p {
  font-size: 1rem;
}
.testimonials .testimonial-text {
  font-size: 1.25rem;
  font-style: italic;
  margin: 1.5rem 0 0.5rem;
}
.testimonials .testimonial-author {
  font-size: 1rem;
  font-weight: bold;
  color: #ffcc70;
}
.testimonials .carousel-control-prev,
.testimonials .carousel-control-next {
  width: 5%;
}
.testimonials .carousel-item {
  -webkit-transition: opacity 0.6s ease;
  transition: opacity 0.6s ease;
}

.our-story {
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
}
.our-story > video {
  width: 400px;
  height: 400px;
}
.our-story > h3 {
  font-size: 20px;
  font-weight: bold;
}
.our-story > p {
  text-align: right;
}

.footer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background-color: #1d1c1c;
  color: white;
  font-size: 14px;
  font-weight: 500;
  padding: 30px 20px;
}
.footer .container {
  max-width: 1200px;
  margin: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  gap: 40px;
}
.footer .col {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 300px;
          flex: 1 1 300px;
  min-width: 250px;
  margin: 20px;
}
.footer .logo {
  text-align: center;
}
.footer .logo img {
  max-width: 100px;
  margin-bottom: 15px;
}
.footer h3 {
  color: orange;
  font-size: 20px;
  margin-bottom: 15px;
  text-align: center;
}
.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer ul li {
  margin-bottom: 10px;
}
.footer ul li a {
  color: white;
  text-decoration: none;
  display: block;
  padding: 5px 10px;
  border-radius: 6px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.footer ul li a:hover {
  background-color: #333;
  -webkit-transform: translateX(4px);
          transform: translateX(4px);
}
.footer ul li a:active {
  background-color: #555;
}

.main-section {
  padding: 60px 20px;
  background-color: #fff6dc;
  color: #222;
  font-family: "Segoe UI", sans-serif;
}
.main-section .container {
  max-width: 1140px;
  margin: 0 auto;
}
.main-section .logo-wrapper,
.main-section .text-center {
  text-align: center;
  margin-bottom: 30px;
}
.main-section .logo-wrapper img,
.main-section .text-center img {
  max-width: 150px;
  height: auto;
}
.main-section .card {
  background-color: #f9f9f9;
  border-radius: 12px;
  border: 1px solid #ccc;
  -webkit-box-shadow: 0 4px 10px rgba(0, 0, 0, 0.07);
          box-shadow: 0 4px 10px rgba(0, 0, 0, 0.07);
}
.main-section .card .card-body {
  padding: 30px;
}
.main-section .card .card-body p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 15px;
  color: #333;
}
.main-section .card .card-body p.quotes strong {
  display: block;
  font-size: 1.2rem;
  color: #8b0000;
  font-style: italic;
  margin: 20px 0;
}
.main-section .card .card-body p:last-child strong {
  color: #004d40;
}
.main-section .card .card-body h3 {
  margin-top: 30px;
  font-size: 1.5rem;
  font-weight: bold;
  color: #2c3e50;
  border-left: 5px solid #8b0000;
  padding-left: 15px;
}

body {
  font-family: "Segoe UI", sans-serif;
  background-color: #ffffff;
  color: #222222;
  line-height: 1.6;
}

.affiliation-section {
  padding: 0;
}
.affiliation-section .heading-strip {
  background-color: #002147;
  color: white;
  padding: 2rem 0;
}
.affiliation-section .heading-strip h5 {
  margin: 0;
  font-weight: bold;
}
.affiliation-section .heading-strip h5 + h5 {
  margin-top: 0.5rem;
  text-transform: uppercase;
}
.affiliation-section .content-block {
  background-color: #fff6dc;
  padding: 3rem 1rem;
}
.affiliation-section .content-block p {
  font-size: 1rem;
  line-height: 1.8;
  color: #333333;
}
.affiliation-section .content-block strong {
  display: block;
  margin-top: 1rem;
  color: #002147;
  font-size: 1.1rem;
}
.affiliation-section .content-block img {
  max-width: 150px;
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .header-section {
    text-align: center;
  }
  .header-section .btu_signup,
  .header-section .btu_login {
    margin-top: 0.5rem;
  }
  .affiliation-section .content-block p {
    font-size: 0.95rem;
  }
  .footer {
    text-align: center;
    margin-top: 1rem;
  }
}
.teachers-section {
  background-color: #fff6dc;
  padding: 4rem 0;
}

.teachers-section h3 {
  color: #002147;
  font-weight: 700;
  font-size: 1.75rem;
  margin-bottom: 2rem;
  text-align: center;
}

.teacher-card {
  text-align: center;
  margin-bottom: 2.5rem;
}

.teacher-card img {
  max-height: 250px;
  width: auto;
  display: block;
  margin: 0 auto 0.75rem;
  border-radius: 8px;
  -webkit-box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
          box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.teacher-card .teacher-info {
  background: #e4181e;
  color: white;
  font-weight: 600;
  padding: 0.8rem 1.2rem;
  border-radius: 12px;
  font-size: 1rem;
  line-height: 1.5;
  display: inline-block;
  width: 350px;
  margin: 0 auto;
  text-align: center;
  -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
          box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid #b2ebf2;
}

@media (max-width: 768px) {
  .teachers-section {
    padding: 3rem 1rem;
  }
  .teacher-card img {
    max-height: 220px;
  }
  .teacher-card .teacher-info {
    font-size: 0.95rem;
  }
}
.tamil-language-section {
  background-color: #fff2cc;
}
.tamil-language-section .tamil-title {
  color: #000;
  font-size: 1.5rem;
}
.tamil-language-section .english-title {
  color: #444;
  font-size: 1.25rem;
}
.tamil-language-section .description {
  color: #333;
  font-size: 0.95rem;
  max-width: 600px;
  margin: 0 auto;
}
.tamil-language-section img {
  max-width: 100%;
  height: auto;
}
.tamil-language-section .exam-btn {
  display: inline-block;
  padding: 10px 30px;
  background-color: #f9aa00;
  color: #000;
  font-weight: bold;
  border: 2px solid #000;
  border-radius: 25px;
  text-decoration: none;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
.tamil-language-section .exam-btn:hover {
  background-color: #000;
  color: #fff;
}

.cambridge-section {
  background-color: #fff6d9;
}

.cambridge-section img {
  max-height: 350px;
  width: auto;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .cambridge-section img {
    max-height: 250px;
  }
}
.cambridge-section h5 {
  color: #8B0000;
  font-size: 20px;
  font-weight: bold;
  font: 28px futura-It-w01-book, sans-serif;
}

.cambridge-section .text-muted {
  color: #2A5B41;
  font-size: 15px;
  font: 25px futura-It-w01-book, sans-serif;
}

.cambridge-description {
  font-size: 25px;
  line-height: 1.7;
  color: #222;
  text-align: center;
  margin-top: 15px;
}

.syllabus-btn {
  display: inline-block;
  background-color: #f9aa00;
  color: #000;
  font-weight: bold;
  padding: 15px 30px;
  font-size: 20px;
  border-radius: 25px;
  margin-top: 25px;
  border: 2px solid #000;
  text-decoration: none;
  -webkit-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
          box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.syllabus-btn:hover {
  background-color: #000;
  color: white;
}

.contact-card {
  background: linear-gradient(135deg, #0f1b70, #142b90);
  border: 1px solid #e6e6e6;
}

.contact-item span {
  font-size: 1rem;
  color: #fff;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #fff6dc;
  color: #000;
  margin: 0;
  padding: 0;
}

.video-frame {
  width: 100%;
  height: 450px;
  border: none;
  border-radius: 12px;
  -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
          box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}