
/* Fonts */
:root {
  --default-font: "Open Sans",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Raleway",  sans-serif;
  --nav-font: "Poppins",  sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #444444; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #37423b; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #5fcf80; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #272828;  /* The default color of the main navmenu links */
  --nav-hover-color: #5fcf80; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #272828; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #5fcf80; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #f9f9f9;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

/* General Styling & Shared Classes */

body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
  margin: 0;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/* Responsive Typography */
.header .sitename {
  font-size: 2.3em; /* Adjust this value as needed */
}

/* PHP Email Form Messages */
.php-email-form .error-message,
.php-email-form .sent-message,
.php-email-form .loading {
  display: none;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .error-message {
  background: #df1529;
  color: #ffffff;
}

.php-email-form .sent-message {
  background: #059652;
  color: #ffffff;
}

.php-email-form .loading {
  background: var(--surface-color);
  text-align: center;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Pulsating Play Button */
.pulsating-play-btn {
  width: 94px;
  height: 94px;
  background: radial-gradient(var(--accent-color) 50%, color-mix(in srgb, var(--accent-color), transparent 75%) 52%);
  border-radius: 50%;
  display: block;
  position: relative;
  overflow: hidden;
}

.pulsating-play-btn:before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  animation: pulsate-play-btn 2s forwards infinite steps;
  opacity: 1;
  border-radius: 50%;
  border: 5px solid color-mix(in srgb, var(--accent-color), transparent 30%);
  top: -15%;
  left: -15%;
  background: rgba(198, 16, 0, 0);
}

.pulsating-play-btn:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 100;
  transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.pulsating-play-btn:hover:before,
.pulsating-play-btn:hover:after {
  animation: none;
  transform: scale(1);
}

@keyframes pulsate-play-btn {
  0% {
    transform: scale(0.6);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}

/* Global Header */
/* Global Header */
.header {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 15px 5%;
  transition: all 0.5s;
  z-index: 997;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 100%;
}

/* Logo */
.header .logo {
  display: flex;
  align-items: center;
}

.header .logo img {
  max-height: 36px;
  margin-right: 8px;
}

.header .logo h1 {
  font-weight: 700;
  font-size: 28px;
  margin: 0;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent-color);
}

/* Navigation Menu */
/* Import Google Fonts for Elegant Typography */
/* Import Google Fonts for Elegant Typography */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Playfair+Display:wght@700&display=swap');

/* Header and Navigation Bar */
#header {
  background: rgba(255, 255, 255, 0.9); /* Semi-transparent white background */
  backdrop-filter: blur(10px); /* Glass morphism effect */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); /* Soft shadow */
  padding: 10px 0;
   position: sticky; 
  top: 0;
  z-index: 1000;
}

/* Container for Logo and Navigation */
.container-fluid.container-xl {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Logo Styling */
.logo {
  font-size: 2rem;
  font-weight: 700;
  font-family: 'Playfair Display', serif; /* Elegant font */
  color: #28a745; /* Green accent color */
  text-decoration: none;
  transition: color 0.3s ease;
}

.logo:hover {
  color: #218838; /* Darker green on hover */
}

/* Navigation Menu */
/* General Navbar Styles */

.navmenu {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* Ensure left-aligned items */
  margin-top: 10px;
}

 .navmenu.active {
  display: block;
  position: fixed;}


@media (max-width: 992px) {
  .navmenu {
    margin-top: 90px; /* Adjust for smaller screens */
  }
}

@media (max-width: 768px) {
  .navmenu {
    margin-top: 80px; /* Adjust for smaller screens */
  }
}

@media (max-width: 480px) {
  .navmenu {
    margin-top: 70px; /* Adjust for smaller screens */
  }
}


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

.navmenu ul li {
  position: relative;
  margin: 0 10px;
}

.navmenu ul li a {
  text-decoration: none;
  color: #333333; /* Dark text color */
  font-size: 1rem;
  font-weight: 500;
  font-family: 'Poppins', sans-serif !important; /* Modern font */
  padding: 10px 15px;
  border-radius: 25px; /* Rounded corners */
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.navmenu ul li a i {
  margin-right: 8px; /* Space between icon and text */
}

.navmenu ul li a:hover {
  color: #28a745; /* Green text on hover */
  background: rgba(40, 167, 69, 0.1); /* Light green background on hover */
}

/* Dropdown Menu */
.navmenu ul li.dropdown > a {
  display: flex;
  align-items: center;
}

.navmenu ul li.dropdown > a .bi-chevron-down {
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.navmenu ul li.dropdown:hover > a .bi-chevron-down {
  transform: rotate(180deg);
}

.navmenu ul li.dropdown ul {
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(255, 255, 255, 0.95); /* Semi-transparent white background */
  backdrop-filter: blur(10px); /* Glass morphism effect */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); /* Soft shadow */
  border-radius: 10px; /* Rounded corners */
  padding: 10px 0;
  display: none;
  min-width: 200px;
  z-index: 1000;
}

.navmenu ul li.dropdown:hover ul {
  display: block;
}

.navmenu ul li.dropdown ul li {
  margin: 0;
}

.navmenu ul li.dropdown ul li a {
  padding: 10px 20px;
  color: #333333; /* Dark text color */
  display: block;
  border-radius: 0;
}

.navmenu ul li.dropdown ul li a:hover {
  background: rgba(40, 167, 69, 0.1); /* Light green background on hover */
  color: #28a745; /* Green text on hover */
}

/* Mobile Navigation Toggle (Hamburger) */
.mobile-nav-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  font-size: 2rem;
  color: #333333;
  cursor: pointer;
  z-index: 1002;
}

.mobile-nav-toggle:hover {
  color: #28a745;
}


/* Show hamburger menu on smaller screens */
@media (max-width: 992px) {
  

  .navmenu {
    position: fixed;
    display: block;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 60px;
    transition: right 0.3s ease;
    z-index: 1001;
  }

  .navmenu.active {
    right: 0; /* Show menu when active */
  }


  .navmenu ul {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .navmenu ul li {
    margin: 0;
    width: 100%;
  }

  .navmenu ul li a {
    padding: 12px 20px;
    border-radius: 0;
    width: 100%;
  }

  .navmenu ul li.dropdown ul {
    position: static;
    box-shadow: none;
    display: none;
    padding-left: 20px;
  }

  .navmenu ul li.dropdown:hover ul {
    display: block;
  }

  .mobile-nav-toggle {
    display: block;
    z-index: 1002;
    
  }
}

@media (max-width: 768px) {
  .navmenu ul {
    flex-direction: column;
    padding: 20px 0;
  }

  .navmenu ul li {
    width: 100%;
  }

  .navmenu ul li a {
    padding: 15px 20px;
    font-size: 1.2rem; /* Adjust font size for mobile */
  }

  .mobile-nav-toggle {
    font-size: 2rem;
    position: fixed;
  }

  .navmenu.active {
    right: 0; /* Show menu when active */
  }

  .navmenu ul li.dropdown ul {
    position: static;
    box-shadow: none;
    display: none;
    padding-left: 20px;
  }

  .navmenu ul li.dropdown:hover ul {
    display: block;
  }
}

@media (max-width: 480px) {
  .navmenu ul li a {
    padding: 12px 20px;
    font-size: 1rem; /* Adjust font size for small mobile */
  }

  .mobile-nav-toggle {
    font-size: 2.2rem;
    position: fixed;
  }

  .navmenu {
    display: none;
    width: 100%;
  }

  .navmenu ul {
    padding-top: 10px;
  }

  .navmenu ul li {
    width: 100%;
  }

  .navmenu ul li a {
    padding: 12px 20px;
    font-size: 1rem;
    text-align: center; /* Center text for mobile */
  }
}

/*----------------------------------------
#news update
----------------------------------------*/

/* General styling */
.custom-news-ticker.body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f5f5f5;
}

/* News ticker container */
.custom-news-ticker {
  background: #d32f2f;
  color: white;
  font-size: 18px;
  font-weight: bold;
  display: flex;
  align-items: center;
  overflow: hidden;
  width: 100%;
  height: 50px; /* Set a fixed height for the ticker */
}

/* Stylish Announcements label */
.custom-ticker-label {
  background:#a52929;
  padding: 0 20px;
  color: white;
  font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  font-size: 20px;
  font-weight: bold;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%; /* Match height with ticker */
  border-right: 3px solid white;
}

.custom-ticker-label span {
  font-style: italic;
}

/* Wrapper to ensure smooth scrolling */
.custom-ticker-wrapper {
  width: 100%;
  overflow: hidden;
  display: flex;
}

/* Moving content */
.custom-ticker-content {
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%;
  animation: custom-ticker-scroll 35s linear infinite;
}

/* Scrolling animation */
@keyframes custom-ticker-scroll {
  from {
      transform: translateX(100%);
  }
  to {
      transform: translateX(-100%);
  }
}

/* Pause animation on hover */
.custom-news-ticker:hover .custom-ticker-content {
  animation-play-state: paused;
}

@media screen and (max-width: 768px) {
  .custom-news-ticker {
      font-size: 16px;
      height: 45px;
  }

  .custom-ticker-label {
      font-size: 16px;
      padding: 0 15px;
  }

  .custom-ticker-content {
      animation-duration: 18s;
      animation-delay: 1s; /* Slightly faster scrolling on smaller screens */
  }
}

/* Responsive Design for Mobile Phones */
@media screen and (max-width: 480px) {
  .custom-news-ticker {
      font-size: 14px;
      height: 40px;
  }

  .custom-ticker-label {
      font-size: 14px;
      padding: 0 10px;
  }

  .custom-ticker-content {
      animation-duration: 18s; /* Faster scrolling for small screens */
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/

/* Footer Styling */
.footer {
  background: rgba(36, 36, 61, 0.9); /* Semi-transparent background */
  backdrop-filter: blur(10px); /* Glassmorphic effect */
  box-shadow: 0px -5px 15px rgba(0, 0, 0, 0.2);
  color: #fff;
  padding: 50px 0;
  position: relative;
  font-family: 'Poppins', sans-serif;
}

/* Logo Styling */
.footer .logo span {
  font-size: 24px;
  font-weight: 700;
  color: #ffcc00;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Contact Info */
.footer-contact p {
  margin: 5px 0;
  font-size: 15px;
  color: #bbb;
}

.footer-contact p strong {
  color: #ffcc00;
}

/* Footer Links */
.footer-links h4 {
  font-size: 20px;
  font-weight: 700;
  color: #ffcc00;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 6px;
}

.footer-links h4::after {
  content: '';
  width: 60px;
  height: 3px;
  background: #ffcc00;
  position: absolute;
  bottom: 0;
  left: 0;
}

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

.footer-links ul li {
  padding: 7px 0;
}

.footer-links ul li a {
  color: #ddd;
  text-decoration: none;
  font-size: 15px;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links ul li a:hover {
  color: #ffcc00;
  transform: translateX(5px);
}

/* Copyright Section */
.copyright {
  margin-top: 30px;
  font-size: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 20px;
  text-align: center;
}

.credits a {
  color: #ffcc00;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.credits a:hover {
  color: #fff;
}


/* Responsive Design */
@media (max-width: 768px) {
  .footer-top .row {
      text-align: center;
  }

  .footer-links h4::after {
      left: 50%;
      transform: translateX(-50%);
  }

  .social-icons {
      text-align: center;
  }

  /* Mobile-only Social Icons */
.footer-social {
  margin-top: 30px;
  text-align: center;
}

.footer-social h4 {
  font-size: 18px;
  color: #ffcc00;
  margin-bottom: 15px;
}

.footer-social .social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.footer-social .social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 18px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  transition: 0.3s ease;
}

.footer-social .social-icons a:hover {
  background: #ffcc00;
  color: #222;
}

/* Hide on desktop */
@media (min-width: 768px) {
  .footer-social {
    display: none !important;
  }
}

}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  --default-color: var(--contrast-color);
  --background-color: var(--accent-color);
  --heading-color: var(--contrast-color);
  color: var(--default-color);
  background-color: var(--background-color);
  position: relative;
}

.page-title .heading {
  padding: 80px 0;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.page-title .heading h1 {
  font-size: 38px;
  font-weight: 700;
}

.page-title nav {
  background-color: color-mix(in srgb, var(--accent-color) 90%, black 5%);
  padding: 20px 0;
}

.page-title nav a {
  color: var(--default-color);
}

.page-title nav ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.page-title nav ol li+li {
  padding-left: 10px;
}

.page-title nav ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 900px;
  overflow: clip;
}

@media (max-width: 1199px) {
  section,
  .section {
    scroll-margin-top: 66px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 14px;
  font-weight: 500;
  padding: 0;
  line-height: 1px;
  margin: 0;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  position: relative;
}

.section-title h2::after {
  content: "";
  width: 120px;
  height: 1px;
  display: inline-block;
  background: var(--accent-color);
  margin: 4px 10px;
}

.section-title p {
  color: var(--heading-color);
  margin: 0;
  font-size: 36px;
  font-weight: 700;
  font-family: var(--nav-font);
  text-transform: uppercase;
}

/*-------------------------------------------------------
# Affiliation section at first
---------------------------------------------------*/
/* General Header Styling */

/* Header Section */
/* General Header Styling */

.mobile-nav-toggle {
  text-shadow: 0 0 5px rgba(255,255,255,0.7);
}


.affiliation-index {
  padding: 5px;
  background: #f5f5f5;
  border-bottom: 2px solid #ddd;
}

.affiliation-number {
  color: #059652;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  flex-wrap: nowrap; /* Prevent wrapping */
  max-height: 128px;
  padding: 5px 20px;
  gap: 70px;
}

/* Logo Section Styling */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f5f5f5;
}

.logo img {
  max-height: 140px;
  background: #f5f5f5;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.ems-name {
  font-size: 30px;
  font-family: 'Montserrat', sans-serif;
  font-weight: bolder;
  color: #5fcf80;
  text-transform: uppercase;
  margin-bottom: 5px;
  position: relative;
}

.ems-name::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background: #333;
  margin: 3px 0;
}

.MCBS {
  font-size: 25px;
  font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-style: italic;
  font-weight: bolder;
  color: #555;
}

/* Affiliation Section */
.affiliation {
  text-align: right;
  white-space: nowrap;
}

.affiliation-content {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-right: 20px;
}

.affiliation .fa-file-alt {
  font-size: 34px;
  color: #271616;
}

.affiliation h2 {
  font-size: 20.5px;
  color: black;
  margin: 0;
  margin-right: auto;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 18px;
  margin-left: auto;
  margin-right: 50px;
}

.social-links a {
  font-size: 39px;
  color: grey;
  transition: color 0.3s;
  color: #141313;
}

.social-links a:hover {
  color: #059652;
}

/* Responsive Styling */
@media (max-width: 1200px) {
  .header-container {
    gap: 30px;
    min-height: 100px;
  }
}

@media (max-width: 1024px) {
  .header-container {
    gap: 25px;
    min-height: 90px;
  }

  .logo img {
    max-height: 100px;
  }

  .ems-name {
    font-size: 26px;
  }

  .MCBS {
    font-size: 20px;
  }

  .affiliation h2 {
    font-size: 18px;
  }

  .social-links {
    gap: 15px;
  }

  .social-links a {
    font-size: 30px;
  }
}

@media (max-width: 768px) {

  #header{
    padding: 15px 10px;
  }
  .header-container {
  
    padding: 10px 10px; /* Adjust padding to prevent overlap */
    gap: 30px; /* Reduce gap for mobile */
    min-height: 100px; /* Adjust height to avoid content being cut off */
  }

  .header {
    padding: 10px 5%; /* Adjust padding for mobile if needed */
    z-index: 997; /* Ensure z-index is less than sticky header */
  }

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

  .ems-name {
    font-size: 22px;
  }

  .MCBS {
    font-size: 18px;
  }

  .affiliation h2 {
    font-size: 16px;
  }

  .social-links a {
    font-size: 26px;
  }

  .affiliation-content {
    gap: 10px;
  }
}

@media (max-width: 600px) {
  .header-container {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 10px;
    padding-bottom: 30px;
  }

  .logo,
  .affiliation,
  .social-links {
    width: 100%;
    text-align: center;
  }

  .logo img {
    max-height: 70px;
  }

  .ems-name {
    font-size: 20px;
  }

  .MCBS {
    font-size: 16px;
  }

  .affiliation h2 {
    font-size: 14px;
  }

  .social-links {
    justify-content: center;
    gap: 10px;
  }

  .social-links a {
    font-size: 24px;
  }

  .affiliation-content {
    gap: 8px;
  }

  .feebtn {
    font-size: 14px;
    padding: 6px 12px;
  }
}

@media (max-width: 480px) {
  .header-container {
    gap: 15px;
    padding: 10px 10px;
    padding-bottom: 80px;

  }

  .social-links{
    display: none;

  }

  .social-links a {
 display: none;
  }


  #header {
    padding: 0px 0%; /* Adjust padding to fit on very small screens */
  }

  .logo img {
    max-height: 60px;
  }

  .ems-name {
    font-size: 18px;
  }

  .MCBS {
    font-size: 14px;
  }

  .affiliation h2 {
    font-size: 12px;
  }

  .social-links a {
    font-size: 22px;
  }

  .social-links {
    justify-content: space-around;
  }

  .affiliation-content {
    gap: 5px;
  }

  .feebtn {
    font-size: 12px;
    padding: 5px 10px;
  }
}


/*-------------------------------------------------------------- # Hero Section --------------------------------------------------------------*/
.hero {
  position: relative;
  min-height: 90vh;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  justify-content: center;
  box-shadow: #060606 0px 0px 14px;
  background-color: white;
}

/* Swiper Container */
.swiper-container {
  width: 100%;
  height: 100%;
}

/* Ensure Swiper Slide and Content Take Full Height */
.swiper-slide, .slide-content {
  height: 100vh;
  width: 100%;
}

/* Adjust Slide Image */
.slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.2);
  transition: filter 0.5s ease;
}

.swiper-slide {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Slide Content */
.slide-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Slide Image */
.slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.6);
  transition: filter 0.5s ease;
}

/* Slide Overlay */
.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.8));
  z-index: 1;
}

/* Slide Text */
.slide-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #ffffff;
  z-index: 2;
  max-width: 90%;
}

.slide-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 1rem;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.slide-text h2 .transformation {
  color: #28a745;
  display: block;
}

.btn-get-started {
  display: inline-block;
  padding: 0.8rem 2rem;
  background-color: #28a745;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  text-decoration: none;
  border-radius: 30px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-get-started:hover {
  background-color: #218838;
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Swiper Navigation Controls */
.swiper-button-next,
.swiper-button-prev {
  color: #ffffff;
  background-color: rgba(0, 0, 0, 0.3);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background-color: rgba(0, 0, 0, 0.5);
  transform: scale(1.1);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 1.5rem;
}

/* Responsive Design */
@media (max-width: 992px) {
  .slide-text h2 {
    font-size: 2rem;
  }

  .btn-get-started {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .slide-text h2 {
    font-size: 1.8rem;
  }

  .swiper-button-next,
  .swiper-button-prev {
    width: 40px;
    height: 40px;
  }

  .swiper-button-next::after,
  .swiper-button-prev::after {
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  .slide-text h2 {
    font-size: 1.5rem;
  }

  .btn-get-started {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 600px) {
  .header-container {
    position: relative;
    z-index: 10; /* Ensures header stays above hero section */
    background: #f5f5f5; /* Prevents transparency issues */
  }


  
  .hero {
    min-height: 75vh;
    margin-top: 0; /* Removed extra margin */
    padding-top: 100px; /* Creates space for header */
    overflow: hidden; /* Prevents white space */
  }

  .swiper-slide, .slide-content {
    height: 75vh;
  }

  .slide-text {
    top: 45%;
    transform: translate(-50%, -45%);
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 70vh;
    padding-top: 90px; /* Adjusted space for header */
  }

  .swiper-slide, .slide-content {
    height: 70vh;
  }

  .slide-text {
    top: 40%;
    transform: translate(-50%, -40%);
  }
}



/* General Styles */
body {
  font-family: 'Poppins', sans-serif; /* Use a modern and elegant font */
}

/*--------------------------------------------------------------
# Counts Section
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Why Us Section
--------------------------------------------------------------*/
.whyus-container {
  padding: 60px 20px;
  background-color: #f9f9f9;
  overflow: hidden;
  position: relative;
}

.whyEMS {
  font-size: 40px;
  font-weight: bold;
  text-align: left;
  color: #4A90E2;
  margin-bottom: 30px;
  margin-left: 10px;
}

.why-para {
  font-family: monst;
  font-size: 19.5px;
  line-height: 1.99;
  text-align: left;
  color: #333;
  width: 48%;
  float: left;
  margin-right: auto;
}

.whyimage {
  width: 50%;
  float: left;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  height: 100%;
  gap: 36px;
}

.whyimage img {
  height: auto;
  max-height: 100%;
  width: 47%;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.design-bar {
  position: absolute;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, #4A90E2, #f1f1f1, #4A90E2);
  left: 50%;
  transform: translateX(-50%);
}

.whyimage img:first-child {
  border: 5px solid #4A90E2;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
}

.whyimage img:last-child {
  border: 5px solid #E91E63;
  box-shadow: -5px -5px 15px rgba(0, 0, 0, 0.3);
}

.why-us .expand-btn {
  margin-top: 10px;
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s;
}

.why-us .expand-btn:hover {
  background-color: #0056b3;
}

.why-us .expandable-content {
  display: none;
  margin-top: 20px;
  background-color: #f9f9f9;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.why-us .expandable-content.show {
  display: block;
}

.why-us .icon-box:hover i {
  color: var(--contrast-color);
  background: var(--accent-color);
}

.col-lg-8 {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  height: auto;
  margin: 0 auto;
  padding-top: 100px;
}

.row.gy-4 {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  width: 100%;
}

.icon-box {
  text-align: center;
  padding: 18px;
  border-radius: 8px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  background:#a2b3a5;
  width: 280px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex: 1;
}

.icon-box:hover {
  transform: translateY(-10px);
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
}

.icon-box i {
  font-size: 40px;
  color: #4A90E2;
  margin-bottom: 15px;
}

.icon-box h4 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
}

.icon-box p {
  font-size: 16px;
  line-height: 1.6;
  color: #666;
}

.expand-btn {
  margin-top: 15px;
  padding: 10px 20px;
  background-color: #28a745;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.expand-btn:hover {
  background-color: #218838;
  transform: scale(1.05);
}

@media (max-width: 1024px) {
  .why-para,
  .whyimage {
    width: 100%;
    float: none;
    margin: 0 auto;
  }

  .whyimage {
    flex-direction: row;
    gap: 20px;
  }

  .design-bar {
    display: none;
  }

  .row.gy-4 {
    width: 100%;
    gap: 20px;
  }

  .icon-box {
    width: calc(33.333% - 40px); /* Adjust width to maintain gap */
  }
}


@media (max-width: 768px) {
  .whyEMS {
    font-size: 32px;
    margin-left: 0;
    text-align: center;
  }

  .why-para {
    font-size: 18px;
    text-align: center;
    margin: 0;
  }

  .whyimage {
    flex-direction: column;
    gap: 20px;
  }

  .whyimage img {
    width: 80%;
    max-width: 300px;
  }

  .design-bar {
    display: none;
  }

  .row.gy-4 {
    gap: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 15px; /* ensure no excessive side padding */
    margin: 0 auto;
    
  }

  .icon-box {
    width: calc(33.333% - 30px); /* Adjust width to maintain gap */
  }
}

@media (max-width: 600px) {
  .whyEMS {
    font-size: 28px;
  }

  .why-para {
    font-size: 16px;
  }

  .whyimage img {
    width: 100%;
    max-width: none;
  }

  .row.gy-4 {
    gap: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 15px; /* ensure no excessive side padding */
    margin: 0 auto;
    
  }

  .icon-box {
    width: 75%; /* Adjust width to fit within the screen */
    margin-bottom: 20px;
    align-self: auto;
  }
}

@media (max-width: 480px) {
  .whyEMS {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .why-para {
    font-size: 14px;
    line-height: 1.5;
  }

  .whyimage {
    flex-direction: row;
    gap: 5px;
  }

  .whyimage img {
    width: 45%;
    max-width: 45%;
  }

  .row.gy-4 {
    gap: 10px;
   display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 15px; /* ensure no excessive side padding */
    margin: 0 auto;
   
  }

  .icon-box {
    width: 90%; /* Adjust width to fit within the screen */
    margin-bottom: 20px;
    align-self: center;
  }
}


.whyus-container {
  padding: 60px 20px;
  background-color: #f9f9f9;
  overflow: hidden;
  position: relative;
}

.whyEMS {
  font-size: 40px;
  font-weight: bold;
  text-align: left;
  color: #4A90E2;
  margin-bottom: 30px;
  margin-left: 10px;
}

.why-para {
  font-size: 19.5px;
  line-height: 1.99;
  text-align: left;
  color: #333;
  width: 48%;
  float: left;
  margin-right: auto;
}

.whyimage {
  width: 50%;
  float: left;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  height: 100%;
  gap: 36px;
}

.whyimage img {
  height: auto;
  max-height: 100%;
  width: 47%;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.design-bar {
  position: absolute;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, #4A90E2, #f1f1f1, #4A90E2);
  left: 50%;
  transform: translateX(-50%);
}

.whyimage img:first-child {
  border: 5px solid #4A90E2;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
}

.whyimage img:last-child {
  border: 5px solid #E91E63;
  box-shadow: -5px -5px 15px rgba(0, 0, 0, 0.3);
}

.why-us .expand-btn {
  margin-top: 10px;
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s;
}

.why-us .expand-btn:hover {
  background-color: #0056b3;
}

.why-us .expandable-content {
  display: none;
  margin-top: 20px;
  background-color: #f9f9f9;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.why-us .expandable-content.show {
  display: block;
}

.why-us .icon-box:hover i {
  color: var(--contrast-color);
  background: var(--accent-color);
}

.col-lg-8 {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  height: auto;
  margin: 0 auto;
  padding-top: 100px;
}

.row.gy-4 {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  width: 100%;
}

.icon-box {
  text-align: center;
  padding: 14px;
  border-radius: 8px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  background: #ffffff;
  width: 280px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.icon-box:hover {
  transform: translateY(-10px);
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
}

.icon-box i {
  font-size: 40px;
  color: #4A90E2;
  margin-bottom: 15px;
}

.icon-box h4 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
}

.icon-box p {
  font-size: 16px;
  line-height: 1.6;
  color: #666;
}

.expand-btn {
  margin-top: 15px;
  padding: 10px 20px;
  background-color: #28a745;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.expand-btn:hover {
  background-color: #218838;
  transform: scale(1.05);
}

@media (max-width: 1024px) {
  .row.gy-4 {
    flex-direction: row;
    justify-content: center;
    gap: 10px;
  }

  .col-lg-8 {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    height: auto;
    margin: 0 auto;
    padding-top: 100px;
  }

  .whyimage {
    display:flex;
    flex-direction: row; /* Stack images vertically on small screens */
    justify-content: space-between; /* Align images in one row */
    margin-top: 20px;
    gap: 10px; /* Space between the images */
  }

  .why-para,
  .whyimage {
    width:85%;
    float: none;
    text-align: left;
  }

  .whyimage {
    flex-direction: row;
    gap: 20px;
  }

  .design-bar {
    display: none;
  }
}
/* Mobile Responsive Styling for "Why Us" Section */
/* Mobile Responsive Styling for "Why Us" Section */
@media (max-width: 768px) {

  /* Ensure the why-image section appears below the paragraph */
  .whyus-container {
    padding: 15px;
  }

  .whyus {
    text-align: center;
  }

  .why-para {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .whyimage {
    display:flex;
    flex-direction: row; /* Stack images vertically on small screens */
    justify-content: space-between; /* Align images in one row */
    margin-top: 20px;
    gap: 10px; /* Space between the images */
  }

  /* Make images appear in a single row */
  .whyimage img {
    width: 48%; /* Set each image to 48% width so they fit in one row */
    height: auto;
    object-fit: cover;
  }

  /* Ensure Icon Boxes appear below the images */
  .col-lg-8 {
    margin-top: 30px;

  }

  .row {
    display: flex;
    flex-wrap: wrap; /* Allow the icon boxes to wrap to the next line */
    gap: 20px;
  }

  /* Shrink icon boxes so that two appear in one row */
  .col-xl-4 {
    width: 20%;
    flex-direction: row; /* Two icon boxes will take 48% of the width each */
  }

  .icon-box {
    padding: 20px;
    text-align: center;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }

  .expand-btn {
    margin-top: 15px;
    padding: 8px 15px;
    background-color: #28a745;
    color: white;
    border-radius: 5px;
    border: none;
    cursor: pointer;
  }

  .expand-btn:hover {
    background-color: #218838;
  }

  /* If the screen size is smaller than 480px, adjust further */
  @media (max-width: 480px) {

    .why-para {
      font-size: 14px; /* Adjust paragraph font size */
      margin-bottom: 15px;
    }
  
    .whyimage {
      flex-direction: row; /* Keep images in a row for small screens */
      gap: 15px; /* Space between images */
    }
  
    .whyimage img {
      width: 48%; /* Shrink image width so they fit side by side */
      height: auto;
    }
  
    /* Ensure icon boxes appear in a single row */
    .row {
      display: flex;
      flex-wrap: wrap; /* Allow icon boxes to wrap to the next line */
      justify-content: center; /* Space icon boxes evenly */
      gap: 10px; /* Reduce space between icon boxes */
    }
  
    .col-xl-4 {
      width: 48%; /* Make each icon box take up 48% of the row */
      max-width: 220px; /* Limit the size of icon boxes */
      min-width: 200px; /* Prevent them from being too small */
      margin-bottom: 20px; /* Space below each icon box */
    }
  
    .expand-btn {
      font-size: 14px;
    }
  }
  
}




/*-----------------------------------------------------------
# Map Section
------------------------------------------------------------*/
body {
  font-family: Arial, sans-serif;
  text-align: center;
  background-color: #f4f4f4;
  margin: 0;
  padding: 0;
}

.map-wrapper {
  margin: 20px auto;
  max-width: 800px;
  padding: 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.map-heading {
  font-size: 24px;
  color: #333;
  margin-bottom: 15px;
}

.map-box {
  width: 100%;
  height: 400px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid #ddd;
}


/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/
.features {
  padding: 10px 0;
}

.features .features-item {
  background-color: var(--surface-color);
  display: flex;
  align-items: center;
  padding: 20px;
  transition: 0.3s;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  position: relative;
}

.features .features-item i {
  font-size: 32px;
  padding-right: 10px;
  line-height: 0;
}

.features .features-item h3 {
  font-weight: 700;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-size: 16px;
}

.features .features-item h3 a {
  color: var(--heading-color);
  transition: 0.3s;
}

.features .features-item:hover {
  border-color: var(--accent-color);
}

.features .features-item:hover h3 a {
  color: var(--accent-color);
}

@media (max-width: 768px) {
  .features .features-item {
    flex-direction: column;
    text-align: center;
  }

  .features .features-item i {
    margin-bottom: 10px;
  }
}



/*--------------------------------------------------------------
# Courses Section
--------------------------------------------------------------*/
.courses .course-item {
  background-color: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  border-radius: 5px;
  margin-bottom: 20px;
}

.courses .course-content {
  padding: 15px;
}

.courses .course-content h3 {
  font-weight: 700;
  font-size: 20px;
}

.courses .course-content h3 a {
  color: var(--heading-color);
  transition: 0.3s;
}

.courses .course-content h3 a:hover {
  color: var(--accent-color);
}

.courses .course-content .category {
  background: var(--accent-color);
  color: var(--contrast-color);
  font-size: 14px;
  padding: 6px 14px;
  margin: 0;
  border-radius: 5px;
}

.courses .course-content .price {
  margin: 0;
  font-weight: 700;
  font-size: 18px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.courses .course-content .description {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.courses .trainer {
  padding-top: 15px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.courses .trainer .trainer-profile img {
  max-width: 50px;
  border-radius: 50px;
}

.courses .trainer .trainer-profile .trainer-link {
  padding-left: 10px;
  font-weight: 600;
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.3s;
}

.courses .trainer .trainer-profile .trainer-link:hover {
  color: var(--accent-color);
}

.courses .trainer .trainer-rank {
  font-size: 18px;
  color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.courses .trainer .trainer-rank .user-icon {
  font-size: 22px;
}

@media (max-width: 768px) {
  .courses .course-content h3 {
    font-size: 18px;
  }

  .courses .course-content .category,
  .courses .course-content .price,
  .courses .course-content .description {
    font-size: 12px;
  }

  .courses .trainer .trainer-profile img {
    max-width: 40px;
  }

  .courses .trainer .trainer-profile .trainer-link,
  .courses .trainer .trainer-rank {
    font-size: 14px;
  }
}

/*--------------------------------------------------------------
# Trainers Index Section
--------------------------------------------------------------*/
.trainers-index .member {
  background-color: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  text-align: center;
  margin-bottom: 20px;
}

.trainers-index .member img {
  margin: -1px -1px 30px -1px;
}

.trainers-index .member .member-content {
  padding: 0 20px 30px 20px;
}

.trainers-index .member h4 {
  font-weight: 700;
  margin-bottom: 2px;
  font-size: 18px;
}

.trainers-index .member span {
  font-style: italic;
  display: block;
  font-size: 13px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.trainers-index .member p {
  padding-top: 10px;
  font-size: 14px;
  font-style: italic;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.trainers-index .member .social {
  margin-top: 15px;
}

.trainers-index .member .social a {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  transition: 0.3s;
}

.trainers-index .member .social a:hover {
  color: var(--accent-color);
}

.trainers-index .member .social i {
  font-size: 18px;
  margin: 0 2px;
}

@media (max-width: 768px) {
  .trainers-index .member h4 {
    font-size: 16px;
  }

  .trainers-index .member span,
  .trainers-index .member p {
    font-size: 12px;
  }

  .trainers-index .member .social i {
    font-size: 16px;
  }
}

/*--------------------------------------------------------------
# About Us Section
--------------------------------------------------------------*/
/* About Section */
#about {
  padding: 80px 0;
  background: linear-gradient(135deg, #e3f2fd 0%, #f0f7ff 100%);
  font-family: 'Poppins', sans-serif;
  color: #333;
}

/* Container */
#about .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

/* Content Section */
.about .content {
 
  order: 1;
  text-align: left;
  background: #ffffff;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
}

.about .content h3 {
  font-size: 2.8rem;
  font-weight: 700;
  color: #1565c0;
  margin-bottom: 15px;
  position: relative;
}

/* Underline Effect */
.about .content h3::after {
  content: '';
  width: 60px;
  height: 4px;
  background: #1565c0;
  position: absolute;
  left: 0;
  bottom: -10px;
  border-radius: 2px;
}

.about .content p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 15px;
}

/* Image Section */
.about .image-container {
  /* flex-basis: 50%; */
  order: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.about .image-container img {
  max-width: 100%;
  height: auto;
  max-height: 400px; /* Keep the image height controlled */
  border-radius: 12px;
  border: 5px solid rgba(21, 101, 192, 0.3);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* Hover Effect */
.about .image-container img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(21, 101, 192, 0.3);
}

/* Principal & School Details */
.father, .principal, .school-name {
  font-size: 1.4rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #1e3c5d;
  letter-spacing: 1px;
  margin-top: 12px;
  text-align:center;
  font-family:Verdana, Geneva, Tahoma, sans-serif;
}

/* Image Frame - Modern Border Effect */
.about .image-container::before {
  content: "";
  position: absolute;
  width: 90%;
  height: 90%;
  border-radius: 15px;
  background: linear-gradient(45deg, #1e88e5, #64b5f6);
  z-index: -1;
  transition: all 0.3s ease-in-out;
}

/* Responsive Design */
@media (min-width: 992px) {
  #about .container {
    flex-wrap: nowrap; /* Prevent wrapping */
    justify-content: space-between; /* Space between content and image */
    align-items: flex-start; /* Align to top */
  }

  .about .content {
    flex: 1;
  
    order: 1; /* Make sure text is on the left */
    margin-right: 5px; /* Space between text and image */
  }

  .about .image-container {
    flex: 1;
    order: 2; /* Image on the right */
    flex-direction: column;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }

  .about .image-container img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px; /* Space between image and caption */
  }

  .father, .principal, .school-name {
    text-align: center;
    margin: 4px 0;
  }
}


@media (max-width: 768px) {
  .about .container {
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  .about .content {
    flex-basis: 50%;
    order: 1;
    margin-bottom: 20px;
    padding: 20px;
  }

  .about .content h3 {
    font-size: 2rem;
  }

  .about .content p {
    font-size: 1rem;
  }

  .about .image-container {
    flex-basis: 50%;
    order: 2;
    padding: 15px;
  }

  .about .image-container img {
    max-width: 80%;
    max-height: 250px;
  }

  .image-caption h4 {
    font-size: 1rem;
  }

  .image-caption h5 {
    font-size: 0.9rem;
  }

  .image-caption p {
    font-size: 0.8rem;
  }
}

@media (max-width: 576px) {
  .about .content {
    padding: 15px;
  }

  .about .image-container {
    padding: 10px;
  }

  .about .content h3 {
    font-size: 1.8rem;
  }

  .about .content p {
    font-size: 1rem;
  }

  .about .image-container img {
    max-width: 100%;
    max-height: 250px;
  }

  .image-caption h4 {
    font-size: 1rem;
  }

  .image-caption h5 {
    font-size: 0.9rem;
  }

  .image-caption p {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  /* Adjust container layout to display in a row */
  .about .container {
    display: flex;
    flex-direction: row; /* Keep items in a row */
    justify-content: space-between; /* Ensure space between items */
    align-items: center; /* Align items in the center */
  }

  /* Adjust content (message) */
  .about .content {
    padding: 10px; /* Reduce padding */
    flex: 1; /* Allow content to take available space */
    order: 1; /* Ensure content appears first (on the left) */
    text-align: left; /* Align text to the left */
  }

  /* Adjust image container */
  .about .image-container {
    padding: 8px; /* Reduce padding */
    flex: 1; /* Allow image container to take available space */
    order: 2; /* Ensure image appears second (on the right) */
    display: flex;
    justify-content: center; /* Center the image */
    align-items: center;
  }

  /* Ensure image is responsive and small */
  .about .image-container img {
    max-width: 60%; /* Reduce image width to 60% */
    max-height: 120px; /* Limit the height to make it smaller */
    object-fit: cover; /* Preserve aspect ratio */
  }

  /* Adjust content title (h3) */
  .about .content h3 {
    font-size: 1.6rem; /* Smaller font size for title */
  }

  /* Adjust content paragraphs */
  .about .content p {
    font-size: 0.9rem; /* Adjust text size for better readability */
  }

  /* Adjust image caption */
  .image-caption h4 {
    font-size: 1rem; /* Smaller font size for the name */
  }

  .image-caption h5 {
    font-size: 0.9rem; /* Slightly smaller font size for role */
    margin: 4px 0; /* Reduce margin for spacing */
  }

  .image-caption p {
    font-size: 0.8rem; /* Reduce size for school name */
    margin-top: 4px; /* Reduce margin */
  }
}




/*--------------------------------------------------------------
# News Updates Section
--------------------------------------------------------------*/
#news-updates {
  padding: 40px 0;
  background-color: #e0f7e0;
}

#news-updates .container {
  width: 80%;
  padding: 0 15px;
}

#news-updates .section-title {
  text-align: center;
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 30px;
  color: #333;
}

#news-updates .news-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#news-updates .news-item {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#news-updates .news-image {
  width: 90%;
  height: auto;
  align-items: center;
  border-radius: 8px 8px 0 0;
}

#news-updates .news-title {
  font-size: 22px;
  font-weight: bold;
  color: #5fcf80;
  margin: 10px 0;
}

#news-updates .news-date {
  font-size: 14px;
  color: #aaa;
  margin-bottom: 10px;
}

#news-updates .news-description {
  font-size: 16px;
  color: #555;
}

@media (max-width: 768px) {
  #news-updates .container {
    width: 100%;
  }

  #news-updates .news-title {
    font-size: 20px;
  }

  #news-updates .news-description {
    font-size: 14px;
  }
}


/*------------------------------------------------------------
# eventpage
-------------------------------------------------------------*/
/* General Styles */
.events-container.body {
  font-family: 'Arial', sans-serif;
  background: linear-gradient(135deg, #e0f7fa, #ffffff);
  color: #333;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Events Section */
.events-container {
  width: 100%;
  margin-top: 0px;
  text-align: center;
  background: #f0f7ff;
}

.events-header {
  font-size: 2rem;
  font-weight: bold;
  color: #0077b6;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 30px;
  margin-left: 20px;
  text-align: center;
}

/* Event Cards */
.events-list { 
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 cards per row */
  gap: 100px; /* Spacing between cards */
  justify-content:baseline;
  margin-top: 10px;
}

.event-card {
  background: linear-gradient(135deg, #ffffff, #e3f2fd);
  border-radius: 10px;
  padding: 20px;
  text-align: left;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.event-card:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.event-date {
  font-size: 1.2rem;
  font-weight: bold;
  color: #0077b6;
  margin-bottom: 8px;
}

.event-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #004c8c;
  margin-bottom: 5px;
}

.event-summary {
  font-size: 1rem;
  color: #555;
}

/* Pop-up Styling */
/* Popup Background */
.event-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 4000;
  padding: 20px; /* Adds spacing around the content */
}

/* Popup Content */
.event-popup-content {
  background: white;
  padding: 30px;
  width: 60%;        /* Adjust the width to 60% */
  height: 50%;       /* Adjust the height to 70% */
  max-width: 600px;  /* Limit the maximum width */
  max-height: 600px; /* Limit the maximum height */
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  text-align: left;  /* Align text to the left inside content */
  display: flex;     /* Use flexbox to center the content */
  justify-content: center;
  align-items: center;
  flex-direction: column; /* Stack content vertically */
  position: relative;
  overflow-y: auto;  /* Allow scrolling if content exceeds size */
  margin: auto;      /* Center the popup within the viewport */
}



/* Close Button */
.popup-close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  color: #ff0000;
}

.popup-close-btn:hover {
  color: #cc0000;
}

/* Pop-up Image (Scaled) */
#popup-image {
  width: 100%;
  max-height: 200px;
  object-fit: contain; /* Ensures quality */
  border-radius: 10px;
  margin-bottom: 10px;
}

#popup-title {
  font-size: 1.8rem;
  color: #0077b6;
  margin-bottom: 10px;
}

#popup-description {
  font-size: 1.2rem;
  color: #333;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
  .events-list {
      grid-template-columns: 1fr; /* 1 column on small screens */
  }

  .event-popup-content {
      width: 90%;
  }
}



/*--------------------------------------------------------------
# Glimpses Section
--------------------------------------------------------------*/
/* General Styling */
.glimpse-pic {
  text-align: center;
  padding: 40px 20px;
  background: #f0f7ff;
}

.glimpse-header {
  font-size: 36px;
  font-weight: bold;
  color: #0077b6;
  margin-bottom: 50px;
}

/* Grid Layout */
.glimpse-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 images per row */
  gap: 20px; /* Spacing between images */
  justify-content: center;
  max-width: 1200px; /* Increase max width */
  margin: auto;
}

/* Image Styling */
.glimpse-images a {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  width: 100%;
  padding-bottom: 75%; /* Maintain aspect ratio (4:3) */
}

.glimpse-images img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain; /* Maintain aspect ratio and show the entire image */
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* Hover Effect */
.glimpse-images img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive: 2 images per row on smaller screens */
@media (max-width: 1024px) {
  .glimpse-images {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Responsive: 1 image per row on very small screens */
@media (max-width: 768px) {
  .glimpse-images {
    grid-template-columns: repeat(3, 3fr);
  }
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .testimonial-wrap {
  padding-left: 50px;
}

.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  background-color: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  box-sizing: content-box;
  padding: 30px 30px 30px 60px;
  margin: 30px 15px;
  min-height: 200px;
  position: relative;
}

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 10px;
  border: 6px solid var(--background-color);
  position: absolute;
  left: -45px;
}

.testimonials .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px 0;
}

.testimonials .testimonial-item h4 {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 14px;
  margin: 0;
}

.testimonials .testimonial-item .stars {
  margin: 10px 0;
}

.testimonials .testimonial-item .stars i {
  color: #ffc107;
  margin: 0 1px;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--accent-color), transparent 60%);
  font-size: 26px;
  line-height: 0;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 15px auto 15px auto;
}

.testimonials .swiper-wrapper {
  height: auto;
}

.testimonials .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: var(--background-color);
  opacity: 1;
  border: 1px solid var(--accent-color);
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

@media (max-width: 767px) {
  .testimonials .testimonial-wrap {
    padding-left: 0;
  }

  .testimonials .testimonial-item {
    padding: 30px;
    margin: 15px;
  }

  .testimonials .testimonial-item .testimonial-img {
    position: static;
    left: auto;
  }
}

/*--------------------------------------------------------------
# Courses Course Details Section
--------------------------------------------------------------*/
.courses-course-details {
  padding-bottom: 20px;
}

.courses-course-details h3 {
  font-size: 24px;
  margin: 30px 0 15px 0;
  font-weight: 700;
  position: relative;
  padding-bottom: 10px;
}

.courses-course-details h3:before {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 1px;
  background: color-mix(in srgb, var(--default-color), transparent 90%);
  bottom: 0;
  left: 0;
}

.courses-course-details h3:after {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 1px;
  background: var(--accent-color);
  bottom: 0;
  left: 0;
}

.courses-course-details .course-info {
  background: color-mix(in srgb, var(--default-color), transparent 95%);
  padding: 10px 15px;
  margin-bottom: 15px;
}

.courses-course-details .course-info h5 {
  font-weight: 400;
  font-size: 16px;
  margin: 0;
  font-family: var(--nav-font);
}

.courses-course-details .course-info p {
  margin: 0;
  font-weight: 600;
}

.courses-course-details .course-info a {
  color: var(--accent-color);
}

@media (max-width: 768px) {
  .courses-course-details h3 {
    font-size: 20px;
  }

  .courses-course-details .course-info h5 {
    font-size: 14px;
  }

  .courses-course-details .course-info p {
    font-size: 14px;
  }
}



/*--------------------------------------------------------------
# Tabs Section
--------------------------------------------------------------*/
.tabs {
  padding-top: 30px;
}

.tabs .nav-tabs {
  border: 0;
}

.tabs .nav-link {
  background-color: var(--background-color);
  border: 0;
  padding: 12px 15px;
  transition: 0.3s;
  color: var(--default-color);
  border-radius: 0;
  border-right: 2px solid color-mix(in srgb, var(--default-color), transparent 90%);
  font-weight: 600;
  font-size: 15px;
}

.tabs .nav-link:hover {
  color: var(--accent-color);
}

.tabs .nav-link.active {
  background-color: var(--surface-color);
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.tabs .tab-pane.active {
  animation: fadeIn 0.5s ease-out;
}

.tabs .details h3 {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 20px;
}

.tabs .details p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.tabs .details p:last-child {
  margin-bottom: 0;
}

@media (max-width: 992px) {
  .tabs .nav-link {
    border: 0;
    padding: 15px;
  }

  .tabs .nav-link.active {
    color: var(--accent-color);
    background: var(--accent-color);
  }

  .tabs .details h3 {
    font-size: 22px;
  }

  .tabs .details p {
    font-size: 14px;
  }
}

/*--------------------------------------------------------------
# Trainers Section
--------------------------------------------------------------*/
.trainers .member {
  position: relative;
}

.trainers .member .member-img {
  margin: 0 80px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
}

@media (max-width: 1024px) {
  .trainers .member .member-img {
    margin: 0 60px;
  }
}

.trainers .member .member-img img {
  position: relative;
  z-index: 1;
}

.trainers .member .member-img .social {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  padding-bottom: 20px;
  transition: 0.3s;
  visibility: hidden;
  opacity: 0;
}

.trainers .member .member-img .social a {
  transition: 0.3s;
  color: var(--contrast-color);
  font-size: 20px;
  margin: 0 8px;
}

.trainers .member .member-img .social a:hover {
  color: var(--accent-color);
}

.trainers .member .member-info {
  margin-top: 30px;
}

.trainers .member .member-info h4 {
  font-weight: 700;
  margin-bottom: 6px;
  font-size: 18px;
}

.trainers .member .member-info span {
  font-style: italic;
  display: block;
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-bottom: 10px;
}

.trainers .member .member-info p {
  margin-bottom: 0;
  font-size: 14px;
}

.trainers .member:hover .member-img .social {
  padding-bottom: 0;
  visibility: visible;
  opacity: 1;
}

@media (max-width: 768px) {
  .trainers .member .member-img {
    margin: 0 auto;
  }

  .trainers .member .member-info {
    text-align: center;
  }

  .trainers .member .member-info h4 {
    font-size: 16px;
  }

  .trainers .member .member-info span,
  .trainers .member .member-info p {
    font-size: 13px;
  }
}

/*--------------------------------------------------------------
# Events Section
--------------------------------------------------------------*/
.events .card {
  background-color: var(--background-color);
  border: 0;
  padding: 0 30px;
  margin-bottom: 60px;
  position: relative;
}

.events .card-img {
  width: calc(100% + 60px);
  margin-left: -30px;
  overflow: hidden;
  z-index: 9;
  border-radius: 0;
}

.events .card-img img {
  max-width: 100%;
  transition: all 0.3s ease-in-out;
}

.events .card-body {
  z-index: 10;
  background: var(--surface-color);
  border-top: 4px solid var(--surface-color);
  padding: 30px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  margin-top: -60px;
  transition: 0.3s;
}

.events .card-title {
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
}

.events .card-title a {
  color: var(--default-color);
  transition: 0.3s;
}

.events .card-text {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.events .card:hover img {
  transform: scale(1.1);
}

.events .card:hover .card-body {
  border-color: var(--accent-color);
}

.events .card:hover .card-body .card-title a {
  color: var(--accent-color);
}

@media (max-width: 768px) {
  .events .card {
    padding: 0 15px;
  }

  .events .card-img {
    width: calc(100% + 30px);
    margin-left: -15px;
  }

  .events .card-body {
    padding: 20px;
    margin-top: -40px;
  }

  .events .card-title {
    font-size: 18px;
  }

  .events .card-text {
    font-size: 14px;
  }
}

/*--------------------------------------------------------------
# Pricing Section
--------------------------------------------------------------*/
.pricing .pricing-item {
  background-color: var(--surface-color);
  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
  border-radius: 5px;
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
}

.pricing .pricing-item h3 {
  margin: -20px -20px 20px -20px;
  padding: 20px 15px;
  font-size: 16px;
  font-weight: 600;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  background: color-mix(in srgb, var(--default-color), transparent 95%);
}

.pricing .pricing-item h4 {
  font-size: 36px;
  font-weight: 600;
  font-family: var(--heading-font);
}

.pricing .pricing-item h4 sup {
  font-size: 20px;
  top: -15px;
  left: -3px;
}

.pricing .pricing-item h4 span {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 16px;
  font-weight: 300;
}

.pricing .pricing-item ul {
  padding: 15px 0;
  list-style: none;
  text-align: center;
  line-height: 20px;
  font-size: 14px;
}

.pricing .pricing-item ul li {
  padding-bottom: 16px;
}

.pricing .pricing-item ul i {
  color: var(--accent-color);
  font-size: 18px;
  padding-right: 4px;
}

.pricing .pricing-item ul .na {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  text-decoration: line-through;
}

.pricing .btn-wrap {
  background: color-mix(in srgb, var(--default-color), transparent 95%);
  margin: 0 -20px -20px -20px;
  padding: 20px 15px;
  text-align: center;
}

.pricing .btn-buy {
  background: var(--accent-color);
  color: var(--contrast-color);
  display: inline-block;
  padding: 8px 35px 10px 35px;
  border-radius: 4px;
  transition: none;
  font-size: 14px;
  font-weight: 400;
  font-family: var(--heading-font);
  font-weight: 600;
  transition: 0.3s;
}

.pricing .btn-buy:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.pricing .featured h3 {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.pricing .advanced {
  background: var(--accent-color);
  color: var(--contrast-color);
  width: 200px;
  position: absolute;
  top: 18px;
  right: -68px;
  transform: rotate(45deg);
  z-index: 1;
  font-size: 14px;
  padding: 1px 0 3px 0;
}

@media (max-width: 768px) {
  .pricing .pricing-item h3 {
    font-size: 14px;
  }

  .pricing .pricing-item h4 {
    font-size: 30px;
  }

  .pricing .pricing-item ul {
    font-size: 12px;
  }

  .pricing .btn-buy {
    font-size: 12px;
    padding: 6px 25px 8px 25px;
  }
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact {
  padding-top: 8px;
  padding-bottom: 40px;
}

.contact .info-item+.info-item {
  margin-top: 40px;
}

.contact .info-item i {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 20px;
  width: 48px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  margin-right: 15px;
}

.contact .info-item h3 {
  padding: 0;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
}

.contact .php-email-form {
  height: 100%;
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: color-mix(in srgb, var(--background-color), transparent 50%);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.contact .php-email-form input[type=text]:focus,
.contact .php-email-form input[type=email]:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent-color);
}

.contact .php-email-form input[type=text]::placeholder,
.contact .php-email-form input[type=email]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact .php-email-form button[type=submit] {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 10px 30px 12px 30px;
  transition: 0.4s;
  border-radius: 50px;
}

.contact .php-email-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

@media (max-width: 768px) {
  .contact .info-item {
    text-align: center;
    margin-bottom: 20px;
  }

  .contact .info-item i {
    margin-bottom: 10px;
  }

  .contact .php-email-form input[type=text],
  .contact .php-email-form input[type=email],
  .contact .php-email-form textarea {
    font-size: 13px;
  }

  .contact .php-email-form button[type=submit] {
    font-size: 13px;
    padding: 8px 20px;
  }
}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/

/* Add your starter section styles here */

/* Responsive Design */
@media (max-width: 768px) {
  /* Adjustments for smaller screens */
  .tabs .nav-link {
    font-size: 14px;
    padding: 10px;
  }

  .tabs .details h3 {
    font-size: 20px;
  }

  .tabs .details p {
    font-size: 13px;
  }

  .trainers .member .member-info h4 {
    font-size: 16px;
  }

  .trainers .member .member-info span,
  .trainers .member .member-info p {
    font-size: 13px;
  }

  .events .card-title {
    font-size: 18px;
  }

  .events .card-text {
    font-size: 14px;
  }

  .pricing .pricing-item h3 {
    font-size: 14px;
  }

  .pricing .pricing-item h4 {
    font-size: 30px;
  }

  .pricing .pricing-item ul {
    font-size: 12px;
  }

  .pricing .btn-buy {
    font-size: 12px;
    padding: 6px 25px 8px 25px;
  }

  .contact .info-item h3 {
    font-size: 16px;
  }

  .contact .info-item p {
    font-size: 13px;
  }

  .contact .php-email-form input[type=text],
  .contact .php-email-form input[type=email],
  .contact .php-email-form textarea {
    font-size: 13px;
  }

  .contact .php-email-form button[type=submit] {
    font-size: 13px;
    padding: 8px 20px;
  }
}