html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  min-height: 100vh;
}

/* Navigation */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 4rem;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo {
  color: #004a80;
  font-weight: bold;
  font-size: 1.5rem;
}

.logo img {
  height: 40px;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.nav-links a:hover {
  color: #004a80;
}

.contact-btn {
  background-color: #ffd500;
  color: #000;
  padding: 0.7rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
}

.contact-btn:hover {
  background-color: #e6c000;
}

.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
}

.hamburger .bar {
  height: 3px;
  width: 100%;
  background-color: #333;
  border-radius: 10px;
}

/* Mobile nav styling */
@media only screen and (max-width: 768px) {
  .logo img {
    width: 150px;
  }
}

@media (max-width: 992px) {
  .navbar {
    padding: 1rem 2rem;
  }

  .nav-links {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: #fff;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    padding: 2rem 0;
    height: calc(100vh - 70px);
    z-index: 10;
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links li {
    margin: 1.5rem 0;
  }

  .contact-btn {
    padding: 0.7rem 1rem;
  }

  .hamburger {
    display: flex;
  }
}

/* Banner */
.hero-section {
  position: relative;
  width: 100%;
  height: 80vh;
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 34, 255, 0.5)), url('../images/banners/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  padding: 0 2rem;
}

.hero-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.hero-content {
  flex: 1;
  color: white;
  padding: 2rem;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #ffd500;
}

.hero-content h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1rem;
  margin-bottom: 2rem;
  max-width: 600px;
}

.red-highlight {
  background-color: #ff0000;
  color: white;
  padding: 0.75rem 1rem;
  font-size: 1.3rem;
  font-weight: 600;
  max-width: 500px;
  margin-top: 2rem;
  border-radius: 5px;
}

.hero-form-container {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 2rem;
  border-radius: 10px;
  width: 100%;
  max-width: 400px;
  z-index: 2;
}

.hero-form input,
.hero-form select {
  width: 100%;
  padding: 1rem;
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
}

.hero-form select {
  color: #666;
}

.hero-form button {
  width: 100%;
  padding: 1rem;
  background-color: #0080ff;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

.hero-form button:hover {
  background-color: #0066cc;
}

.error {
  color: red;
  font-size: 14px;
  margin-top: -10px;
  margin-bottom: 10px;
  display: none;
}

.white-border {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  height: 80%;
  width: 5px;
  background-color: white;
  border-radius: 5px;
}

@media (max-width: 992px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    margin-bottom: 2rem;
  }

  .white-border {
    display: none;
  }

  .red-highlight {
    margin: 2rem auto;
  }
}

@media (max-width: 768px) {
  .hero-section {
    height: auto;
    padding: 4rem 1rem;
  }

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

  .hero-content h2 {
    font-size: 1.2rem;
  }

  .red-highlight {
    font-size: 1.1rem;
    padding: 0.5rem;
  }
}

@media (max-width: 576px) {
  .hero-form-container {
    padding: 1.5rem;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-content {
    padding: 1rem;
  }
}

/* About Us */
.about-section {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.about-header {
  text-align: center;
  margin-bottom: 3rem;
}

.about-header h2 {
  color: #154e79;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
}

.about-header h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #154e79;
  margin: 1rem auto 0;
}

.about-header p {
  color: black;
  font-size: 1.1rem;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.about-image {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.about-info {
  flex: 1;
}

.about-info h3 {
  color: #154e79;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.about-info p {
  color: #555;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.feature-item-span {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  background-color: #154e79;
  color: white;
  border-radius: 50%;
  flex-shrink: 0;
}

.feature-item p {
  margin-bottom: 0;
  font-weight: 500;
}

.about-cta {
  display: inline-block;
  background-color: #154e79;
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 1.5rem;
  transition: background-color 0.3s;
}

.about-cta:hover {
  background-color: #0d3852;
}

@media (max-width: 992px) {
  .about-content {
    flex-direction: column;
  }

  .about-info {
    padding: 0 2rem;
  }

  .about-image {
    width: 95%;
    max-width: 600px;
    margin: 0 auto;
  }
}

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

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

  .about-section {
    padding: 3rem 1.5rem;
  }
}

@media (max-width: 576px) {
  .about-features {
    grid-template-columns: 1fr;
  }

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

  .about-section {
    padding: 2rem 1rem;
  }
}

/* Counter */
.counter-section {
  background-color: #0d4976;
  color: white;
  padding: 4rem 2rem;
  text-align: center;
}

.counter-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
}

.counter-item {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.counter-icon {
  width: 80px;
  height: 80px;
  background-color: #f8a01c;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
}

.counter-icon img {
  width: 40px;
  height: 40px;
}

.counter-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.counter-title {
  font-size: 1rem;
  font-weight: 500;
}

@media (max-width: 992px) {
  .counter-container {
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .counter-container {
    flex-wrap: wrap;
  }

  .counter-item {
    flex-basis: 40%;
    margin-bottom: 2rem;
  }
}

@media (max-width: 576px) {
  .counter-item {
    flex-basis: 100%;
  }

  .counter-section {
    padding: 3rem 1rem;
  }
}

/* Our Courses */
.courses-section {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.courses-header {
  text-align: center;
  margin-bottom: 3rem;
}

.courses-header h2 {
  color: #154e79;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.courses-header h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #154e79;
  margin: 1rem auto 0;
}

.courses-header p {
  color: black;
  font-size: 1.1rem;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.course-card {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border: 1px solid #e5e5e5;
  scale: 1;
  transition: scale 0.3s;
}

.course-card:hover {
  scale: 1.02;
}

.course-content {
  display: flex;
  align-items: flex-start;
  padding: 1.5rem;
}

.course-image {
  width: 220px;
  height: 150px;
  border-radius: 5px;
  overflow: hidden;
  flex-shrink: 0;
}

.course-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-info {
  padding-left: 1.5rem;
}

.course-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #333;
}

.course-title span {
  font-size: 0.8rem;
  padding: 0.25rem 0.5rem;
  background-color: #154e79;
  color: white;
  border-radius: 3px;
  margin-left: 0.5rem;
  vertical-align: middle;
}

.course-subtitle {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 0.5rem;
}

.course-description {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.4;
}

.course-features {
  padding: 0 1.5rem 1.5rem;
}

.feature-list {
  list-style: none;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  color: #333;
}

.feature-icon {
  margin-right: 0.75rem;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 20px;
  min-height: 20px;
  border-radius: 50%;
  color: white;
}

.feature-icon.purple {
  background-color: #6d28d9;
}

.feature-icon.orange {
  background-color: #ff9800;
}

.feature-icon.green {
  background-color: #10b981;
}

.course-card.iit-jee .course-title {
  color: #3b82f6;
}

.course-card.olympiads .course-title {
  color: #f59e0b;
}

.course-card.cbse .course-title {
  color: #8b5cf6;
}

.course-card.neet .course-title {
  color: #10b981;
}

@media (max-width: 992px) {
  .courses-grid {
    gap: 1.5rem;
  }
}

@media (max-width: 950px) {
  .course-image {
    width: 150px;
    height: 120px;
  }
}

@media (max-width: 788px) {
  .courses-grid {
    grid-template-columns: 1fr;
  }

  .courses-header h2 {
    font-size: 2rem;
  }

  .course-image {
    width: 300px;
    height: 180px;
  }

  .courses-section {
    padding: 3rem 1.5rem;
  }
}

@media (max-width: 576px) {
  .course-content {
    flex-direction: column;
  }

  .course-image {
    width: 100%;
    height: 160px;
    margin-bottom: 1rem;
  }

  .course-info {
    padding-left: 0;
  }

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

/* Rankers */
.rankers-section {
  padding: 4rem 0;
  background: #f1f6fa;
}

.rankers-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
}

.rankers-title {
  font-size: 2.3rem;
  color: #154e79;
  font-weight: 700;
  margin-bottom: 0.4rem;
  letter-spacing: -0.5px;
}

.rankers-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #154e79;
  margin: 1rem auto;
}

.rankers-subtitle {
  color: black;
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
}

.rankers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.ranker-card {
  background: #fff;
  border-radius: 10px;
  min-height: 175px;
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 28px rgba(155, 135, 245, 0.16);
  transition: transform 0.15s, box-shadow 0.15s;
  border: 1.5px solid #e6e8f3;
}

.ranker-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 8px 38px rgba(123, 105, 185, 0.20);
}

.ranker-image {
  width: 100%;
  height: 180px;
}

.ranker-image img {
  width: 45%;
  height: 90%;
  border-radius: 20px;
}

.ranker-info {
  padding: 20px 10px;
  width: 100%;
}

.ranker-name {
  color: #1A1F2C;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 5px;
  letter-spacing: 0;
}

.ranker-detail {
  color: #37557A;
  font-size: 1.02rem;
  font-weight: 500;
  margin-bottom: 5px;
}

.ranker-year {
  color: #7E69AB;
  font-size: 0.97rem;
  font-weight: 400;
}

@media (max-width: 1000px) {
  .rankers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

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

@media (max-width: 660px) {
  .rankers-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .ranker-card {
    width: 95%;
    margin: auto;
  }

  .rankers-title {
    font-size: 1.55rem;
  }

  .rankers-container {
    padding: 0 0.6rem;
  }

  .ranker-info {
    padding: 18px 6px;
  }
}

/* WHY CHOOSE US SECTION STYLES */
.why-choose-section {
  padding: 4rem 0;
  background: #eaf3f9;
}

.why-choose-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
}

.why-choose-title {
  font-size: 2.3rem;
  color: #205074;
  font-weight: 700;
  margin-bottom: 0.4rem;
  letter-spacing: -0.5px;
}

.why-choose-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #154e79;
  margin: 1rem auto;
}

.why-choose-subtitle {
  color: black;
  font-size: 1.07rem;
  margin-bottom: 2.5rem;
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.why-choose-card {
  background: #fff;
  border-radius: 9px;
  min-height: 235px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 3px 22px rgba(96, 160, 211, 0.09);
  border: 1.4px solid #deebf4;
  transition: transform 0.14s, box-shadow 0.14s;
}

.why-choose-card:hover {
  transform: translateY(-5px) scale(1.018);
  box-shadow: 0 10px 36px rgba(32, 80, 116, 0.15);
}

.why-choose-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
}

.choose-card-title {
  color: #205074;
  font-size: 1.11rem;
  font-weight: 700;
  margin-bottom: 11px;
}

.choose-card-desc {
  color: #39567a;
  font-size: 0.98rem;
  font-weight: 400;
  text-align: left;
  line-height: 1.5;
}

@media (max-width: 1000px) {
  .why-choose-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }

  .why-choose-card {
    width: 90%;
    margin: auto;
    padding: 10px;
  }

  .why-choose-title {
    font-size: 2rem;
  }

  .why-choose-section {
    padding: 3rem 0;
  }
}

@media (max-width: 670px) {
  .why-choose-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .why-choose-title {
    font-size: 1.48rem;
  }

  .why-choose-container {
    padding: 0 0.7rem;
  }

  .why-choose-section {
    padding: 1.2rem 0 2.2rem 0;
  }

  .why-choose-card {
    min-height: 140px;
    padding: 18px 14px 18px 14px;
  }

  .why-choose-card img {
    height: 180px;
    width: 80%;
    margin: auto;
    padding-bottom: 10px;
  }
}

/* DEMO CLASS SECTION STYLES */
.demo-class-section {
  background: #16577d;
  padding: 4rem 0;
}

.demo-class-container {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  gap: 56px;
  align-items: center;
  justify-content: center;
  padding: 0 1.5rem;
}

.demo-class-left {
  flex: 1 1 55%;
  min-width: 270px;
}

.demo-class-title {
  font-size: 2.7rem;
  font-weight: 700;
  color: #ffe12b;
  margin-bottom: 1.1rem;
  line-height: 1.13;
}

.demo-class-subtitle {
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 1.8rem;
  font-weight: 500;
}

.demo-class-why {
  margin-top: 0.5rem;
}

.why-attend-title {
  color: #fff;
  font-size: 1.12rem;
  font-weight: 600;
}

.why-attend-list {
  margin: 0.6rem 0 0 0;
  padding: 0;
  list-style: none;
}

.why-attend-list li {
  color: #fff;
  font-size: 1.08rem;
  margin-bottom: 0.32rem;
  display: flex;
  align-items: flex-start;
}

.checkmark {
  color: #ffe12b;
  font-weight: bold;
  font-size: 1.1em;
  margin-right: 0.55em;
  line-height: 1;
}

.demo-class-form {
  flex: 1 1 38%;
  min-width: 270px;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  background: transparent;
  padding: 0;
}

.input {
  border-radius: 6px;
  background: #fff;
  border: none;
  outline: none;
  width: 100%;
  padding: 16px 18px;
  font-size: 1.09rem;
  color: #24455a;
  font-family: inherit;
  box-sizing: border-box;
  transition: box-shadow 0.15s;
  box-shadow: 0 2px 8px rgba(60, 65, 113, 0.08);
}

.input::placeholder {
  color: #9db6c7;
  opacity: 1;
}

.input:focus {
  box-shadow: 0 4px 18px rgba(60, 65, 113, 0.19);
}

.submit-btn {
  background: #207be7;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.7em 0;
  font-size: 1.12rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.18s, transform 0.14s;
}

.submit-btn:hover {
  background: #125aa1;
  transform: translateY(-2px) scale(1.03);
}

.error-message {
  color: red;
  font-size: 12px;
  margin-top: -10px;
  margin-bottom: 10px;
  display: none;
}

@media (max-width: 1040px) {
  .demo-class-title {
    font-size: 2.17rem;
  }

  .demo-class-subtitle {
    font-size: 1rem;
  }

  .demo-class-container {
    gap: 36px;
  }
}

@media (max-width: 800px) {
  .demo-class-container {
    flex-direction: column;
    gap: 38px;
    align-items: stretch;
  }

  .demo-class-left {
    min-width: 0;
    padding: 0 1rem;
  }

  .demo-class-form {
    width: 80%;
    align-self: center;
  }

  .demo-class-title {
    font-size: 1.7rem;
  }
}

@media (max-width: 520px) {
  .demo-class-section {
    padding: 2.1rem 0 1.1rem 0;
  }

  .demo-class-container {
    padding: 0 0.5rem;
  }

  .demo-class-title {
    font-size: 1.19rem;
    text-align: left;
  }

  .demo-class-subtitle,
  .why-attend-title,
  .why-attend-list li {
    font-size: 0.98rem;
  }

  .demo-class-form {
    gap: 0.82rem;
  }
}

/* OUR FACULTY SECTION STYLES */
.faculty-section {
  padding: 3.3rem 0 2.2rem 0;
  background: #f9fbfc;
}

.faculty-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
}

.faculty-title {
  font-size: 2.2rem;
  color: #155172;
  font-weight: 700;
  margin-bottom: 0.25rem;
  text-align: center;
}

.faculty-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #154e79;
  margin: 1rem auto;
}

.faculty-subtitle {
  color: black;
  font-size: 1.1rem;
  margin-bottom: 2.3rem;
  text-align: center;
  font-weight: 500;
}

.faculty-grid {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
}

.faculty-card {
  background: #fff;
  border-radius: 11px;
  box-shadow: 0 4px 22px rgba(0, 30, 84, 0.11);
  padding-bottom: 20px;
  flex: 1 1 240px;
  max-width: 300px;
  min-width: 230px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  transition: box-shadow 0.15s, transform 0.13s;
  border: 1.5px solid #e6e8f3;
}

.faculty-card:hover {
  box-shadow: 0 8px 36px rgba(0, 30, 84, 0.16);
  transform: translateY(-5px) scale(1.02);
}

.faculty-card-content {
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.faculty-image {
  width: 100%;
  height: 250px;
  margin-bottom: 15px;
  border-radius: 10px 10px 0 0;
}

.faculty-name {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 15px;
  color: #17374c;
  margin-bottom: 5px;
}
.experience{
  font-size: 0.97rem;
  font-weight: 600;
  align-self: center;
  display: inline-block;
  margin: 0 15px 9px 15px;
  padding: 0.2em 0.7em;
  border-radius: 12px;
}

.faculty-badge {
  font-size: 0.97rem;
  font-weight: 600;
  align-self: center;
  display: inline-block;
  margin: 0 15px 9px 15px;
  padding: 0.2em 0.7em;
  border-radius: 12px;
}

.faculty-badge.Social_Science_English_faculty {
  background: #eaf5ff;
  color: #2470a8;
}

.faculty-badge.physics {
  background: #e7f7fa;
  color: #23b7c7;
}

.faculty-badge.biology {
  background: #eafaea;
  color: #18a230;
}

.faculty-badge.maths {
  background: #fee8cc;
  color: #e17e14;
}

.faculty-description {
  color: #495f6a;
  font-size: 0.98rem;
  margin: 3px 15px 0 15px;
  line-height: 1.54;
  font-weight: 400;
}

@media (max-width: 1020px) {
  .faculty-grid {
    gap: 18px;
  }

  .faculty-title {
    font-size: 1.7rem;
  }

  .faculty-card {
    max-width: 45%;
    min-width: 200px;
  }
}

@media (max-width: 800px) {
  .faculty-grid {
    flex-direction: column;
    align-items: center;
  }

  .faculty-card {
    width: 90%;
    max-width: 400px;
    margin: 0 auto;
  }

  .faculty-image {
    height: 250px;
  }
}

@media (max-width: 480px) {
  .faculty-section {
    padding: 1.2rem 0;
  }

  .faculty-title {
    font-size: 1.15rem;
  }

  .faculty-subtitle {
    font-size: 0.93rem;
  }

  .faculty-card {
    padding: 18px 8px 16px 8px;
    font-size: 0.98rem;
  }
}

/* TESTIMONIAL SECTION STYLES */
.testimonial-section {
  background: #f6fbfd;
  padding: 62px 0 45px 0;
}

.testimonial-container {
  max-width: 950px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.testimonial-title {
  font-size: 2.1rem;
  color: #164363;
  text-align: center;
  margin-bottom: 0.45rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.testimonial-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #154e79;
  margin: 1rem auto;
}

.testimonial-subtitle {
  color: black;
  font-size: 1rem;
  margin-bottom: 2.0rem;
  font-weight: 500;
}

.testimonial-carousel {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.testimonial-slides {
  display: flex;
  width: 100%;
  min-height: 200px;
  align-items: stretch;
  justify-content: center;
  position: relative;
  transition: all 0.5s;
}

.testimonial-slide {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: transparent;
  animation: fadein 0.4s;
  min-height: 220px;
}

.testimonial-slide.active {
  display: flex;
}

@keyframes fadein {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.testimonial-text {
  color: #243948;
  font-size: 1.08rem;
  line-height: 1.62;
  margin-bottom: 28px;
  font-weight: 400;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.testimonial-user {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  margin-top: 4px;
}

.testimonial-avatar {
  width: 43px;
  height: 43px;
  border-radius: 50%;
  background: linear-gradient(135deg, #eaeaea, #c8e9f7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
}

.testimonial-user-details {
  text-align: left;
  line-height: 1.2;
}

.testimonial-user-name {
  font-weight: 700;
  color: #253a4f;
  font-size: 1rem;
}

.testimonial-user-board {
  font-size: 0.98rem;
  color: #1a99ce;
  font-weight: 600;
}

.testimonial-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #e4ecf8;
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(36, 57, 72, 0.08);
  cursor: pointer;
  transition: background 0.14s;
  z-index: 5;
  font-size: 1.2rem;
  padding: 0;
}

.testimonial-arrow.prev {
  left: -1px;
}

.testimonial-arrow.next {
  right: -1px;
}

.testimonial-arrow svg {
  fill: none;
  stroke: #245172;
  stroke-width: 2.5;
}

.testimonial-arrow:hover {
  background: #d8eafd;
  box-shadow: 0 1px 3px rgba(36, 57, 72, 0.06);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  gap: 10px;
}

.testimonial-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #b0c1d7;
  margin: 0 2px;
  cursor: pointer;
  transition: background 0.19s;
}

.testimonial-dot.active {
  background: #2674a2;
}

@media (max-width: 900px) {
  .testimonial-section {
    padding: 38px 0 28px 0;
  }

  .testimonial-title {
    font-size: 1.45rem;
  }

  .testimonial-text {
    font-size: 1rem;
  }

  .testimonial-slide {
    min-height: 80px;
    width: 80%;
  }

  .testimonial-arrow.prev {
    left: -10px;
  }

  .testimonial-arrow.next {
    right: -10px;
  }
}

@media (max-width: 600px) {
  .testimonial-container {
    padding: 0 6px;
  }

  .testimonial-title {
    font-size: 1.04rem;
  }

  .testimonial-subtitle {
    font-size: 0.93rem;
  }

  .testimonial-text {
    font-size: 0.97rem;
  }

  .testimonial-slide {
    min-height: 80px;
    width: 80%;
  }

  .testimonial-arrow {
    width: 29px;
    height: 29px;
  }

  .testimonial-arrow.prev {
    left: 1px;
  }

  .testimonial-arrow.next {
    right: 1px;
  }
}

/* FAQ */
.faq-section {
  padding: 4rem 1rem;
}

@media (min-width: 768px) {
  .faq-section {
    padding: 4rem 2rem;
  }
}

.container {
  max-width: 56rem;
  margin: 0 auto;
}

.header {
  text-align: center;
  margin-bottom: 3rem;
}

.header h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: #164363;
  margin-bottom: 0.75rem;
}

.header h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #154e79;
  margin: 1rem auto 0;
}

@media (min-width: 768px) {
  .header h2 {
    font-size: 2.25rem;
  }
}

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

@media (min-width: 768px) {
  .header p {
    font-size: 1.125rem;
  }
}

.faq-container {
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid rgb(229, 231, 235);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  color: rgb(31, 41, 55);
  font-size: 1rem;
  font-weight: 500;
}

.faq-question-span {
  font-weight: 700;
}

@media (min-width: 768px) {
  .faq-question {
    font-size: 1.125rem;
  }
}

.faq-question:focus {
  outline: none;
}

.icon {
  margin-left: 1.5rem;
  flex-shrink: 0;
  color: rgb(26, 135, 207);
}

.minus {
  display: none;
}

.faq-item.active .plus {
  display: none;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
  opacity: 0;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  opacity: 1;
}

.faq-answer-content {
  padding: 0 1.5rem 1.5rem;
  color: rgb(75, 85, 99);
}

.cta {
  margin-top: 3rem;
  text-align: center;
}

.cta p {
  color: rgb(55, 65, 81);
  margin-bottom: 1rem;
}

.enquire-btn {
  background-color: rgb(26, 135, 207);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.enquire-btn:hover {
  background-color: rgb(21, 108, 166);
  transform: scale(1.05);
}

/* Contact Us */
.contact-section {
  padding: 4rem 1rem;
}

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

.header {
  text-align: center;
  margin-bottom: 3rem;
}

.header h2 {
  font-size: 2.25rem;
  font-weight: 700;
  color: #164363;
  margin-bottom: 0.75rem;
}

.header p {
  font-size: 1.125rem;
  color: black;
}

.contact-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  background-color: white;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.info-item p a {
  color: rgb(75, 85, 99);
}

.info-item p a:hover {
  color: rgb(75, 85, 99);
}

iframe {
  width: "100%";
  height: "100%";
  border: 0;
}

@media (min-width: 768px) {
  .contact-container {
    flex-direction: row;
  }
}

.contact-info {
  padding: 1rem;
  flex: 1;
}

.info-item {
  margin-bottom: 1.5rem;
}

.info-item h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: rgb(31, 41, 55);
  margin-bottom: 0.5rem;
}

.info-item p {
  color: rgb(75, 85, 99);
}

.info-item a {
  color: rgb(26, 135, 207);
  text-decoration: none;
  transition: color 0.3s ease;
}

.info-item a:hover {
  color: rgb(21, 108, 166);
}

.contact-form {
  margin-top: 2rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid rgb(229, 231, 235);
  border-radius: 0.375rem;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgb(26, 135, 207);
}

.form-group textarea {
  height: 120px;
  resize: vertical;
}

.submit-btn {
  width: 100%;
  padding: 0.75rem;
  background-color: rgb(26, 135, 207);
  color: white;
  border: none;
  border-radius: 0.375rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  background-color: rgb(21, 108, 166);
  transform: translateY(-1px);
}

.map-container {
  flex: 1;
  min-height: 300px;
  position: relative;
}

@media (min-width: 768px) {
  
}

iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Footer */
.footer {
  background-color: rgb(7, 47, 76);
  color: white;
  padding: 4rem 1rem 2rem;
}

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

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 440px) {
  .footer-content {
    text-align: center;
  }
}

@media (min-width: 640px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    text-align: center;
  }
}

@media (min-width: 1024px) {
  .footer-content {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}

.footer-about {
  width: 80%;
}

.tagline {
  color: rgb(209, 213, 219);
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  justify-content: space-evenly;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.social-link:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.social-link img {
  filter: invert(1);
}

.footer-section h3 a {
  color: white;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
   text-decoration: none;
}
.footer-section h3 a:hover {
  
  text-decoration: underline; 
  color: #ffffff;
}



.footer-section p {
  color: rgb(209, 213, 219);
  margin-bottom: 1rem;
}

.contact-info a {
  color: rgb(209, 213, 219);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: white;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgb(209, 213, 219);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

/*ooter-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  
  flex-direction: column;
  gap: 1rem;
  text-align: center;
}*/
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}


.footer-bottom p {
  color: rgb(209, 213, 219);

}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

.footer-bottom-links a {
  color: rgb(209, 213, 219);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: white;
}
.containerf{
  display: grid;
  grid-template-columns:70% 30%;

}
@media (max-width: 1024px) {
  .containerf {
    grid-template-columns: 70% 30%;
  }
}

/* For tablets and large phones */
@media (max-width: 768px) {
  .containerf {
    grid-template-columns: 100%; /* Stacks the columns */
    display: block; /* Optional: Ensures full stacking */
  }
}



/* For small phones */
@media (max-width: 480px) {
  .containerf {
    display: block; /* Optional: Ensures full stacking */
  }
}

.hero-form-container h1 {
  font-size: 2.5rem;
  color: #094a99;
  margin-bottom: 1rem;
}
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 200px;
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 10px 0;
    list-style: none;
    margin-top: 10px;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
    padding: 0;
}

.dropdown-menu li a {
    display: block;
    padding: 8px 20px;
    color: var(--text-primary);
    font-weight: 400;
    transition: all 0.2s ease;
    text-decoration: none;
}

.dropdown-menu li a:hover {
    background-color: #f5f5f5;
    color: var(--primary-color);
}
.testimonial-user-details{
  text-align: center;
}
p{
  text-align: justify;
}
 .qfgrid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* two columns on large screens */
  gap: 20px;
  align-items: center;
}

.qfgrid .leftsection {
  padding: 20px;
}

.qfgrid .rightsection {
  padding-top: 10px;
}

.qfgrid .rightsection img {
  width: 100%;
  height: auto;       /* keeps proportions */
  border-radius: 8px;
  display: block;
  margin: 0 auto;
}

.qfgrid .leftsection h2 {
  margin-bottom: 10px;
  color: #003366;
}

.qfgrid .leftsection p {
  margin-bottom: 15px;
  line-height: 1.6;
}

/* ✅ Tablet view */
@media (max-width: 992px) {
  .qfgrid {
    grid-template-columns: 1fr; /* stack */
    text-align: center;
  }
  .qfgrid .leftsection {
    padding: 15px;
  }
  .qfgrid .rightsection img {
    max-width: 90%;
    padding-top: 0;
  }
}

/* ✅ Mobile view */
@media (max-width: 600px) {
  .qfgrid {
    grid-template-columns: 1fr; /* single column */
    gap: 10px;
  }
  .qfgrid .leftsection {
    padding: 10px;
  }
  .qfgrid .leftsection h2 {
    font-size: 1.2rem;
  }
  .qfgrid .leftsection p {
    font-size: 0.9rem;
  }
  .qfgrid .rightsection img {
    max-width: 100%;
  }
}
.qfgrid .leftsection p {
  text-align: justify;
}
.bgrid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* two columns on large screens */
  gap: 20px;
  align-items: center;
}

.bgrid .leftsection {
  padding: 20px;
}

.bgrid .rightsection {
  padding-top: 10px;
}

.bgrid .rightsection img {
  width: 100%;
  height: auto;       /* keeps proportions */
  border-radius: 8px;
  display: block;
  margin: 0 auto;
}

.bgrid .leftsection h2 {
  margin-bottom: 10px;
  color: #004aad;
}

.bgrid .leftsection p {
  margin-bottom: 15px;
  line-height: 1.6;
}

/* ✅ Tablet view */
@media (max-width: 992px) {
  .bgrid {
    grid-template-columns: 1fr; /* stack */
    text-align: center;
  }
  .bgrid .leftsection {
    padding: 15px;
  }
  .bgrid .rightsection img {
    max-width: 90%;
    padding-top: 0;
  }
}

/* ✅ Mobile view */
@media (max-width: 600px) {
  .bgrid {
    grid-template-columns: 1fr; /* single column */
    gap: 10px;
  }
  .bgrid .leftsection {
    padding: 10px;
  }
  .bgrid .leftsection h2 {
    font-size: 1.2rem;
  }
  .bgrid .leftsection p {
    font-size: 0.9rem;
  }
  .bgrid .rightsection img {
    max-width: 100%;
  }
}


/*quicllink form*/


.quicklink-section {
    background-color: #f5f5f5;
    
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quicklink_form-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    background-color: #e8e8e8;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.quick_form_contact-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
}

.quick_form_contact-info h3 {
    color:#0066cc;
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
    line-height: 1.6;
}


.quicklink-form-container {
    background-color: rgba(255, 255, 255, 0.5);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.quicklink-form-container h2 {
    color: #333;
    margin-bottom: 25px;
    font-size: 28px;
    text-align: center;
}

.quicklink-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.quicklink-form input,
.quicklink-form select {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s;
    background-color: rgba(255, 255, 255, 0.8);
}

.quicklink-form input:focus,
.quicklink-form select:focus {
    outline: none;
    border-color: #2196F3;
}

.quicklink-form button {
    padding: 14px;
    background-color: #2196F3;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
}

.quicklink-form button:hover {
    background-color: #1976D2;
}

.error {
    display: none;
    color: #d32f2f;
    font-size: 13px;
    margin-top: -10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .quicklink_form-container {
        grid-template-columns: 1fr;
        padding: 25px;
    }

    .quicklink-section {
        padding: 40px 15px;
    }
}

/*header*/
header {
  top: 0;
  position: sticky;
  width: 100%;
  min-height: 2.5rem;
  background-color: #0f4c75;
  padding: 0.5rem 1rem;
  z-index: 1000;
  font-family: poppins, sans-serif;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

header h2 {
  font-size: clamp(1rem, 4vw, 1.5rem);
  color: #ffffff;
  text-align: center;
  margin: 0;
  line-height: 1.4;
  word-wrap: break-word;
  flex: 1;
}

header a {
  text-decoration: none;
  flex-shrink: 0;
}

header button {
  background-color: #ffffff;
  color: #0f4c75;
  border: 2px solid #ffffff;
  padding: 0.5rem 1.5rem;
  font-size: clamp(0.85rem, 2.5vw, 1rem);
  font-weight: 600;
  font-family: poppins, sans-serif;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

header button:hover {
  background-color: #0f4c75;
  color: #ffffff;
  transform: scale(1.05);
}

/* Mobile devices */
@media (max-width: 480px) {
  header {
    padding: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  header h2 {
    font-size: 0.9rem;
    flex: 1 1 100%;
    margin-bottom: 0.5rem;
  }
  
  header button {
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
  }
}

/* Tablets */
@media (min-width: 481px) and (max-width: 768px) {
  header h2 {
    font-size: 1.2rem;
  }
  
  header button {
    padding: 0.5rem 1.2rem;
  }
}