/* Fonts */
:root {
  --default-font: "Roboto", sans-serif;     /* Default font for body text */
  --heading-font: "Montserrat", sans-serif;     /* Font used for all headings */
  --nav-font: "Poppins", sans-serif;            /* Font used for navbar */
  --optional-font: "Open Sans", sans-serif;     /* Optional font (used manually with class when needed) */
}

/* 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: #413e66; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #0044b8; /* 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: #413e66;  /* The default color of the main navmenu links */
  --nav-hover-color: #0044b8; /* 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: #1bb1dc; /* 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: #f5f8fd;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #2d2b46;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #413e66;
  --contrast-color: #ffffff;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/

/* Preloader container */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  background-color: var(--background-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease-out;
}

/* Fade-out effect */
#preloader.fade-out {
  opacity: 0;
  pointer-events: none;
}

/* Preloader logo with spin + swing effect */
.preloader-logo {
  width: 100px;
  animation: spin 1.2s linear infinite;
  transform-origin: top center;
  transform-style: preserve-3d;
  display: block;
  will-change: transform;
}

/* Continuous 3D Y-axis spin */
@keyframes spin {
  from { transform: rotateY(0deg); }
  to   { transform: rotateY(360deg); }
}
/* End Preloader Section
------------------------ */

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

/* WebKit browsers (Chrome, Edge, Safari on all devices) */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1; /* Track background (optional light gray) */
}

::-webkit-scrollbar-thumb {
  background-color: #007bff; /* Blue thumb */
  border-radius: 10px;
  border: 2px solid transparent;
  background-clip: content-box;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #0056b3; /* Darker blue on hover */
}

/* Firefox (Desktop + Android support) */
* {
  scrollbar-width: thin; /* Thin or auto */
  scrollbar-color: #007bff #f1f1f1; /* Thumb | Track */
}


/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

/* Use manually where needed */
.open-sans {
  font-family: var(--optional-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);
}

/* Scroll Progress Bar Track + Filled Line */
#scrollProgress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 100%;
  z-index: 99999;
  background-color: rgba(0, 0, 0, 0.1); /* Track background */
}

#scrollProgress::before {
  content: '';
  display: block;
  height: 100%;
  width: var(--scrollPercent, 0%);
  background-color: #007bff; /* Blue fill */
  transition: width 0.2s ease-out;
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  --background-color: rgba(255, 255, 255, 0);
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 20px 0;
  transition: all 0.5s;
  z-index: 997;
}

.header .logo img {
  display: block;
  max-height: 80px;
  float: left;
  margin-left: 0;
  margin-right: 24px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-left: -15px !important;
  margin-top: -10px !important; /* Adjust for centering */
  padding-right: 0 !important; /* Remove extra padding */
  background: none !important; /* No background */
  box-shadow: none !important; /* No shadow */
  border: none !important;     /* No border */
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  margin-left: -10px;
  font-weight: 700;
  color: var(--heading-color);
}

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

  .header .navmenu {
    order: 3;
  }
}

.scrolled .header {
  box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.3);
}

/* Index Page Header
------------------------------*/
.index-page .header {
  --background-color: rgba(255, 255, 255, 0);
}

/* Index Page Header on Scroll
------------------------------*/
.index-page.scrolled .header {
  --background-color: #ffffff;
}

/* Dark Mode Header
------------------------------*/

/* Light mode scroll background */
.scrolled .header {
  --background-color: #ffffff;
}

/* Dark mode scroll background */
[data-theme="dark"].scrolled .header,
body.dark-mode.scrolled .header {
  --background-color: #000000;
  border-bottom: 2px solid #222; /* Add border in dark mode */
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */

.mobile-nav-toggle.bi-list {
  font-size: 2.2rem;
  font-weight: bold;
  color: #3a86ff !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.08);
  line-height: 1;
}

@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .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-dropdown-color-color);
    padding: 18px 9px;
    font-size: 14px;
    font-family: var(--nav-font);
    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;
    transition: 0.3s;
  }

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

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: #3a86ff;
  }

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

/* 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;
  }

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

  .navmenu .dropdown-menu {
  display: none;
  background-color: var(--nav-dropdown-background-color);
  margin: 5px 20px 10px 20px;
  padding: 10px;
  border-left: 2px solid var(--accent-color);
}

.navmenu .dropdown.show > .dropdown-menu {
  display: block !important;
  position: static;
}

/* Initial arrow style */
.dropdown-arrow {
  transition: transform 0.3s ease;
}

/* Rotate when parent li has .show */
.navmenu .dropdown.show .dropdown-arrow {
  transform: rotate(180deg);
}

}
/* Dark mode for Navmenu - Mobile */
@media (max-width: 1199px) {
  [data-theme="dark"] .navmenu ul,
  body.dark-mode .navmenu ul {
    background-color: #181a1b;
  }
  [data-theme="dark"] .navmenu .dropdown ul,
  body.dark-mode .navmenu .dropdown ul {
    background-color: #23272b;
    border-color: #333;
  }
  [data-theme="dark"] .navmenu a,
  [data-theme="dark"] .navmenu a:focus,
  body.dark-mode .navmenu a,
  body.dark-mode .navmenu a:focus {
    color: #fff;
  }
  [data-theme="dark"] .navmenu a:hover,
  [data-theme="dark"] .navmenu .active,
  [data-theme="dark"] .navmenu .active:focus,
  body.dark-mode .navmenu a:hover,
  body.dark-mode .navmenu .active,
  body.dark-mode .navmenu .active:focus {
    color: #3a86ff; /* changed from yellow to blue */
  }
  [data-theme="dark"] .navmenu .active i,
  [data-theme="dark"] .navmenu .active:focus i,
  body.dark-mode .navmenu .active i,
  body.dark-mode .navmenu .active:focus i {
    background-color: #3a86ff; /* changed from yellow to blue */
    color: #23272b;
  }
  [data-theme="dark"] .navmenu a i,
  [data-theme="dark"] .navmenu a:focus i,
  body.dark-mode .navmenu a i,
  body.dark-mode .navmenu a:focus i {
    background-color: color-mix(in srgb, #3a86ff, transparent 90%); /* changed from yellow to blue */
    color: #3a86ff; /* changed from yellow to blue */
  }
  [data-theme="dark"] .mobile-nav-active .navmenu,
  body.dark-mode .mobile-nav-active .navmenu {
    background: rgba(24, 26, 27, 0.96);
  }
}

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

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

.scroll-top:hover {
  background-color: black;
  color: var(--contrast-color);
  transform: translateY(-2px);
}

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

/* Dark mode for Scroll Top Button */
[data-theme="dark"] .scroll-top,
body.dark-mode .scroll-top {
  background-color: #232336;
}

[data-theme="dark"] .scroll-top i,
body.dark-mode .scroll-top i {
  color: #3a86ff;
}

[data-theme="dark"] .scroll-top:hover,
body.dark-mode .scroll-top:hover {
  background-color: #3a86ff;
}

[data-theme="dark"] .scroll-top:hover i,
body.dark-mode .scroll-top:hover i {
  color: #23272b;
}

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

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

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 66px;
  }
}

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

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 100vh;
  position: relative;
  padding: 120px 0 60px 0;
  display: flex;
  align-items: center;
}

.hero .container {
  position: relative;
  z-index: 3;
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 40px;
}

.hero h1 span,
.hero h5 span {
  color: var(--accent-color);
}

.hero h5 {
  font-size: 20px;
  font-weight: 550;
  margin: 5px 0 20px 0;
}

.hero p {
  margin: 0 0 30px 0;
  font-size: 20px;
  font-weight: 400;
  text-align: justify;
}

.hero .btn-learn-more {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 40px;
  border-radius: 4px;
  transition: 0.2s;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.hero .btn-learn-more i {
  margin-left: 5px;
  font-size: 18px;
  transition: 0.3s;
}

.hero .btn-learn-more:hover,
.hero .btn-learn-more:hover i {
  background-color: #0bc5eb !important;
  color: #fff;
  transform: translateY(-2px);
}

.hero .btn-learn-more:hover i {
  transform: translateX(5px);
}

/* WhatsApp Card Wrapper */
.hero-whatsapp-community-wrapper {
  width: 100%;
  max-width: 240px;
  align-self: flex-end;
  margin-left: auto;
  margin-right: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-family: "Montserrat", sans-serif;
}

.whatsapp-hero-card {
  background: linear-gradient(#080e82, #000000);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 20px 16px;
  width: 100%;
  height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  position: relative;
  overflow: hidden;
  transition: 0.3s ease;
}

.whatsapp-hero-card::before,
.whatsapp-hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(0, 123, 255, 0.15) 0%, transparent 70%);
  animation: innerPulse 3s ease-out infinite;
  z-index: 0;
  pointer-events: none;
}
.whatsapp-hero-card::after {
  animation-delay: 1.5s;
}

@keyframes innerPulse {
  0% { transform: scale(1); opacity: 0.5; }
  70% { transform: scale(1.4); opacity: 0; }
  100% { opacity: 0; }
}

.whatsapp-hero-card:hover {
  background: linear-gradient(#0d2235, #000000);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
  transform: translateY(-5px);
}

/* Pulse turns green on hover */
.whatsapp-hero-card:hover::before,
.whatsapp-hero-card:hover::after {
  background: radial-gradient(circle, rgba(37, 211, 102, 0.18) 0%, transparent 70%);
}

.whatsapp-hero-card h5 {
  font-size: 16px;
  font-weight: 700;
  color: white;
  z-index: 2;
  margin: 0 0 12px 0;
  align-self: center;
  text-align: center;
}

.hero-whatsapp-card-logo-container {
  background: #fff;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
  border-radius: 50%;
  animation: pulseBlueRing 2.5s ease-in-out infinite;
}

@keyframes pulseBlueRing {
  0%, 100% {
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.5), 0 0 10px rgba(0, 123, 255, 0.3), 0 0 20px rgba(0, 123, 255, 0.2);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(0, 123, 255, 0.7), 0 0 16px rgba(0, 123, 255, 0.5), 0 0 32px rgba(0, 123, 255, 0.3);
  }
}

.whatsapp-hero-card:hover .hero-whatsapp-card-logo-container {
  animation: pulseGreenRing 2.5s ease-in-out infinite;
}

@keyframes pulseGreenRing {
  0%, 100% {
    box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.5), 0 0 10px rgba(37, 211, 102, 0.4), 0 0 20px rgba(37, 211, 102, 0.2);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(37, 211, 102, 0.7), 0 0 16px rgba(37, 211, 102, 0.6), 0 0 32px rgba(37, 211, 102, 0.4);
  }
}

.hero-whatsapp-card-logo {
  max-width: 60px;
  max-height: 60px;
  animation: swing 2s ease-in-out infinite alternate, spin 4s linear infinite;
  transform-origin: top center;
  transform-style: preserve-3d;
}

@keyframes swing {
  0% { transform: rotateZ(-10deg); }
  100% { transform: rotateZ(10deg); }
}

@keyframes spin {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}

.btn.btn-join-whatsapp-hero {
  background: #fff !important;
  color: #0d2235 !important;
  border-radius: 4px !important;
  padding: 6px 16px !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.6px !important;
  text-transform: uppercase !important;
  transition: 0.3s;
  margin-top: 16px !important;
  line-height: 1.2 !important;
  align-self: center;
}

.btn.btn-join-whatsapp-hero:hover {
  background: linear-gradient(#25d366, #000000) !important;
  color: #fff !important;
}

@media (max-width: 991px) {
  .hero {
    min-height: 60vh;
    padding: calc(80px + 66px) 0 40px 0; /* Add header height to top padding */
    flex-direction: column;
    text-align: center;
  }
  .hero .container {
    padding: 0 15px;
  }
  .hero h1 {
    font-size: 32px;
    line-height: 38px;
  }
  .hero h2 {
    font-size: 22px;
  }
  .hero h5 {
    font-size: 16px;
  }
  .hero p {
    font-size: 16px;
    text-align: center;
  }
  .hero .btn-learn-more {
    font-size: 14px;
    padding: 10px 24px;
    width: auto;
    min-width: 0;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .hero {
    min-height: 60vh;
    padding: 80px 0 40px 0;
  }
}
@media (max-width: 640px) {
  .hero {
    min-height: 50vh;
    padding: calc(60px + 56px) 0 30px 0; /* Add header height to top padding */
  }
  .hero h1 {
    font-size: 24px;
    line-height: 30px;
  }
  .hero h2 {
    font-size: 16px;
  }
  .hero h5 {
    font-size: 14px;
  }
  .hero p {
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 20px;
    text-align: center;
  }
  .hero .btn-learn-more {
    font-size: 12px;
    padding: 8px 16px;
  }
  .hero-whatsapp-community-wrapper {
    margin: 0 auto 0 auto;
    align-items: center;
    max-width: 260px;
    width: 100%;
    display: flex;
    flex-direction: column;
  }
  .whatsapp-hero-card {
    margin-top: 0;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .hero h1 { font-size: 26px; }
  .hero h2 { font-size: 18px; }
  .hero h5 { font-size: 14px; }
  .whatsapp-hero-card {
    width: 220px;
  }
  .btn.btn-join-whatsapp-hero {
    font-size: 0.6rem !important;
    padding: 5px 14px !important;
  }
}



/* Dark Mode Hero */
/* Dark Mode */
body.dark-mode #hero,
[data-theme="dark"] #hero {
  background: #000 !important;
}

body.dark-mode #hero .btn-learn-more,
[data-theme="dark"] #hero .btn-learn-more {
  background: #0044b8;
  color: white;
}

body.dark-mode #hero .btn-learn-more:hover,
[data-theme="dark"] #hero .btn-learn-more:hover {
  background: #3a86ff;
  color: #000;
}

body.dark-mode .btn.btn-join-whatsapp-hero,
[data-theme="dark"] .btn.btn-join-whatsapp-hero {
  background: #3a86ff !important;
  color: white !important;
}

body.dark-mode .btn.btn-join-whatsapp-hero:hover,
[data-theme="dark"] .btn.btn-join-whatsapp-hero:hover {
  background: linear-gradient(#25d366, #23272b) !important;
  color: #fff !important;
}

[data-theme="dark"] .hero-whatsapp-card-logo-container,
body.dark-mode .hero-whatsapp-card-logo-container {
  background: #23272b;
}

/*--------------------------------------------------------------
# About The Club Section
--------------------------------------------------------------*/
.about {
  background-color: #f5f8fd;
  transition: background 0.3s;
}

.about .about-item {
  background-color: var(--surface-color);
  box-shadow: 0px 5px 90px 0px rgba(0, 0, 0, 0.1);
  height: 100%;
  padding: 20px 30px 50px 30px; /* Reduced top padding */
  text-align: center;
  transition: 0.3s;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  align-items: center; /* Center content horizontally */
}

.about .about-item .icon {
  margin: 0 auto;
  width: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: ease-in-out 0.3s;
  position: relative;
  font-size: 36px;
  padding: 08px 25px;
  border-radius: 4px;
  line-height: 0;
}

.about .about-item .icon i {
  font-size: 30px;
  transition: 0.5s;
  position: relative;
}

.about .icon-title {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2px; /* Slightly less space below */
  width: 100%;
  justify-content: center; /* Ensure centering */
}

.about .icon-title .icon {
  margin: 0;
}

.about .icon-title h3 {
  margin: 0;
}

.about .about-item h3 {
  font-weight: 700;
  margin: 10px 0 10px 0;
  font-size: 18px; /* Slightly smaller */
  transition: 0.3s;
}

.about .about-item p {
  line-height: 30px;
  font-size: 16px;
  margin-bottom: 0;
  margin-top: 10px;
  text-align: justify;
}

.about .icon-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 15px;
}

.about .icon-title .icon {
  margin: 0;
}

.about .icon-title h3 {
  margin: 0;
}

.about .about-item:hover {
  box-shadow: 0px 5px 35px 0px rgba(0, 0, 0, 0.1);
}

.about .about-item.item-cyan i {
  color: #0dcaf0;
}

.about .about-item.item-orange i {
  color: #fd7e14;
}

.about .about-item.item-teal i {
  color: #20c997;
}

.about .about-item.item-red i {
  color: #df1529;
}

.about .about-item.item-indigo i {
  color: #000000;
}

.about .about-item.item-pink i {
  color: var(--accent-color);
}

.about .about-item:hover {
  transform: scale(1.06);
}

.about .about-item:hover .icon{
  transform: scale(1.1) rotate(-10deg);
}

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

.about .about-item.item-cyan {
  border-bottom: 3px solid #0dcaf0;
}

.about .about-item.item-cyan .icon {
  color: #0dcaf0;
  background: rgba(13, 202, 240, 0.1);
}
.about .about-item.item-cyan:hover {
  background: #0dcaf0;
}

.about .about-item.item-orange {
  border-bottom: 3px solid #fd7e14;
}

.about .about-item.item-orange .icon {
  color: #fd7e14;
  background: rgba(253, 126, 20, 0.1);
}

.about .about-item.item-orange:hover {
  background: #fd7e14;
}

.about .about-item.item-teal {
  border-bottom: 3px solid #20c997;
}

.about .about-item.item-teal .icon {
  color: #20c997;
  background: rgba(32, 201, 151, 0.1);
}

.about .about-item.item-teal:hover {
  background: #20c997;
}

.about .about-item.item-red {
  border-bottom: 3px solid #df1529;
}

.about .about-item.item-red .icon {
  color: #df1529;
  background: rgba(223, 21, 4, 0.1);
}

.about .about-item.item-red:hover {
  background: #df1529;
}

.about .about-item.item-indigo {
  border-bottom: 3px solid #000000;
}

.about .about-item.item-indigo .icon {
  color: #000000;
  background: rgba(55, 55, 55, 0.1);
}

.about .about-item.item-indigo:hover {
  background: black;
}

.about .about-item.item-pink {
  border-bottom: 3px solid var(--accent-color);
}

.about .about-item.item-pink .icon {
  color: var(--accent-color);
  background: rgba(38, 41, 243, 0.1);
}

.about .about-item.item-pink:hover {
  background: var(--accent-color);
}

.about .about-item:hover h3,
.about .about-item:hover p {
  color: #fff;
}

.about .about-item:hover .icon {
  background: #fff;
}

/* Dark mode for About The Club Section */
[data-theme="dark"] .about {
  background-color: #171819;
}

[data-theme="dark"] .about .section-title h2 {
  color: var(--nav-dropdown-hover-color);
}

[data-theme="dark"] .about .about-item {
  background-color: #232336;
  box-shadow: none;
}

[data-theme="dark"] .about .about-item h3,
[data-theme="dark"] .about .about-item p {
  color: #e0e0e0;
}

[data-theme="dark"] .about .about-item .icon {
  background: rgba(255,255,255,0.04);
}

[data-theme="dark"] .about .about-item.item-cyan .icon {
  background: rgba(13,202,240,0.13);
}
[data-theme="dark"] .about .about-item.item-orange .icon {
  background: rgba(253,126,20,0.13);
}
[data-theme="dark"] .about .about-item.item-teal .icon {
  background: rgba(32,201,151,0.13);
}
[data-theme="dark"] .about .about-item.item-red .icon {
  background: rgba(223,21,4,0.13);
}
[data-theme="dark"] .about .about-item.item-indigo .icon {
  background: rgba(255, 252, 252, 0.13);
}
[data-theme="dark"] .about .about-item.item-pink .icon {
  background: rgba(38,41,243,0.13);
}

[data-theme="dark"] .about .about-item:hover {
  box-shadow: none;
}

[data-theme="dark"] .about .about-item:hover h3,
[data-theme="dark"] .about .about-item:hover p {
  color: #fff;
}

[data-theme="dark"] .about .about-item:hover .icon {
  background: #fff;
}

/*--------------------------------------------------------------
# Internship Overview Section
--------------------------------------------------------------*/

#internship-overview {
  padding: 80px 0;
  background-color: var(--background-color);
}

/* Section Title */
.internship-section-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--heading-color);
  font-family: var(--heading-font);
  text-align: center;
  padding-bottom: 20px;
  margin-top: -20px;
}

/* Tabs Navigation Styling */
.internship-tabs {
  gap: 0;
  padding-left: 0;
  margin-bottom: -1px;
  justify-content: center;
  border: none;
}

.internship-tabs .nav-link {
  font-size: 16px;
  font-weight: 500;
  color: var(--accent-color);
  background-color: #f9f9f9;
  padding: 10px 24px;
  border: 1px solid var(--accent-color);
  border-bottom: none;
  border-radius: 4px 4px 0 0;
  margin-right: 2px;
  transition: all 0.2s ease-in-out;
}

.internship-tabs .nav-link:hover {
  background-color: #f1f1f1;
  color: var(--accent-color);
}

.internship-tabs .nav-link.active {
  background-color: var(--nav-dropdown-hover-color);
  border-color: var(--nav-dropdown-hover-color);
  border-bottom: 1px solid #fff;
  color: white;
  z-index: 1;
}

/* Divider line below Tabs */
.internship-tabs-divider {
  border: none;
  border-bottom: 1px solid var(--accent-color);
  margin-top: -8px;
}

/* Responsive font size for tabs */
@media (max-width: 575px) {
  .internship-tabs {
    gap: 0;
  }

  .internship-tabs .nav-link {
    font-size: 14px;
    padding: 8px 16px;
  }
}

/* Limit image card width */
.summer-internship-card {
  width: 90%;
  max-width: 420px;
  margin: 0 auto;
}

/* Reduce overall image wrapper size */
.summer-internship-img-wrapper {
  background-color: #000000;
  padding: 30px; /* reduced from 50px */
  border-radius: 0px;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.08),
    0 4px 6px rgba(0, 0, 0, 0.04);
  position: relative;
  z-index: 2;
  max-width: 100%;
}
.summer-internship-img img {
  width: 100%;
  border: 6px solid #ffffff; /* reduced from 8px */
  transition: transform 0.4s ease, border-color 0.3s;
}

.summer-internship-img img:hover {
  transform: scale(1.03);
}

/* Content Area */
.summer-internship-content {
  padding-top: 40px;
}

.summer-internship-content h2 {
  font-family: "Montserrat", sans-serif;
}

.internship-para {
  font-family: var(--optional-font);
  font-size: 16px;
  line-height: 1.8;
  color: #000000;
  text-align: justify;
}

/* What's Included: Bullet List */
.internship-included-list {
  list-style: none;
  padding-left: 0;
  margin-top: -5px;
}

.internship-included-list li {
  font-family: var(--optional-font);
  font-size: 14px;
  color: #000;
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  margin-bottom: 16px;
  transition: transform 0.2s ease-in-out, color 0.2s ease-in-out;
  /* Note: font-weight transitions may not be smooth on all browsers/fonts */
}

.internship-included-list li i {
  color: black;
  margin-right: 12px;
  font-size: 18px;
  flex-shrink: 0;
  transition: transform 0.2s ease-in-out, color 0.2s ease-in-out;
}

.internship-included-list li:hover {
  color: var(--accent-color);
  transform: translateY(-3px);
  cursor: pointer;
}

.internship-included-list li:hover i {
  color: var(--accent-color);
}

/* Dark Mode */
[data-theme="dark"] #internship-overview,
body.dark-mode #internship-overview {
  background-color: #181a1b;
}
[data-theme="dark"] .internship-section-title,
body.dark-mode .internship-section-title {
  color: #fff;
}
[data-theme="dark"] .internship-tabs .nav-link,
body.dark-mode .internship-tabs .nav-link {
  background-color: #23272b;
  color: #3a86ff;
  border-color: #3a86ff;
}
[data-theme="dark"] .internship-tabs .nav-link:hover,
body.dark-mode .internship-tabs .nav-link:hover {
  background-color: #000000;
  color: #ffffff;
}
[data-theme="dark"] .internship-tabs .nav-link.active,
body.dark-mode .internship-tabs .nav-link.active {
  background-color: #3a86ff;
  border-color: #3a86ff;
  color: #23272b;
}
[data-theme="dark"] .internship-tabs-divider,
body.dark-mode .internship-tabs-divider {
  border-bottom: 1px solid #3a86ff;
}
/* Only change the border color of the image in dark mode */
[data-theme="dark"] .summer-internship-img img,
body.dark-mode .summer-internship-img img {
  border-color: black;
}
/* Dark mode for image wrapper */
[data-theme="dark"] .summer-internship-img-wrapper,
body.dark-mode .summer-internship-img-wrapper {
  background-color: #232336;
}
[data-theme="dark"] .internship-para,
body.dark-mode .internship-para {
  color: #e0e0e0;
}
[data-theme="dark"] .internship-included-list li,
body.dark-mode .internship-included-list li {
  color: #e0e0e0;
}
[data-theme="dark"] .internship-included-list li i,
body.dark-mode .internship-included-list li i {
  color: #3a86ff;
}
[data-theme="dark"] .internship-included-list li:hover,
body.dark-mode .internship-included-list li:hover {
  color: #3a86ff;
}
[data-theme="dark"] .internship-included-list li:hover i,
body.dark-mode .internship-included-list li:hover i {
  color: #0044b8;
}

/* Responsive Media Queries for Internship Overview Section */
@media (max-width: 991px) {
  #internship-overview {
    padding: 50px 0;
  }
  .internship-section-title {
    font-size: 26px;
  }
  .summer-internship-content {
    padding-top: 20px;
  }
}

@media (max-width: 767px) {
  #internship-overview {
    padding: 36px 0;
  }
  .internship-section-title {
    font-size: 20px;
  }
  .internship-para {
    font-size: 14px;
    line-height: 1.6;
  }
}

@media (max-width: 480px) {
  #internship-overview {
    padding: 24px 0;
  }
  .internship-section-title {
    font-size: 16px;
  }
  .internship-para {
    font-size: 13px;
    line-height: 1.5;
  }
}

/* Prevent horizontal scroll */
#internship-overview, .summer-internship-content {
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

/*--------------------------------------------------------------
# Call To Action Section
--------------------------------------------------------------*/
.call-to-action {
  padding: 100px 0;
  position: relative;
  clip-path: inset(0);
}

.call-to-action:before {
  content: "";
  background: linear-gradient(135deg, #000000, #080e82);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.call-to-action .container {
  position: relative;
  z-index: 3;
  text-align: center;
}

.call-to-action h3 {
  color: var(--default-color);
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
}

.call-to-action .cta-btn {
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 40px;
  border-radius: 50px;
  transition: 0.5s;
  border: 2px solid var(--contrast-color);
  color: var(--contrast-color);
  background: transparent;
}

.call-to-action .cta-btn:hover {
  background: black;
  border: 2px solid black;
  color: #fff;
  transform: translateY(-2px);
}


/* Dark mode for Call To Action Section */
[data-theme="dark"] .call-to-action:before,
body.dark-mode .call-to-action:before {
  background: linear-gradient(120deg, #000000 0%, #101013 50%, #0044b8 100%);
}

[data-theme="dark"] .call-to-action h3,
body.dark-mode .call-to-action h3 {
  color: #fff;
}

[data-theme="dark"] .call-to-action .cta-btn,
body.dark-mode .call-to-action .cta-btn {
  border-color: #3a86ff;
  color: white;
  background: transparent;
}

[data-theme="dark"] .call-to-action .cta-btn:hover,
body.dark-mode .call-to-action .cta-btn:hover {
  background: #3a86ff;
  border-color: #3a86ff;
  color: #232336;
}


/*--------------------------------------------------------------
# Faq Section
--------------------------------------------------------------*/

/* FAQ Section Styles */
#faq {
  background: var(--background-color);
  padding: 60px 0;
  padding-bottom: 100px;
  font-family: 'Poppins', 'Open Sans', Arial, sans-serif;
}

.faq .section-title h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #22223b;
  margin-bottom: 10px;
  font-family: 'Montserrat', 'Poppins', Arial, sans-serif;
}

.faq .section-title p {
  font-size: 1.1rem;
  color: #4a4e69;
}

.faq .accordion-item {
  background: #fff;
  border-radius: 8px;
  margin-bottom: 18px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 2px 8px rgba(34, 34, 59, 0.04);
  transition: box-shadow 0.2s, transform 0.2s ease-in-out;
}

.faq .accordion-item:hover {
  box-shadow: 0 4px 16px rgba(34, 34, 59, 0.10);
  transform: translateY(-2px);
}

.faq .accordion-header {
  font-family: 'Montserrat', 'Poppins', Arial, sans-serif;
}

.faq .accordion-button {
  font-size: 1.08rem;
  font-weight: 600;
  color: #22223b;
  background: none;
  border: none;
  box-shadow: none;
  padding: 18px 24px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
  font-family: 'Poppins', Arial, sans-serif;
}

.faq .accordion-button:hover,
.faq .accordion-button:focus {
  background: #e9ecef;
  color: #3a86ff;
}

.faq .accordion-button:not(.collapsed) {
  color: #fff;
  background: #3a86ff;
}

.faq .accordion-body {
  font-size: 1rem;
  color: #22223b;
  padding: 18px 28px 18px 28px;
  font-family: 'Open Sans', Arial, sans-serif;
}

.faq .benefits-list {
  margin-top: 10px;
  padding-left: 20px;
}

.faq .benefits-list li {
  font-size: 0.98rem;
  color: #22223b;
  margin-bottom: 8px;
  line-height: 1.7;
  font-family: 'Open Sans', Arial, sans-serif;
  border-bottom: 1px solid #ececec;
  padding-bottom: 6px;
}

.faq .benefits-list li:last-child {
  border-bottom: none;
}

/* FAQ Section Dark Mode */
body.dark-mode #faq,
[data-theme="dark"] #faq {
  background: #171819;
}

body.dark-mode .faq .section-title h2,
[data-theme="dark"] .faq .section-title h2,
body.dark-mode .faq .section-title p,
[data-theme="dark"] .faq .section-title p {
  color: #fff;
}

body.dark-mode .faq .accordion-item,
[data-theme="dark"] .faq .accordion-item {
  background: #232336;
  border-color: #232336;
  box-shadow: 0 2px 8px rgba(34, 34, 59, 0.18);
}

body.dark-mode .faq .accordion-button,
[data-theme="dark"] .faq .accordion-button {
  color: #e0e0e0;
  background: none;
}

body.dark-mode .faq .accordion-button:hover,
body.dark-mode .faq .accordion-button:focus,
[data-theme="dark"] .faq .accordion-button:hover,
[data-theme="dark"] .faq .accordion-button:focus {
  background: #232336;
  color: #3a86ff;
}

body.dark-mode .faq .accordion-button:not(.collapsed),
[data-theme="dark"] .faq .accordion-button:not(.collapsed) {
  color: #fff;
  background: #3a86ff;
}

body.dark-mode .faq .accordion-body,
[data-theme="dark"] .faq .accordion-body {
  color: #e0e0e0;
}

/* Dark mode for chevron icons in accordion */
body.dark-mode .faq .accordion-button::after,
[data-theme="dark"] .faq .accordion-button::after {
  filter: brightness(0) invert(1);
  /* If using SVG or font icons, set color: #fff; */
}

/* Dark mode for benefits list */
body.dark-mode .faq .benefits-list li,
[data-theme="dark"] .faq .benefits-list li {
  color: #e0e0e0;
  border-bottom: 1px solid #232336;
}

/*--------------------------------------------------------------
# FAQ Section Responsive Styles
--------------------------------------------------------------*/

/* Medium Devices (Tablets, 768px and up) */
@media (max-width: 991.98px) {
  #faq {
    padding: 50px 0;
  }

  .faq .accordion-button {
    font-size: 1rem;
    padding: 16px 20px;
  }

  .faq .accordion-body {
    font-size: 0.95rem;
    padding: 16px 22px;
  }

  .faq .section-title h2 {
    font-size: 1.9rem;
  }

  .faq .section-title p {
    font-size: 1rem;
  }

  .faq .benefits-list li {
    font-size: 0.95rem;
  }
}

/* Small Devices (Phones, 576px and up) */
@media (max-width: 767.98px) {
  #faq {
    padding: 40px 0;
  }

  .faq .accordion-button {
    font-size: 0.96rem;
    padding: 14px 18px;
  }

  .faq .accordion-body {
    font-size: 0.9rem;
    padding: 14px 20px;
  }

  .faq .section-title h2 {
    font-size: 1.75rem;
  }

  .faq .section-title p {
    font-size: 0.95rem;
  }

  .faq .benefits-list li {
    font-size: 0.9rem;
  }
}

/* Extra Small Devices (very small phones) */
@media (max-width: 575.98px) {
  #faq {
    padding: 36px 0;
  }

  .faq .accordion-button {
    font-size: 0.88rem;
    padding: 12px 14px;
  }

  .faq .accordion-body {
    font-size: 0.86rem;
    padding: 12px 16px;
  }

  .faq .section-title h2 {
    font-size: 1.55rem;
  }

  .faq .section-title p {
    font-size: 0.9rem;
  }

  .faq .benefits-list li {
    font-size: 0.88rem;
    line-height: 1.5;
  }
}

/* Large Devices (Desktops & Large Screens, 1200px and up) */
@media (min-width: 1200px) {
  .faq .accordion-button {
    font-size: 1.1rem;
  }

  .faq .accordion-body {
    font-size: 1rem;
  }

  .faq .section-title h2 {
    font-size: 2.3rem;
  }

  .faq .section-title p {
    font-size: 1.15rem;
  }

  .faq .benefits-list li {
    font-size: 1rem;
  }
}

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

#footer {
  font-family: "Montserrat", sans-serif;
}

.footer {
  background-color: var(--background-color);
  color: var(--default-color);
  font-size: 14px;
  position: relative;
  padding-bottom: 10px;
}

.footer .footer-top .row > div {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.footer-contact {
  padding-bottom: 15px;
}

.footer .footer-about .footer-contact a {
  font-size: 14px !important;
  font-weight: 400 !important;
  text-transform: none !important;
  text-decoration: none !important;
  font-family: var(--heading-font) !important;
  color: var(--default-color);
}

.footer .footer-contact a:hover {
  color: var(--accent-color);
  text-decoration: none;
}

/* Dark mode for footer email link and hover */
[data-theme="dark"] .footer .footer-contact a,
body.dark-mode .footer .footer-contact a {
  color: #3a86ff;
}
[data-theme="dark"] .footer .footer-contact a:hover,
body.dark-mode .footer .footer-contact a:hover {
  color: #0044b8;
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
  transform: translateY(-5px);
}

.footer .footer-contact-us {
  margin-left: auto;
  margin-right: 0;
}

/* WhatsApp Card Wrapper - freely positionable and animated */
.whatsapp-community-wrapper {
  position: absolute;
  /* Remove fixed margin-top and alignment */
  top: auto;
  left: auto;
  right: 5vw;
  bottom: 40px;
  width: 100%;
  max-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  z-index: 10;
  pointer-events: auto;
}

.whatsapp-community-card {
  background: linear-gradient(#080e82, #000000);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 20px 16px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Keeps top, middle, bottom alignment */
  align-items: center;
  position: relative;
  overflow: hidden;
  transition: 0.3s ease;
}

.whatsapp-community-card::before,
.whatsapp-community-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(0, 123, 255, 0.15) 0%, transparent 70%);
  animation: innerPulse 3s ease-out infinite;
  z-index: 0;
  pointer-events: none;
}
.whatsapp-community-card::after {
  animation-delay: 1.5s;
}

@keyframes innerPulse {
  0% { transform: scale(1); opacity: 0.5; }
  70% { transform: scale(1.4); opacity: 0; }
  100% { opacity: 0; }
}

.whatsapp-community-card:hover {
  background: linear-gradient(#0d2235, #000000);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
  transform: translateY(-5px);
}

/* Pulse turns green on hover */
.whatsapp-community-card:hover::before,
.whatsapp-community-card:hover::after {
  background: radial-gradient(circle, rgba(37, 211, 102, 0.18) 0%, transparent 70%);
}

.whatsapp-community-card h5 {
  font-size: 14px;
  font-weight: 700;
  color: white;
  z-index: 2;
  margin: 0 0 12px 0; /* Clean spacing under title */
  align-self: center;
  text-align: center;
}

.whatsapp-logo-container {
  background: #fff;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
  border-radius: 50%;
  animation: pulseBlueRing 2.5s ease-in-out infinite;
}

@keyframes pulseBlueRing {
  0%, 100% {
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.5), 0 0 10px rgba(0, 123, 255, 0.3), 0 0 20px rgba(0, 123, 255, 0.2);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(0, 123, 255, 0.7), 0 0 16px rgba(0, 123, 255, 0.5), 0 0 32px rgba(0, 123, 255, 0.3);
  }
}

.whatsapp-community-card:hover .whatsapp-logo-container {
  animation: pulseGreenRing 2.5s ease-in-out infinite;
}

@keyframes pulseGreenRing {
  0%, 100% {
    box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.5), 0 0 10px rgba(37, 211, 102, 0.4), 0 0 20px rgba(37, 211, 102, 0.2);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(37, 211, 102, 0.7), 0 0 16px rgba(37, 211, 102, 0.6), 0 0 32px rgba(37, 211, 102, 0.4);
  }
}

.whatsapp-logo {
  max-width: 50px;
  max-height: 50px;
  animation: swing 2s ease-in-out infinite alternate, spin 4s linear infinite;
  transform-origin: top center;
  transform-style: preserve-3d;
}

@keyframes swing {
  0% { transform: rotateZ(-10deg); }
  100% { transform: rotateZ(10deg); }
}

@keyframes spin {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}

.btn.btn-join-whatsapp {
  background: #fff !important;
  color: #0d2235 !important;
  border-radius: 4px !important;
  padding: 6px 16px !important;
  font-size: 0.65rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.6px !important;
  text-transform: uppercase !important;
  transition: 0.3s;
  margin-top: 16px !important;
  line-height: 1.2 !important;
  align-self: center;
}

.btn.btn-join-whatsapp:hover {
  background: linear-gradient(#25d366, #000000) !important;
  color: #fff !important;
}

/* Social Links */
.footer .social-links a {
  display: flex;
  background: var(--accent-color);
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 100%;
  font-size: 16px;
  color: white;
  margin-right: 10px;
  transition: 0.3s;
  margin-top: -10px;
}

.footer .social-links a:hover {
  background: black;
  transform: translateY(-2px);
}

/* Footer Links & Titles */
.footer h4 {
  font-size: 14px;
  font-weight: bold;
  color: #413e66;
  text-transform: uppercase;
  position: relative;
  margin-top: -10px;
}

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

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

.footer .footer-links ul a {
  color: var(--default-color);
  text-decoration: none;
}
.footer .footer-links ul a:hover {
  color: var(--accent-color);
}

.footer .footer-about {
  margin-left: -40px;
}

.footer .footer-about a {
  color: var(--heading-color);
  font-size: 18px;
  font-weight: bold;
  text-transform: uppercase;
  margin-top: -14px;
  margin-bottom: -10px;
}

/* Copyright Section */
.footer-bottom {
  background: #ffffff;
  padding: 18px 0;
  text-align: center;
  margin-bottom: -30px;
}

.footer-bottom .copyright-text {
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  color: #535074;
  font-weight: 500;
  margin: 0;
}

/* =========================
  Dark Mode Footer
  ========================= */
[data-theme="dark"] .footer,
body.dark-mode .footer {
  background-color: #121212; /* dark mode of #f5f8fd, slightly different from main background */
  color: #e0e0e0;
}

[data-theme="dark"] .footer .footer-about a,
body.dark-mode .footer .footer-about a {
  color: #3a86ff;
}

[data-theme="dark"] .footer .footer-links ul a,
body.dark-mode .footer .footer-links ul a {
  color: #e0e0e0;
}
[data-theme="dark"] .footer .footer-links ul a:hover,
body.dark-mode .footer .footer-links ul a:hover {
  color: #3a86ff;
}

[data-theme="dark"] .footer .social-links a,
body.dark-mode .footer .social-links a {
  background: #3a86ff;
  color: #23272b;
}
[data-theme="dark"] .footer .social-links a:hover,
body.dark-mode .footer .social-links a:hover {
  background: #23272b;
  color: #3a86ff;
}

[data-theme="dark"] .footer h4,
body.dark-mode .footer h4 {
  color: #3a86ff;
}

[data-theme="dark"] .footer-bottom,
body.dark-mode .footer-bottom {
  background: black;
}

[data-theme="dark"] .footer-bottom .copyright-text,
body.dark-mode .footer-bottom .copyright-text {
  color: white;
}

/* Remove outer shadow in dark mode */
[data-theme="dark"] .whatsapp-community-card,
body.dark-mode .whatsapp-community-card {
  background: linear-gradient(#23272b, #181a1b);
  box-shadow: none;
}

[data-theme="dark"] .whatsapp-community-card:hover,
body.dark-mode .whatsapp-community-card:hover {
  background: linear-gradient(#1f2123, #181a1b);
  box-shadow: none;
}

[data-theme="dark"] .whatsapp-community-card h5,
body.dark-mode .whatsapp-community-card h5 {
  color: white;
}

[data-theme="dark"] .btn.btn-join-whatsapp,
body.dark-mode .btn.btn-join-whatsapp {
  background: #3a86ff !important;
  color: white !important;
}

[data-theme="dark"] .btn.btn-join-whatsapp:hover,
body.dark-mode .btn.btn-join-whatsapp:hover {
  background: linear-gradient(#25d366, #23272b) !important;
  color: #fff !important;
}

[data-theme="dark"] .whatsapp-logo-container,
body.dark-mode .whatsapp-logo-container {
  background: #23272b;
}

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

  @media (max-width: 768px) {
    .footer .footer-top .row {
      flex-direction: column !important;
      padding-left: 0 !important;
      padding-right: 0 !important;
      margin-left: 0 !important;
      margin-right: 0 !important;
    }

    .footer .col-lg-6,
    .footer .col-md-6,
    .footer .col-sm-6 {
      width: 100% !important;
      max-width: 100% !important;
      padding-left: 0 !important;
      padding-right: 0 !important;
    }

    .footer-about {
      margin-left: 0 !important;
      margin-top: 40px;
    }

    .footer-contact-us {
      margin-top: 20px;
      text-align: left !important;
    }

    .footer .social-links {
      margin-top: 10px !important;
    }

    .whatsapp-community-wrapper {
      position: static !important;
      animation: none !important;
      margin-top: 30px !important;
      align-self: flex-end !important;
      margin-left: auto !important;
      margin-right: 0 !important;
      width: 100%;
      max-width: 220px !important;
    }
  }

  @media (min-width: 769px) and (max-width: 1024px) {
    .whatsapp-community-wrapper {
      top: auto;
      right: 3vw;
      bottom: 30px;
      margin-top: 0;
    }
  }

  @media (min-width: 1025px) {
    .footer .footer-top .row {
      margin-left: 0 !important;
      margin-right: 0 !important;
    }

    .whatsapp-community-wrapper {
      top: auto;
      right: 5vw;
      bottom: 40px;
      margin-top: 0;
      margin-left: auto;
      margin-right: 0;
      align-self: flex-end;
    }
  }

/* =========================
  Remove Footer Bar in Credits (Light & Dark)
  ========================= */

/* =========================
  DARK MODE FEATURE AND ICON
  ========================= */


/* Dark Mode Color Overrides */
[data-theme="dark"] {
  --background-color: #0e0e0e;
  --default-color: #e0e0e0;
  --heading-color: #ffffff;
  --accent-color: #3a86ff;
  --surface-color: #1c1c1c;
}

/* Dark/Light Toggle Button Styles */
.theme-toggle-btn {
  background: transparent;
  border: 2px solid currentColor;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--accent-color);
  transition: all 0.3s ease;
  margin-left: 15px;
}

.theme-toggle-btn:hover,
.theme-toggle-btn:focus {
  background: var(--accent-color);
  color: #fff;
  border-color: var(--accent-color);
  outline: none;
  transform: translateY(-2px);
}

[data-theme="dark"] .theme-toggle-btn {
  color: var(--accent-color); /* golden sun icon */
}

[data-theme="dark"] .theme-toggle-btn:hover,
[data-theme="dark"] .theme-toggle-btn:focus {
  background: var(--accent-color);
  color: #23272b;
  border-color: var(--accent-color);
  outline: none;
}

/* Mobile/Tablet (<1200px): show theme icon just before mobile toggle */
@media (max-width: 1199px) {
  #themeToggle {
    display: inline-flex;
    margin-right: 10px;
  }

  .mobile-nav-toggle {
    margin-left: 0;
  }
}

@media (min-width: 1200px) {
  .navmenu {
    display: flex;
    align-items: center;
    gap: 10px; /* spacing between nav links and theme icon */
  }

  .navmenu > ul {
    margin: 0;
  }

  #themeToggle {
    display: inline-flex;
    margin-left: 10px;
  }
}

@media (max-width: 1199px) {

  /* Absolutely position the theme icon inside header */
  #themeToggle {
    position: absolute;
    top: 16px;
    right: 70px; /* Place it before hamburger (hamburger is ~right: 16px) */
    z-index: 10000;
    display: inline-flex !important;
    margin: 0;
  }

  /* Adjust mobile nav icon to match */
  .mobile-nav-toggle {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10001;
  }

  /* Ensure theme toggle stays visible when mobile nav is active */
  .mobile-nav-active #themeToggle {
    position: absolute;
    top: 16px;
    right: 60px;
    z-index: 10000;
    display: inline-flex !important;
  }
}
/*--------------------------------------------------------------
# End Front Page
--------------------------------------------------------------*/
