
/* === Global Resets === */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", serif; /* Customize the font family */
  font-size: 16px;
  color: #212529; /* Bootstrap default text color */
  background-color: #ffffff; /* Light gray background */
}

a {
  text-decoration: none; /* Remove underline */
  color: var(--theme-secondary); /* Default Bootstrap link color */
  transition: color 0.2s ease-in-out;
  font-family: "Inter", serif;
}

a:hover {
  color: var(--primary-color); /* Darken on hover */
}

/* === Focus Styles === */
:focus {
  outline: none !important; /* Remove default focus styles */
  box-shadow: none !important; /* Custom focus shadow */
}

/* === Headings === */
h1, h2, h3, h4, h5, h6 {    
  font-weight: 700;
  color: var(--heading-color);
  font-family: "Montserrat", serif;
}

h1 {
  font-size: 48px;
  line-height: 54px;
  letter-spacing: -0.8px;
  margin-bottom: 1rem;
}

h2 {
  font-size: 40px;
  line-height: 46px;
  letter-spacing: -0.7px;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 33px;
  line-height: 39px;
  margin-bottom: 0.8rem;
}

h4 {
  font-size: 28px;
  line-height: 32px;
  margin-bottom: 0.7rem;
}

h5 {
  font-size: 23px;
  line-height: 27px;
  margin-bottom: 0.7rem;
}

h6 {
  font-size: 19px;
  line-height: 23px;
  margin-bottom: 0.6rem;
}

p {
  color: var(--body-text);
  font-family: "Inter", serif;
  font-size: 16px;
  line-height: 1.6; /* Improves readability */
  margin-bottom: 1rem; /* Adjusted spacing */
}

p + p {
  margin-top: 0; /* Prevents large gaps between consecutive paragraphs */
}

.small-text {
  font-family: "Inter", serif;
  font-size: 14px;
  line-height: 18px;
  margin-bottom: 0.5rem;
}

span.subheading {
  font-family: "Montserrat", serif;
  color: var(--button-color);
  font-weight: 600;
  margin-bottom: 1.5rem;
  display: inline-block;
}

.color-primary {
  color: var(--primary-color);
}

.padding-right-100 {
  padding-right: 100px;
}

.sectionPadding {
  padding: 100px 0;
}

.sectionPadding-for-page-title {
  padding: 70px 0;
}

.inner-section {
  padding: 20px 0;
}

.pag-nav {
  margin-top: 40px;
}

/* === Buttons === */
button,
.btn {
    font-size: 0.875rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem; /* Consistent rounded corners */
    border: none;
    transition: background-color 0.2s, transform 0.2s;
    text-transform: uppercase;
}

.btn-search {
  border: 1px solid var(--button-color);
  padding: 6px 6px;
  border-radius: 8px;
  cursor: pointer;
  background-color: var(--white-color);
}

.btn-nav {
  font-size: 0.875rem;
  padding: 0.49rem 1.5rem;
  border-radius: 0.5rem; 
  text-transform: uppercase;
  line-height: 24px;
  border: 1px solid var(--button-color);
  cursor: pointer;
}

.shadow-one {
  box-shadow: 0px 6px 14px rgba(0, 0, 0, 0.15);
}

.color-theme-secondary {
  color: var(--theme-secondary) !important;
}

.color-white {
  color: #FFFFFF !important;
}

.color-button {
  color: var(--button-color) !important;
}


/* === Tables === */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
    border: 1px solid #dee2e6;
}

th,
td {
    padding: 0.75rem;
    text-align: left;
    border: 1px solid #dee2e6;
}

th {
    background-color: #e9ecef;
    font-weight: bold;
}

/* === Forms === */
input,
textarea,
select {
    display: block;
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    font-size: 1rem;
    color: #495057;
    background-color: #fff;
    transition: border-color 0.2s ease-in-out;
}

input:focus,
textarea:focus,
select:focus {
    outline: none !important;
    border-color: transparent;
    box-shadow: none
}

input[type="radio"],
input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    accent-color: var(--theme-secondary); /* Bootstrap blue */
}

/* === Links === */
.link-primary {
    color: var(--theme-secondary);
    text-decoration: underline;
}

.link-primary:hover {
    color: #0056b3;
}

/* === Utilities === */
/* Add spacing utilities for padding and margins */
.spacing-sm {
    margin: 0.5rem;
    padding: 0.5rem;
}

.spacing-md {
    margin: 1rem;
    padding: 1rem;
}

.spacing-lg {
    margin: 2rem;
    padding: 2rem;
}



/* Use variables in custom styles */
.btn-primary {
  background-color: var(--button-color) !important;
  color: #fff;
  transition: transform 0.3s;
  position: relative;
  display: inline-block;
  overflow: hidden;
}

.btn-primary:hover {
  background-color: #0056b3; /* Darker shade */
}



img {
  width: 100%;
}

/* pagination */
.active > .page-link, .page-link.active {
	z-index: 3;
	color: var(--white-color);
	background-color: var(--button-color);
	border-color: var(--button-color);
}

.csf-copyright {
	display: none;
}

/* ================================= */
/* Header Global*/
/* ================================= */

#topbar {
  background-color: var(--theme-secondary);
  color: var(--white-color);
}

.topbar-box {
  padding: 6px 0px;
}

ul.top-menu {
  list-style: none;
  margin: 4px 0px;
  padding: 0;
  display: flex;
}

ul.top-menu li.top-menu-item {
  display: inline;
  border-right: 1px solid var(--white-color);
  padding: 0px 15px;
}

ul.top-menu li.top-menu-item:first-child {
  padding-left: 0;
}

ul.top-menu li.top-menu-item:last-child {
  border-right: none ;
}

.top-menu-item a {
  color: var(--white-color);
  font-size: 12px;
  line-height: 16px;
  padding: 0px 5px;
  /* display: inline-block; */
}

.top-menu-item a:first-child {
  padding-left: 0;
}

.top-menu-item a:last-child {
  padding-right: 0;
}


#branding {
  background-color: var(--white-color);
  padding: 10px 0;
}

.branding-box {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.custom-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  object-position: center;
}

.head-logo-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-text {
  font-size: 2rem;
  font-weight: 600;
  line-height: 2.4rem;
  margin-bottom: 0px !important;
  font-family: "Montserrat", serif;
}

.logo-text-link {
  color: var(--heading-color);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}
.mobile-cta {
  display: none;
}

.navbar .navbar-nav .active {
  background-color: var(--button-color);
}


/* Mobile menu icon */

.navbar-toggler {
	border: none;
	padding-right: 0;
	padding-left: 0;
}

.navbar-toggler-icon {
  color: #FFF;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.5 12.5a.5.5 0 01.5-.5h12a.5.5 0 010 1h-12a.5.5 0 01-.5-.5zm0-4a.5.5 0 01.5-.5h12a.5.5 0 010 1h-12a.5.5 0 01-.5-.5zm0-4a.5.5 0 01.5-.5h12a.5.5 0 010 1h-12a.5.5 0 01-.5-.5z'/%3E%3C/svg%3E"); /* Custom color for the hamburger icon */
}


.logo {
  width: 60px;
  height: 60px;
}

.navbar {
  background-color: var(--primary-color);
}


.nav-item:last-child {
  margin-right: 0;
}

.nav-link {
  color: var(--white-color);
  font-size: 16px;
  font-weight: 400 !important;
  line-height: 18px;
  font-family: "Montserrat", serif;
  padding: 13px 16px !important;
  display: block;
}

.nav-link:hover {
  color: var(--white-color);
  background-color: var(--button-color);
}

.navbar-nav .nav-link.active {
  color: var(--white-color);
  font-weight: 600;
  background-color: var(--button-color);
}



/* ==================================== */
/* Hero carousel */
/* ==================================== */
.slick-hero-slider,
.slick-hero-slider .slide {
  height: 650px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.slick-hero-slider .overlay {
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
}

.slide-content {
  color: var(--white-color) !important;
}

.slider-heading {
  color: var(--white-color);
  font-size: 48px;
  line-height: 54px;
  font-weight: 600;
}

.slider-text {
  font-size: 20px;
  color: var(--white-color);
  font-family: "Montserrat", serif;
  max-width: 500px;
}



/* ==================================== */
/* FunFact */
/* ==================================== */

#home-funfact {
  padding: 50px 0;
  background-color: #F8F8F8;
}

.funFact-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.funFact-box {
  display: flex;
  align-items: center;
  gap: 20px;  
  transition: transform 0.2s;
}

.funFact-box h6 {
  color: var(--primary-color);
}

.fun-icon {
  width: 50px;
  height: 50px;
}




/* ==================================== */
/* Home About */
/* ==================================== */
#home-about {
  background-color: var(--white-color);
}

.home-about-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.professor-quotes-card {
  border: 1px solid var(--theme-secondary);
  border-radius: 12px;
  box-sizing: border-box;
  padding: 25px;
}

.professor-quotes-card-footer {
  display: flex;
  gap: 20px;
}

.professor-quotes-image {
  width: 60px;
  height: 60px;
}

.professor-quotes-image img {
  border-radius: 8px;
  border: 1px solid var(--theme-secondary);
  width: 60px;
  height: 60px;
  object-fit: cover;
  object-position: top;
}

.professor-quotes-name {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-size: 18px;
  line-height: 23px;
  color: var(--primary-color);
}

hr.primary-line {
  margin: 0.38rem 0;
  color: var(--button-color);
}


/* ==================================== */
/* Home Department */
/* ==================================== */

#homeDepartment {
  background-color: #F8F8F8;
}

.department-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 24px;
}

.home-department-card {
  background: var(--white-color);
  border: 1px solid var(--theme-secondary);
  box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  padding: 24px;
  transition: background-color 0.3s;
}

.home-department-card:hover {
  background-color: var(--primary-color);
  color: var(--white-color);
}

.department-card-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.department-card-list-item-link {  
  text-decoration: none; /* Removes underline */
  color: var(--primary-color);
}

.department-card-list-item-link::before {
  font-family: "Font Awesome 5 Free";
  content: "\f105"; /* FontAwesome icon code for chevron-right */
  font-weight: 900;
  margin-right: 8px;
  color: var(--primary-color);
}

.home-department-card:hover .department-card-heading, 
.home-department-card:hover p,
.home-department-card:hover .department-card-list-item-link,
.home-department-card:hover .department-card-list-item-link::before {
  color: var(--white-color);
}


.home-department-card:hover .department-card-list-item-link:hover::before {
  color: var(--button-color);
}



/* Department Archive */

.department-archive-card {
  background: var(--white-color);
  border: 1px solid var(--theme-secondary);
  box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  padding: 24px;
}

span.faculty-name {
  color: var(--theme-secondary);
  margin-bottom: 8px; 
  display: inline-flex;
  align-items: center;
  gap: 10px; 
}

span.faculty-name::before {
  content: "";
  display: inline-block;
  width: 20px; /* Adjust length */
  height: 2px; /* Adjust thickness */
  background-color: var(--theme-secondary); /* Change color if needed */
}


/* Single Department */

ul.department-programs-list {
  margin: 0;
  padding: 0;
}

ul.department-programs-list a.department-programs-list-item {
  display: block;
}

.department-faculty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.department-faculty-member-card {
  display: flex;
  padding: 10px;
  gap: 10px;
  background-color: #F8F8F8;
  border-radius: 8px;
}

.department-faculty-member-image {
  width: 60px;
  height: 60px;
  object-fit: cover;
  object-position: center;
  border-radius: 6px;
}

.department-faculty-member-card a.dep-fac-card-name {
  font-size: 18px;
  line-height: 20px !important;
  font-family: "Montserrat", serif;
  font-weight: 600;
  color: var(--primary-color);
  display: block;
  margin-bottom: 5px;
}

.extra-small-text {
  font-size: 12px;
  line-height: 14px;
  color: var(--secondary-color);
  margin-bottom: 0;
}

ul.department-overview {
  margin: 24px 0 !important;
  padding: 10px 0 0 !important;
  list-style: none;
  border-top: 1px solid var(--theme-secondary);
  display: flex;
  flex-wrap: wrap;
  row-gap: 10px;
  column-gap: 20px;
}

.department-overview li {
  display: inline-block;
  /* padding-top: 10px; */
}



/* ==================================== */
/* Home Notice Section */
/* ==================================== */
#homeNotice {
  position: relative;
  height: auto;   
  overflow: hidden;
}

#homeNotice::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--primary-color); /* Adjust opacity as needed */
  mix-blend-mode: multiply;
  z-index: 1;
}

#homeNotice .container {
  position: relative;
  z-index: 2;
} 

.home-notice-board {
  background-color: #F8F8F8;
  border-radius: 8px;
}

.home-notice-board-header {
  display: flex;
  /* align-items: center; */
  gap: 10px;
  background-color: var(--theme-secondary);
  padding: 14px 25px;
  border-radius: 8px 8px 0 0;
  border: none;
}

.home-notice-board-header .notice-icon {
  width: 30px;
  height: 30px;
  display: inline-block;
}

.home-notice-board-body {
  background-color: #F8F8F8;
  padding: 12px 0;
  border-radius: 0 0 8px 8px;
}

.home-notice-board-item {
  background-color: #F8F8F8;
  transition: background-color 0.3s;
  padding: 0;
}

.notice-headline {
  font-family: "Montserrat", serif;
  font-size: 19px;
  line-height: 24px;
  font-weight: 600;
  color: var(--primary-color);
  transition: 0.3s;
  padding: 10px 25px;
  position: relative;
}

p.no-notice {
  font-size: 19px;
  line-height: 24px;
  font-weight: 600;
  color: var(--primary-color);
  transition: 0.3s;
  padding: 10px 25px;
}

.notice-headline::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 25px;
  width: 92%; /* Control border width here */
  height: 1px; /* Border thickness */
  background-color: #afafaf49;
}

.home-notice-board-item:last-child .notice-headline::after {
  content: none; /* Remove the border for the last item */
}

.notice-headline span {
  margin-top: 4px;
  color: var(--theme-secondary);
  transition: 0.3s;
}

.home-notice-board-item:hover {
  background-color: var(--button-color) !important;
}

.home-notice-board-item:hover .notice-headline, 
.home-notice-board-item:hover .notice-headline span {
  color: var(--white-color) !important;
}


/* Notice archive */
.notice-filter-form {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.filter-group {
  display: flex;
  gap: 10px;
}

.filter-select, .filter-date {
  padding: 5px;
  font-size: 14px;
}

.filter-button {
  padding: 5px 15px;
  background: #007bff;
  color: #fff;
  border: none;
  cursor: pointer;
}

.filter-button:hover {
  background: #0056b3;
}



/* ==================================== */
/* Teacher */
/* ==================================== */

#boardMember {
  background-color: #F8F8F8;
}

.teachers-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  justify-items: start;
}

.dipartemnt-teachers-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px; /* Adjust the gap between items */  
  justify-items: start;
}

.teachers-card {
  border-radius: 13px 13px 12px 12px;
  transition: transform 0.3s ease-in-out, 
  box-shadow 0.3s ease-in-out;
  background-color: var(--theme-secondary);
  display: flex;
  flex-direction: column;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.teachers-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15); /* Optional: Adds a subtle shadow effect */
}

.teacher-image {
  border-radius: 12px 12px 0 0;
  height: 300px;
  object-fit: cover;
  object-position: top;
}

.teacher-image-home {
  border-radius: 12px 12px 0 0;
  min-width: 200px;
  height: 300px;
  object-fit: cover;
  object-position: top;
}

.teacher-intro {
  background-color: var(--theme-secondary);
  padding: 20px;
  border-radius: 0 0 12px 12px;
  margin-top: -2px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.teachers-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--secondary-light);
  padding-top: 5px;
  margin-top: 8px;
}

.popular-badge {
  position: absolute;
  top: 20px;
  left: -40px;
  color: #fff;
  font-weight: bold;
  padding: 5px 10px;
  transform: rotate(-45deg); /* Angle the badge */
  z-index: 10; /* Ensure it appears above the image */
  font-size: 12px;
  text-transform: uppercase;
  width: 150px;
  text-align: center;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
}

.teachers-social-address i {
  color: var(--white-color);
  font-size: 18px;
}

.fa-power-off {
  font-size: 16px !important;
}


/* Single Teacher */

.single-teacher-intro-box {
  display: flex;
  gap: 35px;
  align-items: center;
}

.single-teacher-image {
  width: 270px;
  height: 300px;
  border-radius: 12px;
  padding: 10px;
  border: 1px solid var(--secondary-light);
  overflow: hidden;
}

.single-teacher-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
}

.single-teacher-name {
  font-size: 40px;
  line-height: 44px;
  font-weight: 700;
}

.single-teacher-into-details {
  margin: 0;
  padding: 0;
  list-style: none;
}

.single-teacher-into-details-item {
  color: var(--body-text);
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 8px;
}

.single-teacher-into-details-item:last-child {
  margin-bottom: 0;
}

.single-teacher-into-details-item a {
  color: var(--body-text);
}

.single-teacher-into-details-item:hover a {
  color: var(--theme-secondary);
}

.single-teacher-into-details-item:last-child:hover a {
  color: var(--body-text);
}

.subject-sub-item {
  margin: 0;
  padding: 0;
  list-style: none;
}

.subject-sub-item-list:hover a {
  color: var(--theme-secondary) !important;
}

.teacher-details {
  padding-top: 50px;
}


/* ==================================== */
/* Students */
/* ==================================== */

.student-bio {
  padding: 24px;
  background-color: var(--light-color);
  border-radius: 16px;
  margin-top: 50px;
  font-style: italic;
  color: var(--primary-color);
}




/* ==================================== */
/* Notice */
/* ==================================== */
.edu360teem-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 999;
}

.edu360teem-popup-content {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  width: 80%;
  max-width: 500px;
  margin: 100px auto;
  position: relative;
}

.edu360teem-popup-close {
  position: absolute;
  top: 10px;
  right: 15px;
  cursor: pointer;
  font-size: 24px;
}

.popup-notice-container {
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.popup-notice-container:last-child {
  border-bottom: none;
  margin-bottom: 0;
}



/* ==================================== */
/* Home Events */
/* ==================================== */


.events-card {
  background-color: var(--primary-color);
  border: 1px solid var(--primary-color);
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  transition: box-shadow 0.3s ease-in-out;
}

.event-card-image {
  position: relative;
  overflow: hidden;
  border-radius: 10px 10px 0 0;
  border: 1px solid var(--primary-color);
  
}

.event-card-image img {
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 250px;
  transition: transform 0.3s ease-in-out;
}

.events-card:hover .event-card-image img {
  transform: scale(1.1); /* Zoom effect */
}

.event-date {
  position: absolute;
  background-color: var(--button-color);
  color: var(--white-color);
  font-family: "Montserrat", serif;
  padding: 6px 24px;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  width: fit-content;
  left: -2%;
  top: -35px;
  transform: translate(-2%, 50%);
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease-in-out;
}

.event-date:hover {
  background-color: var(--white-color);
  color: var(--button-color) !important;
}

.color-blue {
  background-color: var(--theme-secondary);
}

.event-card-body {
  padding: 20px;
  position: relative;
  z-index: 1;
}

.event-headline {
  margin-top: 20px;
}

.event-location {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-size: 14px;
  font-family: "Inter", serif;
  font-weight: 500;
  color: var(--secondary-light);
  margin-top: 16px;
  width: 100%;
}

.event-location img {
  width: 20px;
  height: 20px;
  margin-right: 6px;
}


/* ==================================== */
/* CTA Goup */
/* ==================================== */
#CTA {
  position: relative;
  height: auto;   
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

#CTA::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(2, 66, 122, 0.7);
  z-index: 1;
}

#CTA .container {
  position: relative;
  z-index: 2;
} 

.cta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.cta-link {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(109, 207, 251, 0.6);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s ease-in-out;
}

.cta-link:hover {
  background: rgba(255, 255, 255, 0.2); /* Slightly increase background opacity */
  border-color: rgba(109, 207, 251, 0.8); /* Enhance border visibility */
  transform: translateY(-5px); /* Add a subtle lift effect */
  box-shadow: 0 4px 10px rgba(109, 207, 251, 0.2); /* Add a soft glow */
}

.cta-icon {
  width: 50px;
  height: 50px;
  object-fit: cover;
  object-position: center;
}


/* ==================================== */
/* Blog News */
/* ==================================== */


.news-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background-color: #F8F8F8;
  border-radius: 12px;
}

.news-header {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}


.news-header img {
  border-radius: 12px;
  max-height: 250px;
  width: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
  transition: transform 0.3s ease-in-out;
}

.news-card:hover .news-header img {
  transform: scale(1.1);
}

.news-body {
  padding: 0 20px 20px 20px;
  gap: 16px;
}

.news-date {
  color: var(--theme-secondary);
  font-weight: 500;
  padding-bottom: 10px;
  display: block;
  border-bottom: 1px solid #afafaf6e;
}
.news-title {
  color: var(--primary-color);
}

.news-excerpt {
  font-size: 14px;
  line-height: 22px;
}

/* single blog News page */
.single-news-header {
  border-radius: 12px;
  height: 450px;
  margin-bottom: 20px;
}

.single-news-header img {
  border-radius: 12px;
  height: 450px;
  width: 100%;
  object-fit: cover;
  object-position: center;
}


/* FAQ */
.faq-item { 
  margin-bottom: 10px; 
  padding: 10px; 
  border: 1px solid #ddd; 
  background: #f9f9f9; 
}
.remove-faq {
  margin-top: 5px;
  background: #d9534f;
  color: #fff;
  border: none;
}


/* ==================================== */
/* Gallery Slider */
/* ==================================== */

#homeGallery {
  position: relative;
}

.gallery-item {
  position: relative;
  height: 500px;
  width: 100%;
  border-radius: 16px;
  overflow: hidden; /* Ensures the pseudo-element stays within the border radius */
}

.gallery-item img {
  height: 500px;
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  object-position: center;
}

/* Adding the soft black gradient overlay */
.gallery-item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.blur-bg {
  position: absolute;
  width: 500px; /* Adjust as needed */
  height: 500px; /* Adjust as needed */
  background: #6dcefb71;
  filter: blur(250px);
  border-radius: 50%; /* Optional: Makes it circular */
  z-index: -1; /* Ensures it stays in the background */
  top: -30%;
  left: -20%;
}


/* ==================================== */
/* Page Title */
/* ==================================== */

.page-title-section {
  background-color: #F8F8F8;
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0;
}

.archive-description {
  font-size: 1.2rem;
  margin-top: 10px;
  color: var(--body-text);
  font-weight: 400;
}

.breadcrumb {
  margin: 20px 0 0;
}

.breadcrumb li {
  font-size: 1rem;
  font-weight: 400;
  color: var(--secondary-color);
}

.breadcrumb li a {
  text-decoration: none;
  font-weight: 400;  
}


.breadcrumb li::after {
  content: "›";
  margin: 0 10px;
  color: var(--theme-secondary);
}

.breadcrumb li:last-child::after {
  content: "";
}


/* ==================================== */
/* Blog */
/* ==================================== */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 24px;
}

.page-link {
  color: var(--theme-secondary);
}

.page-link:hover {
  background-color: var(--button-color);
  color: var(--white-color);
  border-color: var(--button-color);
}

/* Sidebar */

.widget {
  background-color: #F8F8F8;
  padding: 24px;
  margin-bottom: 24px;
  border-radius: 12px;
}

.widget:last-child {
  margin-bottom: 0;
}


/* ==================================== */
/* Program CPT */
/* ==================================== */
ul.program-overview {
  margin: 0 0 20px 0;
  padding: 24px;
  display: flex;
  flex-wrap: wrap;
  background-color: #F8F8F8;
  border-radius: 12px;
  list-style: none;
  column-gap: 24px;
  row-gap: 8px;
  align-items: center;
}

li.program-item {
  display: inline-block;
}

li.program-item::before {
  font-family: "Font Awesome 6 Free"; /* Font Awesome লোড করতে হবে */
  content: "\f101"; /* User Icon */
  font-weight: 900; /* Bold আইকন */
  margin-right: 4px;
  color: #acacac;
}

.accordion-header .accordion-button {
  font-size: 18px;
  line-height: 26px;
  text-transform: inherit;
  font-weight: 600;
}

.accordion-button:not(.collapsed) {
	color: var(--primary-color);
	background-color: var(--secondary-light);
	box-shadow: none;
}




/* ==================================== */
/* Custom Widget */
/* ==================================== */

.widget-title {
  margin-bottom: 20px;
}

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

.widget ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
}

.widget ul li a {
  color: var(--primary-color);
}

.widget ul li::before {
  content: "\f105"; /* FontAwesome icon code for chevron-right */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary-color); /* Icon color */
}

/* ==================================== */
/* Comment */
/* ==================================== */
/* Comment Section */
.comment-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

#comments, .comment-reply-title {
  font-size: 28px;
}

/* Individual Comment */
.comment {
  padding: 15px 0;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  /* border-bottom: 1px solid #ddd; */
}

.comment-author {
  font-weight: bold;
  color: #333;
  margin-bottom: 5px;
}

.comment-author img.avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover !important;
  object-position: center !important;
}

.comment-author .fn {
  font-size: 24px;
}

.comment-author span.says {
  display: none;
}

.comment-author a {
  color: #0073aa;
  text-decoration: none;
}

.comment-author a:hover {
  text-decoration: underline;
}

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

.comment-body {
  font-size: 1em;
  color: var(--body-text);
}

.reply {
  margin-top: -10px;
}

/* Comment Form */
.comment-form input,
.comment-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1em;
}

.comment-form input[type="submit"] {
  background-color: #0073aa;
  color: white;
  border: none;
  cursor: pointer;
}

.comment-form input[type="submit"]:hover {
  background-color: #005a8e;
}

/* Comment Form Layout */
.comment-form .comment-form-author,
.comment-form .comment-form-email {
  width: 48%;
  display: inline-block;
  margin-right: 4%;
}

.comment-form .comment-form-url {
  width: 48%;
  display: inline-block;
  margin-left: 4%;
}

.comment-form .comment-form-comment {
  width: 100%;
  display: inline-block;
}

/* For Mobile Devices */
@media (max-width: 768px) {
  .comment-form .comment-form-author,
  .comment-form .comment-form-email,
  .comment-form .comment-form-url {
      width: 100%;
      display: block;
      margin-bottom: 10px;
  }

  .comment-form input[type="submit"] {
      width: 100%;
  }
}







/* ==================================== */
/* Footer */
/* ==================================== */

#footer {
  background-color: var(--primary-color);
  padding: 70px 0 30px;
}

.container-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 50px;
}

.widget-heading {
  color: var(--white-color);
  margin-bottom: 1.5rem;
}

.footer-column {
  margin-bottom: 40px;
}

.footer-column .widget-list {
  margin: 0;
  padding: 0;
  list-style: none;
  position: relative;
}

.footer-column .widget-list li::before {
  display: none;
}

.footer-column .widget-list a {
  color: var(--white-color);
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 18px;
  transition: transform 0.3s ease-in-out;
}

.widget-list-link:hover {
  color: var(--secondary-light);
}

.widget-list-link:last-child {
  margin-bottom: 0;
}

.footer-column ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-column ul li a {
  color: var(--white-color);
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 18px;
  transition: transform 0.3s ease-in-out;
}

.footer-column ul li a:hover {
  color: var(--secondary-light);
}

.footer-copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  padding-top: 30px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-copyright p {
  font-size: 14px;
  line-height: 18px;
}

.footer-column ul.edu360teem-social-links {
  display: flex;
  gap: 20px;
}

.footer-column ul.edu360teem-social-links li {
  display: inline-block;
}

.footer-column ul.edu360teem-social-links li a {
  display: inline-block;
  color: var(--button-color);
  font-size: 18px;
}


/* ==================================== */
/* Form & Search */
/* ==================================== */
.login-form {
  background-color: #F8F8F8;
  padding: 24px;
  border-radius: 12px;
  margin: 60px auto;
  display: block;
  max-width: 400px;
}

.registration-form {
  background-color: #F8F8F8;
  padding: 24px;
  border-radius: 12px;
  margin: 60px auto;
  display: block;
  max-width: 600px;
}

.nav-pills {
  background-color: var(--theme-secondary);
  border-radius: 12px;
  overflow: hidden; /* Ensures child elements respect border radius */
}

.nav-pills .nav-link {
  color: var(--white-color);  
  font-weight: 500 !important;
  font-size: 16px;
  line-height: 20px;
  padding: 10px 20px;
  background-color: transparent;
  border-radius: 0; /* Remove individual border-radius */
}

.nav-pills .nav-link:first-child {
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.nav-pills .nav-link:last-child {
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}

.nav-pills .nav-link.active {
  background-color: var(--primary-color);
  color: var(--white-color);
}

.custom-search-form {
  display: flex;
  border: 1px solid var(--button-color);
  border-radius: 7px;
  background-color: var(--white-color);
}

.custom-search-form input {
  background: transparent;
  border: none;
}

.custom-search-form button {
  background-color: var(--button-color);
  color: var(--white-color);
  border-radius: 0 6px 6px 0;
}

.edu_search {
  margin: 0;
  padding: 0;
  list-style: none;
}

.edu_search .edu_search_item {
  margin-bottom: 20px;
}

.edu_search .edu_search_item::before {
  font-family: "Font Awesome 5 Free";
  content: "\f002"; /* FontAwesome icon code for search */
  font-weight: 900;
  margin-right: 8px;
  color: var(--theme-secondary);
}

.search-highlight {
  font-weight: bold;
}

.edu_search_item_link {
  font-size: 18px;
}

/* ==================== */

/* Search Form Wrapper */
.search-form-wrapper {
  display: none;
  position: absolute;
  top: 50px;
  right: 0;
  background-color: #fff;
  padding: 10px;
  border: 1px solid #ccc;
  z-index: 999;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  width: 350px;
  border-radius: 8px;
}

/* Show when active */
.search-form-wrapper.active {
  display: block;
}



/* ==================================== */
/* Responsive */
/* ==================================== */


@media (max-width: 575.98px) { 
  .carousel-caption {
    min-height: 650px;    
    gap: 20px;
    left: 5%;
    right: 5%;
  }

  .carousel-item {
    height: 650px;
    width: 100%;
    position: relative;
  }
  
  .carousel-item img {
    width: 100%;
    height: 650px;
    object-fit: cover;
    object-position: center;
  }
  .padding-right-100 {
    padding-right: 0px !important;
  }

  .single-news-header {
    height: 350px !important;
  }
  
  .single-news-header img {
    height: 350px !important;
  }

  .blog-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  }
  
  .search-form-wrapper {
    width: 100%;
  }
  

 }


@media (max-width: 767.98px) { 

  h1 {
    font-size: 36px;
    line-height: 42px;
  }

  h2 {
    font-size: 30px;
    line-height: 36px;
  }

  h3 {
    font-size: 26px;
    line-height: 32px;
  }

  h4 {
    font-size: 22px;
    line-height: 28px;
  }

  h5 {
    font-size: 19px;
    line-height: 24px;
  }

  h6 {
    font-size: 16px;
    line-height: 21px;
  }

  .container {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  #topbar {
    display: none;
  }

  .logo {
    width: 40px;
    height: 40px;
  }
  .logo-text {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.3rem;
  }

  .btn-nav {
    padding: 0.3rem 1rem;
    line-height: 20px;  
  }

  .btn-search {
    padding: 2px 4px;
  }

  .slider-heading {
    font-size: 38px;
    line-height: 42px;
  }
  
  .slider-text {
    font-size: 20px;
  }  

  .padding-right-100 {
    padding-right: 0px !important;
  }

  .teacher-image {
    min-width: 200px;
    height: 380px;
  }

  .teacher-image-home {
    min-width: 200px;
    height: 380px;
  }

  .gallery-item {
    height: 300px;    
  }
  
  .gallery-item img {
    height: 300px;
  }

  .footer-column {
    margin-bottom: 40px;
  }

  .single-teacher-intro-box {
    flex-direction: column;
    align-items: start;
    gap: 20px;
  }
  

}


@media (max-width: 991.98px) { 

  .md-margin-one {
    margin-bottom: 3rem;
  }

  .navbar {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
  }
  .header-cta {
    display: none; /* Remove .header-cta */
  }

  .branding-box {
    justify-content: center; 
  }

  .head-logo-box {
    width: 100%; 
    justify-content: center; 
    align-items: center;
  }

  .mobile-cta {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .padding-right-100 {
    padding-right: 20px;
  }

  .search-form-wrapper {
    left: 0;
  }

 }


@media (max-width: 1199.98px) { 
  
  .nav-link {
    color: var(--white-color);
    font-size: 14px;
    font-weight: 400;
    line-height: 16px;
    font-family: "Montserrat", serif;
    padding: 13px 16px !important;
    display: block;
  }

  .padding-right-100 {
    padding-right: 60px;
  }
  

 }



