/**
* Template Name: Mangalore University Alumni
* Template URL: https://bootstrapmade.com/Mangalore University Alumni-free-multi-purpose-html-template/
* Updated: Aug 07 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: "Google Sans",sans-serif;
  --heading-font: "Google Sans", sans-serif;
  --nav-font: "Google Sans", 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: #3e62ff;
  /* Default color used for the majority of the text content across the entire website */
  --heading-color: #3e62ff;
  /* Color for headings, subheadings and title throughout the website */
  --accent-color: #4895ef;
  /* 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: #e5eaee;
  /* The default color of the main navmenu links */
  --nav-hover-color: #112fb9;
  /* 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: #444444;
  /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #112fb9;
  /* 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: #f1f4fa;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #000910;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #28323a;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

html {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

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);
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.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-delay: 0s;
  animation: pulsate-play-btn 2s;
  animation-direction: forwards;
  animation-iteration-count: infinite;
  animation-timing-function: 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 {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border: none;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 200;
  animation: none;
  border-radius: 0;
}

.pulsating-play-btn:hover:after {
  border-left: 15px solid var(--accent-color);
  transform: scale(20);
}

@keyframes pulsate-play-btn {
  0% {
    transform: scale(0.6, 0.6);
    opacity: 1;
  }

  100% {
    transform: scale(1, 1);
    opacity: 0;
  }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  --background-color: #ffffff;
  /* Pure white background */
  --default-color: #ffffff;
  /* Black text */
  --heading-color: #ffffff;
  /* Black heading text */

  color: rgb(53, 53, 53);
  background-color: white;
  padding: 20px 0;
  transition: all 0.5s;
  z-index: 997;
}

.logo-container {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 10px;
  flex-direction: row;
  margin-left: -15px;
}


.logo-img {
  width: 60px;
  height: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-title {
  font-size: 25px;
  font-weight: 700;
  /* color: #3e62ff; */
  background: linear-gradient(45deg, #2a41c4, #4361ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: #4361ee;
  letter-spacing: 0px;
}

.logo-subtitle {
  font-size: 12px;
  color: rgb(57, 57, 57);
  font-weight: 600;
}

.container-fluid {
  gap: 20px;
}

.sitename {
  display: flex;
  flex-direction: column;
  line-height: 1.1;

}

.university-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
  /* Dark blue color */
  margin: 0;
  white-space: nowrap;
}

.alumni-network {
  font-size: 0.75rem;
  font-weight: 600;
  color: #a2aaff;
  /* Same dark blue color */
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin: 2px 0 0 0;
}

/* Responsive logo */
@media (max-width: 768px) {
  .logo-img {
    height: 55px;
  }

  .sitename {
    font-size: 1.3rem;
  }
}

@media (max-width: 400px) {

  #authSection {
    width: 80px;
  }
}

@media (max-width: 480px) {
  .logo-img {
    height: 40px;
    width: 40px;
    margin-right: 8px;
  }
  .logo-container{
    margin-left: -2px;
  }

  .sitename {
    font-size: 1.1rem;
  }

}

.header .logo {
  text-decoration: none;
  color: inherit;
}

.header .logo img {
  height: 70px;
  width: 70px;
  margin-right: 12px;
}

.header .logo h1 {
  font-size: 26px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

.cta-btn
{
  background: linear-gradient(45deg, #2a41c4, #4361ee);
  color: white;
  
}

.header .cta-btn,
.header .cta-btn:focus {
  color: var(--contrast-color);
  font-size: 14px;
  padding: 10px 25px;
  margin: 0 0 0 30px;
  border-radius: 50px;
  background: linear-gradient(45deg, #2a41c4, #4361ee);

  transition: 0.3s;
  /* text-transform: uppercase; */
  font-weight: 500;
  color: var(--contrast-color);
  white-space: nowrap;
}

.header .cta-btn:hover,
.header .cta-btn:focus:hover {
  color: var(--contrast-color);
  
  background:rgba(9, 60, 149, 0.841);
}

@media (max-width: 1200px) {
  .logo-container {
    order: 1;
  }

  /* Target the container div, not the button, for flex ordering */
  #authSection {
    order: 2;
    margin-left: auto; /* Push to the right, next to the toggle */
    margin-right: 15px;
  }

  .header .navmenu {
    order: 3;
    margin: 0;
  }

  /* Adjust button size for mobile header */
  #authSection .cta-btn {
    padding: 6px 15px;
    font-size: 14px;
    margin: 0; /* Margin handled by parent #authSection */
  }
}

.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

/* Global Header on Scroll
------------------------------*/
.scrolled .header {
  --background-color: rgba(255, 255, 255, 0.85);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
    margin-left: auto;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu>ul>li {
    white-space: nowrap;
    padding: 15px 14px;
  }

  .navmenu>ul>li:last-child {
    padding-right: 0;
  }

  /* Responsive adjustment for tighter screens - Expanded range and tighter padding */
  @media (min-width: 1200px) and (max-width: 1400px) {
    .navmenu>ul>li {
      padding: 15px 5px; /* Drastically reduce horizontal padding */
      font-size: 13px; /* Slightly smaller font if needed */
    }
    
    .logo-container {
       margin-right: 5px; /* Reduce margin */
    }
  }

  /* Prevent elements from squashing */
  .logo-container,
  #authSection {
    flex-shrink: 0;
  }

  /* Mobile Specific Adjustments for Samsung/Small Screens */
  @media (max-width: 575px) {
    .logo-text .logo-title {
      font-size: 18px; /* Slightly smaller */
      letter-spacing: 1px; /* Minimal spacing */
    }

    .logo-text .logo-subtitle {
      font-size: 10px; /* Smaller subtitle */
      display: none; /* Optional: Hide subtitle on very small screens if still crowded */
    }
    
    /* Make the button smaller specifically on mobile */
    #authSection .cta-btn,
    .header .cta-btn {
      padding: 5px 12px !important;
      font-size: 12px !important;
      margin-right: 5px !important;
      white-space: nowrap;
    }
    
    .logo-img {
      width: 35px;
      height: 35px;
    }

    .header .container-fluid {
      gap: 5px; /* Tighter gap */
      padding-left: 5px;
      padding-right: 5px;
    }
  }

  .navmenu a,
  .navmenu a:focus {
    color: #2e2e2e !important;
    /* Force black text */
    font-size: 14px;
    padding: 0 2px;
    font-family: var(--nav-font);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    position: relative;
    /* text-transform: uppercase; */
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu>ul>li>a:before {
    content: "";
    position: absolute;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: var(--nav-hover-color);
    visibility: hidden;
    width: 0px;
    transition: all 0.3s ease-in-out 0s;
  }

  .navmenu a:hover:before,
  .navmenu li:hover>a:before,
  .navmenu .active:before {
    visibility: visible;
    width: 100%;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: color-mix(in srgb, var(--nav-color) 90%, white 15%);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/* Mobile Navigation */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: black;
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }

}

/*--------------------------------------------------------------
# Global Footer

/*--------------------------------------------------------------
# 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: 10px;
  bottom: 15px;
  z-index: 99999;
  color: white;
  background: linear-gradient(45deg, #2a41c4, #4361ee);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  /* color: var(--contrast-color); */
  background: linear-gradient(45deg, #2a41c4, #4361ee);

  background-clip: text;
  color: white;
  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;
}

/*--------------------------------------------------------------
# Sticky Social Icons
--------------------------------------------------------------*/


/*--------------------------------------------------------------
# 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 {
  color: var(--default-color);
  background-color: var(--background-color);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 160px 0 80px 0;
  text-align: center;
  position: relative;
}

.page-title:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 30%);
  position: absolute;
  inset: 0;
}

.page-title h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: center;
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
}

.page-title .breadcrumbs ol li+li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

/*--------------------------------------------------------------


@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 76px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  padding-bottom: 15px;
  position: relative;
}

.section-title h2, h2.section-title {
  /* font-size: 14px; */
  font-weight: 600;
  padding: 0;
  /* line-height: 1px; */
  /* margin: 0; */
  margin-bottom: 45px;
  letter-spacing: 1.5px;
  background: linear-gradient(45deg, #2a41c4, #4361ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: #4361ee;
  font-family: var(--default-font);
  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); */
  background: linear-gradient(45deg, #2a41c4, #4361ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: #4361ee;
  margin: 0;
  font-size: 36px;
  font-weight: 800;
  text-transform: uppercase;
  font-family: var(--heading-font);
}

@media (max-width: 768px) {
  .section-title p {
    font-size: 24px;
  }
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 100vh;
  position: relative;
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 30%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
  margin-top: 35px;
}

.hero h2 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 10px 0 0 0;
  font-size: 24px;
}

.btn-alumni-network {
  display: inline-block;
  padding: 12px 35px;
  border-radius: 50px;
  background: transparent;
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border: 2px solid white;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-alumni-network:hover {
  background-color: white;
  transform: scale(1.05);
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

/* If you want the Alumni Network button to have a subtle glow too */
.btn-alumni-network {
  animation: subtleGlow 3s infinite alternate;
}

@keyframes subtleGlow {
  0% {
    border-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.1);
  }

  100% {
    border-color: rgba(255, 255, 255, 1);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
  }
}

.hero .btn-get-started {
  display: inline-block;
  padding: 12px 35px;
  border-radius: 50px;
  background: linear-gradient(45deg, #2a41c4, #4361ee);
    color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 1px;
  transition: all 0.5s ease;
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(72, 149, 239, 0.4);
  animation: glowZoom 2s infinite alternate;
  animation: textGlow 1s infinite alternate;
}



@media (max-width: 992px) {
  .hero .btn-get-started,
  .btn-alumni-network {
    width: 100% !important;
    max-width: 400px; /* Prevent being too wide on tablets */
    height: 48px; /* Fixed height */
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 !important;
    font-size: 15px;
    flex: none; /* Disable flex-grow/shrink */
  }

  .join-us-button-alumni-btn {
    display: flex;
    flex-direction: column !important;
    align-items: center;
    width: 100%;
    padding: 0 15px;
  }
}

.btn-get-started:hover {
  animation: none;
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(72, 149, 239, 0.6);
}

@keyframes textGlow {
  0% {
    transform: scale(1);
    /* box-shadow: 0 5px 15px rgba(72, 149, 239, 0.4); */
  }

  50% {
    transform: scale(1.05);
    /* box-shadow: 0 8px 25px rgba(72, 149, 239, 0.6),
                0 0 30px rgba(72, 149, 239, 0.4); */
  }

  100% {
    transform: scale(1);
    /* box-shadow: 0 5px 15px rgba(72, 149, 239, 0.4); */
  }
}

@keyframes glowZoom {
  0% {
    transform: scale(1);
    box-shadow: 0 5px 15px rgba(72, 149, 239, 0.4);
  }

  50% {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(72, 149, 239, 0.6),
      0 0 30px rgba(72, 149, 239, 0.4);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 5px 15px rgba(72, 149, 239, 0.4);
  }
}

/* Alternative simpler glow effect */
/* 
.btn-get-started {
  display: inline-block;
  padding: 12px 35px;
  border-radius: 50px;
  background: linear-gradient(45deg, #ff6b35, #ff8e53);
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.7);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 15px rgba(255, 107, 53, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 107, 53, 0);
  }
}
*/

.hero .btn-watch-video {
  font-size: 16px;
  transition: 0.5s;
  margin-left: 25px;
  font-weight: 400;
  color: var(--default-color);
}

.hero .btn-watch-video i {
  color: var(--accent-color);
  font-size: 32px;
  transition: 0.3s;
  line-height: 0;
  margin-right: 8px;
}

.hero .btn-watch-video:hover {
  color: var(--accent-color);
}

.hero .btn-watch-video:hover i {
  color: color-mix(in srgb, var(--accent-color), transparent 20%);
}

@media (max-width: 768px) {
  .hero h2 {
    font-size: 32px;
  }


  .hero p {
    font-size: 18px;
  }
}

@media (max-width: 360px) {
  /* Button sizing handled by max-width: 992px rule now */
  
  .stats-grid {
    margin-right: 50px;
    /* background-color: rebeccapurple; */
  }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about h3 {
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 20px;
}

/* Mission & Vision cards below both sections */
.mission-vision-below-section {
  margin-top: -75px;
  /* padding-top: 30px; */
  /* border-top: 1px solid #e0e0e0; */
}

.mission-vision-cards-single-line {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 100%;
}

.mission-card-compact,
.vision-card-compact {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  height: 100%;
}

.mission-card-compact:hover,
.vision-card-compact:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
  text-align: center;
}

.card-icon-large {
  font-size: 2.5rem;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
  flex-shrink: 0;
}

.card-icon-large img {
  width: 40px;
  height: 40px;
  object-fit: contain;

}

.card-icon-large img:hover {
  transform: scale(1.1);
  transition: transform 0.3s ease;
  /* background-color: blue; */
  /* border-radius: 50%; */
  /* padding: 20px; */
}


.card-header h4 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  text-align: center;
  width: 100%;
}

.card-content p {
  margin: 0;
  line-height: 1.6;
  font-size: 1rem;
  opacity: 0.95;
  text-align: left;
}

.card-header:first-child {
  /* background-color: rebeccapurple; */
  margin-left: 200px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .mission-vision-cards-single-line {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .card-header:first-child {
    /* background-color: rebeccapurple; */
    margin-left: 15px;
  }

  .card-icon-large img {
    margin-right: -157px;
    gap: 20px;
  }

  .mission-card-compact,
  .vision-card-compact {
    padding: 25px 20px;
  }

  .card-header {
    gap: 12px;
  }

  .card-icon-large {
    font-size: 2rem;
  }

  .card-header h4 {
    font-size: 1.3rem;
  }
}

@media (max-width: 361px) {
  .card-header h4 {
    font-size: 0.1rem;
  }
}

/* University image styling */
.university-image-container {
  height: 100%;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.university-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.university-image:hover {
  transform: scale(1.05);
}

/* Justify text alignment */
.text-justify {
  text-align: justify;
  text-justify: inter-word;
}

.text-justify p {
  line-height: 1.7;
  margin-bottom: 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .history-objectives-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .mission-vision-cards-single-line {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .mission-card-compact,
  .vision-card-compact {
    padding: 25px 20px;
  }

  .card-header {
    gap: 12px;
  }

  .card-icon-large {
    font-size: 2rem;
  }

  .card-header h4 {
    font-size: 1.3rem;
    margin-left: 80px;
  }
}

.about .fst-italic {
  color: color-mix(in srgb, var(--default-color), var(--contrast-color) 50%);
}

.text-justify {
  text-align: justify;
  text-justify: inter-word;
}

/* Optional: Improve readability with hyphenation */
.text-justify p {
  hyphens: auto;
  line-height: 1.6;
  font-family: var(--default-font);
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  padding: 0 0 10px 30px;
  position: relative;
}

.about .content ul i {
  position: absolute;
  font-size: 20px;
  left: 0;
  top: -3px;
  color: var(--accent-color);
}

.about .content p:last-child {
  margin-bottom: 0;
}

.about .pulsating-play-btn {
  position: absolute;
  left: calc(50% - 47px);
  top: calc(50% - 47px);
}

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats .stats-item {
  background-color: var(--surface-color);
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

.stats .stats-item i {
  color: var(--accent-color);
  font-size: 42px;
  line-height: 0;
  margin-right: 20px;
}

.stats .stats-item span {
  color: var(--heading-color);
  font-size: 36px;
  display: block;
  font-weight: 600;
}

.stats .stats-item p {
  padding: 0;
  margin: 0;
  font-family: var(--heading-font);
  font-size: 16px;
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .img {
  border-radius: 8px;
  overflow: hidden;
}

.services .img img {
  transition: 0.6s;
}

.services .details {
  background: color-mix(in srgb, var(--surface-color), transparent 5%);
  padding: 50px 30px;
  margin: -100px 30px 0 30px;
  transition: all ease-in-out 0.3s;
  position: relative;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0px 0 25px rgba(0, 0, 0, 0.1);
}

.services .details .icon {
  margin: 0;
  width: 72px;
  height: 72px;
  background: var(--accent-color);
  color: var(--contrast-color);
  border: 6px solid var(--contrast-color);
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 28px;
  transition: ease-in-out 0.3s;
  position: absolute;
  top: -36px;
  left: calc(50% - 36px);
}

.services .details h3 {
  font-weight: 700;
  margin: 10px 0 15px 0;
  font-size: 22px;
  transition: ease-in-out 0.3s;
}

.services .details p {
  color: color-mix(in srgb, var(--default-color), transparent 10%);
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.services .service-item:hover .details h3 {
  color: var(--accent-color);
}

.services .service-item:hover .details .icon {
  background: var(--surface-color);
  border: 2px solid var(--accent-color);
}

.services .service-item:hover .details .icon i {
  color: var(--accent-color);
}

.services .service-item:hover .img img {
  transform: scale(1.2);
}

/*--------------------------------------------------------------
# Clients Section
--------------------------------------------------------------*/
.clients {
  padding: 20px 0;
}

.clients .client-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.clients .client-logo img {
  padding: 20px 40px;
  max-width: 90%;
  transition: 0.3s;
  opacity: 0.5;
  filter: grayscale(100);
}

.clients .client-logo img:hover {
  filter: none;
  opacity: 1;
}

@media (max-width: 640px) {
  .clients .client-logo img {
    padding: 20px;
  }
}

/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/
.features .nav-tabs {
  border: 0;
}

.features .nav-link {
  background-color: var(--surface-color);
  color: var(--heading-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  padding: 15px 20px;
  transition: 0.3s;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  height: 100%;
}

.features .nav-link i {
  padding-right: 15px;
  font-size: 48px;
}

.features .nav-link h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.features .nav-link:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.features .nav-link.active {
  background: var(--accent-color);
  color: var(--contrast-color);
  border-color: var(--accent-color);
}

.features .nav-link.active h4 {
  color: var(--contrast-color);
}

@media (max-width: 768px) {
  .features .nav-link i {
    padding: 0;
    line-height: 1;
    font-size: 36px;
  }
}

@media (max-width: 575px) {
  .features .nav-link {
    padding: 15px;
  }

  .features .nav-link i {
    font-size: 24px;
  }
}

.features .tab-content {
  margin-top: 30px;
}

.features .tab-pane h3 {
  color: var(--heading-color);
  font-weight: 700;
  font-size: 26px;
}

.features .tab-pane ul {
  list-style: none;
  padding: 0;
}

.features .tab-pane ul li {
  padding-bottom: 10px;
}

.features .tab-pane ul i {
  font-size: 20px;
  padding-right: 4px;
  color: var(--accent-color);
}

.features .tab-pane p:last-child {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Services 2 Section
--------------------------------------------------------------*/
.services-2 .service-item {
  background-color: var(--surface-color);
  padding: 30px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  transition: 0.3s;
}

.services-2 .service-item .icon {
  font-size: 36px;
  line-height: 0;
  margin-right: 30px;
  color: var(--accent-color);
}

.services-2 .service-item .title {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 20px;
}

.services-2 .service-item .title a {
  color: var(--heading-color);
}

.services-2 .service-item .description {
  line-height: 24px;
  font-size: 14px;
  margin: 0;
}

.services-2 .service-item:hover {
  border-color: var(--accent-color);
}

.services-2 .service-item:hover .title a {
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials {
  padding: 80px 0;
  position: relative;
}

.testimonials:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 30%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.testimonials .testimonials-bg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.testimonials .container {
  position: relative;
  z-index: 3;
}

.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  text-align: center;
}

.testimonials .testimonial-item .testimonial-img {
  width: 100px;
  border-radius: 50%;
  border: 6px solid color-mix(in srgb, var(--default-color), transparent 85%);
  margin: 0 auto;
}

.testimonials .testimonial-item h3 {
  font-size: 20px;
  font-weight: bold;
  margin: 10px 0 5px 0;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  margin: 0 0 15px 0;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.testimonials .testimonial-item .stars {
  margin-bottom: 15px;
}

.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(--default-color), transparent 40%);
  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: 0 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: color-mix(in srgb, var(--default-color), transparent 50%);
  opacity: 0.5;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--default-color);
  opacity: 1;
}

@media (min-width: 992px) {
  .testimonials .testimonial-item p {
    width: 80%;
  }
}


@media (max-width: 361px) {
  .card-header h4 {
    font-size: 1.1rem;
    margin-left: 55px;
  }

  .card-icon-large img {
    width: 30px;
    height: 30px;
    margin-left: -20px;
  }
}

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio .portfolio-filters {
  padding: 0;
  margin: 0 auto 20px auto;
  list-style: none;
  text-align: center;
}

.portfolio .portfolio-filters li {
  cursor: pointer;
  display: inline-block;
  padding: 0;
  font-size: 18px;
  font-weight: 500;
  margin: 0 10px;
  line-height: 1;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
}

.portfolio .portfolio-filters li:hover,
.portfolio .portfolio-filters li.filter-active {
  color: var(--accent-color);
}

.portfolio .portfolio-filters li:first-child {
  margin-left: 0;
}

.portfolio .portfolio-filters li:last-child {
  margin-right: 0;
}

@media (max-width: 575px) {
  .portfolio .portfolio-filters li {
    font-size: 14px;
    margin: 0 5px;
  }
}

.portfolio .portfolio-content {
  position: relative;
  overflow: hidden;
}

.portfolio .portfolio-content img {
  transition: 0.3s;
}

.portfolio .portfolio-content .portfolio-info {
  opacity: 0;
  position: absolute;
  inset: 0;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  background: rgba(0, 0, 0, 0.6);
  padding: 15px;
}

.portfolio .portfolio-content .portfolio-info h4 {
  font-size: 14px;
  padding: 5px 10px;
  font-weight: 400;
  color: #ffffff;
  display: inline-block;
  background-color: var(--accent-color);
}

.portfolio .portfolio-content .portfolio-info p {
  position: absolute;
  bottom: 10px;
  text-align: center;
  display: inline-block;
  left: 0;
  right: 0;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

.portfolio .portfolio-content .portfolio-info .preview-link,
.portfolio .portfolio-content .portfolio-info .details-link {
  position: absolute;
  left: calc(50% - 40px);
  font-size: 26px;
  top: calc(50% - 14px);
  color: #fff;
  transition: 0.3s;
  line-height: 1.2;
}

.portfolio .portfolio-content .portfolio-info .preview-link:hover,
.portfolio .portfolio-content .portfolio-info .details-link:hover {
  color: var(--accent-color);
}

.portfolio .portfolio-content .portfolio-info .details-link {
  left: 50%;
  font-size: 34px;
  line-height: 0;
}

.portfolio .portfolio-content:hover .portfolio-info {
  opacity: 1;
}

.portfolio .portfolio-content:hover img {
  transform: scale(1.1);
}

/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/
.team .member {
  position: relative;
}

.team .member .pic {
  overflow: hidden;
  margin-bottom: 50px;
}

.team .member .member-info {
  background-color: var(--surface-color);
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  position: absolute;
  bottom: -50px;
  left: 20px;
  right: 20px;
  padding: 20px 15px;
  overflow: hidden;
  transition: 0.5s;
}

.team .member h4 {
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 16px;
  position: relative;
  padding-bottom: 10px;
}

.team .member h4::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 1px;
  background: color-mix(in srgb, var(--default-color), transparent 60%);
  bottom: 0;
  left: 0;
}

.team .member span {
  font-style: italic;
  display: block;
  font-size: 13px;
}

.team .member .social {
  position: absolute;
  right: 15px;
  bottom: 15px;
}

.team .member .social a {
  transition: color 0.3s;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.team .member .social a:hover {
  color: var(--accent-color);
}

.team .member .social i {
  font-size: 16px;
  margin: 0 2px;
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/

#contact {
  margin-top: 0px;
  background: rgb(245, 245, 245);
  padding-bottom: 40px;
}

/* Map Styling */
.map-container {
  width: 100%;
  height: 200px;
  min-height: 457px;
  border-radius: 16px;
  /* overflow: hidden; */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease;
  padding-bottom: 90px;
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 20px;

}

.map-container:hover {
  transform: scale(1.01);
}

/* Contact Form */
.contact .php-email-form {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
  font-size: 14px;
  border-radius: 8px;
  border: 1px solid #ddd;
  transition: all 0.3s ease;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
  border-color: #1a56db;
  box-shadow: 0 0 6px rgba(26, 86, 219, 0.3);
}

.contact .php-email-form button[type=submit] {
  color: #fff;
  background: #db1a1a;
  border: none;
  border-radius: 50px;
  padding: 10px 30px;
  transition: 0.3s;
}

.contact .php-email-form button[type=submit]:hover {
  background: #db1a1a;

  transform: translateY(-2px);
}

/* Contact Info Cards (Below Form) */
.contact-extra {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  margin-top: 25px;
  flex-wrap: wrap;
}

.info-card {
  background: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  padding: 15px 25px;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: all 0.3s ease;
  min-width: 220px;
}

.info-card i {
  font-size: 24px;
  color: #db1d1a;
  /* background: #e9efff; */
  padding: 12px;
  border-radius: 50%;
}

.info-card h4 {
  font-size: 16px;
  margin: 0;
  color: #222;
  font-weight: 700;
}


.info-card p {
  margin: 0;
  color: #555;
  font-size: 14px;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

/* Responsive */
@media (max-width: 768px) {
  .contact-extra {
    flex-direction: column;
    gap: 15px;
  }

  .map-container {
    min-height: 300px;
  }
}


/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/
.portfolio-details .portfolio-details-slider img {
  width: 100%;
}

.portfolio-details .portfolio-details-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
  opacity: 1;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

.portfolio-details .portfolio-info {
  background-color: var(--surface-color);
  padding: 30px;
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li+li {
  margin-top: 10px;
}

.portfolio-details .portfolio-description {
  padding-top: 30px;
}

.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .services-list {
  background-color: var(--surface-color);
  padding: 10px 30px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  margin-bottom: 20px;
}

.service-details .services-list a {
  display: block;
  line-height: 1;
  padding: 8px 0 8px 15px;
  border-left: 3px solid color-mix(in srgb, var(--default-color), transparent 70%);
  margin: 20px 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.3s;
}

.service-details .services-list a.active {
  color: var(--heading-color);
  font-weight: 700;
  border-color: var(--accent-color);
}

.service-details .services-list a:hover {
  border-color: var(--accent-color);
}

.service-details .services-img {
  margin-bottom: 20px;
}

.service-details h3 {
  font-size: 26px;
  font-weight: 700;
}

.service-details h4 {
  font-size: 20px;
  font-weight: 700;
}

.service-details p {
  font-size: 15px;
}

.service-details ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.service-details ul li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}

.service-details ul i {
  font-size: 20px;
  margin-right: 8px;
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {
  /* Add your styles here */
}

/* User Profile Dropdown */
.user-profile {
  position: relative;
  margin-left: 20px;
}

.user-profile-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.user-profile-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  /* background: rgba(255, 255, 255, 0.2); */
  display: flex;
  align-items: center;
  justify-content: center;
  /* border: 2px solid rgba(255, 255, 255, 0.3); */
}

.user-name {
  font-size: 0.9rem;
  white-space: nowrap;
}

.profile-dropdown-arrow {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.user-profile.active .profile-dropdown-arrow {
  transform: rotate(180deg);
}

.profile-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 10px;
  background: white;
  min-width: 200px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.user-profile.active .profile-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.profile-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  text-decoration: none;
  color: #495057;
  transition: all 0.3s ease;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font-size: 0.9rem;
}

.profile-dropdown-item:hover {
  background: #f8f9fa;
  color: #667eea;
}

.profile-dropdown-divider {
  height: 1px;
  background: #e9ecef;
  margin: 5px 0;
}

.logout-btn {
  color: #dc3545;
}

.logout-btn:hover {
  background: #f8d7da;
  color: #dc3545;
}



/* General Styles */
body {
  font-family: var(--default-font);
}

.welcome-text {
  font-size: 4rem;
  color: #6c757d;
  font-weight: 400;
  margin-bottom: 0.3rem;
  letter-spacing: 1px;
  font-family: var(--default-font);
}

.university-heading {
  font-size: 4.5rem;
  font-weight: 800;
  /* color: #ffffff; */
  line-height: 1.3;
  position: relative;
  min-height: 160px;
  font-family: var(--default-font);
}

.typed-text {
  background: linear-gradient(135deg, #ffffff, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  font-family: var(--default-font);
  font-size: 60.5px;

}




.cursor {
  display: inline-block;
  background-color: #ffffff;
  margin-left: 0.15rem;
  width: 5px;
  height: 0.8em;
  animation: blink 1s infinite;
}

@keyframes blink {

  0%,
  50%,
  100% {
    opacity: 1;
  }

  25%,
  75% {
    opacity: 0;
  }
}

.tagline {
  font-size: 2.5rem;
  color: #2d3436;
  font-weight: 600;
  margin-top: 0.5rem;
  font-family: var(--default-font);
}

.sub-tagline {
  font-size: 1.2rem;
  color: #495057;
  font-weight: 400;
  margin-bottom: 2rem;
  font-family: var(--default-font);

}

/* Buttons */


.btn-watch-video {
  color: #1a56db;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 12px 25px;
}

.btn-watch-video:hover {
  color: #7e22ce;
  transform: translateY(-2px);
}

.btn-watch-video i {
  font-size: 1.5rem;
  margin-right: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .university-heading {
    font-size: 2.8rem;
    min-height: 70px;
  }

  .tagline {
    font-size: 10px;
  }

  .welcome-text {
    font-size: 10px;
  }

  .sub-tagline {
    font-size: 1rem;
  }

  .btn-get-started,
  .btn-watch-video {
    width: 100%;
    text-align: center;
  }

  .d-flex.mt-4 {
    flex-direction: row;
    gap: 1rem;
  }
}

/* Mobile Responsive Styles */
@media (max-width: 1200px) {
  .welcome-text {
    font-size: 3.5rem;
  }

  .university-heading {
    font-size: 4rem;
  }

  .typed-text {
    font-size: 58px;
  }
}

@media (max-width: 992px) {
  .welcome-text {
    font-size: 3rem;
  }

  .university-heading {
    font-size: 3.5rem;
    min-height: 135px;
  }

  .typed-text {
    font-size: 50px;
  }

  .tagline {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 100px 15px 40px;
    min-height: 90vh;
  }

  .welcome-text {
    font-size: 2.5rem;
    margin-bottom: 0.2rem;
  }

  .university-heading {
    font-size: 2.8rem;
    /* Smaller font for mobile */
    min-height: 120px;
    line-height: 1.3;
    margin: 15px 0;
  }

  .typed-text {
    font-size: 32px;
    /* Much smaller for mobile */
    line-height: 1.2;
  }

  .tagline {
    font-size: 1.8rem;
  }

  .sub-tagline {
    font-size: 1rem;
    margin: 15px 0 25px;
  }

  .btn-get-started,
  .btn-alumni-network {
    padding: 5px 25px;
    font-size: 14px;
    margin-left: -10px;
    height: 54px;

  }

  .stats-grid {
    gap: 15px;


  }




  .stat-card {
    padding: 20px 15px;
    min-width: 140px;
  }

  .stat-number {
    font-size: 28px;
  }

  .stat-label {
    font-size: 14px;
  }
}

@media (max-width: 576px) {
  .welcome-text {
    font-size: 20px;
  }

  .university-heading {
    font-size: 2.2rem;
    min-height: 130px;
  }

  .typed-text {
    font-size: 35px;
    /* Even smaller for very small screens */
  }

  .tagline {
    font-size: 1.5rem;
  }

  .sub-tagline {
    font-size: 0.9rem;
  }

  .stats-grid {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .stat-card {
    width: 100%;
    max-width: 250px;
  }
}

@media (max-width: 400px) {
  .welcome-text {
    font-size: 1.8rem;
  }

  .university-heading {
    font-size: 1.8rem;
    min-height: 85px;
  }

  .typed-text {
    font-size: 28px;
    /* Minimum readable size */
  }

}

/* About Section Styles */
.about-hero {
  text-align: center;
  padding: 4rem 0 2rem;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  margin-bottom: 3rem;
  border-radius: 20px;
}

#about {
  padding-top: 70px;
  /* padding: 50px; */
  padding-bottom: 80px;
  background-color: rgb(255, 255, 255);


}

/* Mission & Vision cards in single line */
.mission-vision-cards-single-line {
  display: grid;
  /* grid-template-columns: 1fr 1fr; */
  gap: 20px;
  margin-top: 30px;
}

.mission-card-compact,
.vision-card-compact {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #fff;
  border-radius: 12px;
  padding: 25px 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.mission-card-compact:hover,
.vision-card-compact:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-icon-large {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.card-content h4 {
  margin: 0 0 12px 0;
  color: #2c3e50;
  font-size: 1.3rem;
  font-weight: 600;
}

.card-content p {
  margin: 0;
  color: #555;
  line-height: 1.5;
  font-size: 0.95rem;
}

/* Ensure the right side image takes full height */

.right-content {
  display: flex;
  flex-direction: column;
  height: 490px;
  /* margin-top: 50px; */
}

.university-image-container {
  flex: 1;
  height: 100%;
}

.university-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}



/* Responsive adjustments */
@media (max-width: 768px) {
  .history-objectives-grid {
    grid-template-columns: 1fr;
  }

  .mission-vision-cards-single-line {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 40px;
  }

  .mission-card-compact,
  .vision-card-compact {
    padding: 20px 15px;
  }

  .card-icon-large {
    font-size: 2rem;
    margin-bottom: 12px;
  }

  .card-content h4 {
    font-size: 1.2rem;
  }
}



.main-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 1rem;
  position: relative;
}




.dot {
  width: 6px;
  height: 6px;
  background: #1a56db;
  border-radius: 50%;
  opacity: 0.6;
}

/* History & Objectives Section */
.history-objectives-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 2rem;
  position: relative;
  font-family: var(--default-font);
  text-align: center;
}

/* .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #1a56db, #7e22ce);
    border-radius: 2px;
  } */

.history-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #4a5568;
  margin-bottom: 3rem;
  padding: 2.5px;
  padding-top: 0px;
  margin-top: -30px;
}

.history-text p {
  margin-bottom: 1.5rem;
}

/* Full Width Objectives Section */
.objectives-full-section {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 5rem 0;
  margin: 4rem 0;
  border-radius: 20px;
}

.section-title-center {
  font-size: 3rem;
  font-weight: 700;
  color: #1a202c;
  text-align: center;
  margin-bottom: 1rem;
  position: relative;
}

.section-title-center::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, #1a56db, #7e22ce);
  border-radius: 2px;
}

.section-subtitle-center {
  font-size: 1.3rem;
  color: #4a5568;
  text-align: center;
  margin-bottom: 4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.objectives-cards-full {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.objective-card-full {
  background: white;
  padding: 3rem 2.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  min-height: 480px;
}

.objective-card-full::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(135deg, #1a56db, #7e22ce);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.objective-card-full:hover {
  transform: translateY(-12px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.objective-card-full:hover::before {
  transform: scaleX(1);
}

.card-icon-full {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #1a56db, #7e22ce);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.objective-card-full:hover .card-icon-full {
  transform: scale(1.1) rotate(5deg);
}

.card-number-full {
  font-size: 4rem;
  font-weight: 800;
  color: #f1f5f9;
  position: absolute;
  top: 2rem;
  right: 2rem;
  line-height: 1;
  z-index: 1;
  transition: all 0.3s ease;
}

.objective-card-full:hover .card-number-full {
  color: #e2e8f0;
  transform: scale(1.1);
}

.card-title-full {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 1.5rem;
  line-height: 1.3;
  position: relative;
  z-index: 2;
}

.card-description-full {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #4a5568;
  margin-bottom: 2rem;
  flex-grow: 1;
  position: relative;
  z-index: 2;
}

.card-footer {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.card-tag {
  background: linear-gradient(135deg, #1a56db, #7e22ce);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* University Image */
.university-image-container {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}


.university-image:hover {
  transform: scale(1.05);
}

/* Mission & Vision Cards */
.mission-vision-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mission-card-compact,
.vision-card-compact {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  transition: all 0.3s ease;
  font-family: var(--default-font);
}

.mission-card-compact:hover,
.vision-card-compact:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-icon-large {
  font-size: 2.5rem;
  flex-shrink: 0;
}

.card-content h4 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 0.8rem;
}

.card-content p {
  color: #4a5568;
  line-height: 1.6;
  margin: 0;
  font-size: 1.1rem;
  margin-top: -30px;
}

/* Leadership Messages Section */
.messages-section {
  padding: 80px 0;
  /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
  color: white;
  margin-top: -88px;
  background-color: #ffffff;

}

.full-width-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;

}

.leadership-slider-full {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 30px;
  background-color: rgb(245, 245, 245);


}

.slider-container-full {
  overflow: hidden;
  border-radius: 20px;
  background: rgb(255, 255, 255);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.slider-track-full {
  display: flex;
  transition: transform 0.5s ease;
}

.slide-full {
  min-width: 100%;
  padding: 60px;
  box-sizing: border-box;
}


.leader-card-full {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  align-items: center;
}

.leader-content-full {
  display: contents;
}

.leader-info {
  text-align: center;
}

.leader-photo-container-full {
  position: relative;
  margin-bottom: 1.5rem;
}

.leader-photo-full {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #e2e8f0;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.photo-overlay-full {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
}

.leader-details {
  margin-top: 1rem;
  gap: 20px;
}

.leader-title-full {
  font-size: 1rem;
  color: var(--heading-color);
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 14px;
}

.leader-name-full {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a202c;
  margin: 0;
  /* padding: 5px; */
}

.leader-message-full {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #2c323d;
  /* font-style: italic; */
}

.leader-message-full p {
  margin: 0;
  font-family: var(--default-font);
  font-size: 18px;
}

/* Slider Navigation */
.slider-nav-full {
  display: flex;
  justify-content: center;
  display: none;
  gap: 0.5rem;
  padding: 20px;
}

.nav-dot-full {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: #cbd5e0;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-dot-full.active {
  /* background: #1a56db; */
  transform: scale(1.2);
}

.nav-dot-full span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: white;
}

.slider-controls-full {
  position: absolute;
  top: 50%;
  left: -140px;
  right: -140px;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}

.slider-btn-full {
  width: 50px;
  height: 50px;
  /* border-radius: 50%; */
  border: none;
  /* background: white; */
  /* color: #1a56db; */
  font-weight: bold;
  font-size: 1.5rem;
  cursor: pointer;
  /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); */
  pointer-events: all;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 3px;
}



/* Animation Classes */
.fade-in-item {
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
}

.zoom-in-item {
  opacity: 0;
  transform: scale(0.9);
  animation: zoomIn 0.8s ease forwards;
}

.slide-up-item {
  opacity: 0;
  transform: translateY(30px);
  animation: slideUp 0.6s ease forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes zoomIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 1200px) {
  .objectives-cards-full {
    gap: 2rem;
  }

  .objective-card-full {
    padding: 2.5rem 2rem;
    min-height: 460px;
  }
}

@media (max-width: 968px) {
  .history-objectives-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .objectives-cards-full {
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 600px;
  }

  .objective-card-full {
    min-height: auto;
    padding: 3rem 2.5rem;
  }

  .leader-card-full {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .main-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-title-center {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .about-hero {
    padding: 3rem 0 1rem;
  }

  .main-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .section-title-center {
    font-size: 2rem;
  }

  .section-subtitle-center {
    font-size: 1.1rem;
  }

  .slide-full {
    padding: 2rem;
  }

  .slider-controls-full {
    display: none;
  }

  .mission-card-compact,
  .vision-card-compact {
    padding: 1.5rem;
    flex-direction: column;
    text-align: center;
  }

  .objective-card-full {
    padding: 2rem 1.5rem;
  }

  .card-icon-full {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
  }

  .card-title-full {
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  .leader-photo-full {
    width: 150px;
    height: 150px;
  }

  .slide-full {
    padding: 1.5rem;
  }

  .objective-card-full {
    padding: 1.5rem;
  }

  .card-number-full {
    font-size: 3rem;
    top: 1.5rem;
    right: 1.5rem;
  }
}

/* News Section Styles */
.services.section {
  padding: 80px 0;
  background: #ffffff;
  /* background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%); */
}

.section-title h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 1rem;
  text-align: center;
  padding-bottom: 0px;
}

.section-title p {
  font-size: 1.2rem;
  color: #4a5568;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

/* News Filters */
.news-filters {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.filter-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.75rem 1.5rem;
  border: 2px solid #e2e8f0;
  background: white;
  color: #4a5568;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.filter-btn:hover {
  border-color: #1a56db;
  color: #1a56db;
  transform: translateY(-2px);
}

.filter-btn.active {
  background: linear-gradient(135deg, #1a56db, #7e22ce);
  color: white;
  border-color: transparent;
}

.search-box {
  position: relative;
  min-width: 300px;
}

.search-box input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  border: 2px solid #e2e8f0;
  border-radius: 25px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.search-box input:focus {
  outline: none;
  border-color: #1a56db;
  box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.1);
}

.search-box i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
}

/* News Grid */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.news-item {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  position: relative;
}

.news-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.news-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-item:hover .news-image img {
  transform: scale(1.05);
}

.news-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: linear-gradient(135deg, #1a56db, #7e22ce);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.news-date {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: white;
  padding: 0.5rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.date-day {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a202c;
  line-height: 1;
}

.date-month {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: #1a56db;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.news-content {
  padding: 1.5rem;
}

.news-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 1rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-excerpt {
  color: #4a5568;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: #6b7280;
}

.news-author,
.news-read-time {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.read-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #1a56db;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.read-more-btn:hover {
  color: #7e22ce;
  gap: 0.7rem;
}

/* Pagination */
.news-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.pagination-btn {
  padding: 0.75rem 1.5rem;
  border: 2px solid #e2e8f0;
  background: white;
  color: #4a5568;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pagination-btn:hover:not(:disabled) {
  border-color: #1a56db;
  color: #1a56db;
}

.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pagination-numbers {
  display: flex;
  gap: 0.5rem;
}

.page-number {
  width: 45px;
  height: 45px;
  border: 2px solid #e2e8f0;
  background: white;
  color: #4a5568;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.page-number:hover {
  border-color: #1a56db;
  color: #1a56db;
}

.page-number.active {
  background: linear-gradient(135deg, #1a56db, #7e22ce);
  color: white;
  border-color: transparent;
}

.page-dots {
  display: flex;
  align-items: center;
  color: #9ca3af;
  padding: 0 0.5rem;
}

/* News Stats */
.news-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  padding: 3rem;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a56db;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: #4a5568;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Responsive Design */
@media (max-width: 968px) {
  .news-filters {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-buttons {
    justify-content: center;
  }

  .search-box {
    min-width: auto;
  }

  .news-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  }
}

@media (max-width: 768px) {
  .section-title h2 {
    font-size: 2.5rem;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .news-pagination {
    flex-wrap: wrap;
  }

  .pagination-numbers {
    order: 3;
    width: 100%;
    justify-content: center;
    margin-top: 1rem;
  }

  .news-stats {
    grid-template-columns: repeat(2, 1fr);
    padding: 2rem;
  }
}

@media (max-width: 480px) {
  .section-title h2 {
    font-size: 2rem;
  }

  .filter-buttons {
    gap: 0.3rem;
  }

  .filter-btn {
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
  }

  .news-content {
    padding: 1.25rem;
  }

  .news-title {
    font-size: 1.1rem;
  }

  .news-stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
  }

  .stat-number {
    font-size: 2rem;
  }
}

/* Events Section Styles */
.events.section {
  padding: 0px 0;
  padding-top: 50px;
  background: rgb(245, 245, 245);
}

/* Events Header */
.events-header {
  text-align: center;
  margin-bottom: 3rem;
}

.events-main-title {
  font-size: 2.5rem;
  font-weight: 700;
  /* color: #1a202c; */
  background: linear-gradient(45deg, #2a41c4, #4361ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: #4361ee;
  margin-bottom: 1rem;
  position: relative;
}

.events-title-underline {
  height: 4px;
  background: linear-gradient(135deg, #1a56db, #7e22ce);
  width: 80px;
  margin: 0.5rem auto;
  border-radius: 2px;
}

.events-subtitle {
  font-size: 1.2rem;
  color: #4a5568;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Events Container */
.events-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0rem;
}

/* Category Dropdown (Mobile) */
.category-dropdown {
  display: none;
  position: relative;
  margin-bottom: 2rem;
}

.dropdown-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dropdown-header.active {
  border-color: #1a56db;
}

.dropdown-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: #1a202c;
}

.category-icon {
  font-size: 1.1rem;
}

.dropdown-icon {
  transition: transform 0.3s ease;
}

.dropdown-header.active .dropdown-icon {
  transform: rotate(180deg);
}

.dropdown-options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 2px solid #e2e8f0;
  border-top: none;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: none;
  z-index: 10;
}

.dropdown-options.show {
  display: block;
}

.dropdown-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 1px solid #f1f5f9;
}

.dropdown-option:last-child {
  border-bottom: none;
}

.dropdown-option:hover {
  background: #f8fafc;
}

.dropdown-option.active {
  background: linear-gradient(135deg, #1a56db, #7e22ce);
  color: white;
}

/* Category Buttons (Desktop) */
.events-categories {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.category-filter-btn {
  padding: 0.75rem 1.5rem;
  border: 2px solid #e2e8f0;
  background: white;
  color: #4a5568;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
}

.category-filter-btn:hover {
  border-color: #1a56db;
  color: #1a56db;
  transform: translateY(-2px);
}

.category-filter-btn.active {
  background: linear-gradient(135deg, #1a56db, #7e22ce);
  color: white;
  border-color: transparent;
}

/* Events Grid */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.event-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
  /* border: 1px solid #0033a2; */
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.event-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.event-category-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: linear-gradient(135deg, #1a56db, #7e22ce);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
}

.event-date {
  /* position: absolute; */
  top: 15px;
  left: 15px;
  width: 22%;
  background: white;
  padding: 10px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}


.event-date-badge {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: rgb(238, 228, 227);
  padding: 0.75rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.date-month {
  font-size: 0.8rem;
  font-weight: 700;
  color: #1a56db;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.date-day {
  font-size: 1.5rem;
  font-weight: 800;
  color: #1a202c;
  line-height: 1;
  margin: 0.2rem 0;
}

.date-year {
  font-size: 0.8rem;
  font-weight: 600;
  color: #6b7280;
}

.event-content {
  padding: 2rem;
  padding-top: 4rem;
}

.event-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.event-description {
  color: #4a5568;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.event-detail {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #6b7280;
  font-size: 0.9rem;
}

.detail-time::before {
  content: "🕒";
  margin-right: 0.3rem;
}

.detail-location::before {
  content: "📍";
  margin-right: 0.3rem;
}

.event-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.interest-buttons {
  display: flex;
  gap: 0.75rem;
}

.interest-btn {
  flex: 1;
  padding: 0.75rem 0rem;
  border: 2px solid #e2e8f0;
  background: white;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
}

.interest-btn:hover {
  transform: translateY(-2px);
}

.interested-btn:hover {
  border-color: #10b981;
  color: #10b981;
}

.not-interested-btn:hover {
  border-color: #ef4444;
  color: #ef4444;
}

.interest-btn.active {
  border-color: transparent;
  color: white;
}

.interested-btn.active {
  background: #10b981;
}

.not-interested-btn.active {
  background: #ef4444;
}

.btn-icon {
  font-size: 1.1rem;
}

/* Pagination */
.pagination-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.pagination-info {
  color: #6b7280;
  font-size: 0.9rem;
  font-weight: 500;
}

.pagination {
  display: flex;
  gap: 0.5rem;
}

.pagination-btn {
  width: 80px;
  height: 45px;
  /* border: 2px solid #e2e8f0; */
  border: none;
  background: linear-gradient(45deg, #2a41c4, #4361ee);
  color: white;
  /* background: white; */
  /* color: #4a5568; */
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pagination-btn:hover:not(:disabled) {
  border-color: #1a56db;
  color: #1a56db;
}

.pagination-btn.active {
  background: linear-gradient(45deg, #2a41c4, #4361ee);
  color: white;
  border-color: transparent;
}

.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  width: 9%;
}


/* Animation Classes */
.shuffle-out {
  animation: shuffleOut 0.5s ease forwards;
}

.shuffle-in {
  animation: shuffleIn 0.5s ease forwards;
}

@keyframes shuffleOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(20px);
  }
}

@keyframes shuffleIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Responsive Design */
@media (max-width: 768px) {
  .events-main-title {
    font-size: 2.5rem;
  }

  .events-categories {
    display: none;
  }

  .category-dropdown {
    display: block;
  }

  .events-grid {
    grid-template-columns: 1fr;
  }

  .pagination-container {
    flex-direction: column;
    text-align: center;
  }

  .event-content {
    padding: 1.5rem;
    padding-top: 3.5rem;
  }
}

@media (max-width: 480px) {
  .events-main-title {
    font-size: 2rem;
  }

  .events-subtitle {
    font-size: 1rem;
  }

  .interest-buttons {
    flex-direction: column;
  }

  .event-title {
    font-size: 1.2rem;
  }
}



.maa-logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #ffffff;
  letter-spacing: 3px;
  margin-left: 10px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  background: linear-gradient(45deg, #2b2b2b, #ff4a17, #2b2b2b, #2b2b2b, #2b2b2b);
  background-size: 400% 400%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.stats-container {
  margin-top: 60px;
  width: 100%;
  max-width: 800px;
}



.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  justify-content: center;
}

.stat-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 30px 20px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.15);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.stat-label {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 300px;
    display: inline-flex;
    margin-left: 0px;
    margin-right: 0px;

  }

  .stat-card {
    padding: 25px 15px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 0.9rem;
  }
}



@media (max-width: 480px) {


  .stat-card {
    padding: 20px 15px;
  }

  .stat-number {
    font-size: 1.8rem;
  }
}


/* ======= Gallery Section ======= */
.gallery {
  padding: 60px 0;
  background: #ffffff;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  font-size: 34px;
  font-weight: 700;
  color: #0a3d62;
  margin-bottom: 10px;
}

.section-title p {
  color: #555;
  font-size: 16px;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 80px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
  text-align: center;
}

.lightbox-content {
  margin: auto;
  display: block;
  width: 80%;
  height: 80%;
  border-radius: 10px;
}

.close {
  position: absolute;
  top: 25px;
  right: 40px;
  color: white;
  font-size: 36px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s;
}

.close:hover {
  color: #f1c40f;
}

/* leadership popup */
.leader-message-full .read-more-btn {
  background: linear-gradient(45deg, #2a41c4, #4361ee);
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: flex-start;
  box-shadow: 0 4px 15px rgba(26, 42, 108, 0.3);
  margin-top: 15px;
}

.leader-message-full .read-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 42, 108, 0.4);
  color: white;
}

/* This should work - tested approach */
.popup-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  overflow-y: auto;
}

.popup-content {
  position: relative !important;
  margin: 10vh auto;
  background: white;
  padding: 40px;
  border-radius: 15px;
  max-width: 700px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

/* This is the key - fixed positioning directly on the button */
#messagePopup .close-btn {
  position: absolute !important;
  top: 15px !important;
  right: 20px !important;
  font-size: 2rem;
  color: #333 !important;
  cursor: pointer;
  z-index: 1002;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  line-height: 1;
}

#messagePopup .close-btn:hover {
  color: #ff0000 !important;
}

@media (max-width: 768px) {
  /* Close button position is now handled by absolute positioning in all views */
}

.popup-header {
  border-bottom: 1px solid #eee;
  margin-bottom: 20px;
  padding-bottom: 15px;
  text-align: center;
}

.popup-main-title {
  color: #1a2a6c;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
}

.popup-signature {
  margin-top: 30px;
  text-align: left;
  border-top: 1px solid #eee;
  padding-top: 20px;
}

.popup-signature h3 {
  color: #1a2a6c;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.popup-signature h4 {
  color: #6c757d;
  font-size: 1.1rem;
  font-weight: 500;
  margin: 0;
}

.popup-body p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #495057;
  text-align: justify;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* --------------------------------------------------------------
# Explicit Font Overrides for Requested Sections
-------------------------------------------------------------- */
#about, #about h2, #about h3, #about p,
.mission-card-compact, .mission-card-compact h4, .mission-card-compact p,
.vision-card-compact, .vision-card-compact h4, .vision-card-compact p,
#team, .our-team-section, .team-member-card, .member-name, .member-position,
.messages-section, .messages-section h2, .leader-title-full, .leader-name-full, .leader-message-full,
#services, #services h3, #services p, .service-item .title, .service-item .description,
#clients, #clients h2,
#jobs, #jobs h2, .job-card h3, .job-card p {
  font-family: var(--default-font) !important;
}



/* WhatsApp Float Button */
.whatsapp-chat-button {
  position: fixed;
  bottom: 70px;
  right: 15px;
  z-index: 99998;
  display: flex;
  align-items: center;
  background-color: #25d366;
  color: white;
  padding: 10px 20px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
  font-weight: 600;
  gap: 10px;
  font-family: var(--default-font);
}

.whatsapp-chat-button:hover {
  transform: translateY(-5px);
  color: white;
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.whatsapp-chat-button i {
  font-size: 20px;
}

/* Adjust for mobile if needed */
@media (max-width: 576px) {
  .whatsapp-chat-button {
    bottom: 70px;
    right: 15px;
    padding: 8px 16px;
    font-size: 14px;
  }
}
