/**
* Template Name: KnightOne
* Template URL: https://bootstrapmade.com/knight-simple-one-page-bootstrap-template/
* Updated: Oct 16 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: "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: "Raleway",  sans-serif;
  --nav-font: "Poppins",  sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root {
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #1e293b; /* Default color used for the majority of the text content across the entire website - improved contrast */
  --heading-color: #0f172a; /* Color for headings, subheadings and title throughout the website - improved contrast */
  --accent-color: #2563eb; /* 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. */
  --secondary-blue: #3b82f6; /* Secondary blue for variations */
  --light-blue: #dbeafe; /* Light blue for backgrounds */
  --navy-blue: #1e3a8a; /* Navy blue for emphasis */
}

/* 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: #0f172a;  /* The default color of the main navmenu links */
  --nav-hover-color: #3b82f6; /* 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: #2c3e50; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #2563eb; /* 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: #f8fafc;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #1e3a8a;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #3b82f6;
  --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);
}

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

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

/* Hero Video Container */
.hero-video-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.hero-play-btn {
  width: 120px !important;
  height: 120px !important;
  transform: scale(1.3);
}

.hero-play-btn:before {
  width: 150px !important;
  height: 150px !important;
}

.hero-play-btn:after {
  border-top: 14px solid transparent !important;
  border-bottom: 14px solid transparent !important;
  border-left: 20px solid #fff !important;
}

/* GLightbox Custom Styles */
.glightbox-clean .gclose,
.gclose {
  display: none !important;
}

.glightbox-clean .gnext,
.glightbox-clean .gprev,
.gnext,
.gprev {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

/* Hide close button and navigation buttons completely */
.gclose.gbtn,
.gnext.gbtn,
.gprev.gbtn {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

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

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  background: #ffffff;
  color: #0f172a;
  padding: 10px 0;
  transition: all 0.5s;
  z-index: 997;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.05);
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 50px;
  margin-right: 12px;
  border-radius: 8px;
  object-fit: contain;
}

.header .logo h1 {
  font-size: 28px;
  margin: 0;
  font-weight: 700;
  color: #0f172a;
  text-shadow: none;
}

.header .cta-btn,
.header .cta-btn:focus {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 14px;
  padding: 8px 26px;
  margin: 0;
  border-radius: 50px;
  transition: 0.3s;
}

.header .cta-btn:hover,
.header .cta-btn:focus:hover {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
}

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

  .header .logo h1 {
    font-size: 22px;
  }

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

  .header .cta-btn {
    order: 2;
    margin: 0 15px 0 0;
    padding: 6px 20px;
  }

  .header .navmenu {
    order: 3;
  }
}

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

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
@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>ul>li {
    white-space: nowrap;
    padding: 15px 14px;
  }

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

  .navmenu a,
  .navmenu a:focus {
    color: color-mix(in srgb, var(--nav-color), transparent 30%);
    font-size: 15px;
    padding: 0 2px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    position: relative;
  }

  .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: -27px;
    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: var(--nav-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;
  }

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

  /* Enhanced mobile dropdown touch experience */
  .navmenu .dropdown {
    cursor: pointer;
    position: relative;
  }

  .navmenu .dropdown > a {
    width: 100%;
    min-height: 48px; /* Better touch target */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    transition: background-color 0.3s ease;
  }

  .navmenu .dropdown > a:hover,
  .navmenu .dropdown.active > a {
    background-color: rgba(37, 99, 235, 0.1);
    border-radius: 6px;
  }

  .navmenu .dropdown .toggle-dropdown {
    pointer-events: none; /* Prevent separate click handling */
    transition: transform 0.3s ease;
  }

  .navmenu .dropdown.active .toggle-dropdown {
    transform: rotate(180deg);
  }

  .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
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  text-align: center;
  padding: 30px 0;
  position: relative;
}

.footer h3 {
  font-size: 36px;
  font-weight: 700;
  position: relative;
  padding: 0;
  margin: 0 0 15px 0;
}

.footer p {
  font-size: 15;
  font-style: italic;
  padding: 0;
  margin: 0 0 30px 0;
}

.footer .social-links {
  margin: 0 0 30px 0;
}

.footer .social-links a {
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-color);
  color: var(--contrast-color);
  line-height: 1;
  margin: 0 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

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

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

.footer .credits {
  font-size: 13px;
  padding-top: 5px;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  background-color: 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 var(--accent-color);
  border-top-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1s linear infinite;
}

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

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

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

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

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

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

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

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  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: color-mix(in srgb, var(--background-color), transparent 50%);
  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%);
}

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

@media (max-width: 1199px) {

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

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

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.section-title h2:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  right: 0;
  bottom: 0;
}

.section-title p {
  margin-bottom: 0;
  color: color-mix(in srgb, var(--default-color) 90%, white 50%);
}

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

.hero h2 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
}

.hero p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 10px 0 20px 0;
  font-size: 24px;
}

@media (max-width: 768px) {
  .hero h2 {
    font-size: 32px;
    line-height: 36px;
  }

  .hero p {
    font-size: 18px;
    line-height: 24px;
  }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about ul {
  list-style: none;
  padding: 0;
}

.about ul li {
  padding-bottom: 5px;
  display: flex;
  align-items: center;
}

.about ul i {
  font-size: 20px;
  padding-right: 4px;
  color: var(--accent-color);
}

.about .read-more {
  background: var(--accent-color);
  color: var(--contrast-color);
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  padding: 10px 28px;
  border-radius: 50px;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.about .read-more i {
  font-size: 18px;
  margin-left: 5px;
  line-height: 0;
  transition: 0.3s;
}

.about .read-more:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.about .read-more:hover i {
  transform: translate(5px, 0);
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
  background-color: var(--surface-color);
  box-shadow: 0px 5px 90px 0px rgba(0, 0, 0, 0.1);
  padding: 60px 30px;
  transition: all ease-in-out 0.3s;
  border-radius: 18px;
  border-bottom: 5px solid var(--surface-color);
  height: 100%;
}

.services .service-item .icon {
  color: var(--contrast-color);
  background: var(--accent-color);
  margin: 0;
  width: 64px;
  height: 64px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 28px;
  transition: ease-in-out 0.3s;
}

.services .service-item h3 {
  font-weight: 700;
  margin: 10px 0 15px 0;
  font-size: 22px;
  transition: ease-in-out 0.3s;
}

.services .service-item p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

@media (min-width: 1365px) {
  .services .service-item:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
  }

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

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

.call-to-action img {
  position: fixed;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.call-to-action:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 50%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

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

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

.call-to-action p {
  color: var(--default-color);
}

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

.call-to-action .cta-btn:hover {
  background: color-mix(in srgb, var(--accent-color) 90%, white 15%);
}

/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/
.features .features-image {
  position: relative;
  min-height: 400px;
}

.features .features-image img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.features .features-item h4 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 5px 0;
}

.features .features-item i {
  font-size: 48px;
  color: var(--accent-color);
  margin-right: 20px;
  line-height: 0;
}

.features .features-item p {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 0;
}

/*--------------------------------------------------------------
# Clients Section
--------------------------------------------------------------*/
.clients .clients-wrap {
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  border-left: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
}

.clients .client-logo {
  background-color: var(--surface-color);
  display: flex;
  justify-content: center;
  align-items: center;
  border-right: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  overflow: hidden;
}

.clients .client-logo img {
  padding: 50px;
  max-width: 80%;
  transition: 0.3s;
}

@media (max-width: 640px) {
  .clients .client-logo img {
    padding: 30px;
    max-width: 50%;
  }
}

.clients .client-logo:hover img {
  transform: scale(1.1);
}

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats {
  position: relative;
}

.stats img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.stats:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 20%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

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

.stats .subheading {
  text-align: center;
}

.stats .subheading h3 {
  font-weight: 700;
  font-size: 36px;
}

.stats .stats-item {
  padding: 30px;
  width: 100%;
}

.stats .stats-item span {
  font-size: 48px;
  display: block;
  color: var(--default-color);
  font-weight: 700;
}

.stats .stats-item p {
  padding: 0;
  margin: 0;
  font-family: var(--heading-font);
  font-size: 16px;
  font-weight: 700;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

/*--------------------------------------------------------------
# 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: 8px 20px 10px 20px;
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  margin-bottom: 5px;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  font-family: var(--heading-font);
}

.portfolio .portfolio-filters li:hover,
.portfolio .portfolio-filters li.filter-active {
  color: var(--contrast-color);
  background-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 0 10px 0;
  }
}

.portfolio .portfolio-item {
  position: relative;
  overflow: hidden;
}

.portfolio .portfolio-item .portfolio-info {
  opacity: 0;
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -100%;
  z-index: 3;
  transition: all ease-in-out 0.5s;
  background: color-mix(in srgb, var(--surface-color), transparent 10%);
  padding: 15px;
}

.portfolio .portfolio-item .portfolio-info h4 {
  font-size: 18px;
  font-weight: 600;
  padding-right: 50px;
}

.portfolio .portfolio-item .portfolio-info p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 14px;
  margin-bottom: 0;
  padding-right: 50px;
}

.portfolio .portfolio-item .portfolio-info .preview-link,
.portfolio .portfolio-item .portfolio-info .details-link {
  position: absolute;
  right: 50px;
  font-size: 24px;
  top: calc(50% - 14px);
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  transition: 0.3s;
  line-height: 0;
}

.portfolio .portfolio-item .portfolio-info .preview-link:hover,
.portfolio .portfolio-item .portfolio-info .details-link:hover {
  color: var(--accent-color);
}

.portfolio .portfolio-item .portfolio-info .details-link {
  right: 14px;
  font-size: 28px;
}

.portfolio .portfolio-item:hover .portfolio-info {
  opacity: 1;
  bottom: 0;
}

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

.pricing .pricing-item h3 {
  padding: 15px;
  margin-top: 15px;
  font-size: 18px;
  font-weight: 600;
}

.pricing .pricing-item h4 {
  color: var(--accent-color);
  font-size: 42px;
  font-family: var(--default-font);
  font-weight: 500;
}

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

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

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

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

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

.pricing .pricing-item .btn-wrap {
  padding: 15px;
  text-align: center;
}

.pricing .pricing-item .btn-buy {
  color: white;
  background: linear-gradient(135deg, var(--accent-color), var(--secondary-blue));
  border: 2px solid var(--accent-color);
  display: inline-block;
  padding: 10px 40px 12px 40px;
  border-radius: 50px;
  font-size: 14px;
  font-family: var(--heading-font);
  font-weight: 600;
  transition: all 0.3s ease;
}

.pricing .pricing-item .btn-buy:hover {
  background: linear-gradient(135deg, var(--secondary-blue), var(--navy-blue));
  color: white;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
}

.pricing .recommended .btn-buy {
  background: var(--accent-color);
  color: var(--contrast-color);
}

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

.pricing .recommended-badge {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  font-size: 13px;
  padding: 6px 30px 8px 30px;
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  color: var(--accent-color);
  border-radius: 50px;
  margin-bottom: 15px;
}

/*--------------------------------------------------------------
# Faq Section
--------------------------------------------------------------*/
.faq .content h3 {
  font-weight: 400;
  font-size: 34px;
}

.faq .content p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.faq .faq-container {
  margin-top: 15px;
}

.faq .faq-container .faq-item {
  background-color: var(--surface-color);
  position: relative;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0px 5px 25px 0px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.faq .faq-container .faq-item:last-child {
  margin-bottom: 0;
}

.faq .faq-container .faq-item h3 {
  font-weight: 600;
  font-size: 17px;
  line-height: 24px;
  margin: 0 30px 0 32px;
  transition: 0.3s;
  cursor: pointer;
}

.faq .faq-container .faq-item h3 span {
  color: var(--accent-color);
  padding-right: 5px;
}

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

.faq .faq-container .faq-item .faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: 0.3s ease-in-out;
  visibility: hidden;
  opacity: 0;
}

.faq .faq-container .faq-item .faq-content p {
  margin-bottom: 0;
  overflow: hidden;
}

.faq .faq-container .faq-item .faq-icon {
  position: absolute;
  top: 22px;
  left: 20px;
  font-size: 22px;
  line-height: 0;
  transition: 0.3s;
  color: var(--accent-color);
}

.faq .faq-container .faq-item .faq-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 16px;
  line-height: 0;
  transition: 0.3s;
  cursor: pointer;
}

.faq .faq-container .faq-item .faq-toggle:hover {
  color: var(--accent-color);
}

.faq .faq-container .faq-active h3 {
  color: var(--accent-color);
}

.faq .faq-container .faq-active .faq-content {
  grid-template-rows: 1fr;
  visibility: visible;
  opacity: 1;
  padding-top: 10px;
}

.faq .faq-container .faq-active .faq-toggle {
  transform: rotate(90deg);
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Recent Posts Section
--------------------------------------------------------------*/
.recent-posts article {
  background: var(--surface-color);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  padding: 30px;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
}

.recent-posts .post-img {
  max-height: 240px;
  margin: -30px -30px 15px -30px;
  overflow: hidden;
}

.recent-posts .post-category {
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  margin-bottom: 10px;
}

.recent-posts .title {
  font-size: 20px;
  font-weight: 700;
  padding: 0;
  margin: 0 0 20px 0;
}

.recent-posts .title a {
  color: var(--heading-color);
  transition: 0.3s;
}

.recent-posts .title a:hover {
  color: var(--accent-color);
}

.recent-posts .post-author-img {
  width: 50px;
  border-radius: 50%;
  margin-right: 15px;
}

.recent-posts .post-author {
  font-weight: 600;
  margin-bottom: 5px;
}

.recent-posts .post-date {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-item+.info-item {
  margin-top: 40px;
}

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

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

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

.contact .info-item:hover i {
  background: var(--accent-color);
  color: var(--contrast-color);
}

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

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

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

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

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

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

/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/
.portfolio-details .portfolio-details-slider img {
  width: 100%;
}

.portfolio-details .swiper-wrapper {
  height: auto;
}

.portfolio-details .swiper-button-prev,
.portfolio-details .swiper-button-next {
  width: 48px;
  height: 48px;
}

.portfolio-details .swiper-button-prev:after,
.portfolio-details .swiper-button-next:after {
  color: rgba(255, 255, 255, 0.8);
  background-color: rgba(0, 0, 0, 0.15);
  font-size: 24px;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.portfolio-details .swiper-button-prev:hover:after,
.portfolio-details .swiper-button-next:hover:after {
  background-color: rgba(0, 0, 0, 0.3);
}

@media (max-width: 575px) {

  .portfolio-details .swiper-button-prev,
  .portfolio-details .swiper-button-next {
    display: none;
  }
}

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

.portfolio-details .swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
  opacity: 1;
}

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

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.portfolio-details .portfolio-info h3:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  bottom: 0;
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li {
  display: flex;
  flex-direction: column;
  padding-bottom: 15px;
}

.portfolio-details .portfolio-info ul strong {
  text-transform: uppercase;
  font-weight: 400;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 14px;
}

.portfolio-details .portfolio-info .btn-visit {
  padding: 8px 40px;
  background: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 50px;
  transition: 0.3s;
}

.portfolio-details .portfolio-info .btn-visit:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0;
}

.portfolio-details .portfolio-description .testimonial-item {
  padding: 30px 30px 0 30px;
  position: relative;
  background: color-mix(in srgb, var(--default-color), transparent 97%);
  margin-bottom: 50px;
}

.portfolio-details .portfolio-description .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50px;
  border: 6px solid var(--background-color);
  float: left;
  margin: 0 10px 0 0;
}

.portfolio-details .portfolio-description .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 15px 0 5px 0;
  padding-top: 20px;
}

.portfolio-details .portfolio-description .testimonial-item h4 {
  font-size: 14px;
  color: #6c757d;
  margin: 0;
}

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

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

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

.portfolio-details .portfolio-description .testimonial-item p {
  font-style: italic;
  margin: 0 0 15px 0 0 0;
  padding: 0;
}

/*--------------------------------------------------------------
# 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
--------------------------------------------------------------*/
/* Placeholder removed: .starter-section had no rules */

/*--------------------------------------------------------------
# Blog Posts Section
--------------------------------------------------------------*/
.blog-posts article {
  background-color: var(--surface-color);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  padding: 30px;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
}

.blog-posts .post-img {
  max-height: 240px;
  margin: -30px -30px 15px -30px;
  overflow: hidden;
}

.blog-posts .post-category {
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-bottom: 10px;
}

.blog-posts .title {
  font-size: 20px;
  font-weight: 700;
  padding: 0;
  margin: 0 0 20px 0;
}

.blog-posts .title a {
  color: var(--heading-color);
  transition: 0.3s;
}

.blog-posts .title a:hover {
  color: var(--accent-color);
}

.blog-posts .post-author-img {
  width: 50px;
  border-radius: 50%;
  margin-right: 15px;
}

.blog-posts .post-author {
  font-weight: 600;
  margin-bottom: 5px;
}

.blog-posts .post-date {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Blog Pagination Section
--------------------------------------------------------------*/
.blog-pagination {
  padding-top: 0;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.blog-pagination ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
}

.blog-pagination li {
  margin: 0 5px;
  transition: 0.3s;
}

.blog-pagination li a {
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--accent-color);
}

.blog-pagination li a.active,
.blog-pagination li a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.blog-pagination li a.active a,
.blog-pagination li a:hover a {
  color: var(--contrast-color);
}

/*--------------------------------------------------------------
# Blog Details Section
--------------------------------------------------------------*/
.blog-details {
  padding-bottom: 30px;
}

.blog-details .article {
  background-color: var(--surface-color);
  padding: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.blog-details .post-img {
  margin: -30px -30px 20px -30px;
  overflow: hidden;
}

.blog-details .title {
  color: var(--heading-color);
  font-size: 28px;
  font-weight: 700;
  padding: 0;
  margin: 30px 0;
}

.blog-details .content {
  margin-top: 20px;
}

.blog-details .content h3 {
  font-size: 22px;
  margin-top: 30px;
  font-weight: bold;
}

.blog-details .content blockquote {
  overflow: hidden;
  background-color: color-mix(in srgb, var(--default-color), transparent 95%);
  padding: 60px;
  position: relative;
  text-align: center;
  margin: 20px 0;
}

.blog-details .content blockquote p {
  color: var(--default-color);
  line-height: 1.6;
  margin-bottom: 0;
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
}

.blog-details .content blockquote:after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: var(--accent-color);
  margin-top: 20px;
  margin-bottom: 20px;
}

.blog-details .meta-top {
  margin-top: 20px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.blog-details .meta-top ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  align-items: center;
  padding: 0;
  margin: 0;
}

.blog-details .meta-top ul li+li {
  padding-left: 20px;
}

.blog-details .meta-top i {
  font-size: 16px;
  margin-right: 8px;
  line-height: 0;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.blog-details .meta-top a {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 14px;
  display: inline-block;
  line-height: 1;
}

.blog-details .meta-bottom {
  padding-top: 10px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.blog-details .meta-bottom i {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  display: inline;
}

.blog-details .meta-bottom a {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  transition: 0.3s;
}

.blog-details .meta-bottom a:hover {
  color: var(--accent-color);
}

.blog-details .meta-bottom .cats {
  list-style: none;
  display: inline;
  padding: 0 20px 0 0;
  font-size: 14px;
}

.blog-details .meta-bottom .cats li {
  display: inline-block;
}

.blog-details .meta-bottom .tags {
  list-style: none;
  display: inline;
  padding: 0;
  font-size: 14px;
}

.blog-details .meta-bottom .tags li {
  display: inline-block;
}

.blog-details .meta-bottom .tags li+li::before {
  padding-right: 6px;
  color: var(--default-color);
  content: ",";
}

.blog-details .meta-bottom .share {
  font-size: 16px;
}

.blog-details .meta-bottom .share i {
  padding-left: 5px;
}

/*--------------------------------------------------------------
# Blog Comments Section
--------------------------------------------------------------*/
.blog-comments {
  padding: 10px 0;
}

.blog-comments .comments-count {
  font-weight: bold;
}

.blog-comments .comment {
  margin-top: 30px;
  position: relative;
}

.blog-comments .comment .comment-img {
  margin-right: 14px;
}

.blog-comments .comment .comment-img img {
  width: 60px;
}

.blog-comments .comment h5 {
  font-size: 16px;
  margin-bottom: 2px;
}

.blog-comments .comment h5 a {
  font-weight: bold;
  color: var(--default-color);
  transition: 0.3s;
}

.blog-comments .comment h5 a:hover {
  color: var(--accent-color);
}

.blog-comments .comment h5 .reply {
  padding-left: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.blog-comments .comment h5 .reply i {
  font-size: 20px;
}

.blog-comments .comment time {
  display: block;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-bottom: 5px;
}

.blog-comments .comment.comment-reply {
  padding-left: 40px;
}

/*--------------------------------------------------------------
# Comment Form Section
--------------------------------------------------------------*/
.comment-form {
  padding-top: 10px;
}

.comment-form form {
  background-color: var(--surface-color);
  margin-top: 30px;
  padding: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.comment-form form h4 {
  font-weight: bold;
  font-size: 22px;
}

.comment-form form p {
  font-size: 14px;
}

.comment-form form input {
  background-color: var(--surface-color);
  color: var(--default-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 70%);
  font-size: 14px;
  border-radius: 4px;
  padding: 10px 10px;
}

.comment-form form input:focus {
  color: var(--default-color);
  background-color: var(--surface-color);
  box-shadow: none;
  border-color: var(--accent-color);
}

.comment-form form input::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.comment-form form textarea {
  background-color: var(--surface-color);
  color: var(--default-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 70%);
  border-radius: 4px;
  padding: 10px 10px;
  font-size: 14px;
  height: 120px;
}

.comment-form form textarea:focus {
  color: var(--default-color);
  box-shadow: none;
  border-color: var(--accent-color);
  background-color: var(--surface-color);
}

.comment-form form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.comment-form form .form-group {
  margin-bottom: 25px;
}

.comment-form form .btn-primary {
  border-radius: 4px;
  padding: 10px 20px;
  border: 0;
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.comment-form form .btn-primary:hover {
  color: var(--contrast-color);
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widgets-container {
  background-color: var(--surface-color);
  padding: 30px;
  margin: 60px 0 30px 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.widget-title {
  color: var(--heading-color);
  font-size: 20px;
  font-weight: 700;
  padding: 0;
  margin: 0 0 20px 0;
}

.widget-item {
  margin-bottom: 40px;
}

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

.blog-author-widget img {
  max-width: 120px;
  margin-right: 20px;
}

.blog-author-widget h4 {
  font-weight: 600;
  font-size: 24px;
  margin-bottom: 0px;
  padding: 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.blog-author-widget .social-links {
  margin: 5px 0;
}

.blog-author-widget .social-links a {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  margin-right: 5px;
  font-size: 18px;
}

.blog-author-widget .social-links a:hover {
  color: var(--accent-color);
}

.blog-author-widget p {
  font-style: italic;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin: 10px 0 0 0;
}

.search-widget form {
  background: var(--background-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 75%);
  padding: 3px 10px;
  position: relative;
  border-radius: 50px;
  transition: 0.3s;
}

.search-widget form input[type=text] {
  border: 0;
  padding: 4px 10px;
  border-radius: 4px;
  width: calc(100% - 40px);
  background-color: var(--background-color);
  color: var(--default-color);
}

.search-widget form input[type=text]:focus {
  outline: none;
}

.search-widget form button {
  background: none;
  color: var(--default-color);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  border: 0;
  font-size: 16px;
  padding: 0 16px;
  transition: 0.3s;
  line-height: 0;
}

.search-widget form button i {
  line-height: 0;
}

.search-widget form button:hover {
  color: var(--accent-color);
}

.search-widget form:is(:focus-within) {
  border-color: var(--accent-color);
}

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

.categories-widget ul li {
  padding-bottom: 10px;
}

.categories-widget ul li:last-child {
  padding-bottom: 0;
}

.categories-widget ul a {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.3s;
}

.categories-widget ul a:hover {
  color: var(--accent-color);
}

.categories-widget ul a span {
  padding-left: 5px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 14px;
}

.recent-posts-widget .post-item {
  display: flex;
  margin-bottom: 15px;
}

.recent-posts-widget .post-item:last-child {
  margin-bottom: 0;
}

.recent-posts-widget .post-item img {
  width: 80px;
  margin-right: 15px;
}

.recent-posts-widget .post-item h4 {
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 5px;
}

.recent-posts-widget .post-item h4 a {
  color: var(--default-color);
  transition: 0.3s;
}

.recent-posts-widget .post-item h4 a:hover {
  color: var(--accent-color);
}

.recent-posts-widget .post-item time {
  display: block;
  font-style: italic;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

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

.tags-widget ul li {
  display: inline-block;
}

.tags-widget ul a {
  background-color: color-mix(in srgb, var(--default-color), transparent 94%);
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  border-radius: 50px;
  font-size: 14px;
  padding: 5px 15px;
  margin: 0 6px 8px 0;
  display: inline-block;
  transition: 0.3s;
}

.tags-widget ul a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.tags-widget ul a span {
  padding-left: 5px;
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  font-size: 14px;
}

/*--------------------------------------------------------------
# Adamson Debate Society Custom Styles
--------------------------------------------------------------*/

/* Enhanced header background for debate society - Removed to use constitution page design */

/* Hero section blue gradient */
.hero.dark-background {
  background: linear-gradient(135deg, var(--navy-blue) 0%, var(--accent-color) 50%, var(--secondary-blue) 100%);
  position: relative;
}

.hero.dark-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(30, 58, 138, 0.7);
  z-index: 1;
}

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

/* Call to action section with debate theme */
.call-to-action.dark-background {
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--navy-blue) 100%);
}

/* Service items with blue accents */
.services .service-item {
  border: 2px solid var(--light-blue);
  transition: all 0.3s ease;
}

.services .service-item:hover {
  border-color: var(--accent-color);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.15);
}

.services .service-item .icon {
  background: linear-gradient(135deg, var(--accent-color), var(--secondary-blue));
}

.services .service-item .icon i {
  color: white;
}

/* Features section icons */
.features .features-item i {
  color: var(--accent-color);
}

/* Stats section with blue theme */
.stats.dark-background {
  background: linear-gradient(135deg, var(--navy-blue) 0%, var(--accent-color) 100%);
}

/* Portfolio/Achievement items */
.portfolio .portfolio-item {
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.portfolio .portfolio-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(37, 99, 235, 0.2);
}

/* Pricing/Membership cards */
.pricing .pricing-item {
  border: 2px solid var(--light-blue);
  transition: all 0.3s ease;
}

.pricing .pricing-item:hover {
  border-color: var(--accent-color);
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(37, 99, 235, 0.15);
}

.pricing .pricing-item.recommended {
  border-color: var(--accent-color);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.2);
}

.pricing .pricing-item h4 {
  color: var(--accent-color);
}

/* Pricing section enhancements */
.pricing .pricing-item {
  min-height: 550px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.pricing .row {
  display: flex;
  align-items: stretch;
}

.pricing .pricing-item .price {
  font-size: 24px;
  font-weight: bold;
  color: var(--accent-color);
  margin: 10px 0 20px 0;
  text-align: center;
}

.pricing .pricing-item ul {
  flex-grow: 1;
}

/* Button styles */
.btn-buy {
  background: linear-gradient(135deg, var(--accent-color), var(--secondary-blue));
  border: none;
  color: white;
  transition: all 0.3s ease;
}

.btn-buy:hover {
  background: linear-gradient(135deg, var(--secondary-blue), var(--navy-blue));
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

/* FAQ section */
.faq .faq-item {
  border-left: 4px solid var(--accent-color);
}

.faq .faq-icon {
  color: var(--accent-color);
}

/* Contact form */
.contact .php-email-form button[type="submit"] {
  background: linear-gradient(135deg, var(--accent-color), var(--secondary-blue));
  border: none;
  transition: all 0.3s ease;
}

.contact .php-email-form button[type="submit"]:hover {
  background: linear-gradient(135deg, var(--secondary-blue), var(--navy-blue));
  transform: translateY(-2px);
}

/* Additional accent elements */
.section-title h2::after {
  background: linear-gradient(135deg, var(--accent-color), var(--secondary-blue));
}

/* Accessibility improvements */
.hero h2, .hero p {
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

/* Focus states for accessibility */
.header .navmenu a:focus,
.btn-buy:focus,
.cta-btn:focus {
  outline: 3px solid var(--secondary-blue);
  outline-offset: 2px;
}

/* Membership Application Popup */
.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  z-index: 10000;
  animation: fadeIn 0.3s ease;
}

.popup-overlay.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup-content {
  background: white;
  border-radius: 15px;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideIn 0.3s ease;
  position: relative;
}

.popup-header {
  padding: 25px 30px 15px;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.popup-header h3 {
  margin: 0;
  color: var(--heading-color);
  font-size: 22px;
  font-weight: 600;
}

.popup-close {
  background: none;
  border: none;
  font-size: 28px;
  color: #6b7280;
  cursor: pointer;
  padding: 5px;
  line-height: 1;
  transition: color 0.3s ease;
}

.popup-close:hover {
  color: var(--accent-color);
}

.popup-body {
  padding: 25px 30px;
}

.popup-body p {
  margin: 0;
  color: var(--default-color);
  font-size: 16px;
  line-height: 1.6;
}

.popup-footer {
  padding: 15px 30px 25px;
  text-align: center;
}

.popup-btn {
  background: linear-gradient(135deg, var(--accent-color), var(--secondary-blue));
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--heading-font);
}

.popup-btn:hover {
  background: linear-gradient(135deg, var(--secondary-blue), var(--navy-blue));
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Guidelines Page Styling */
.guidelines-hero {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--accent-color), var(--navy-blue));
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0;
}

.rule-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  height: 100%;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid #e5e7eb;
}

.rule-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(37, 99, 235, 0.15);
}

.rule-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--accent-color), var(--secondary-blue));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: white;
  font-size: 1.8rem;
}

.rule-card h3 {
  color: var(--heading-color);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

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

.rule-list li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--default-color);
  line-height: 1.6;
}

.rule-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  top: 0.5rem;
  color: var(--accent-color);
  font-weight: bold;
}

/* Format Cards */
.format-card {
  background: white;
  border-radius: 20px;
  padding: 0;
  height: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  overflow: hidden;
}

.format-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.bp-card {
  border-top: 5px solid #2563eb;
}

.ap-card {
  border-top: 5px solid #dc2626;
}

.format-header {
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
  padding: 2rem;
  text-align: center;
}

.format-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.format-header h3 {
  color: var(--heading-color);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.format-subtitle {
  color: #64748b;
  font-size: 1rem;
  margin-bottom: 0;
}

.format-details {
  padding: 2rem;
}

.detail-section {
  margin-bottom: 2rem;
}

.detail-section h4 {
  color: var(--heading-color);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.format-info {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.info-badge {
  background: var(--accent-color);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.teams-layout {
  background: #f8fafc;
  border-radius: 10px;
  padding: 1rem;
}

.team-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.team-row:last-child {
  margin-bottom: 0;
}

.team {
  flex: 1;
  padding: 0.8rem;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
}

.team.gov {
  background: #dbeafe;
  color: #1e40af;
}

.team.opp {
  background: #fee2e2;
  color: #dc2626;
}

.scoring-breakdown {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.score-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.score-label {
  width: 60px;
  font-weight: 600;
  color: var(--heading-color);
  font-size: 0.9rem;
}

.score-bar {
  flex: 1;
  height: 8px;
  background: #e5e7eb;
  border-radius: 4px;
  overflow: hidden;
}

.score-fill {
  height: 100%;
  background: var(--accent-color);
  transition: width 0.8s ease;
}

.ap-fill {
  background: #dc2626;
}

.score-percent {
  width: 40px;
  text-align: right;
  font-weight: 600;
  color: var(--heading-color);
  font-size: 0.9rem;
}

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

.key-rules li {
  padding: 0.4rem 0;
  padding-left: 1.2rem;
  position: relative;
  color: var(--default-color);
  font-size: 0.9rem;
}

.key-rules li::before {
  content: "\2022";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: bold;
}

.roles-section {
  margin-top: 4rem;
}

.roles-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  height: 100%;
}

.roles-card h4 {
  color: var(--heading-color);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-align: center;
}

.role-grid {
  display: grid;
  gap: 0.8rem;
}

.role-item {
  padding: 0.8rem;
  background: #f8fafc;
  border-radius: 8px;
  font-size: 0.9rem;
  line-height: 1.4;
}

.role-item strong {
  color: var(--accent-color);
}

/* Judging Criteria Cards */
.criteria-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  height: 100%;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.criteria-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.criteria-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.criteria-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--accent-color), var(--secondary-blue));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: white;
  font-size: 1.5rem;
}

.criteria-card h3 {
  color: var(--heading-color);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.criteria-weight {
  background: var(--accent-color);
  color: white;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 1.1rem;
  display: inline-block;
}

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

.criteria-list li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--default-color);
  line-height: 1.5;
}

.criteria-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  top: 0.5rem;
  color: var(--accent-color);
  font-weight: bold;
}

/* Resource Cards */
.resource-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  height: 100%;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  text-align: center;
}

.resource-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(37, 99, 235, 0.15);
}

.resource-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--accent-color), var(--secondary-blue));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 1.8rem;
}

.resource-card h3 {
  color: var(--heading-color);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.download-links {
  text-align: left;
}

.download-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 0;
  color: var(--default-color);
  text-decoration: none;
  border-bottom: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.download-link:hover {
  color: var(--accent-color);
  background: #f8fafc;
  border-radius: 8px;
  padding-left: 1rem;
}

.download-link i {
  color: var(--accent-color);
  font-size: 1.2rem;
}

.contact-links {
  text-align: left;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 0;
  color: var(--default-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

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

.contact-link i {
  color: var(--accent-color);
  font-size: 1.2rem;
}

.updates-timeline {
  text-align: left;
}

/* Tooltip Styles */
.debate-tooltip {
  position: relative;
  cursor: help;
  border-bottom: 1px dotted var(--accent-color);
  color: var(--accent-color);
  font-weight: 600;
}

.debate-tooltip .tooltip-text {
  visibility: hidden;
  width: 280px;
  background-color: var(--heading-color);
  color: white;
  text-align: center;
  border-radius: 8px;
  padding: 8px 12px;
  position: absolute;
  z-index: 1000;
  bottom: 125%;
  left: 50%;
  margin-left: -140px;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  transform: translateY(10px);
  font-size: 0.85rem;
  line-height: 1.3;
  font-weight: 400;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.debate-tooltip .tooltip-text::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: var(--heading-color) transparent transparent transparent;
}

.debate-tooltip:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

/* Responsive tooltip positioning */
@media (max-width: 768px) {
  .debate-tooltip .tooltip-text {
    width: 240px;
    margin-left: -120px;
    font-size: 0.8rem;
  }
}
.update-item {
  padding: 0.8rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.update-item:last-child {
  border-bottom: none;
}

.update-date {
  font-weight: 600;
  color: var(--accent-color);
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.3rem;
}

.update-text {
  color: var(--default-color);
  font-size: 0.9rem;
  line-height: 1.4;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --default-color: #000000;
    --heading-color: #000000;
    --accent-color: #0000ff;
  }
}

/* News & Events Page Styles */
.page-title {
  padding: 120px 0 60px 0;
  background: linear-gradient(135deg, var(--navy-blue) 0%, var(--accent-color) 100%);
}

.page-title h1 {
  color: white;
  font-size: 2.5rem;
  font-weight: 700;
}

.breadcrumbs ol {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumbs ol li {
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumbs ol li a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.breadcrumbs ol li + li::before {
  content: "/";
  margin: 0 10px;
  color: rgba(255, 255, 255, 0.6);
}

.featured-post {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.1);
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.featured-post:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(37, 99, 235, 0.15);
}

.featured-post .post-img img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.featured-post .title a {
  color: var(--heading-color);
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.featured-post .title a:hover {
  color: var(--accent-color);
}

.featured-post .content {
  padding: 2rem;
}

.featured-post .meta-top ul {
  list-style: none;
  padding: 0;
  margin: 1rem 2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.featured-post .meta-top ul li {
  color: var(--accent-color);
  font-size: 0.9rem;
}

.events-widget .event-item {
  padding: 1rem 0;
  border-bottom: 1px solid var(--light-blue);
}

.events-widget .event-date {
  background: var(--accent-color);
  color: white;
  text-align: center;
  padding: 0.5rem;
  border-radius: 8px;
  margin-right: 1rem;
  min-width: 60px;
}

.events-widget .event-date .day {
  font-size: 1.2rem;
  font-weight: 700;
}

.events-widget .event-date .month {
  font-size: 0.8rem;
}

.sidebar .widget-item {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.1);
}

.sidebar .widget-title {
  color: var(--heading-color);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--accent-color);
}

.recent-posts-widget .post-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--light-blue);
}

.recent-posts-widget .post-item img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
}

.categories-widget ul li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--light-blue);
}

.categories-widget ul li a {
  color: var(--default-color);
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  transition: color 0.3s ease;
}

.categories-widget ul li a:hover {
  color: var(--accent-color);
}

.pagination ul {
  list-style: none;
  display: flex;
  gap: 0.5rem;
  padding: 0;
}

.pagination ul li a {
  padding: 0.5rem 1rem;
  background: white;
  border: 2px solid var(--light-blue);
  color: var(--default-color);
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.pagination ul li a:hover,
.pagination ul li a.active {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: white;
}

/* Responsive logo adjustments */
@media (max-width: 768px) {
  .header .logo img {
    max-height: 35px;
    margin-right: 6px;
  }

  .header .logo h1 {
    font-size: 18px;
  }

  .page-title h1 {
    font-size: 2rem;
  }

  .featured-post .content {
    padding: 1.5rem;
  }
}

/* Enhanced Social Links */
.social-link-enhanced {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: #ffffff;
  font-size: 1.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.social-link-enhanced:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.social-link-enhanced:hover:before {
  left: 100%;
}

.social-link-enhanced:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  color: #ffffff;
}

/* Facebook */
.social-link-enhanced.facebook {
  background: linear-gradient(135deg, #1877f2, #42a5f5);
}

.social-link-enhanced.facebook:hover {
  background: linear-gradient(135deg, #0d5bb8, #1976d2);
}

/* Instagram */
.social-link-enhanced.instagram {
  background: linear-gradient(135deg, #e4405f, #f77737, #ffdc80);
}

.social-link-enhanced.instagram:hover {
  background: linear-gradient(135deg, #c13584, #e1306c, #fd5949);
}

/* TikTok */
.social-link-enhanced.tiktok {
  background: linear-gradient(135deg, #000000, #ff0050);
}

.social-link-enhanced.tiktok:hover {
  background: linear-gradient(135deg, #333333, #ff2d72);
}

@media (max-width: 768px) {
  .social-link-enhanced {
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }
}

/* Partners Carousel Section */
.partners {
  padding: 80px 0;
  overflow: hidden;
}

.partners-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
}

.partners-slider {
  flex: 1;
}

.partners-slider .swiper-wrapper {
  display: flex;
  align-items: center;
}

.partners-slider .swiper-slide {
  display: flex;
  justify-content: center;
  transition: transform 0.45s ease, opacity 0.45s ease, filter 0.45s ease;
  opacity: 0.3;
  filter: blur(1px) saturate(0.85);
  transform: scale(0.86);
}

.partners-slider .swiper-slide.swiper-slide-prev,
.partners-slider .swiper-slide.swiper-slide-next {
  opacity: 0.6;
  filter: blur(0.45px) saturate(0.92);
  transform: scale(0.95);
}

.partners-slider .swiper-slide.swiper-slide-active {
  opacity: 1;
  filter: none;
  transform: scale(1.12);
  z-index: 5;
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(200px, 28vw, 300px);
  aspect-ratio: 1 / 1;
  padding: 34px;
  text-decoration: none;
  background: var(--surface-color);
  border-radius: 26px;
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.16);
  border: 2px solid transparent;
  transition: transform 0.45s ease, box-shadow 0.45s ease, border-color 0.45s ease;
}

.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.45s ease;
}

.partner-logo:hover,
.partner-logo:focus-visible {
  transform: translateY(-12px);
  box-shadow: 0 28px 55px rgba(37, 99, 235, 0.25);
  border-color: var(--accent-color);
}

.partner-logo:hover img,
.partner-logo:focus-visible img {
  transform: scale(1.05);
}

.carousel-btn {
  background: var(--accent-color);
  border: none;
  border-radius: 50%;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
  z-index: 10;
}

.carousel-btn:hover {
  background: var(--secondary-blue);
  transform: scale(1.08);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.35);
}

.carousel-btn:active {
  transform: scale(0.95);
}

.carousel-btn:focus-visible {
  outline: 2px solid var(--secondary-blue);
  outline-offset: 3px;
}

.carousel-btn-prev {
  order: -1;
}

.carousel-btn-next {
  order: 1;
}

@media (max-width: 1100px) {
  .partners-carousel {
    gap: 22px;
  }

  .partners-slider .swiper-slide {
    opacity: 0.35;
    filter: blur(0.6px) saturate(0.88);
    transform: scale(0.9);
  }

  .partners-slider .swiper-slide.swiper-slide-active {
    transform: scale(1.08);
  }

  .partner-logo {
    width: clamp(180px, 36vw, 270px);
    padding: 30px;
    border-radius: 24px;
  }
}

@media (max-width: 768px) {
  .partners-carousel {
    gap: 18px;
  }

  .partners-slider .swiper-slide {
    opacity: 0.45;
    filter: blur(0.35px) saturate(0.9);
    transform: scale(0.92);
  }

  .partners-slider .swiper-slide.swiper-slide-active {
    transform: scale(1.07);
  }

  .partner-logo {
    width: clamp(160px, 58vw, 240px);
    padding: 26px;
    border-radius: 22px;
  }

  .carousel-btn {
    width: 48px;
    height: 48px;
    font-size: 18px;
  }
}

@media (max-width: 576px) {
  .partners-carousel {
    gap: 14px;
  }

  .partners-slider .swiper-slide {
    opacity: 0.55;
    filter: none;
    transform: scale(0.95);
  }

  .partners-slider .swiper-slide.swiper-slide-active {
    transform: scale(1.05);
  }

  .partner-logo {
    width: clamp(150px, 72vw, 220px);
    padding: 22px;
    border-radius: 20px;
  }

  .carousel-btn {
    width: 44px;
    height: 44px;
    font-size: 16px;
  }
}

/* Mission & Vision Section Animations */
.mission-title, .vision-title {
  position: relative;
  color: var(--accent-color);
  font-weight: 700;
  margin-bottom: 20px;
}

.mission-title::after, .vision-title::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-color), var(--secondary-blue));
  animation: expandLine 1s ease-out forwards;
  animation-delay: 0.5s;
}

@keyframes expandLine {
  0% {
    width: 0;
  }
  100% {
    width: 60px;
  }
}

.mission-description, .vision-description {
  font-size: 1.1rem;
  color: var(--default-color);
  margin-bottom: 25px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 0.3s;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.mission-list li, .vision-list li {
  margin-bottom: 15px;
  padding: 8px 0 8px 20px;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.mission-list li::before, .vision-list li::before {
  content: "-";
  color: #007bff;
  font-size: 16px;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 8px;
}

.mission-list li i, .vision-list li i {
  display: none;
}

.mission-list li span, .vision-list li span {
  font-weight: 500;
}

/* Staggered animation for list items */
.mission-list li:nth-child(1) { animation-delay: 0.6s; }
.mission-list li:nth-child(2) { animation-delay: 0.7s; }
.mission-list li:nth-child(3) { animation-delay: 0.8s; }
.mission-list li:nth-child(4) { animation-delay: 0.9s; }
.mission-list li:nth-child(5) { animation-delay: 1.0s; }
.mission-list li:nth-child(6) { animation-delay: 1.1s; }

.vision-list li:nth-child(1) { animation-delay: 0.8s; }
.vision-list li:nth-child(2) { animation-delay: 0.9s; }
.vision-list li:nth-child(3) { animation-delay: 1.0s; }
.vision-list li:nth-child(4) { animation-delay: 1.1s; }
.vision-list li:nth-child(5) { animation-delay: 1.2s; }
.vision-list li:nth-child(6) { animation-delay: 1.3s; }
.vision-list li:nth-child(7) { animation-delay: 1.4s; }
.vision-list li:nth-child(8) { animation-delay: 1.5s; }

/*--------------------------------------------------------------
# Mobile Optimizations - Space Efficient Design
---------------------------------------------------------------*/

/* Mobile-first responsive design patterns inspired by modern UX */
@media (max-width: 768px) {

  /* Hero Section - Reduced height for mobile */
  .hero {
    min-height: 70vh;
    padding: 40px 0;
  }

  .hero h2 {
    font-size: 28px;
    line-height: 32px;
    margin-bottom: 15px;
  }

  .hero p {
    font-size: 16px;
    line-height: 22px;
    margin: 8px 0 15px 0;
  }

  /* Container spacing optimization */
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Section spacing - much more compact */
  section,
  .section {
    padding: 40px 0;
  }

  .section-title {
    padding-bottom: 30px;
  }

  .section-title h2 {
    font-size: 26px;
    margin-bottom: 15px;
  }

  /* Service items - compact mobile layout */
  .services .service-item {
    padding: 25px 20px;
    margin-bottom: 20px;
    border-radius: 12px;
  }

  .services .service-item .icon {
    width: 50px;
    height: 50px;
    font-size: 24px;
    margin-bottom: 15px;
  }

  .services .service-item h3 {
    font-size: 18px;
    margin: 8px 0 10px 0;
  }

  .services .service-item p {
    font-size: 13px;
    line-height: 20px;
  }

  /* Pricing cards - mobile optimized */
  .pricing .pricing-item {
    padding: 25px 15px;
    margin-bottom: 20px;
    min-height: auto;
    border-radius: 12px;
  }

  .pricing .pricing-item h3 {
    padding: 10px;
    margin-top: 10px;
    font-size: 16px;
  }

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

  .pricing .pricing-item ul {
    padding: 15px 0;
    font-size: 13px;
  }

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

  .pricing .pricing-item .btn-wrap {
    padding: 10px;
  }

  .pricing .pricing-item .btn-buy {
    padding: 8px 30px 10px 30px;
    font-size: 13px;
  }

  /* Call to action - mobile compact */
  .call-to-action {
    padding: 60px 0;
  }

  .call-to-action h3 {
    font-size: 22px;
    margin-bottom: 15px;
  }

  .call-to-action p {
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 20px;
  }

  /* About section mobile optimization */
  .about ul li {
    padding-bottom: 8px;
    font-size: 14px;
  }

  .about ul i {
    font-size: 16px;
  }

  /* Features section mobile */
  .features .features-item {
    margin-top: 25px !important;
    padding: 0 !important;
  }

  .features .features-item i {
    font-size: 32px;
    margin-right: 15px;
  }

  .features .features-item h4 {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .features .features-item p {
    font-size: 13px;
    line-height: 18px;
    margin-bottom: 0;
  }

  /* FAQ mobile optimization */
  .faq-container {
    padding: 0 10px;
  }

  .faq-item {
    margin-bottom: 15px;
    padding: 15px;
  }

  .faq-item h3 {
    font-size: 16px;
    line-height: 22px;
  }

  .faq-content p {
    font-size: 13px;
    line-height: 18px;
  }

  /* Partners section mobile */
  .partner-logo {
    width: 120px;
    height: 120px;
    padding: 10px;
  }

  /* Footer mobile optimization */
  .footer {
    padding: 30px 0;
  }

  .footer h3,
  .footer h4 {
    font-size: 18px;
    margin-bottom: 15px;
  }

  .footer p {
    font-size: 13px;
    line-height: 18px;
    margin-bottom: 10px;
  }

  .footer-contact p {
    font-size: 12px;
    margin-bottom: 8px;
  }

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

  /* Grid spacing adjustments */
  .row.gy-4 {
    --bs-gutter-y: 1.5rem;
  }

  .row.gy-4 > * {
    margin-bottom: 1.5rem;
  }

  /* Mission and Vision mobile */
  .mission-title,
  .vision-title {
    font-size: 20px;
    margin-bottom: 15px;
  }

  .mission-description,
  .vision-description {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .mission-list li,
  .vision-list li {
    margin-bottom: 10px;
    padding: 6px 0;
    font-size: 13px;
  }

  .mission-list li i,
  .vision-list li i {
    font-size: 14px;
    margin-right: 8px;
  }
}

/* Extra small devices (phones, 576px and down) */
@media (max-width: 576px) {

  /* Even more compact for very small screens */
  .hero {
    min-height: 60vh;
    padding: 30px 0;
  }

  .hero h2 {
    font-size: 24px;
    line-height: 28px;
  }

  .hero p {
    font-size: 14px;
    line-height: 20px;
  }

  /* Ultra-compact sections */
  section,
  .section {
    padding: 30px 0;
  }

  .section-title {
    padding-bottom: 20px;
  }

  .section-title h2 {
    font-size: 22px;
    margin-bottom: 10px;
  }

  /* Service items - ultra compact */
  .services .service-item {
    padding: 20px 15px;
    margin-bottom: 15px;
  }

  .services .service-item .icon {
    width: 45px;
    height: 45px;
    font-size: 20px;
    margin-bottom: 12px;
  }

  .services .service-item h3 {
    font-size: 16px;
    margin: 6px 0 8px 0;
  }

  .services .service-item p {
    font-size: 12px;
    line-height: 18px;
  }

  /* Pricing ultra compact */
  .pricing .pricing-item {
    padding: 20px 12px;
    margin-bottom: 15px;
  }

  .pricing .pricing-item h3 {
    font-size: 15px;
    padding: 8px;
    margin-top: 8px;
  }

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

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

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

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

  /* Container ultra tight */
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  /* Call to action ultra compact */
  .call-to-action {
    padding: 40px 0;
  }

  .call-to-action h3 {
    font-size: 20px;
  }

  .call-to-action p {
    font-size: 13px;
    line-height: 18px;
  }

  /* Grid ultra tight */
  .row.gy-4 {
    --bs-gutter-y: 1rem;
  }

  .row.gy-4 > * {
    margin-bottom: 1rem;
  }

  /* Typography adjustments */
  .mission-title,
  .vision-title {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .mission-description,
  .vision-description {
    font-size: 13px;
    margin-bottom: 15px;
  }

  .mission-list li,
  .vision-list li {
    margin-bottom: 8px;
    padding: 4px 0;
    font-size: 12px;
  }

  /* Header mobile adjustments */
  .header .logo h1 {
    font-size: 18px;
  }

  .header .logo img {
    max-height: 30px;
  }
}

/* Landscape phone optimization */
@media (max-width: 768px) and (orientation: landscape) {
  .hero {
    min-height: 50vh;
    padding: 20px 0;
  }

  section,
  .section {
    padding: 25px 0;
  }
}


/*--------------------------------------------------------------
# Mobile Mission & Vision Tabbed Interface
---------------------------------------------------------------*/

/* Mobile Mission & Vision Tabbed Interface */
@media (max-width: 991.98px) {
  .mobile-mission-vision {
    max-width: 100%;
    margin: 0 auto;
  }

  .mobile-tab-container {
    background: var(--surface-color);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.15);
    overflow: hidden;
    border: 2px solid var(--light-blue);
    transition: all 0.3s ease;
  }

  .mobile-tab-container:hover {
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.2);
    transform: translateY(-2px);
  }

  .mobile-tab-buttons {
    display: flex;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-blue));
    border-radius: 0;
    overflow: hidden;
  }

  .mobile-tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    padding: 18px 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
  }

  .mobile-tab-btn:last-child {
    border-right: none;
  }

  .mobile-tab-btn i {
    font-size: 20px;
    transition: all 0.3s ease;
  }

  .mobile-tab-btn span {
    font-size: 13px;
    transition: all 0.3s ease;
  }

  .mobile-tab-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
  }

  .mobile-tab-btn.active {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.2);
  }

  .mobile-tab-btn.active i {
    transform: scale(1.1);
  }

  .mobile-tab-btn.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: white;
    animation: slideIn 0.3s ease;
  }

  @keyframes slideIn {
    from {
      transform: scaleX(0);
    }
    to {
      transform: scaleX(1);
    }
  }

  .mobile-tab-content {
    padding: 25px 20px;
    min-height: 400px;
    position: relative;
  }

  .mobile-tab-panel {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    position: absolute;
    top: 25px;
    left: 20px;
    right: 20px;
    pointer-events: none;
  }

  .mobile-tab-panel.active {
    opacity: 1;
    transform: translateY(0);
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    pointer-events: auto;
  }

  .mobile-content-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 8px;
  }

  .mobile-content-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-blue));
    border-radius: 2px;
  }

  .mobile-content-description {
    font-size: 14px;
    color: var(--default-color);
    margin-bottom: 20px;
    line-height: 1.6;
  }

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

  .mobile-content-list li {
    display: flex;
    align-items: flex-start;
    padding: 8px 0 8px 20px;
    font-size: 13px;
    line-height: 1.5;
    border-radius: 8px;
    margin-bottom: 8px;
    position: relative;
  }

  .mobile-content-list li::before {
    content: "-";
    color: #007bff;
    font-size: 14px;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 8px;
  }

  .mobile-content-list li i {
    display: none;
  }

  .mobile-content-list li span {
    flex: 1;
    color: var(--default-color);
  }
}

/* Small mobile devices */
@media (max-width: 576px) {
  .mobile-tab-container {
    border-radius: 16px;
    margin: 0 5px;
  }

  .mobile-tab-btn {
    padding: 15px 8px;
    font-size: 14px;
  }

  .mobile-tab-btn i {
    font-size: 18px;
  }

  .mobile-tab-btn span {
    font-size: 12px;
  }

  .mobile-tab-content {
    padding: 20px 15px;
    min-height: 350px;
  }

  .mobile-content-title {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .mobile-content-description {
    font-size: 13px;
    margin-bottom: 15px;
  }

  .mobile-content-list li {
    font-size: 12px;
    padding: 6px 0;
    margin-bottom: 6px;
  }

  .mobile-content-list li i {
    font-size: 13px;
    margin-right: 8px;
  }
}


/*--------------------------------------------------------------
# Mobile Membership Tabbed Interface
---------------------------------------------------------------*/

/* Mobile Membership Tabbed Interface */
@media (max-width: 991.98px) {
  .mobile-membership {
    max-width: 100%;
    margin: 0 auto;
  }

  .mobile-membership-container {
    background: var(--surface-color);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.15);
    overflow: hidden;
    border: 2px solid var(--light-blue);
    transition: all 0.3s ease;
  }

  .mobile-membership-container:hover {
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.2);
    transform: translateY(-2px);
  }

  .mobile-membership-buttons {
    display: flex;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-blue));
    border-radius: 0;
    overflow: hidden;
  }

  .mobile-membership-btn {
    flex: 1;
    background: transparent;
    border: none;
    padding: 16px 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
  }

  .mobile-membership-btn:last-child {
    border-right: none;
  }

  .mobile-membership-btn i {
    font-size: 18px;
    transition: all 0.3s ease;
  }

  .mobile-membership-btn span {
    font-size: 12px;
    transition: all 0.3s ease;
  }

  .mobile-membership-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
  }

  .mobile-membership-btn.active {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.2);
  }

  .mobile-membership-btn.active i {
    transform: scale(1.1);
  }

  .mobile-membership-btn.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: white;
    animation: slideIn 0.3s ease;
  }

  .mobile-membership-content {
    padding: 25px 20px;
    min-height: 450px;
    position: relative;
  }

  .mobile-membership-panel {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    position: absolute;
    top: 25px;
    left: 20px;
    right: 20px;
    pointer-events: none;
  }

  .mobile-membership-panel.active {
    opacity: 1;
    transform: translateY(0);
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    pointer-events: auto;
  }

  .mobile-membership-header {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    padding-top: 20px;
  }

  .mobile-membership-header h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 5px;
  }

  .mobile-membership-header h4 {
    font-size: 16px;
    font-weight: 500;
    color: var(--secondary-blue);
    margin-bottom: 10px;
  }

  .mobile-price {
    font-size: 24px;
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 20px;
  }

  .mobile-recommended-badge,
  .mobile-leadership-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    font-size: 12px;
    padding: 6px 25px 8px 25px;
    border-radius: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  }

  .mobile-recommended-badge {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-blue));
    color: white;
  }

  .mobile-leadership-badge {
    background: linear-gradient(135deg, #8B5CF6, #A855F7);
    color: white;
  }

  .mobile-membership-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
  }

  .mobile-membership-list li {
    display: flex;
    align-items: flex-start;
    padding: 8px 0;
    font-size: 13px;
    line-height: 1.5;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin-bottom: 8px;
  }

  .mobile-membership-list li:hover {
    background: rgba(37, 99, 235, 0.05);
    padding-left: 10px;
    transform: translateX(5px);
  }

  .mobile-membership-list li i {
    color: var(--accent-color);
    font-size: 14px;
    margin-right: 10px;
    margin-top: 2px;
    flex-shrink: 0;
    transition: all 0.3s ease;
  }

  .mobile-membership-list li:hover i {
    transform: scale(1.1);
    color: var(--secondary-blue);
  }

  .mobile-membership-list li span {
    flex: 1;
    color: var(--default-color);
    transition: color 0.3s ease;
  }

  .mobile-membership-list li:hover span {
    color: var(--accent-color);
  }

  .mobile-btn-wrap {
    text-align: center;
  }

  .mobile-btn-buy {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-blue));
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
  }

  .mobile-btn-buy:hover {
    background: linear-gradient(135deg, var(--secondary-blue), var(--navy-blue));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
  }
}

/* Small mobile devices - Membership */
@media (max-width: 576px) {
  .mobile-membership-container {
    border-radius: 16px;
    margin: 0 5px;
  }

  .mobile-membership-btn {
    padding: 14px 6px;
    font-size: 13px;
  }

  .mobile-membership-btn i {
    font-size: 16px;
  }

  .mobile-membership-btn span {
    font-size: 11px;
  }

  .mobile-membership-content {
    padding: 20px 15px;
    min-height: 400px;
  }

  .mobile-membership-header {
    padding-top: 25px;
  }

  .mobile-membership-header h3 {
    font-size: 20px;
    margin-bottom: 4px;
  }

  .mobile-membership-header h4 {
    font-size: 15px;
    margin-bottom: 8px;
  }

  .mobile-price {
    font-size: 22px;
    margin-bottom: 15px;
  }

  .mobile-recommended-badge,
  .mobile-leadership-badge {
    font-size: 11px;
    padding: 5px 20px 7px 20px;
    border-radius: 15px;
  }

  .mobile-membership-list {
    margin-bottom: 20px;
  }

  .mobile-membership-list li {
    font-size: 12px;
    padding: 6px 0;
    margin-bottom: 6px;
  }

  .mobile-membership-list li i {
    font-size: 13px;
    margin-right: 8px;
  }

  .mobile-btn-buy {
    padding: 10px 25px;
    font-size: 13px;
  }
}

/* Mobile Roles Breakdown Tabbed Interface */
@media (max-width: 991.98px) {
  .roles-mobile-tabs {
    max-width: 100%;
    margin: 0 auto;
  }

  .roles-tab-header {
    display: flex;
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
    border-radius: 15px 15px 0 0;
    padding: 8px;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.2);
  }

  .roles-tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    padding: 12px 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 10px;
    margin: 0 2px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
  }

  .roles-tab-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.95);
    transform: translateY(-1px);
  }

  .roles-tab-btn.active {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.2);
  }

  .roles-tab-content {
    background: var(--surface-color);
    border-radius: 0 0 15px 15px;
    padding: 25px 20px;
    min-height: 400px;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-top: none;
  }

  .roles-tab-pane {
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.4s ease;
    display: none;
  }

  .roles-tab-pane.active {
    opacity: 1;
    transform: translateY(0);
    display: block;
  }
}

/* Small mobile devices - Roles */
@media (max-width: 576px) {
  .roles-tab-btn {
    padding: 10px 6px;
    font-size: 12px;
    gap: 3px;
  }

  .roles-tab-content {
    padding: 20px 15px;
    min-height: 350px;
  }
}

/* Desktop leadership badge styling */
@media (min-width: 992px) {
  .leadership-badge {
    background: linear-gradient(135deg, #8B5CF6, #A855F7) !important;
    color: white !important;
    padding: 6px 30px 8px 30px !important;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3) !important;
  }

  .pricing .recommended-badge {
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
  }
}
/*--------------------------------------------------------------
# Mobile Debate Formats Interface - Unique Toggle Design
---------------------------------------------------------------*/

/* Mobile Debate Formats Interface */
@media (max-width: 991.98px) {
  .mobile-debate-formats {
    max-width: 100%;
    margin: 0 auto;
  }

  .mobile-debate-container {
    background: var(--surface-color);
    border-radius: 24px;
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.12);
    overflow: hidden;
    border: 1px solid rgba(37, 99, 235, 0.1);
    transition: all 0.3s ease;
  }

  .mobile-debate-container:hover {
    box-shadow: 0 16px 50px rgba(37, 99, 235, 0.18);
    transform: translateY(-3px);
  }

  /* Radio Toggle Selector */
  .mobile-debate-selector {
    padding: 8px;
    background: rgba(37, 99, 235, 0.03);
    transition: transform 0.3s ease;
  }

  .debate-format-toggle {
    position: relative;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 4px;
    display: flex;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.08);
  }

  .debate-format-toggle input[type="radio"] {
    display: none;
  }

  .format-option {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 12px;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    background: transparent;
    z-index: 2;
  }

  .format-option:hover {
    background: rgba(37, 99, 235, 0.05);
    transform: translateY(-1px);
  }

  .format-option.bp-option {
    margin-right: 4px;
  }

  .format-option.ap-option {
    margin-left: 4px;
  }

  .format-emoji {
    font-size: 28px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
  }

  .format-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
  }

  .format-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--default-color);
    transition: color 0.3s ease;
    line-height: 1.2;
  }

  .format-desc {
    font-size: 12px;
    color: var(--default-color);
    opacity: 0.7;
    transition: all 0.3s ease;
    line-height: 1.1;
  }

  /* Active state styling */
  #bp-toggle:checked ~ .format-option.bp-option {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-blue));
    color: white;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
    transform: translateY(-2px);
  }

  #bp-toggle:checked ~ .format-option.bp-option .format-name {
    color: white;
  }

  #bp-toggle:checked ~ .format-option.bp-option .format-desc {
    color: rgba(255, 255, 255, 0.8);
    opacity: 1;
  }

  #bp-toggle:checked ~ .format-option.bp-option .format-emoji {
    transform: scale(1.1);
  }

  /* Special styling for AP option when checked */
  #ap-toggle:checked ~ .format-option.ap-option {
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
    transform: translateY(-2px);
  }

  #ap-toggle:checked ~ .format-option.ap-option .format-name {
    color: white;
  }

  #ap-toggle:checked ~ .format-option.ap-option .format-desc {
    color: rgba(255, 255, 255, 0.8);
    opacity: 1;
  }

  #ap-toggle:checked ~ .format-option.ap-option .format-emoji {
    transform: scale(1.1);
  }

  /* Content Area */
  .mobile-debate-content {
    padding: 25px 20px;
    min-height: 500px;
    position: relative;
    overflow: hidden;
  }

  .mobile-debate-panel {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: absolute;
    top: 25px;
    left: 20px;
    right: 20px;
    pointer-events: none;
  }

  .mobile-debate-panel.active {
    opacity: 1;
    transform: translateX(0);
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    pointer-events: auto;
  }

  /* Format Header */
  .mobile-format-header {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(37, 99, 235, 0.1);
    position: relative;
  }

  .mobile-format-icon {
    font-size: 40px;
    margin-bottom: 12px;
    display: block;
  }

  .mobile-format-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 8px;
  }

  .mobile-format-subtitle {
    font-size: 14px;
    color: var(--default-color);
    opacity: 0.8;
    margin: 0;
  }

  /* Detail Sections */
  .mobile-detail-section {
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(37, 99, 235, 0.02);
    border-radius: 16px;
    border-left: 4px solid var(--accent-color);
  }

  .mobile-detail-section h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .mobile-detail-section h4 i {
    font-size: 18px;
  }

  /* Format Info Badges */
  .mobile-format-info {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
    flex-wrap: wrap;
  }

  .mobile-info-badge {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-blue));
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
  }

  .mobile-info-badge.ap-badge {
    background: linear-gradient(135deg, #10B981, #059669);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
  }

  /* Teams Layout */
  .mobile-teams-layout {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .mobile-team-row {
    display: flex;
    gap: 8px;
  }

  .mobile-team {
    flex: 1;
    padding: 12px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    transition: transform 0.3s ease;
  }

  .mobile-team:hover {
    transform: translateY(-2px);
  }

  .mobile-team.gov {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(22, 163, 74, 0.1));
    color: #15803d;
    border: 2px solid rgba(34, 197, 94, 0.3);
  }

  .mobile-team.opp {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(220, 38, 38, 0.1));
    color: #dc2626;
    border: 2px solid rgba(239, 68, 68, 0.3);
  }

  .mobile-team.ap-gov {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.1));
    color: #047857;
    border: 2px solid rgba(16, 185, 129, 0.3);
  }

  .mobile-team.ap-opp {
    background: linear-gradient(135deg, rgba(245, 101, 101, 0.1), rgba(248, 113, 113, 0.1));
    color: #dc2626;
    border: 2px solid rgba(245, 101, 101, 0.3);
  }

  /* Scoring System */
  .mobile-scoring {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .mobile-score-item {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .mobile-score-item span {
    font-size: 13px;
    font-weight: 600;
    color: var(--default-color);
    min-width: 80px;
  }

  .mobile-score-bar {
    flex: 1;
    height: 8px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 4px;
    overflow: hidden;
  }

  .mobile-score-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-blue));
    border-radius: 4px;
    transition: width 0.8s ease;
  }

  .mobile-score-fill.ap-fill {
    background: linear-gradient(90deg, #10B981, #059669);
  }

  /* Key Rules */
  .mobile-key-rules {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .mobile-key-rules li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.4;
    transition: all 0.3s ease;
  }

  .mobile-key-rules li:hover {
    background: rgba(37, 99, 235, 0.05);
    transform: translateX(5px);
  }

  .mobile-key-rules li::before {
    content: "\2022";
    color: var(--accent-color);
    font-weight: bold;
    font-size: 16px;
  }
}

/* Small mobile devices - Debate Formats */
@media (max-width: 576px) {
  .mobile-debate-container {
    border-radius: 20px;
    margin: 0 5px;
  }

  .mobile-debate-content {
    padding: 20px 15px;
    min-height: 450px;
  }

  .format-option {
    padding: 14px 10px;
    gap: 10px;
  }

  .format-emoji {
    font-size: 24px;
  }

  .format-name {
    font-size: 14px;
  }

  .format-desc {
    font-size: 11px;
  }

  .mobile-format-header h3 {
    font-size: 22px;
    margin-bottom: 6px;
  }

  .mobile-format-subtitle {
    font-size: 13px;
  }

  .mobile-detail-section {
    padding: 16px;
    margin-bottom: 20px;
  }

  .mobile-detail-section h4 {
    font-size: 15px;
    margin-bottom: 12px;
  }

  .mobile-team-row {
    flex-direction: column;
    gap: 8px;
  }

  .mobile-team {
    padding: 10px;
    font-size: 12px;
  }

  .mobile-score-item span {
    font-size: 12px;
    min-width: 70px;
  }

  .mobile-key-rules li {
    padding: 6px 10px;
    font-size: 12px;
  }
}

/*--------------------------------------------------------------
# Resources Page Mobile Optimizations
---------------------------------------------------------------*/

/* General Resources Page Mobile Optimizations */
@media (max-width: 768px) {
  .guidelines-page .hero-title {
    font-size: 28px;
    line-height: 32px;
  }

  .guidelines-page .hero-subtitle {
    font-size: 16px;
    line-height: 22px;
  }

  .guidelines-hero {
    padding: 60px 0;
  }

  .rule-card {
    padding: 20px 15px;
    margin-bottom: 20px;
  }

  .rule-card h3 {
    font-size: 18px;
    margin-bottom: 15px;
  }

  .rule-list li {
    font-size: 13px;
    margin-bottom: 8px;
  }

  .roles-card {
    padding: 20px 15px;
    margin-bottom: 20px;
  }

  .roles-card h4 {
    font-size: 18px;
    margin-bottom: 15px;
  }

  .role-item {
    font-size: 13px;
    margin-bottom: 10px;
    padding: 8px 0;
  }

  /* Compact spacing for better mobile experience */
  .general-rules.section,
  .judging-criteria.section,
  .debate-formats.section {
    padding: 30px 0;
  }

  .general-rules .section-title,
  .judging-criteria .section-title {
    padding-bottom: 20px;
    margin-bottom: 20px;
  }

  .general-rules .section-title h2,
  .judging-criteria .section-title h2 {
    font-size: 28px;
    margin-bottom: 10px;
  }

  .general-rules .section-title p,
  .judging-criteria .section-title p {
    font-size: 14px;
    margin-bottom: 0;
  }

  .section-title {
    padding-bottom: 30px;
  }

  .section-title h2 {
    font-size: 26px;
    margin-bottom: 15px;
  }

  .section-title p {
    font-size: 14px;
    line-height: 20px;
  }
}

@media (max-width: 576px) {
  .guidelines-hero {
    padding: 40px 0;
  }

  .guidelines-page .hero-title {
    font-size: 24px;
    line-height: 28px;
  }

  .guidelines-page .hero-subtitle {
    font-size: 14px;
    line-height: 20px;
  }

  .rule-card {
    padding: 16px 12px;
    margin-bottom: 15px;
  }

  .rule-card h3 {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .rule-list li {
    font-size: 12px;
    margin-bottom: 6px;
  }

  .section-title h2 {
    font-size: 22px;
    margin-bottom: 10px;
  }

  .section-title p {
    font-size: 13px;
    line-height: 18px;
  }
}


/*--------------------------------------------------------------
# Training Materials Page
---------------------------------------------------------------*/
.training-page .main {
  padding-top: 120px;
  background: linear-gradient(180deg, rgba(248, 250, 255, 0.45) 0%, #ffffff 15%, #ffffff 100%);
}

.training-hero {
  position: relative;
  overflow: hidden;
  padding: 140px 0 110px;
}

.training-hero .hero-background {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(37, 99, 235, 0.24) 0%, rgba(37, 99, 235, 0) 55%),
              radial-gradient(ellipse at bottom left, rgba(14, 165, 233, 0.16) 0%, rgba(14, 165, 233, 0) 60%),
              var(--surface-color);
  opacity: 0.85;
  z-index: 0;
}

.training-hero .container,
.training-hero .hero-layout,
.training-hero .hero-copy,
.training-hero .hero-card {
  position: relative;
  z-index: 1;
}

.hero-layout {
  display: grid;
  gap: 48px;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(0, 430px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: var(--accent-color);
  background: rgba(37, 99, 235, 0.12);
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero-copy h1 {
  font-size: clamp(2.75rem, 3.5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--heading-color);
}

.hero-copy p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(15, 23, 42, 0.82);
  margin-bottom: 28px;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  border-radius: 999px;
  padding: 12px 26px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
  text-decoration: none;
}

.btn-cta.primary {
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--secondary-blue) 100%);
  color: #fff;
  box-shadow: 0 18px 35px rgba(37, 99, 235, 0.28);
}

.btn-cta.primary:hover,
.btn-cta.primary:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 22px 45px rgba(37, 99, 235, 0.32);
  color: #fff;
}

.btn-cta.ghost {
  border: 1.5px solid rgba(37, 99, 235, 0.45);
  color: var(--accent-color);
  background: rgba(255, 255, 255, 0.7);
}

.btn-cta.ghost:hover,
.btn-cta.ghost:focus-visible {
  transform: translateY(-3px);
  background: rgba(37, 99, 235, 0.08);
  color: var(--accent-color);
}

.btn-cta.outline {
  border: 1.5px solid rgba(37, 99, 235, 0.3);
  color: var(--accent-color);
  background: #fff;
  padding: 11px 22px;
  font-size: 15px;
}

.btn-cta.outline:hover,
.btn-cta.outline:focus-visible {
  transform: translateY(-2px);
  border-color: var(--accent-color);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  border-radius: 28px;
  padding: 32px;
  box-shadow: 0 24px 65px rgba(15, 23, 42, 0.14);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.hero-card-header i {
  font-size: 24px;
  color: var(--accent-color);
  background: rgba(37, 99, 235, 0.12);
  border-radius: 50%;
  padding: 10px;
}

.hero-card-header h2 {
  font-size: 20px;
  margin: 0;
  color: var(--heading-color);
}

.hero-card-list {
  list-style: none;
  margin: 0 0 24px 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.hero-card-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(15, 23, 42, 0.78);
  font-size: 15px;
}

.hero-card-list i {
  color: var(--accent-color);
  font-size: 18px;
  margin-top: 2px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.metric {
  text-align: center;
  padding: 14px 10px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.12) 0%, rgba(37, 99, 235, 0.04) 100%);
}

.metric-value {
  display: block;
  font-size: 26px;
  font-weight: 700;
  color: var(--accent-color);
}

.metric-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: rgba(15, 23, 42, 0.62);
}

.training-tracks .tracks-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.track-card {
  background: #fff;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.1);
  border: 1px solid rgba(226, 232, 240, 0.9);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  position: relative;
  overflow: hidden;
}

.track-card::after {
  content: '';
  position: absolute;
  inset: auto -40px -60px;
  height: 160px;
  border-radius: 100px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(14, 165, 233, 0.05));
  transform: rotate(8deg);
  transition: opacity 0.35s ease;
}

.track-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
}

.track-card:hover::after {
  opacity: 0.35;
}

.track-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 26px;
  margin-bottom: 18px;
  color: #fff;
}

.track-icon.beginner {
  background: linear-gradient(135deg, #22c55e, #16a34a);
}

.track-icon.intermediate {
  background: linear-gradient(135deg, #f97316, #ea580c);
}

.track-icon.advanced {
  background: linear-gradient(135deg, #8b5cf6, #6366f1);
}

.track-card h3 {
  font-size: 20px;
  margin-bottom: 14px;
  color: var(--heading-color);
}

.track-card p {
  color: rgba(15, 23, 42, 0.74);
  margin-bottom: 18px;
  font-size: 15px;
}

.track-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 26px 0;
  display: grid;
  gap: 12px;
}

.track-card li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: rgba(15, 23, 42, 0.7);
  font-size: 14px;
}

.track-card li i {
  color: rgba(15, 23, 42, 0.35);
  font-size: 18px;
  margin-top: 1px;
}

.track-tag {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.track-tag.beginner {
  background: rgba(34, 197, 94, 0.15);
  color: #15803d;
}

.track-tag.intermediate {
  background: rgba(249, 115, 22, 0.18);
  color: #c2410c;
}

.track-tag.advanced {
  background: rgba(139, 92, 246, 0.18);
  color: #5b21b6;
}

.resource-library {
  padding: 90px 0;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.resource-card {
  background: #fff;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 16px 45px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.resource-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.14);
}

.resource-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: var(--accent-color);
  background: rgba(37, 99, 235, 0.12);
  margin-bottom: 16px;
}

.resource-badge.theory {
  color: #7c3aed;
  background: rgba(124, 58, 237, 0.18);
}

.resource-badge.video {
  color: #0ea5e9;
  background: rgba(14, 165, 233, 0.16);
}

.resource-badge.analytics {
  color: #ec4899;
  background: rgba(236, 72, 153, 0.14);
}

.resource-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--heading-color);
}

.resource-card p {
  color: rgba(15, 23, 42, 0.72);
  font-size: 15px;
  margin-bottom: 16px;
}

.resource-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 22px 0;
  display: grid;
  gap: 10px;
  font-size: 14px;
  color: rgba(15, 23, 42, 0.7);
}

.resource-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-ghost.small {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.32);
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}

.btn-ghost.small:hover,
.btn-ghost.small:focus-visible {
  background: rgba(37, 99, 235, 0.08);
  color: var(--accent-color);
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.btn-link::after {
  content: '\f138';
  font-family: 'bootstrap-icons';
  font-size: 13px;
  transition: transform 0.3s ease;
}

.btn-link:hover::after,
.btn-link:focus-visible::after {
  transform: translateX(3px);
}

.training-schedule .section-title {
  text-align: center;
}

.schedule-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.filter-group {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(37, 99, 235, 0.08);
  padding: 6px;
  border-radius: 999px;
}

.filter-btn {
  border: none;
  background: transparent;
  color: rgba(15, 23, 42, 0.68);
  font-weight: 600;
  font-size: 14px;
  padding: 8px 18px;
  border-radius: 999px;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.filter-btn:hover,
.filter-btn:focus-visible {
  color: var(--accent-color);
}

.filter-btn.active {
  background: #fff;
  color: var(--accent-color);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.2);
}

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

.schedule-item {
  background: #fff;
  border-radius: 20px;
  padding: 22px 24px;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.1);
  border: 1px solid rgba(226, 232, 240, 0.85);
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.45s ease, transform 0.45s ease, box-shadow 0.3s ease;
  transition-delay: calc(var(--item-index) * 0.03s);
}

.schedule-item:hover {
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
  transform: translateY(-4px);
}

.schedule-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.schedule-item.is-hidden {
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
}

.schedule-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.schedule-month {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.6);
}

.schedule-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(37, 99, 235, 0.9);
  letter-spacing: 0.3px;
}

.schedule-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.schedule-meta span::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.6;
}

.schedule-meta span:first-child::before {
  display: none;
}

.schedule-description {
  color: rgba(15, 23, 42, 0.7);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.level-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
}

.level-chip::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.level-beginner {
  background: rgba(34, 197, 94, 0.15);
  color: #15803d;
}

.level-beginner::before {
  background: #22c55e;
}

.level-advanced {
  background: rgba(139, 92, 246, 0.18);
  color: #5b21b6;
}

.level-advanced::before {
  background: #8b5cf6;
}

@media (max-width: 992px) {
  .schedule-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-group {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .schedule-item {
    padding: 20px;
  }

  .schedule-item-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .schedule-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

@media (max-width: 576px) {
  .schedule-actions {
    gap: 12px;
  }

  .filter-group {
    flex-wrap: wrap;
    gap: 6px;
  }

  .filter-btn {
    flex: 1 1 calc(50% - 6px);
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .schedule-item,
  .schedule-item.is-visible,
  .schedule-item.is-hidden,
  .btn-cta {
    transition: none !important;
    transform: none !important;
  }
}


.training-cta {
  padding: 90px 0 110px;
}

.cta-card {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.92), rgba(59, 130, 246, 0.85));
  border-radius: 28px;
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  box-shadow: 0 28px 65px rgba(37, 99, 235, 0.25);
  color: #fff;
  flex-wrap: wrap;
}

.cta-card h2 {
  font-size: clamp(2.1rem, 2.5vw, 2.6rem);
  margin-bottom: 12px;
  color: #fff;
}

.cta-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.cta-actions .btn-cta.ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.08);
}

.cta-actions .btn-cta.ghost:hover,
.cta-actions .btn-cta.ghost:focus-visible {
  background: rgba(255, 255, 255, 0.18);
}

@media (max-width: 1199px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-card {
    max-width: 520px;
    margin: 0 auto;
  }

  .training-tracks .tracks-grid,
  .resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 992px) {
  .training-page .main {
    padding-top: 110px;
  }

  .training-hero {
    padding: 120px 0 90px;
  }

  .resource-grid {
    gap: 20px;
  }

  .schedule-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-group {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .hero-copy h1 {
    font-size: 2.4rem;
  }

  .hero-card {
    padding: 28px;
  }

  .hero-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .training-tracks .tracks-grid,
  .resource-grid {
    grid-template-columns: 1fr;
  }

  .cta-card {
    padding: 36px 28px;
    flex-direction: column;
    text-align: center;
  }

  .cta-actions {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .training-page .main {
    padding-top: 100px;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn-cta {
    flex: 1 1 auto;
    justify-content: center;
  }

  .resource-card {
    padding: 24px;
  }

  .schedule-actions {
    gap: 12px;
  }

  .filter-group {
    flex-wrap: wrap;
    gap: 6px;
  }

  .filter-btn {
    flex: 1 1 calc(50% - 6px);
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-card,
  .track-card,
  .resource-card,
  .btn-cta {
    transition: none !important;
    transform: none !important;
  }
}


/*--------------------------------------------------------------
# Desktop Dropdown Click Support
---------------------------------------------------------------*/

/* Desktop dropdown active state (click-to-toggle) */
@media (min-width: 1200px) {
  .navmenu .dropdown.dropdown-active > ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown.dropdown-active > ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/* Constitution Page */
/* Constitution page header styles moved to global header styles */

.constitution-page .main,
.guidelines-page .main,
.blog-page .main {
  padding-top: 120px;
}

.constitution-page .constitution-hero {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(14, 165, 233, 0.06));
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.constitution-page .constitution-hero-layout {
  display: grid;
  gap: 1.75rem;
}

.constitution-page .constitution-hero-copy {
  display: grid;
  gap: 1.1rem;
  max-width: 740px;
}

.constitution-page .constitution-hero-copy h1 {
  font-size: clamp(2.2rem, 5vw, 2.9rem);
  color: var(--heading-color);
  margin: 0;
}

.constitution-page .constitution-hero-copy p {
  color: rgba(15, 23, 42, 0.75);
  margin: 0;
}

.constitution-page .constitution-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.constitution-page .constitution-meta {
  display: grid;
  gap: 0.75rem;
}

.constitution-page .constitution-meta .meta-item {
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 16px;
  padding: 0.85rem 1rem;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  display: grid;
  gap: 0.2rem;
}

.constitution-page .meta-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(15, 23, 42, 0.6);
}

.constitution-page .meta-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--heading-color);
}

.constitution-page .constitution-quick-nav {
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
}

.constitution-page .quick-nav-card {
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
  padding: 1.75rem 1.5rem;
  display: grid;
  gap: 1rem;
  max-width: 720px;
  margin: 0 auto;
}

.constitution-page .quick-nav-list {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.45rem;
  color: rgba(15, 23, 42, 0.7);
}

.constitution-page .quick-nav-list a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 600;
}

.constitution-page .quick-nav-list a:hover,
.constitution-page .quick-nav-list a:focus-visible {
  text-decoration: underline;
}

.constitution-page .constitution-body {
  display: grid;
  gap: 1.75rem;
  max-width: 860px;
  margin: 0 auto;
}

.constitution-page .constitution-body .content-section h2 {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  color: var(--heading-color);
}

.constitution-page .constitution-body .content-section h4 {
  margin-top: 1rem;
  margin-bottom: 0.35rem;
  color: var(--heading-color);
  font-size: 1.05rem;
}

.constitution-page .constitution-quote {
  margin: 0;
  border-left: 4px solid var(--accent-color);
  padding-left: 1rem;
}

@media (min-width: 992px) {
  .constitution-page .constitution-hero-layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: start;
  }

  .constitution-page .constitution-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 576px) {
  .constitution-page .constitution-meta {
    grid-template-columns: 1fr;
  }
}
