@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* Design Tokens & Variables */
:root {
  --primary: #e11d48;
  --primary-light: #fda4af;
  --primary-dark: #be123c;
  --primary-gradient: linear-gradient(135deg, #e11d48 0%, #f97316 100%);
  --secondary: #0f172a;
  --bg-dark: #0b0f19;
  --bg-dark-card: #151f32;
  --bg-light: #f8fafc;
  --bg-light-card: #ffffff;
  --text-dark: #0f172a;
  --text-light: #f8fafc;
  --text-muted: #64748b;
  --border-light: #e2e8f0;
  --border-dark: #1e293b;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-primary: 0 10px 20px -3px rgba(225, 29, 72, 0.25);
  --font-main: 'Outfit', sans-serif;
}

/* Global Reset & Base */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  width: 100%;
  color: var(--text-dark);
  background-color: var(--bg-light);
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0.3px;
  font-family: var(--font-main);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--secondary);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 0.5em;
}

p {
  text-align: justify;
  line-height: 1.8;
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 1.5rem;
}

a {
  text-decoration: none;
  color: var(--secondary);
  transition: var(--transition-fast);
}

a:hover {
  color: var(--primary);
  text-decoration: none;
}

button:focus, input:focus, textarea:focus, select:focus, a:focus {
  outline: 0;
}

.clear_all {
  clear: both;
}

/* Header & Top Bar */
.topmenu {
  width: 100%;
  position: relative;
  padding: 8px 0;
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border-dark);
}

.top_menur {
  width: 100%;
}

.top_menur ul {
  margin: 0;
  text-align: left;
}

.top_menur ul li {
  list-style: none;
  display: inline-block;
  margin: 0 15px 0 0;
  color: var(--text-light);
  font-weight: 400;
}

.top_menur ul li a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 13.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.top_menur ul li a:hover {
  color: var(--primary-light);
}

.top_menur ul li a img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.top_menu_left2 {
  padding: 0;
}

.top_menu_left2 ul {
  margin: 0;
  text-align: right;
}

.top_menu_left2 ul li {
  display: inline-block;
  margin-left: 20px;
}

.top_menu_left2 ul li a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 13.5px;
  font-weight: 500;
}

.top_menu_left2 ul li a:hover {
  color: var(--primary-light);
}

/* Logo Bar & Main Menu Navigation */
.mlogo {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  padding: 12px 0;
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition-normal);
}

.mlogobx {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mlogobx img {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: var(--transition-fast);
}

.mlogobx img:hover {
  transform: scale(1.05);
}

.main_menu {
  width: 100%;
  position: relative;
  z-index: 12;
  display: flex;
  justify-content: flex-end;
}

.main_menu #cssmenu2 {
  width: 100%;
}

.main_menu #cssmenu2 > ul {
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: flex-end;
  list-style: none;
}

.main_menu #cssmenu2 > ul > li {
  position: relative;
}

.main_menu #cssmenu2 > ul > li > a {
  display: block;
  padding: 16px 20px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
}

.main_menu #cssmenu2 > ul > li > a > i {
  font-size: 16px;
}

.main_menu #cssmenu2 > ul > li:hover > a {
  color: var(--primary);
}

/* Dropdown Menu Style */
.main_menu #cssmenu2 ul ul {
  position: absolute;
  top: 100%;
  left: 0;
  width: 250px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
}

.main_menu #cssmenu2 li:hover > ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main_menu #cssmenu2 ul ul li {
  width: 100%;
  list-style: none;
}

.main_menu #cssmenu2 ul ul li a {
  display: block;
  padding: 10px 15px;
  font-size: 14px;
  font-weight: 500;
  color: var(--secondary);
  border-radius: var(--radius-sm);
  border-bottom: none !important;
  transition: var(--transition-fast);
}

.main_menu #cssmenu2 ul ul li a:hover {
  background: rgba(225, 29, 72, 0.08);
  color: var(--primary);
  padding-left: 20px;
}

.main_menu #cssmenu2 > ul > li.has-sub > a {
  padding-right: 36px !important;
}

.main_menu #cssmenu2 > ul > li.has-sub > a:before {
  content: "\eab2";
  font-family: "Icofont";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 11px;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.main_menu #cssmenu2 > ul > li.has-sub:hover > a:before {
  color: var(--primary);
  transform: translateY(-50%) rotate(180deg);
}

/* Mobile Navbar Styles */
.main_menu2 {
  display: none;
  width: 100%;
}

.main_menu2 .menu-button {
  display: inline-block;
  position: absolute;
  top: 10px;
  right: 15px;
  background: var(--primary);
  border: none;
  padding: 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  z-index: 100;
}

.main_menu2 .menu-button img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

.main_menu2 .swipe-nav__panel {
  background: var(--bg-dark);
  color: var(--text-light);
  width: 300px;
  box-shadow: var(--shadow-lg);
}

.main_menu2 .swipe-nav__inner {
  padding: 30px 20px;
}

.main_menu2 nav #cssmenu ul li a {
  color: var(--text-light);
  font-size: 16px;
  font-weight: 600;
  padding: 15px 10px;
  border-bottom: 1px solid var(--border-dark);
}

.main_menu2 nav #cssmenu ul li a:hover {
  color: var(--primary-light);
}

/* Hero Slider */
.sliders {
  width: 100%;
  position: relative;
  overflow: hidden;
  padding: 0;
  background: transparent;
  line-height: 0;
}

/* Strip dark backgrounds from owl wrapper elements */
.sliders .owl-demo,
.sliders .owl-carousel,
.sliders .owl-stage-outer,
.sliders .owl-stage {
  background: transparent !important;
}

.sliders .owl-demo .item {
  width: 100%;
  height: 550px;
  position: relative;
  line-height: 0;
}

.sliders .owl-demo .item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(11, 15, 25, 0.2) 0%, rgba(11, 15, 25, 0.45) 100%);
  z-index: 1;
}

.sliders .owl-demo .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Pull nav out of document flow — adds no height below stage */
.sliders .owl-nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  margin: 0 !important;
  background: transparent !important;
}

.sliders .owl-nav button {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1) !important;
  border-radius: 50% !important;
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast) !important;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  pointer-events: all;
}

.sliders .owl-nav button:hover {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  box-shadow: var(--shadow-primary);
}

.sliders .owl-nav button.owl-prev {
  left: 24px;
}

.sliders .owl-nav button.owl-next {
  right: 24px;
}

.sliders .owl-nav button i {
  color: var(--text-light);
  font-size: 24px;
}

/* About Section */
.about {
  width: 100%;
  padding: 90px 0;
  background: var(--bg-light);
  position: relative;
}

.aboutl {
  width: 100%;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.aboutl img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition-normal);
}

.aboutl:hover img {
  transform: scale(1.03);
}

.aboutl:after {
  content: '';
  position: absolute;
  border-radius: var(--radius-md);
  background: var(--primary-gradient);
  opacity: 0.15;
  width: 100%;
  height: 100%;
  left: 15px;
  top: 15px;
  z-index: -1;
}

.aboutlbx {
  position: absolute;
  left: 20px;
  bottom: 20px;
  background: var(--primary-gradient);
  border-radius: var(--radius-lg);
  padding: 10px 24px;
  box-shadow: var(--shadow-primary);
  z-index: 2;
}

.aboutlbx h3 {
  color: var(--text-light);
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.aboutr {
  padding: 20px 40px;
}

.sectitle {
  position: relative;
  margin-bottom: 24px;
}

.sectitle h1 {
  font-size: 36px;
  font-weight: 800;
  color: var(--secondary);
  text-transform: capitalize;
  position: relative;
  padding-bottom: 12px;
}

.sectitle h1::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 4px;
  background: var(--primary-gradient);
  border-radius: 2px;
}

/* Announcements & News Ticker */
.announcement {
  width: 100%;
  padding: 90px 0;
  background-image: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(11, 15, 25, 0.98) 100%), url(../images/bg2.jpg);
  background-repeat: no-repeat;
  background-position: top;
  background-size: cover;
  position: relative;
}

.announcement:after {
  display: none; /* remove old clip-path effect */
}

.newsbx {
  background: rgba(21, 31, 50, 0.6);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.newsbx h3 {
  text-align: center;
  margin: 0;
  padding: 20px;
  background: var(--bg-dark);
  color: var(--text-light);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
  border-bottom: 1px solid var(--border-dark);
}

.holder {
  width: 100%;
  height: 380px;
  background: transparent;
  padding: 10px 20px;
  box-shadow: none;
  backdrop-filter: none;
}

.holder ul li {
  padding: 12px 15px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  min-height: auto !important;
  transition: var(--transition-fast);
}

.holder ul li:hover {
  background: rgba(255, 255, 255, 0.03);
}

.holder ul li a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14.5px;
  line-height: 1.5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.holder ul li a span {
  color: var(--primary-light);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  border: 1px solid rgba(225, 29, 72, 0.3);
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(225, 29, 72, 0.1);
  transition: var(--transition-fast);
}

.holder ul li:hover a span {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--text-light);
  box-shadow: var(--shadow-primary);
}

/* Events Grid & Card styling */
.events {
  width: 100%;
  padding: 90px 0;
  background-color: var(--bg-light);
  background-image: url(../images/pattern2.png);
  background-position: bottom left;
  background-repeat: no-repeat;
}

.events .sectitle {
  text-align: center;
  margin-bottom: 50px;
}

.events .sectitle h1::after {
  left: 50%;
  transform: translateX(-50%);
}

.cy_team_box {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--bg-light-card);
  transition: var(--transition-normal);
}

.cy_team_box img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  transition: var(--transition-normal);
}

.cy_team_box:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.cy_team_box:hover img {
  transform: scale(1.05);
}

.cy_team_overlay {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(15, 23, 42, 0.95) 100%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  z-index: 5;
  border-bottom: none;
}

.cy_team_text {
  width: 100%;
  padding: 0;
  margin: 0;
  text-align: left;
  transform: translateY(0);
  opacity: 1;
  transition: var(--transition-normal);
}

.cy_team_text:after {
  display: none; /* Clean up standard red skewed overlay */
}

.cy_team_text h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.cy_team_text h2 a {
  color: var(--text-light);
}

.cy_team_text h2 a:hover {
  color: var(--primary-light);
}

.cy_team_text p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  font-size: 13.5px;
}

.events .owl-theme .owl-dots .owl-dot.active span {
  background: var(--primary-gradient);
  width: 24px;
}

.events .owl-theme .owl-dots .owl-dot span {
  width: 8px;
  height: 8px;
  background: var(--border-light);
  border-radius: 4px;
  transition: var(--transition-fast);
}

/* Journey Section */
.journey {
  width: 100%;
  padding: 90px 0;
  background-color: var(--bg-dark);
  background-image: url(../images/pattern2.png);
  background-position: bottom left;
  background-repeat: no-repeat;
}

.journey .sectitle h1 {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 50px;
}

.journey .sectitle h1::after {
  left: 50%;
  transform: translateX(-50%);
}

.departmentsbx {
  width: 100%;
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: var(--transition-normal);
  margin-bottom: 30px;
}

.departmentsbx img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: var(--transition-normal);
}

.departmentsc {
  width: 100%;
  padding: 24px;
  background: transparent;
  text-align: center;
}

.departmentsbx h3 {
  color: var(--text-light);
  font-size: 16.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
  transition: var(--transition-fast);
}

.departmentsbx:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.departmentsbx:hover img {
  transform: scale(1.04);
}

.departmentsbx:hover h3 {
  color: var(--primary-light);
}

/* Gallery Section */
.gallery {
  width: 100%;
  padding: 90px 0;
  background: var(--bg-light);
}

.gallery .sectitle {
  text-align: center;
  margin-bottom: 50px;
}

.gallery .sectitle h1::after {
  left: 50%;
  transform: translateX(-50%);
}

.gallery .masonry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 15px;
}

.gallery .masonry .item {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.gallery .masonry .item:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery .masonry .item a {
  display: block;
  width: 100%;
  height: 100%;
}

.gallery .masonry .item img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.4s ease;
}

.gallery .masonry .item:hover img {
  transform: scale(1.05);
}

.gallery .masonry .item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}




/* Sponsor Clients Section */
.clients {
  width: 100%;
  padding: 60px 0;
  background: var(--bg-light-card);
  border-top: 1px solid var(--border-light);
}

.clients .sectitle h1 {
  text-align: center;
  font-size: 24px;
  margin-bottom: 40px;
}

.clients .sectitle h1::after {
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
}

.clients .owl-carousel .owl-item img {
  padding: 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background: var(--bg-light-card);
  transition: var(--transition-fast);
  box-shadow: none;
}

.clients .owl-carousel .owl-item img:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* Footer Section */
.nfooter {
  width: 100%;
  padding: 80px 0;
  background: linear-gradient(180deg, #090d16 0%, #05070c 100%);
  color: var(--text-light);
  border-top: 2px solid var(--border-dark);
}

.nfooter .footer_bx h4 {
  color: var(--text-light);
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 10px;
}

.nfooter .footer_bx h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 3px;
  background: var(--primary-gradient);
  border-radius: 1.5px;
}

.nfooter .footer_bx p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  text-align: left;
  line-height: 1.8;
}

.nfooter .quick_link ul {
  padding-left: 0;
  list-style: none;
}

.nfooter .quick_link ul li {
  margin-bottom: 12px;
}

.nfooter .quick_link ul li a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14.5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
}

.nfooter .quick_link ul li a::before {
  content: "\ea8c";
  font-family: "Icofont";
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
}

.nfooter .quick_link ul li a:hover {
  color: var(--primary-light);
  transform: translateX(4px);
}

.nfooter .footer_bx iframe {
  width: 100%;
  height: 200px;
  border-radius: var(--radius-md) !important;
  border: 1px solid var(--border-dark) !important;
}

.main_contacti {
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.main_contact_bxf {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-dark);
  padding: 30px 20px;
  border-radius: var(--radius-md);
  transition: var(--transition-normal);
  min-height: 190px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.main_contact_bxf:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--primary);
  transform: translateY(-5px);
}

.main_contact_bxf h5 {
  font-size: 16px;
  font-weight: 600;
  margin-top: 12px;
  margin-bottom: 8px;
  color: var(--text-light);
  text-transform: uppercase;
}

.main_contact_bxf p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  margin-bottom: 0;
  text-align: center;
}

.main_contact_bxf p a {
  color: var(--text-light);
  font-weight: 500;
}

.main_contact_bxf p a:hover {
  color: var(--primary-light);
}

.main_contact_bxif {
  width: 44px;
  height: 44px;
  background: var(--primary-gradient);
  color: var(--text-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-primary);
  margin-bottom: 8px;
}

.main_contact_bxif i {
  color: var(--text-light);
  font-size: 20px;
}

.copyrights {
  width: 100%;
  padding: 24px 0;
  background-color: #05070c;
  border-top: 1px solid var(--border-dark);
}

.copyrights p {
  text-align: center;
  margin: 0;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.5);
}

.copyrights a {
  color: var(--primary-light);
  font-weight: 500;
}

/* Secondary Pages Header Title */
.page_title {
  width: 100%;
  position: relative;
  overflow: hidden;
  background: var(--bg-dark);
}

.page_title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(11, 15, 25, 0.9) 0%, rgba(11, 15, 25, 0.4) 100%);
  z-index: 1;
}

.page_title img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.page_title h2 {
  font-size: 38px;
  font-weight: 800;
  color: var(--text-light);
  padding: 0 40px;
  text-transform: uppercase;
  position: absolute;
  bottom: 25%;
  left: 0;
  z-index: 2;
  letter-spacing: 1px;
}

/* Sub-page layouts (mabout, mrules, mevents, mcirculars, etc.) */
.mabout, .mrules, .mevents, .machievements, .mrd, .mregriders, .mcirculars, .main_results, .tca_mission, .morgstn {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.maboutl h2 {
  font-size: 28px;
  font-weight: 800;
  position: relative;
  padding-bottom: 12px;
}

.maboutl h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 45px;
  height: 4px;
  background: var(--primary-gradient);
  border-radius: 2px;
}

.maboutr p {
  font-size: 16px;
  line-height: 1.8;
}

.maboutr2 {
  margin-top: 30px;
  padding: 30px;
  background: var(--bg-light-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--primary);
}

.maboutr2 p {
  margin-bottom: 0;
}

.mabouti {
  margin-top: 50px;
}

/* Achievements Box */
.machievementsbx {
  background: var(--bg-light-card);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  transition: var(--transition-normal);
  margin-bottom: 30px;
  border: 1px solid var(--border-light);
}

.machievementsbx:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.machievementsbx img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 15px;
}

.machievementsbx h3 {
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  margin: 12px 0 0 0;
  color: var(--secondary);
}

/* Development Pages (mrdbx) */
.mrdbx {
  background: var(--bg-light-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.mrdbx:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.mrdbx h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 16px;
}

.mrdbx h5 {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-muted);
}

/* Forms & Inputs styling */
.mregfrm {
  background-color: var(--bg-light);
}

.mregfrmbx {
  padding: 40px;
  background: var(--bg-light-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.mregfrmbx label, .main_contact_left label {
  font-size: 14px;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
}

.mregfrmbx input[type="text"],
.mregfrmbx input[type="date"],
.mregfrmbx select,
.mregfrmbx textarea,
.main_contact_left input,
.main_contact_left select,
.main_contact_left textarea {
  width: 100%;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  padding: 14px 18px;
  margin-bottom: 24px;
  border-radius: var(--radius-sm);
  color: var(--text-dark);
  font-family: var(--font-main);
  font-size: 14.5px;
  transition: var(--transition-fast);
}

.mregfrmbx input:focus,
.mregfrmbx select:focus,
.mregfrmbx textarea:focus,
.main_contact_left input:focus,
.main_contact_left select:focus,
.main_contact_left textarea:focus {
  border-color: var(--primary);
  background: var(--bg-light-card);
  box-shadow: 0 0 0 4px rgba(225, 29, 72, 0.1);
}

.mregfrmbx input::placeholder,
.mregfrmbx textarea::placeholder,
.main_contact_left input::placeholder,
.main_contact_left textarea::placeholder {
  color: #a0aec0;
}

/* Submits & Buttons Redesign */
.contact_form_btn {
  text-align: center;
  margin-top: 15px;
}

.contact_form_btn input[type=submit] {
  width: auto;
  min-width: 160px;
  border-radius: var(--radius-lg);
  font-size: 15px;
  font-weight: 700;
  padding: 12px 32px;
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-light);
  background: var(--primary-gradient);
  box-shadow: var(--shadow-primary);
  cursor: pointer;
  transition: var(--transition-fast);
}

.contact_form_btn input[type=submit]:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px -3px rgba(225, 29, 72, 0.35);
  color: var(--text-light);
}

.contact_form_btn input[type=submit]:active {
  transform: translateY(0);
}

/* Registered Riders & Executive Members (Grid layouts) */
.mregridersbx {
  background: var(--bg-light-card);
  border: 1px solid var(--border-light);
  padding: 30px 24px;
  border-radius: var(--radius-md);
  margin-bottom: 30px;
  text-align: center;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.mregridersbx:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.mregridersbx img {
  width: 130px;
  height: 130px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 16px auto;
  border: 4px solid var(--bg-light);
  box-shadow: var(--shadow-sm);
}

.mregridersbx h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.mregridersbx p {
  text-align: center;
  margin-bottom: 0;
  font-size: 14px;
}

/* Results Section & Documents list (departmentsbx2) */
.departmentsbx2 {
  width: 100%;
}

.departmentsbx2 ul {
  padding-left: 0;
}

.departmentsbx2 ul li {
  list-style: none;
  display: block;
  margin-bottom: 20px;
  padding: 18px 24px;
  border-radius: var(--radius-md);
  background: var(--bg-light-card);
  box-shadow: var(--shadow-sm);
  text-align: left;
  border: 1px solid var(--border-light);
  border-left: 5px solid var(--primary);
  transition: var(--transition-normal);
}

.departmentsbx2 ul li:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
  border-left-width: 8px;
}

.departmentsbx2 ul li a {
  font-size: 16px;
  font-weight: 600;
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.departmentsbx2 ul li a::after {
  content: "\eab0";
  font-family: "Icofont";
  font-size: 20px;
  color: var(--primary);
  transition: var(--transition-fast);
}

.departmentsbx2 ul li:hover a::after {
  transform: translateX(4px);
}

/* Rules Page custom styling */
.mrules h4 {
  font-size: 18px;
  font-weight: 700;
  margin: 30px 0 12px 0;
  color: var(--secondary);
}

.meventsr ul li {
  background: var(--bg-light-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  border-bottom: 3px solid var(--primary);
  padding: 15px 24px;
}

/* Mission & Vision Section */
.tca_missionlbx img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  margin-bottom: 30px;
  height: 280px;
}

.tca_missionlbx h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 30px;
}

.tca_missionl img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.tca_missionl2 img {
  border-radius: var(--radius-lg);
  border: 10px solid rgba(225, 29, 72, 0.05);
}

/* Organisation chart styling */
.morgstnl {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.morgstnlbx {
  position: absolute;
  padding: 30px;
  top: 50%;
  right: 30px;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  width: 55%;
  border: 1px solid var(--border-light);
}

.mecin .mregridersbx img {
  height: 260px;
  border-radius: var(--radius-md);
}
/* Fixes for Navbar */
.main_menu #cssmenu2 > ul > li > a {
  padding: 16px 12px !important;
}
.main_menu #cssmenu2 ul ul {
  z-index: 9999 !important;
}
