/* ********************HEADER************************** */
/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Header Wrapper */
.smg-header {
  width: 100%;
  font-family: Arial, sans-serif;
  position: sticky;
  top: 0;
  z-index: 999;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}


.navbar {
  display: flex;
  justify-content: center;
  align-items: center;


  background: #fff;
  position: relative;
  width: 100%;
  transition: all 0.3s ease-in-out;
}

.navbar.sticky {
  position: fixed;
  top: 0;
  left: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 999;
}

.navbar-left {
  display: flex;
  align-items: center;
}

.navbar-left img {
  height: 60px;


}

.navbar-right {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.navbar-right ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 0;
  padding: 0;
}

.navbar-right ul li a {
  text-decoration: none;
  color: black;
  padding: 15px 12px;
  transition: 0.3s;
  font-family: Arial, sans-serif;
}

.navbar-right ul li a:hover {
  color: #6255fa;
}

.navbar-right .theme-btn1 {
  background-color: #20c997;
  color: #fff !important;
  padding: 8px 14px;
  border-radius: 4px;
  text-decoration: none;
}

.navbar-right .theme-btn1:hover {
  background-color: #6255fa;
  color: white !important;
}

.navbar-right .theme-btn2 {
  background-color: #6255fa;
  color: #fff !important;
  padding: 8px 15px;
  border-radius: 4px;
  text-decoration: none;
}

.navbar-right .theme-btn2:hover {
  background-color: #20c997;
  color: white !important;
}


/* ********************FOR PHONE******************************* */

/* Phone (Hamburger) Menu Style */
.phone-header {
  display: none;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  background: #fff;
  width: 100%;

  position: fixed;
  top: 0 !important;
  left: 0;
  z-index: 10000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.phone-header img {
  height: 50px;
}

.phone-menu-toggle {
  font-size: 24px;
  cursor: pointer;
  border: none;
  background: none;
}

.phone-menu {
  display: none;
  flex-direction: column;
  background: #fff;
  position: absolute;
  top: 60px;
  left: 0;
  width: 100%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.phone-menu a {
  padding: 12px;
  border-bottom: 1px solid #eee;
  text-decoration: none;
  color: #000;
  font-family: Arial, sans-serif;
}

.phone-menu a:hover {
  background: #f5f5f5;
  color: #6255fa;
}

/* Responsive: Show phone menu below 992px */
@media (max-width: 992px) {
  .navbar {
    display: none;
  }

  .phone-header {
    display: flex;
  }

  .preloader {
    display: none;
  }
}

*****************************/carousel banner***********************

/* ***Start nav section*** ********************************************/
.followus {
  display: flex;
  gap: 10px;
}

/* *********************************************************** MAIN NAVBAR SECTION************************************************************************ */
.smglogo {

  height: 56px;
  width: auto;
  object-fit: contain;

  margin-left: 80px;

  cursor: pointer;
}

/* ***************************** */
.menu-item.has-children {
  position: relative;
}

.menu-item>a {
  padding: 10px 5px;
  display: block;
  font-family: Arial, sans-serif;
  text-decoration: none;
  color: #000;
}

.menu-item .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  border: 1px solid #ccc;
  list-style: none;
  padding: 10px 0;
  display: none;
  z-index: 999;
  min-width: 200px;
}

.menu-item:hover .sub-menu {
  display: block;
}

.menu-item .sub-menu li a {
  padding: 8px 15px;
  display: block;
  color: #333;
  text-decoration: none;
}

.menu-item .sub-menu li a:hover {
  background-color: #6255fa;
  color: #fff !important;
}

/* @media screen and (max-width: 992px) {
  .mm-ul {
    flex-direction: column;
  }

  .menu-item .sub-menu {
    position: static;
    display: none;
  }

  .menu-item:hover .sub-menu {
    display: block;
  }
} */

/* ******************************** */
.mm-main-menu {
  position: relative;
  z-index: 1000;
}

.mm-ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

.mm-dropdown {
  position: relative;
}

.mm-dropdown>button {
  padding: 6px 15px;
  border: 1px solid #6255fa;
  color: #6255fa;
  font-size: 16px;
  font-family: Arial, Helvetica, sans-serif;
  border-radius: 5px;
  background: transparent;
  cursor: pointer;
  margin-left: 15px;
}

.mm-dropdown>button a {
  color: inherit;
  text-decoration: none;
}

.mm-mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 900px;
  background: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 20px;
  z-index: 999;
  display: none;
  flex-direction: row;
}

.mm-mega-menu.active {
  display: flex;
}

.mm-mega-left {
  flex: 1;
  padding-right: 20px;
}

.mm-menu-group {
  margin-bottom: 15px;
  border: 1px groove;
  padding: 5px;
  cursor: pointer;
}

.mm-menu-group h4 {
  font-size: 16px;
  font-weight: 800;
}

.mm-menu-group p {
  font-size: 12px;
  color: #444;
  margin: 0;
}

.mm-mega-right {
  flex: 2;
  display: flex;
  flex-direction: column;
}

.mm-container {
  width: 100%;
  padding: 5px;
}

.mm-row {
  display: none;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.mm-row.active {
  display: flex;
}

.mm-col {
  flex: 0 0 calc(50% - 10px);
  box-sizing: border-box;
}

.mm-card {
  background-color: #fff;
  padding: 15px;
  box-shadow: 0 0 8px gray;
  text-align: left;
  font-weight: bold;
  border-radius: 6px;
  transition: 0.3s ease;
  cursor: pointer;
  color: black;
}

.mm-card:hover {

  color: white !important;
}

/* @media screen and (max-width: 992px) {
  .mm-mega-menu {
    width: 100%;
    flex-direction: column;
    left: 0;
  }

  .mm-col {
    flex: 1 1 100%;
  }
} */

/* *********************************************************** MAIN NAVBAR SECTION END************************************************************************ */
.aboutus {
  display: none;
}

.mainabout:hover .aboutus {
  display: block;

}

/* **************libary***************** */
/* ====== Library Section ====== */
.library {
  padding: 40px 20px;
  text-align: center;
    margin: 0 auto;  
    max-width: 1150px;
  
}

.library h2 {
  font-size: 32px;
  margin-bottom: 10px;
  color: #222;
}

.library p {
  font-size: 18px;
  margin-bottom: 25px;
  color: #555;
}

/* ====== Search Bar ====== */
.search-bar {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.search-bar input {
  width: 60%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px 0 0 6px;
  font-size: 16px;
  outline: none;
}

.search-bar button {
  padding: 12px 20px;
  border: none;
  background: #03a4ed;
  color: #fff;
  font-size: 16px;
  border-radius: 0 6px 6px 0;
  cursor: pointer;
  transition: background 0.3s;
}

.search-bar button:hover {
  background: #0286c7;
}

/* ====== Categories Tabs ====== */
.categories {
  display: flex;
  
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
  gap: 10px;
  
}

.categories button {
  background: #eee;
  border: none;
  padding: 10px 18px;
  font-size: 15px;
  cursor: pointer;
  border-radius: 6px;
  transition: 0.3s;
}

.categories button:hover,
.categories button.active {
  background: #03a4ed;
  color: #fff;
}

/* ====== Books Grid ====== */
.books-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 25px;
  padding: 10px;

}

.book-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0px 4px 8px gray;
  overflow: hidden;
  text-align: center;
  padding: 20px;
  transition: transform 0.3s;
}

.book-card:hover {
  transform: translateY(-8px);
}

.book-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 15px;
}

.book-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: #222;
}

.book-card p {
  font-size: 14px;
  margin-bottom: 12px;
  color: #666;
}

/* ====== Buttons ====== */
.btn {
  display: inline-block;
  background: #03a4ed;
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.3s;
}

.btn:hover {
  background: #6255fa !important;
  color: white !important;
}

/* ====== Responsive ====== */
@media (max-width: 768px) {
  .library h2 {
    font-size: 26px;
  }
  .library p {
    font-size: 16px;
  }
  .search-bar input {
    width: 70%;
  }
  .book-card img {
    height: 150px;
  }
  .books-grid{
    display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}


/* *************************** HOME CAROUSEL *************************** */
.carusel_p {
  max-width: 100%;
  position: relative;
  overflow: hidden;
}

.carousel {
  width: 100%;
  position: relative;
}

.slides {
  display: flex;
  width: 100%;
  transition: transform 0.6s ease-in-out;
}

.slide {
  flex: 0 0 100%; /* each slide takes 100% */
  position: relative;
}

.banner_img {
  width: 100%;
  height: 300px;
  display: block;
  object-fit: cover;
}

/* Overlay Content */
.banner_content {
  position: absolute;
  top: 12%;
  left: 10%;
  color: #fff;
  max-width: 600px;
  z-index: 2;
}

.banner_content h2 {
  /* font-size: 36px; */
  font-weight: 700;
  /* margin-bottom: 15px; */
}

.banner_content h2 span {
  color: rgba(255, 128, 0, 0.879);
}

.banner_content p {
  font-size: 20px;
  margin: 5px 0;
  color: white;
  
}

.btn {
  display: inline-block;
  margin-top: 5px;
  background:#FD5D14;
  color:white;
  padding: 10px 30px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: 0.3s;
}

.btn:hover {
  background-color:rgba(255, 128, 0, 0.879); ;
  color: #000;
}

/* Logo on Corner */
.banner_logo {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 80px;
  height: auto;
  z-index: 3;
}

/* Responsive */
@media (min-width: 767px) and (max-width: 992px) {
  .carusel_p {
  max-width: 100%;
  position: relative;
  overflow: hidden;
  padding-top: 65px;
}
  .banner_img {
  width: 100%;
  height: 500px;
  display: block;
  object-fit: cover;
}
  /* .banner_content h2 {
    font-size: 28px;
  } */
  .banner_content p {
    font-size: 25px;
  }
  .btn {
    padding-top: 10px;
    font-size: 28px;
    padding: 15px 48px;
  }
  /* .banner_logo {
    width: 60px;
  } */
}

@media (max-width: 768px) {
  .banner_content {
    top: 30%;
    left: 5%;
    max-width: 100%;
  }
  .banner_content h2 {
    font-size: 20px;
  }
  .banner_content p {
    font-size: 14px;
  }
  .btn {
    font-size: 14px;
    padding: 8px 20px;
  }
  .banner_logo {
   display: none;
  }
}

/* *************************************HOME ABOUT***************************************** */

.about-smgedu {
  padding: 40px 20px;
  background-color: #f2f6fc;
}

.about-wrapper {
  max-width: 1150px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.about-img {
  flex: 1 1 45%;
  text-align: center;
}

.about-img img {
  width: 100%;
  max-width: 500px;
  /* border-radius: 16px;
            box-shadow: 0 10px 30px gray; */
}

.about-content {
  flex: 1 1 50%;
}

.about-content h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #6255fa;
}

.about-content h2 em {
  font-style: normal;
  color: black;
}

.about-content h2 span {
  color: #6255fa;
}

.about-content p {
  font-size: 16px;
  color: #333;
  line-height: 1.6;
  margin-bottom: 30px;
}

.stats-boxes {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.stat-box {
  flex: 1 1 30%;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 15px gray;
  transition: transform 0.3s, box-shadow 0.3s;
}

.stat-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px grey;
}

.stat-box i {
  font-size: 32px;
  color: #6255fa;
  margin-bottom: 10px;
}

.stat-box h3 {
  font-size: 24px;
  color: black;
  margin: 10px 0;
}

.stat-box p {
  font-size: 14px;
  color: black;
}

/* Responsive */
@media (max-width: 992px) {

  .about-img,
  .about-content {
    flex: 1 1 100%;
  }


  .about-content {
    text-align: center;
  }

  .stats-boxes {
    justify-content: center;
  }

  .stat-box {
    flex: 1 1 45%;
  }

  .about-smgedu {
    padding: 15px 20px;

  }
}

@media (max-width: 576px) {
  .stat-box {
    flex: 1 1 100%;
  }

  .about-content h2 {
    font-size: 26px;
  }

  .about-content p {
    font-size: 14px;
  }
}



/* ******* ***************************************************for about section******************************************* ********* */
.smg-process-section {
  padding: 60px 20px;
  background: #f9f9ff;
}

.process-subtitle {
  font-size: 14px;
  font-weight: 600;
  color: #6c63ff;
  background: #ececff;
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.process-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 40px;
}

.process-title span {
  color: #6c63ff;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  justify-items: center;
}

.process-card {
  background: white;
  padding: 30px 20px;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease;
}



.step-number {
  background-color: #6c63ff;
  color: white;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 14px;
  margin-bottom: 15px;
  display: inline-block;
}

.step-icon {
  font-size: 32px;
  color: #6c63ff;
  margin-bottom: 15px;
}

/* *******  start   blog -***** */
.position-relative {
  position: relative;
}

.badge-overlay {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  width: auto;
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
}

/* ****** start blog details html****** */


.container {
  max-width: 1200px;
  margin: auto;
  padding: 30px 20px;
}

.header {
  text-align: center;
  margin-bottom: 40px;
}

.header h1 {
  font-size: 36px;
  margin-bottom: 10px;
}

.layout {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.blog-content {
  flex: 1 1 65%;
  background: white;
  padding: 25px;
  border-radius: 8px;
}

.blog-img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 20px;
}

.meta {
  color: #777;
  font-size: 14px;
  margin-bottom: 10px;
}

.badge {
  background: #ff5722;
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  margin-right: 10px;
}

.blog-content h2 {
  font-size: 24px;
  margin-top: 0;
}

blockquote {
  background: #f0f0f0;
  padding: 15px;
  margin: 20px 0;
  border-left: 5px solid #6c63ff;
  font-style: italic;
}

blockquote img {
  width: 25px;
  margin-right: 10px;
  vertical-align: middle;
}

.author h3 {
  margin-bottom: 5px;
}

.learn-box h3 {
  margin-top: 30px;
  font-size: 20px;
}

.learn-box ul {
  padding-left: 0;
  list-style: none;
}

.learn-box li {
  margin-bottom: 10px;
  font-size: 15px;
}

.sidebar {
  flex: 1 1 30%;
  background: white;
  padding: 25px;
  border-radius: 8px;
}

.search-box {
  display: flex;
  margin-bottom: 30px;
}

.search-box input {
  flex: 1;
  padding: 8px;
  border: 1px solid #ccc;
  border-right: none;
  border-radius: 4px 0 0 4px;
}

.search-box button {
  padding: 8px 12px;
  background: #6c63ff;
  color: white;
  border: none;
  border-radius: 0 4px 4px 0;
}

.widget h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.widget ul {
  list-style: none;
  padding: 0;
}

.widget ul li {
  margin-bottom: 8px;
  font-size: 14px;
}

.recent {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.recent img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 5px;
}

.tags span {
  display: inline-block;
  background: #e0e0e0;
  margin: 5px 5px 0 0;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 13px;
}

@media (max-width: 768px) {
  .layout {
    flex-direction: column;
  }

  .blog-content,
  .sidebar {
    flex: 1 1 100%;
  }
}

/* 
*****home gallery***** */

/* Fade-up animation */
.fade-up-text,
.fade-up-img {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 0.8s ease forwards;
}

.fade-up-text {
  animation-delay: 0.2s;
}

.gallery-fade-up .fade-up-img:nth-child(1) {
  animation-delay: 1s;
}

.gallery-fade-up .fade-up-img:nth-child(2) {
  animation-delay: 1.2s;
}

.gallery-fade-up .fade-up-img:nth-child(3) {
  animation-delay: 1.4s;
}

.gallery-fade-up .fade-up-img:nth-child(4) {
  animation-delay: 1.6s;
}

.gallery-fade-up .fade-up-img:nth-child(5) {
  animation-delay: 1.8s;
}

.gallery-fade-up .fade-up-img:nth-child(6) {
  animation-delay: 2s;
}

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

/* Thumbnail styling */
.gallery-thumbnail {
  height: 220px;
  overflow: hidden;
  border-radius: 10px;
  position: relative;
}

.gallery-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* Hover zoom effect */
.gallery-thumbnail:hover img {
  transform: scale(1.08);
}

/* Title under image */
.gallery-title {
  text-align: center;
  margin-top: 12px;
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

/* ****************************WHY CHOOSE HOME************************************* */


.why-choose-section {

  color: #fff;
  padding: 0 20px;
  padding-top: 35px;
  text-align: center;
}

.why-choose-section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.why-choose-section h2 span {
  color: #6255fa;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1150px;
  margin: 0 auto;
}

.feature-card {
  background: #fff;
  color: #4a2a47;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 8px 20px grey;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px grey;
}

.feature-card .icon {
  font-size: 40px;
  color: #6255fa;
  margin-bottom: 20px;
}

.feature-card h4 {
  font-size: 20px;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  line-height: 1.6;
}

@media(max-width: 768px) {
  .why-choose-section h2 {
    font-size: 2rem;
  }
}


/* *** contact*************************************** */
.contact-section {
  background: #f9f9f9;
  padding: 100px 20px 80px;
  font-family: 'Segoe UI', sans-serif;
}

.contact-section .section-title {
  text-align: center;
  margin-bottom: 50px;
}

.contact-section .section-title .sub-heading {
  display: inline-block;
  color: #6255fa;
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 10px;
}

.contact-section .section-title h2 {
  font-size: 36px;
  margin-bottom: 10px;
}

.contact-section .section-title h2 span {
  color: #6255fa;
}

.contact-section .section-title p {
  color: #666;
  font-size: 16px;
}

/* Info Boxes */
.contact-section .ef-iconic-info-box {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
}

.contact-section .ef-iconic-info-box .icon {
  font-size: 22px;
  margin-right: 15px;
  color: #6255fa;
  min-width: 30px;
  margin-top: 4px;
}

.contact-section .ef-iconic-info-box h4 {
  margin: 0 0 5px;
  font-size: 18px;
  color: #222;
}

.contact-section .ef-iconic-info-box p {
  margin: 0;
  font-size: 15px;
  color: #555;
}

.contact-section .ef-iconic-info-box a {
  color: #6255fa;
  text-decoration: none;
}

.contact-section .ef-iconic-info-box a:hover {
  text-decoration: underline;
}

/* Form */
.contact-section .contact-wrapper {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.contact-section .contact-wrapper h3 {
  margin-bottom: 25px;
  font-size: 22px;
  color: #6255fa;
}

.contact-section .contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 5px;
  margin-top: 15px;
  color: #333;
}

.contact-section .contact-form input,
.contact-section .contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  outline: none;
  transition: 0.3s ease;
}

.contact-section .contact-form input:focus,
.contact-section .contact-form textarea:focus {
  border-color: #6255fa;
  box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.15);
}

.contact-section .contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-section .theme-btn {
  margin-top: 20px;
  background: #6255fa;
  color: #fff;
  padding: 12px 25px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-section .theme-btn:hover {
  background: #20c997;
}

/* Responsive */
@media (max-width: 992px) {
  .contact-section .row {
    flex-direction: column;
  }

  .contact-section .contact-wrapper {
    margin-top: 40px;
  }
}



/* ************************ enquiry Now***************************** */
.enquiry-section {
  padding: 60px 20px;
  background-color: #fff;
}

.enquiry-section .container {
  max-width: 600px;
  margin: auto;
  background: #fafafa;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.enquiry-section .form-heading h2 {
  text-align: center;
  font-size: 28px;
  color: #6255fa;
  margin-bottom: 10px;
}

.enquiry-section .form-heading p {
  text-align: center;
  color: #666;
  margin-bottom: 30px;
}

.enquiry-section .enquiry-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.enquiry-section .enquiry-form span {
  color: red;
}

.enquiry-section .enquiry-form input,
.enquiry-section .enquiry-form select,
.enquiry-section .enquiry-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 15px;
}

.enquiry-section .enquiry-form textarea {
  resize: vertical;
}

.enquiry-section .submit-btn {
  display: inline-block;
  width: 100%;
  padding: 12px;
  background-color: #6255fa;
  color: #fff;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

.enquiry-section .submit-btn:hover {
  background-color: #20c997;
}




/* ************************** */
.vision-card {
  display: flex;
  flex-wrap: wrap;
  background: #fff;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  overflow: hidden;
}

.vision-text {
  flex: 1;
  padding: 40px;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.vision-text h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.vision-text p {
  font-size: 18px;
  line-height: 1.7;
  color: #333;
}

.vision-image {
  flex: 1;
  background: #f5f5f5;
}

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




/* ******************************************************** */
.contact-info-container {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  justify-content: center;
  margin: 60px 20px;
}

.ef-iconic-info-box {
  flex: 1 1 300px;
  max-width: 300px;
  background-color: #f9f9f9;
  padding: 20px 25px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.icon-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.icon-title i {
  font-size: 20px;
  color: #0056b3;
}

.icon-title h4 {
  font-size: 18px;
  margin: 0;
}

.ef-iconic-info-box p {
  font-size: 15px;
  margin: 0;
  color: #333;
}

.ef-iconic-info-box a {
  color: #0056b3;
  text-decoration: none;
}

.ef-iconic-info-box a:hover {
  text-decoration: underline;
}

/* Prevent background scroll */
body.no-scroll {
  overflow: hidden;
}

/* Sidebar */
.mobile-sidebar {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background-color: #fff;
  z-index: 9999;
  padding: 20px;
  transition: right 0.3s ease-in-out;
  overflow-y: auto;
}

.mobile-sidebar.active {
  right: 0;
}

/* Overlay */
.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 9998;
  display: none;
}

.mobile-overlay.active {
  display: block;
}

/* Mobile header (top bar) */
.mobile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background: #fff;
  border-bottom: 1px solid #ddd;
  z-index: 10000;
  position: relative;
}

/* Sidebar menu */
.sidebar-menu {
  list-style: none;
  padding: 0;
}

.sidebar-menu li {
  margin-bottom: 10px;
}

.sidebar-login-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 15px;
  background: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 4px;
}

.hamburger {
  cursor: pointer;
  font-size: 24px;
}

/* ******************************************************** */


/* *********************************************************** */



/* ***************************************************************** */


/* ************************************************************************ */


/* *************************************************************************** */


/* ******************************************************************************* */



/* ********************************************************************************* */


/* ************************************************************************************ */



/* *************************************************************************************** */
/* Responsive Map Section */
.ef-map-sec {
  padding: 30px 15px;
}

.contact-map-box iframe {
  width: 100%;
  height: 300px;
  border: none;
}

/* Optional: Adjust height for smaller screens */


/* ******************************************************************************************** */





/* *********************************************************************************************** */
/* ========== Global Responsive Fixes ========== */


/* ************************************************************************************************* */



/* *********************************************************************** */
/* Base styles - already present, just refining */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-thumb {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  height: 250px;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-thumb:hover img {
  transform: scale(1.05);
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.85);
  color: #000;
  padding: 10px 15px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-thumb:hover .overlay {
  opacity: 1;
}

.overlay h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

/* Mobile Responsive - Important */
@media only screen and (max-width: 768px) {
  .photo-gallery-section {
    padding: 40px 10px;
  }

  .section-title h2 {
    font-size: 22px;
  }

  .overlay h4 {
    font-size: 14px;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
  }

  .gallery-thumb {
    height: 180px;
  }

  .overlay {
    padding: 6px 10px;
  }

  .gallery-thumb:hover img {
    transform: scale(1.02);
  }
}

/* ******************************************************************************* */




/* *************************************************************************************** */
/* Base adjustments */
.card-title {
  font-size: 18px;
  line-height: 1.3;
}

/* Section spacing for smaller devices */
@media only screen and (max-width: 768px) {
  .ef-page-hero {
    padding: 60px 0 !important;
    background-position: center center;
  }

  .ef-page-hero .page-title {
    font-size: 24px;
  }

  .breadcrumb-link li a {
    font-size: 14px;
  }

  .blog-grid {
    padding: 40px 15px !important;
    margin-top: 60px !important;
  }

  .section-title h2 {
    font-size: 22px;
  }

  .section-title .sub-heading {
    font-size: 14px;
  }

  .card {
    border-radius: 12px;
  }

  .card-body {
    padding: 15px;
  }

  .card-title {
    font-size: 16px;
  }

  .card-img-top {
    height: auto;
    object-fit: cover;
  }

  .badge-overlay {
    font-size: 12px;
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 10px;
    border-radius: 6px;
  }

  .text-muted {
    font-size: 13px !important;
  }

  .row.gy-4>[class*='col-'] {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* ******************************************************************************************** */



/* ********************************************* */
/* Improved Map Section Styling */
.ef-map-sec {
  padding: 60px 15px;
  background-color: #f9f9f9;
}

.contact-map-box {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive iframe */
.contact-map-box iframe {
  width: 100%;
  height: 350px;
  border: none;
  display: block;
}

/* Further tweaks for very small devices */
@media screen and (max-width: 480px) {
  .ef-map-sec {
    padding: 40px 10px;
  }

  .contact-map-box iframe {
    height: 280px;
  }
}

/* ********************question bank*************************** */


/* ************************************************ */

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

body {
  font-family: "Segoe UI", sans-serif;
}

.navbar {
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 50px;
}

.logo img {
  height: 50px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 28px;
  margin-left: 30px;
  flex-grow: 1;
  justify-content: center;
}

.nav-links li a {
  text-decoration: none;
  font-size: 16px;
  color: #000;
  font-weight: 500;
  transition: 0.3s;
}

.nav-links li a:hover {
  color: #20c997;
  /* Light green on hover */
}

.btn-outline {
  padding: 10px 18px;
  border: 1.5px solid #6941c6;
  border-radius: 10px;
  color: #6941c6;
  display: inline-block;
  font-weight: 500;
  transition: 0.3s;
}

.btn-outline:hover {
  background-color: #e9e9ff;
}

.btn-outline i {
  margin-left: 5px;
  font-size: 12px;
}

.nav-buttons {
  display: flex;
  gap: 14px;
}

.btn-filled {
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 600;
  color: white;
  text-decoration: none;
  display: inline-block;
  font-size: 15px;
  transition: 0.3s;
}

.btn-filled:hover {
  background-color: #20c997 !important;
}

/* Specific Colors */
.green {
  background-color: #12b76a;
}

.purple {
  background-color: #6941c6;
}

/* **************** online test**************************** */
.online-test-section {
  font-family: 'Segoe UI', sans-serif;
  padding: 50px 0;
}

.test-header {
  text-align: center;
  padding-bottom: 30px;
}

.test-header h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.test-header p {
  font-size: 18px;
  color: #666;
}

.test-category-tabs .tabs {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tab {
  background: #f0f0f0;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  font-weight: 500;
  border-radius: 5px;
  transition: background 0.3s;
}

.tab.active,
.tab:hover {
  background: #00509e;
  color: #fff;
}

.test-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.test-card {
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

.test-card:hover {
  transform: translateY(-5px);
}

.test-card h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.test-card p {
  margin-bottom: 15px;
  color: #555;
}

.start-btn {
  display: inline-block;
  padding: 10px 20px;
  background: #00509e;
  color: white;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s;
}

.start-btn:hover {
  background: #003f7f;
}

/* ***********************  online test************** */

@media (max-width: 767px) {
  .container {
    padding: 15px;
    margin-top: 20px;
    margin-bottom: 30px;
  }

  .tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
  }

  .tabs button {
    /* flex: 1 45%; */
    font-size: 14px;
    margin-left: 20px;
    margin-right: 20px;

  }

  .test-card-grid {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .test-card {
    width: 100%;
    box-sizing: border-box;
  }

  .start-btn,
  .submit-btn {
    width: 100%;
    text-align: center;
    padding: 10px;
    font-size: 16px;
  }

  .question {
    font-size: 16px;
  }

  .question label {
    display: block;
    margin: 5px 0;
  }

  .timer {
    font-size: 16px;
    text-align: center;
  }

  .result-box {
    padding: 15px;
    font-size: 16px;
  }
}

/* ******************* student success story************************** */



.grid-container {
  display: grid;
  grid-template-columns: repeat(3, 2fr);
  /* Force 3 columns per row */
  gap: 20px;
  padding: 40px 20px;
  padding-left: 50px;
  padding-right: 50px;
  justify-content: center;
}

.poster {
  background-color: #ffffff;
  border: 1px solid #0077b6;
  border-radius: 10px;
  box-shadow: 0 5px 15px gray;
  overflow: hidden;
  padding: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.top-bar {
  height: 8px;
  width: 100%;
  background: linear-gradient(to right, #6255fa, #20c997);
  border-radius: 5px;
}

.logo {
  text-align: center;
  margin: 15px 0;
}

.logo img {
  max-width: 80px;
  height: auto;
}

.quote {
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  color: #003566;
  margin-bottom: 15px;
}

.content {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.photo {
  position: relative;
  /* flex: 1; */
  max-width: 120px;
}

.photo img {
  width: 100%;
  border-radius: 10px;
  border: 3px solid #ffdd57;
}

.name-tag {
  position: absolute;
  bottom: -10px;
  left: 0;
  right: 0;
  background-color: #6255fa;
  color: white;
  text-align: center;
  font-weight: bold;
  padding: 5px 0;
  font-size: 14px;
  border-radius: 0 0 6px 6px;
}

.details {
  flex: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.heading {
  font-size: 18px;
  font-weight: bold;
  color: #12b76a;
  margin-bottom: 5px;
}

.subtitle {
  font-size: 14px;
  color: #333;
}

.testimonial {
  font-size: 14px;
  color: #333;
  margin-top: 15px;
  line-height: 1.6;
}

.thank {
  margin-top: 15px;
  font-size: 16px;
  font-weight: bold;
  color: #20c997;
  text-align: right;
}

@media (max-width: 1280px) {
  .grid-container {
    grid-template-columns: repeat(2, 1fr);
    /* 2 columns on tablet */
  }
}

@media (max-width: 768px) {
  .grid-container {
    grid-template-columns: 1fr;
    /* 1 column on mobile */
  }
}

@media (max-width: 768px) {
  .page-title {
    font-size: 30px;
  }
}

.breadcrumb-link a:hover {
  color: #6255fa !important;
}



/* ****************** carausel********************* */


/* *************************************** */
.ef-iconic-box.style-three:hover {
  background-color: #6255fa;
  /* Optional: change background on hover for better contrast */
  color: #ffffff;

}

.ef-iconic-box.style-three:hover h5,
.ef-iconic-box.style-three:hover p {
  color: #ffffff;
}

.ef-iconic-box.style-three:hover .icon i {
  color: #ffffff;
}


/* ************ carausal****************************** */
.carousel-inner {
  width: 100%;
  height: 250px;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 8888888888888888888888888888888888888888888888888888888 */
.smg-footer {
  /* background: #111; */
  color: #fff;
  padding: 50px 20px 20px;
  font-family: 'Poppins', sans-serif;
}

.smg-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 1300px;
  margin: auto;
}

.smg-footer-col h4 {
  margin-bottom: 15px;
  font-size: 22px;
  color: white;
  font-weight: bold;
}

.smg-footer-col ul {
  list-style: none;
  padding: 0;
}

.smg-footer-col ul li {
  margin: 6px 0;
}

.smg-footer-col ul li a {
  text-decoration: none;
  color: #bbb;
  font-size: 17px;
  transition: 0.3s;
}

.smg-footer-col ul li a:hover {
  color: #6255fa;
}

.smg-footer-col p {

  color: #ccc;
  margin: 8px 0;
}

.smg-logo {
  max-width: 100px;
  margin-bottom: 10px;
}

.smg-tagline {
  font-size: 17px;
  color: #bbb;
}

.smg-social {
  margin-top: 15px;
}

.smg-social a {
  margin: 0 8px 0 0;
  color: #fff;
  font-size: 17px;
  transition: 0.3s;
}

.smg-social a:hover {
  color: #6255fa;
}

.smg-footer-bottom {
  border-top: 1px solid #333;
  margin-top: 30px;
  padding-top: 15px;
  text-align: center;
  font-size: 17px;
  color: #bbb;
}

/* ********************faculty********************** */
.faculty-section {
  background: #0b1d46;
  padding: 60px 20px;
  text-align: center;
}

.section-title {
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 40px;
}

.faculty-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.faculty-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  width: 360px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.faculty-card:hover {
  transform: translateY(-8px);
}

.faculty-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

.faculty-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 5px;
  color: #222;
}

.faculty-card p {
  font-size: 16px;
  color: #666;
}

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

  .faculty-card {
    width: 100%;
  }
}