:root {
  --default-font:
    "Roboto", 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: "Domine", sans-serif;
  --nav-font: "Quicksand", 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: #3b434a; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #183c3d; /* 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: #000000; /* 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: #ffffff; /* The default color of the main navmenu links */
  --nav-hover-color: #ffbb27; /* 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: #ffbb27; /* 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: #daf3f3;
  --surface-color: #ffffff;
}

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

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}
#Opportunities a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}
#Opportunities a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 20%);
  text-decoration: underline;
}
a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

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

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

/* Global BTN
------------------------------*/
.global-viewmore-btn {
  display: inline-block;
  padding: 12px 28px;
  background: var(--accent-color);
  color: var(--surface-color);
  border-radius: 40px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}
#current_team .global-viewmore-btn .bi {
  color: var(--surface-color) !important;
}
#current_team .global-viewmore-btn:hover .bi {
  color: var(--accent-color) !important;
}
.global-viewmore-btn:hover {
  /* background: color-mix(in srgb, var(--accent-color), #ffffff 20%); */
  background-color: white;
  color: #183c3d;
  transform: translateY(-3px);
}
/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  --background-color: rgba(0, 0, 0, 0.7);
  --default-color: #ffffff;
  --heading-color: #ffffff;
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 5px 0;
  transition: all 0.5s;
  z-index: 997;
}
.social-links {
  padding-right: 10px;
  font-size: 25px;
}

.social-links a {
  padding-left: 12px;
  display: inline-block;
  color: white;
}

.social-links a:hover {
  /* background: #0d6efd; */
  transform: translateY(-9px);
  /* box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4); */
}

/*---------------.navmenu-------------------*/

.navmenu {
  margin: 10px 0;
}
.navmenu ul li {
  margin-bottom: 0;
}

@media (max-width: 1200px) {
  .header .logo {
    order: 1;
  }

  .header .header-social-links {
    order: 2;
  }

  .header .navmenu {
    order: 3;
  }
}
/* Center social icons on mobile */
@media (max-width: 576px) {
  .social-links {
    padding-right: 0 !important;
    text-align: center !important;
    margin: 0 auto !important;
    width: 100%;
  }

  .social-links a {
    padding-left: 10px;
    padding-right: 10px;
  }
}

.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
  padding: 12px 0;
}

/* Global Header on Scroll
------------------------------*/
.scrolled .header {
  --background-color: rgba(0, 0, 0, 0.8);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0px 45px;
  }

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

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 10px 15px;
    font-size: 13px;
    text-transform: uppercase;
    font-family: var(--nav-font);
    font-weight: 600;
    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;
    transition: 0.3s;
  }

  .navmenu li:last-child a {
    padding-right: 0;
  }

  .navmenu li:hover > a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }

  .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;
  }

  /* This targets the icon when the parent link is hovered */
  .navmenu .dropdown > a:hover i {
    color: var(--nav-dropdown-hover-color) !important;
  }

  /* Default icon style */
  .navmenu .dropdown a i {
    font-size: 12px;
    color: var(--surface-color) !important;
    transition: 0.3s; /* Smooth color transition */
  }

  .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;
  }
}

/* Navmenu - Mobile */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .mobile-nav-toggle.bi-list {
    color: var(--nav-color) !important;
  }

  .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);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .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);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    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 !important;
    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
--------------------------------------------------------------*/
/* ================================
   FOOTER BASE STYLE
================================ */
.footer {
  background: #183c3d;
  color: #fff;
  padding: 60px 0 30px;
  font-size: 15px;
  line-height: 24px;
}

.footer .logo .sitename {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

/* ================================
   FOOTER CONTACT + SOCIAL ICONS
================================ */
.footer .footer-contact p {
  margin: 8px 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.footer .footer-contact i,
.social-links a {
  font-size: 18px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  margin-right: 10px;
  border-radius: 50%;
  color: var(--accent-color);
  background: var(--surface-color);
  transition: 0.3s;
  padding: 10px 10px;
}

/* ================================
   FOOTER LINKS
================================ */
.footer .footer-links h4 {
  /*font-size: 18px;*/
  margin-bottom: 10px;
  font-weight: 600;
}
h4 {
  color: #ffffff;
}
.footer ul {
  list-style: none;
  padding: 0;
}
.footer ul li a {
  color: #fffdfd;
  transition: 0.3s;
}

.footer ul li a:hover {
  text-decoration: underline;
}

/* ================================
   COPYRIGHT
================================ */
.footer .copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 10px;
  font-size: 14px;
  color: #ffffff;
}

/* ================================
   RESPONSIVE DESIGN
================================ */

/* Tablets */
@media (max-width: 992px) {
  .footer {
    text-align: center;
  }

  .footer .footer-contact p {
    justify-content: center;
  }

  .footer .social-links {
    justify-content: center;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .footer {
    padding: 40px 0 20px;
  }

  .footer h4 {
    margin-top: 30px;
  }

  .footer .footer-contact p {
    font-size: 14px;
  }

  .footer .footer-contact i {
    margin-right: 0; /* Remove right margin when centered */
  }
}

/* Extra small mobile */
@media (max-width: 480px) {
  .footer .social-links a {
    width: 32px;
    height: 32px;
    font-size: 16px;
    margin-top: 20px;
  }

  .footer .logo .sitename {
    font-size: 20px;
  }

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

.scroll-top i {
  font-size: 24px;
  color: #fff !important;
  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 {
  color: var(--default-color);
  background-color: var(--background-color);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 120px 0 40px 0;
  text-align: center;
  position: relative;
}

.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%);
}

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

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

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding: 30px 0;
  /* margin-bottom: 30px; */
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 0;
  position: relative;
  z-index: 2;
}

.section-title span {
  position: absolute;
  top: 4px;
  color: color-mix(in srgb, var(--heading-color), transparent 95%);
  left: 0;
  right: 0;
  z-index: 1;
  font-weight: 700;
  font-size: 52px;
  text-transform: uppercase;
  line-height: 1;
}

.section-title p {
  margin-bottom: 0;
  position: relative;
  z-index: 2;
}

@media (max-width: 575px) {
  .section-title h2 {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .section-title span {
    font-size: 38px;
  }
}

/*--------------------------------------------------------------
# Blog Hero Section
--------------------------------------------------------------*/
.hero_carousel {
  padding: 0;
}

.hero_carousel .hero_carousel-slider {
  position: relative;
  overflow: hidden;
}

.hero_carousel .hero_carousel-item {
  position: relative;
  height: 80vh;
  min-height: 600px;
}

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

.hero_carousel .swiper-button-prev,
.hero_carousel .swiper-button-next {
  color: var(--surface-color);
  width: 60px;
  height: 60px;
}

.hero_carousel .swiper-button-prev::after,
.hero_carousel .swiper-button-next::after {
  font-size: 32px;
}

.hero_carousel .swiper-button-prev:hover,
.hero_carousel .swiper-button-next:hover {
  color: var(--accent-color);
}

.hero_carousel .swiper-wrapper {
  height: auto !important;
}
/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about_us {
  padding: 60px 0px;
}
/* Minimal CSS for sizing and consistency */
.logo-img {
  /* Adjust height as needed */
  width: auto;
  object-fit: contain;
}

/* ============================
   CARD CONTAINER
============================ */

.card-inner {
  background: #daf3f3;
  border-radius: 14px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

/* Hover effect */
.card-inner:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.18);
}

/* ============================
   IMAGE STYLING
============================ */
.card-img {
  width: 100%;
  height: 180px; /* Fixed image height */
  overflow: hidden;
}

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

/* ============================
   TEXT AREA
============================ */
.card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-content h4 {
  font-size: 15px;
  font-weight: 600;
  color: #000000;
  line-height: 1.5;
  min-height: 60px; /* Helps equal height */
  margin-bottom: 12px;
}
/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$  NAF CURRENT TEAM CSS $$$$$$$$$$$$$$$ */

/* Ensures swiper slide height adjusts automatically */
.swiper-slide {
  height: auto !important;
}

#current_team h5 {
  color: #183c3d;
}

#current_team h3 {
  background: #183c3d;
  color: #ffffff;
  border-radius: 8px;
  font-weight: 500;
}
/* Custom utility for hierarchy */
.tracking-wide {
  letter-spacing: 1px;
}
.x-small {
  font-size: 0.7rem;
}

.team-card {
  background: #ffffff;
  border-radius: 15px;
  transition: all 0.3s ease-in-out;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

.team-img {
  width: 180px;
  height: 180px;
  object-fit: cover; /* Keeps the face from stretching */
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  margin-top: -10px; /* Pulls image slightly up towards the header */
}

/* Icon Color to match your theme */
.bi {
  color: #183c3d !important;
  font-size: 1.2rem;
}

/* Helper for the IIT Delhi sub-box */
.x-small {
  font-size: 0.75rem;
}

/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ Former TEAM CSS END $$$$$$$$$$$$$$$ */
.card {
  background-color: #ccdad2;
  border-radius: 14px;
}

/* Image inside card */
.instrument-img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}
.badge {
  color: var(--accent-color);
}
