/********** Common CSS Starts **********/  
* {
    margin:0px;
    padding:0px;
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    box-sizing:border-box;
    margin:0;
    padding:0;
    outline:0 
}
html {
    -webkit-text-size-adjust:100%;
    -ms-text-size-adjust:100%;
    font-size:10px;
    -webkit-tap-highlight-color:transparent 
}
html, body {
    font-family: Roboto, sans-serif, arial;
    font-size: 14px;
    color: #242424;
    font-weight: 400;
}
.container {
    width: 1100px;
    margin:0px auto;
    display:table;
}
.width-100 {
  width: 100%;
  max-width: 100%;
  height: 80%;
  overflow: hidden;
}

.main-banner {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.width-25 {
    width: 25%;
    float: left;
}
.width-33 {
    width: 33%;
    float: left;
}
.width-50 {
    float: left;
    width: 50%;
}
.width-66 {
    width: 66%;
    float: left;
}
.width-75 {
    width:75%;
    float: left;
}
.mt-20 {
    margin-top:20px;
}
.mt-30 {
    margin-top:30px;
}
.mt-50 {
    margin-top:50px;
}
.main-section{
    width: 100%;
    float: left;
    padding-top:70px;
    padding-bottom:70px;
}
/********** Common CSS Ends **********/
/********** Top Header CSS Starts **********/  
.header {
    background-color: #68bb59;
}
.head-left ul {
    list-style:none;
    float:left;
}
.head-left ul li {
    border-right: 1px solid rgba(255, 255, 255, .3);
    border-left: 1px solid rgba(255, 255, 255, .3);
    float: left;
    padding: 15px;
    color: white;
}
.head-left ul li a {
    color:white;
    text-decoration:none;
}
.notification {
    padding-top: 17px;
    color: white;
}
.notification span img {
    height: 14px;
    width: 30px;
}
.notification span {
    padding-right: 5px;
}
.head-right ul {
    list-style:none;
    float: right;
}
.head-right ul li {
    border-right: 1px solid rgba(255, 255, 255, .3);
    border-left: 1px solid rgba(255, 255, 255, .3);
    float: left;
    padding: 15px;
    color: white;
}
.head-right ul li a {
    color:white;
    text-decoration:none;
}
.head-span img {
    height: 14px;
    width: 30px;
}


/********** Top Header CSS Ends **********/

:root {
  --primary-color: #004080;
  --accent-color: #007bff;
  --text-color: #333;
  --bg-light: #f9f9f9;
  --bg-white: #ffffff;
  --border-color: #ddd;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Section wrapper */
.key-stage-tables-section {
  background-color: var(--bg-light);
  padding: 60px 20px;
  font-family: 'Segoe UI', sans-serif;
  transition: background 0.4s ease;
}

.key-stage-tables-section h2 {
  text-align: center;
  font-size: 2.4rem;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.key-stage-tables-section .subtitle {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 40px;
  color: #666;
}

/* Table container */
.stage-table {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  margin-bottom: 30px;
  padding: 30px;
  box-shadow: var(--shadow);
  transition: background 0.3s ease;
}

.stage-table:hover {
  background-color: #fdfdfd;
}

.stage-table h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-size: 1.8rem;
}

/* Table layout */
.stage-table table {
  width: 100%;
  border-collapse: collapse;
}

.stage-table th,
.stage-table td {
  text-align: left;
  padding: 14px;
  border-bottom: 1px solid #eee;
}

.stage-table th {
  width: 25%;
  font-weight: 600;
  color: var(--text-color);
}

.stage-table td {
  color: #444;
}

.stage-table ul {
  padding-left: 20px;
  list-style: none;
}

.stage-table ul li {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.stage-table ul li i {
  color: var(--accent-color);
  font-size: 1rem;
}

/* Apply Button */
.apply-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background-color: var(--accent-color);
  color: white;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.apply-btn:hover {
  background-color: #0056b3;
}

/* Table row hover (optional) */
.stage-table table tr:hover {
  background-color: #f1f9ff;
}

/* Responsive Accordion */
@media (max-width: 768px) {
  .stage-table table,
  .stage-table tbody,
  .stage-table tr,
  .stage-table td,
  .stage-table th {
    display: block;
    width: 100%;
  }

  .stage-table th {
    background-color: #f0f4f8;
    padding-top: 20px;
  }

  .stage-table tr {
    margin-bottom: 20px;
  }
}
body.dark-mode {
  --bg-light: #111;
  --bg-white: #1e1e1e;
  --text-color: #eee;
  --border-color: #333;
  --primary-color: #7cc6fe;
  --accent-color: #3399ff;
}

body.dark-mode .key-stage-tables-section h2,
body.dark-mode .stage-table h3,
body.dark-mode .stage-table th,
body.dark-mode .stage-table td {
  color: var(--text-color);
}

body.dark-mode .stage-table {
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.05);
}

  .logo {
    align-self: flex-end; /* pushes it down within flex */
    margin-bottom: 10px;
  }

  .shifted-logo {
    margin-top: 15px; /* or padding-top: 15px; */
  }
  
  
/* Position parent list items */
.dropdown {
  position: relative;
}

/* Hide dropdown by default */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 160px;
  background-color: #ffffff;
  list-style: none;
  padding: 0;
  margin: 0;
  border: 1px solid #ddd;
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-menu {
  display: block;
}

/* Style each dropdown item */
.dropdown-menu li a {
  display: block;
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
}

.dropdown-menu li a:hover {
  background-color: #f8f3f3;
}

  .apply-btn:hover {
    background-color: ;
  }
  
  .stage-table a {
    color: #f3ecec;
    text-decoration: none;
  }
  
  .stage-table a:hover {
    text-decoration: none;
  }
    
/********** Logo And Main Menu CSS Starts **********/  
.logo {
  border: none;
  padding: 0;
  margin: 0;
  background: transparent;
}

.logo img {
  height: 70px;
  width: auto;
  display: block;
  border: none;
  margin: 0;
  padding: 0;
  box-shadow: none;
  outline: none;
}

.head-menu {
    padding-top: 25px;
    padding-bottom: 12px;
}
.head-menu ul {
    list-style: none;
    float: right;
    font-size: 14px;
}
.head-menu ul li {
    float: left;
    padding-left:20px;
}
.head-menu ul li a {
    color: #4a4a4a;
    text-decoration: none;
    font-size: 17px;
    font-weight: bold;
}



/********** Logo And Main Menu CSS Ends **********/
/********** Slider CSS Starts **********/  

/********** Slider CSS Ends **********/
/********** Notice Board, Recent Event CSS Starts **********/  
.note-event {
    padding: 10px;
    border: 1px solid #e3e3e3;
    width: 48%;
    margin: 1%;
    float: left;
}

.notice-board {
    border: 5px solid #ffa38e;
    padding: 30px;
    color: white;
    background-color: #2a692ac7;
    width: 100%;
    float: left;
}
.notice-board ul {
    list-style: none;
    padding: 0px;
    width: 100%;
    float: left;
}
.notice-board ul li {
    font-size: 14px;
    margin-bottom: 20px;
    width: 100%;
    float: left;
}
.event-list {
    padding: 10px;
    width: 100%;
    float: left;
    border-bottom: 1px solid #e1e1e1;
}
.event-date {
    width: 80px;
    float: left;
    text-align: center;
    background: #76c568;
    color: #fff;
    padding: 10px 10px;
    border-radius: 5px;
}
.event-date p {
    font-weight: 400;
}
.event-date h4 {
    font-weight: 400;
    font-size:28px;
}
.event-content {
    width: calc(100% - 110px);
    float: left;
    margin-left: 10px;
    margin-top: 15px;
}
/********** Notice Board, Recent Event CSS Ends **********/

/********** Campus Information CSS Starts **********/  
.heading-text {
    color: #064727;
    font-size: 28px;
    line-height: 20px;
}
.heading-border {
    background-color: #ffc600;
    display: inline-block;
    height: 3px;
    margin-bottom: 0;
    margin-top: 0;
    position: relative;
    width: 100px;
}
.about-campus {
    width: 100%;
    float: left;
    padding: 20px;
}
.about-campus p {
    color: #65716b;
    font-size: 16px;
    margin-top: 15px;
    line-height: 23px;
}
.about-campus ul {
    list-style: none;
    margin-top: 30px;
    width: 100%;
    float: left;
}
.about-campus li {
    color: #626262;
    font-size: 15px;
    margin-bottom:8px;
}
.about-campus li i {
    color: #68bb59;
}
.about-year {
    margin-top:40px;
}
.about-year h3 {
    font-size: 45px;
    color: #68bb59;
    line-height: 0;
}
.about-year span {
    font-size: 40px;
    color: #68bb59;
    position: relative;
    bottom: 5px;
}
.about-year h5 {
    font-size: 14px;
    font-weight: 400;
    margin-top:20px;
}
.about-campus a {
    padding: 15px;
    border: none;
    background-color: #68bb59;
    color: white;
    border-radius: 2px;
    font-size: 14px;
    margin-top:25px;
    float:left;
    text-decoration:none;
}
/********** Campus Information CSS Ends **********/

/********** Achievement CSS Starts **********/  
.achievement, .achievement-banner {
    padding: 20px;
    margin-right: 15px;
    
}
.achievement h3 {
    margin-top: 15px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.1px;
}
.achievement p {
    margin-top: 10px;
    font-size: 15px;
    line-height: 22px;
    letter-spacing: 0.1px;
}
.achievement a {
    padding: 10px 14px;
    background-color: #68bb59;
    color: white;
    border-radius: 2px;
    font-size: 14px;
    margin-top: 15px;
    text-decoration: none;
    float: left;
}

.achievement-banner h5 {
    font-size: 16px;
    padding:0px;
    margin:0px;
    margin-top: 10px;
    line-height: 20px;
}
.achievement-banner p {
    font-size: 16px;
    margin-top: 2px;
}
/********** Achievement CSS Ends **********/
/********** Popular Courses CSS Starts **********/  
.bg-lightgrey {
    background-color:#f7f7f7;
}
.course-list {
    text-align: center;
    margin-bottom: 20px;
    padding: 20px 0px;
    width: 90%;
    float: left;
}
.course-list i {
    font-size:20px;
}
.popular-course h2 {
    color: #064727;
    font-size: 28px;
}
.popular-course p {
    font-size: 14px;
    margin-top: 10px;
    line-height: 25px;
    font-weight: 400;
}
.popular-course a {
    text-decoration: none;
    color: #064727;
    float: left;
    margin-top: 20px;
}
.bg-yellow {
    background:#ffc252 
}
.bg-blue {
    background: #add8e6;
}
.bg-green {
    background: #90ee90;
}
.bg-grey {
    background: #d3d3d3;
}
/********** Popular Courses CSS Ends **********/
/********** Testimonial CSS Starts **********/  
/********** Testimonial CSS Starts **********/
.testimonials {
  background: linear-gradient(to right, #f8f9fa, #eef2f7);
  padding: 60px 20px;
  text-align: center;
}

.testimonials h2 {
  font-size: 2.4rem;
  color: #1a237e;
  margin-bottom: 40px;
  font-weight: 700;
}

.slider-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.slider {
  display: flex;
  transition: transform 0.6s ease-in-out;
  width: 100%;
}

.testimonial-card {
  flex: 0 0 100%;
  background-color: #ffffff;
  padding: 40px 30px;
  box-sizing: border-box;
  border-radius: 15px;
  min-height: 220px;
}

.testimonial-card p {
  font-style: italic;
  font-size: 1.2rem;
  color: #444;
  line-height: 1.8;
  margin-bottom: 20px;
}

.testimonial-card h4 {
  color: #007bff;
  font-weight: 600;
  font-size: 1rem;
  margin: 0;
}

.slider-nav {
  position: absolute;
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 15px;
  pointer-events: none;
}

.slider-nav button {
  background-color: #1a237e;
  color: white;
  border: none;
  border-radius: 50%;
  padding: 10px 14px;
  font-size: 20px;
  cursor: pointer;
  pointer-events: auto;
  transition: background 0.3s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.slider-nav button:hover {
  background-color: #3949ab;
}

/* Responsive Fixes */
@media (max-width: 768px) {
  .testimonials {
    padding: 40px 10px;
  }

  .testimonials h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .testimonial-card {
    padding: 25px 15px;
    font-size: 0.95rem;
  }

  .testimonial-card p {
    font-size: 1rem;
  }

  .slider-nav button {
    font-size: 16px;
    padding: 8px 12px;
  }
}

@media (max-width: 480px) {
  .testimonials h2 {
    font-size: 1.6rem;
  }

  .testimonial-card {
    padding: 20px 12px;
  }

  .slider-nav {
    top: auto;
    bottom: 15px;
  }
}
/********** Testimonial CSS Ends **********/

/********** Testimonial CSS Ends **********/
/********** Placement CSS Starts **********/  
.placement {
    background-image:url('../images/bg-img.jpg');
    background-size:cover;
    height:400px;
}
.placement-sect {
    padding: 50px;
}
.placement-sect h2 {
    color: #4a4a4a;
    font-size: 40px;
    letter-spacing: 1px;
}
.placement-sect h3 {
    color: #4a4a4a;
    font-size: 30px;
    margin-top: 20px;
}
.placement-sect h4 {
    color: #4a4a4a;
    font-size:25px;
    margin-top:10px;
}
.placement-sect p {
    color: #4a4a4a;
    font-size:18px;
    margin-top:10px;
}
ul.placement-company {
    width: 100%;
    float: left;
    padding: 0px;
}
.placement-company li {
    width: 25%;
    float: left;
    text-align: center;
    list-style: none;
}
.placement-company li img {
    width: auto;
    height: 70px;
    max-width: 100%;
}

  
/********** Placement CSS Ends **********/
/********** Gallery CSS Starts **********/  
.gallery {
    width:100%;
    float:left;
    margin-top:30px;
}
.gallery img {
    height: auto;
    width: 98%;
}
/********** Gallery CSS Ends **********/
/********** Teachers Section CSS Starts **********/  
.our-teacher {
    padding:20px;
    width:100%;
    float:left;
}
.our-teacher p {
    font-size:15px;
    line-height: 25px;
    margin-top:10px;
}
.our-teacher a {
    background: #68bb59;
    color: #fff;
    padding: 14px 20px;
    float: left;
    text-decoration: none;
    font-size: 16px;
    margin-top:20px;
}
.meet-tech {
    position: relative;
}
.meet-tech img {
    border-radius: 8px;
    width: 100%;
    height: auto;
    padding:5px;
}
.meet-tech-div {
    position: absolute;
    bottom: 20px;
    left: 65px;
    border-radius: 5px;
    text-align: center;
    background-color: white;
    padding:10px;
}
/********** Teachers Section CSS Ends **********/
/********** Footer CSS Starts **********/  
.footer-section {
    background-color:#1f2836;
    padding-top: 70px;
    padding-bottom:70px;
    width:100%;
    float:left;
}
.footer-link h2 {
    color:#fff;
    text-align:left;
    margin-bottom: 20px;
}
.footer-link p {
    color: #fff;
    line-height: 20px;
    padding: 0px 30px 0px 0px;
}
.social-icon {
    list-style: none;
    margin-top:20px;
}
.social-icon li {
    float: left;
    padding-left: 10px;
}
.social-icon li a i {
    color: #fff;
    font-size: 18px;
    padding: 5px 10px;
}
.social-icon .fa-twitter {
    background: #2ed1ff;
}
.social-icon .fa-whatsapp {
    background: #4CAF50;
}
.social-icon .fa-facebook {
    background: #3b5998;
}
.social-icon .fa-linkedin {
    background: #3b5998;
}
.footer-link {
  margin-bottom: 30px;
}

.footer-link h2 {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.footer-menu {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.footer-menu li {
  margin-bottom: 10px;
}

.footer-menu a {
  color: #ccc;
  font-size: 16px;
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: color 0.3s ease;
}

.footer-menu a i {
  color: #f4b400;
  margin-right: 10px;
}

.footer-menu a:hover {
  color: #ffffff;
}

.footer-contact {
    list-style: none;
    padding: 0px;
    width: 100%;
    float: left;
    color: #fff;
}
.note-text {
  display: none;
  margin-top: 10px;
  color: #444;
}
.course-list.active .note-text {
  display: block;
}

.footer-contact li {
    width: 100%;
    float: left;
    margin-bottom: 10px;
}
.footer-contact span {
    padding-left:5px;
}
.newsletter p {
    margin-bottom:10px;
}
.newsletter input {
    width: 100%;
    float: left;
    padding:10px;
}
.newsletter button {
    width: 100%;
    float: left;
    padding: 10px;
    border: none;
    border-radius: 4px;
    background-color: gold;
    margin-top:10px;
}
@media screen and (max-width: 768px) {
    .container {
      width: 100%;
      padding: 0 15px;
      display: block;
    }
  
    /* Column widths to stack vertically */
    .width-25,
    .width-33,
    .width-50,
    .width-66,
    .width-75 {
      width: 100% !important;
      float: none;
    }
  
    /* Header */
    .head-left ul,
    .head-right ul {
      float: none;
      text-align: center;
    }
  
    .head-left ul li,
    .head-right ul li {
      display: inline-block;
      float: none;
    }
  
    /* Menu */
    .head-menu ul {
      float: none;
      text-align: center;
    }
  
    .head-menu ul li {
      float: none;
      display: inline-block;
      padding: 10px 15px;
    }
  
    /* Logo placement */
    .logo {
      text-align: center;
    }
  
    /* Key Stage Tables Responsive Fix */
    .stage-table {
      padding: 20px 10px;
    }
  
    /* Testimonials layout */
    .testimonial-container {
      flex-direction: column;
      align-items: center;
    }
  
    /* Two-in-a-row logos → 1 per row on small screens */
    .placement-company li {
      width: 50% !important;
      margin-bottom: 15px;
    }
  
    /* Events, notices, etc. */
    .note-event {
      width: 100% !important;
      margin: 10px 0;
    }
  
    .event-date {
      width: 100%;
      text-align: left;
      margin-bottom: 10px;
    }
  
    .event-content {
      width: 100%;
      margin-left: 0;
    }
  
    /* Gallery images */
    .gallery img {
      width: 100%;
    }
  
    /* Teacher image card overlay fix */
    .meet-tech-div {
      position: static;
      margin-top: 10px;
    }
  
    /* Footer layout */
    .footer-link,
    .newsletter {
      text-align: center;
    }
  
    .footer-menu li {
      width: 100%;
      text-align: center;
    }
  
    .footer-contact li {
      text-align: center;
    }
    
  }
  .menu-toggle {
    display: none;
    cursor: pointer;
    padding: 10px;
    position: absolute;
    top: 10px;
    right: 15px;
    z-index: 999;
  }
  
  .menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #333;
    margin: 5px 0;
  }
  
  @media screen and (max-width: 768px) {
    .menu-toggle {
      display: block;
    }
  
    .header .container {
      flex-direction: column;
      display: none;
    }
  
    .header .container.active {
      display: flex;
    }
  
    .head-left, .head-right, .notification {
      width: 100%;
      float: none;
      text-align: center;
      margin: 10px 0;
    }
  
    .head-left ul,
    .head-right ul {
      float: none;
      display: flex;
      flex-direction: column;
      align-items: center;
    }
  
    .head-left ul li,
    .head-right ul li {
      float: none;
      border: none;
      padding: 10px 0;
    }
  
    .notification {
      margin-top: 10px;
    }
  }

 /* Hamburger toggle button */
.menu-toggle {
    display: none;
    cursor: pointer;
    padding: 10px;
  }
  
  .menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #333;
    margin: 4px 0;
  }
  
  /* Mobile styles */
  @media screen and (max-width: 768px) {
    .nav-container {
      flex-wrap: wrap;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
  
    .logo {
      width: 100%;
      justify-content: flex-start;
    }
  
    .menu-toggle {
      display: block;
    }
  
    .head-menu {
      display: none;
      width: 100%;
      float: none;
    }
  
    .head-menu.active {
      display: block;
    }
  
    .head-menu ul {
      display: flex;
      flex-direction: column;
      padding: 0;
      margin: 0;
    }
  
    .head-menu ul li {
      width: 100%;
      padding: 10px 0;
      border-bottom: 1px solid #eee;
    }
  
    .head-menu ul li a {
      padding-left: 10px;
      display: block;
      color: #333;
    }
  }
   
  .achievement-wrapper {
    width: 100%;
    padding: 0;
    margin: 0;
  }
  
  .achievement-banner {
    padding: 0;
    border: none;
    box-shadow: none;
  }
  
  .achievement-banner img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
  }
  
  
  /* ========== Responsive Mobile View ========== */
  @media (max-width: 991px) {
    .achievement-wrapper {
      width: 50%;
    }
  
    .achievement-banner {
      padding: 18px;
    }
  
    .achievement-banner h5 {
      font-size: 20px;
    }
  
    .achievement-banner p {
      font-size: 15px;
    }
  }
  .logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 0;
  background-color: #ffffff;
}

.logo-img {
  max-height: 400px; /* adjust size */
  max-width: 100%;
  object-fit: contain;
  display: block;
  background-color: transparent;
  border: none;
  filter: drop-shadow(2px 2px 0 rgba(0, 0, 0, 0.7));
}

  
  @media (max-width: 600px) {
    .achievement-wrapper {
      width: 100%;
      float: none;
      padding: 10px 0;
    }
  
    .achievement-banner {
      padding: 16px;
    }
  
    .achievement-banner h5 {
      font-size: 18px;
    }
  
    .achievement-banner p {
      font-size: 14px;
    }
  }
 .bg-red {
  background-color: #ff4d4d;
  color: white;
}
.bg-blue {
  background-color: #4da6ff;
  color: white;
}
.bg-green {
  background-color: #47d147;
  color: white;
}
.bg-purple {
  background-color: #a64dff;
  color: white;
}
.bg-orange {
  background-color: #ff9933;
  color: white;
}
.course-list {
  padding: 20px;
  border-radius: 10px;
  margin: 10px 0;
  cursor: pointer;
  transition: 0.3s ease-in-out;
}
.course-list:hover {
  transform: scale(1.05);
}
.note-text {
  display: none;
  font-size: 0.85em;
  color: #000; /* darker color */
  font-weight: bold; /* bolder text */
  margin-top: 8px;
}


   
    
/********** Footer CSS Ends **********/
