/* Ensure Leaflet map controls do not overlap the nav menu */
.leaflet-control {
  z-index: 900 !important;
  position: relative;
}
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;700&display=swap');

:root {
  --primary-color: #D90429; /* KKSA Red */
  --secondary-color: #111; /* Official Navy Blue */
  --accent-color: #2D3142; /* Gold */
  --text-dark: #0D0D0D;
  --text-light: #F4F4F4;
  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Roboto', sans-serif;
  --font-oswald: 'Oswald', sans-serif;
  --white: #fdfdfd;

  /* Legacy Mappings */
  --samsung-blue: var(--secondary-color);
  --samsung-black: var(--secondary-color);
  --samsung-light-gray: var(--text-light);
  --samsung-dark-gray: var(--text-dark);
  --samsung-medium-gray: #717171;
  --text-color: var(--text-dark);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  line-height: 1.5;
  color: var(--text-color);
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 16px;

}

/* Site Header */
.site-header {
  background-color: var(--white);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.top-navigation {
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 8px 0;
  font-size: 12px;
}

.top-navigation .container {
  display: flex;
  justify-content: flex-start; /* Align text to left */
  align-items: center;
}

.affiliation-text {
  font-weight: 600;
  letter-spacing: 2px;
}

.main-navigation {
  height: 80px; /* Increased height for better spacing */
  display: flex;
  align-items: center;
}

.main-navigation .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.logo-container img {
  height: 50px; /* Slightly larger logo */
}

.logo-text {
  font-family: var(--font-oswald);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 2px;
  color: var(--secondary-color); /* Use Navy Blue for text */
  text-transform: uppercase;
}

.main-menu {
  display: flex;
  gap: 24px;
  list-style: none;
  height: 100%;
  font-family: var(--font-heading);
  font-size: 1rem;
  align-items: center;
}

.main-menu > li {
  display: flex;
  align-items: center;
  position: relative;
  height: 100%;
}

.main-menu > li > a {
  font-family: var(--font-oswald);
  font-weight: 100;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0 4px;
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  color: var(--text-dark);
}

.main-menu > li > a::after {
  content: '';
  position: absolute;
  bottom: 20px; /* Adjusted for taller header */
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.main-menu > li:hover > a::after {
  width: 100%;
}

.auth-buttons {
  display: flex;
  gap: 10px;
  margin-left: 20px;
}

.btn-auth {
  padding: 8px 16px;
  border-radius: 0 !important;
  font-family: var(--font-oswald);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  transition: all 0.3s;
}

.btn-login {
  background-color: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.btn-login:hover {
  background-color: rgba(224, 30, 30, 0.1);
}

.btn-register {
  background-color: var(--primary-color);
  color: var(--white);
  border: 1px solid var(--primary-color);
}

.btn-register:hover {
  background-color: #c01010;
  border-color: #c01010;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--secondary-color);
}

/* Hero Section */
.hero-section {
  margin-top: 80px;
  position: relative;
  height: 600px;
  background-image: url('../../assets/images/banner.jpg'); /* Fallback image - adjusted path */
  background-size: cover;
  background-position: center;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 25, 48, 0.8); /* Navy Blue with 80% opacity */
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-content {
  color: var(--white);
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
  font-family: var(--font-heading);
}

.hero-subtitle {
  font-size: 20px;
  margin-bottom: 40px;
  font-weight: 400;
  font-family: var(--font-body);
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 4px;
  font-weight: 600;
  transition: background-color 0.3s;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: #c01010;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
  cursor: pointer;
}

.btn-secondary:hover {
  background-color: var(--white);
  color: var(--secondary-color);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 50px;
  font-weight: 600;
  transition: background-color 0.3s;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: #c01010;
}

.btn-primary i {
  margin-left: 8px;
}

/* Portal Gateways Section */
.portal-gateways {
  padding: 80px 0;
  background-color: var(--white);
}

.portal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.portal-card {
  background-color: var(--white);
  border: 1px solid var(--secondary-color);
  border-radius: 8px;
  padding: 40px 30px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.portal-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.portal-icon {
  font-size: 48px;
  color: var(--primary-color);
  margin-bottom: 24px;
}

.portal-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--secondary-color);
  font-family: var(--font-heading);
}

.portal-text {
  color: var(--text-dark);
  margin-bottom: 32px;
  font-size: 15px;
  line-height: 1.6;
  flex-grow: 1;
}

.btn-portal {
  display: inline-block;
  padding: 10px 24px;
  background-color: var(--white);
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  transition: all 0.3s;
}

.btn-portal:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

/* Regional Structure Section */
.regional-structure {
  padding: 80px 0;
  background-color: var(--secondary-color); /* Navy Blue background for contrast */
  color: var(--white);
}

.regional-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.regional-content .section-title {
  color: var(--white);
  text-align: left;
  margin-bottom: 10px;
}

.regional-content .section-subtitle {
  color: var(--accent-color); /* Gold */
  text-align: left;
  margin-bottom: 30px;
  opacity: 0.9;
}

.regional-text {
  margin-bottom: 40px;
  font-size: 16px;
  line-height: 1.8;
  opacity: 0.9;
}

.map-placeholder {
  background-color: rgba(255, 255, 255, 0.05);
  border: 2px dashed rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
}

.map-icon {
  font-size: 64px;
  margin-bottom: 20px;
}

@media (max-width: 992px) {
  .regional-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .regional-content {
    text-align: center;
  }
  .regional-content .section-title,
  .regional-content .section-subtitle {
    text-align: center;
  }
}

/*--- Styles added for Upcoming events on Homepage ---*/
.upcoming-events-section {
  padding: 40px 0;
  background-color: #f4f4f4;
}

.upcoming-events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}
 /* "See More" Card */
.see-more-card {
  background-color: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 2px dashed var(--primary-color); /* Make it stand out */
  cursor: pointer;
}

 .see-more-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    background-color: var(--primary-color);
    color: white;
  }

.see-more-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}
 .see-more-card i {
    margin-left: 8px;
    font-size: 18px;
  }

.event-card {
  background-color: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.event-card-date {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 12px 16px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.event-save {
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  font-size: 16px;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.event-save:hover {
  opacity: 1;
}

.event-card-content {
  padding: 24px;
}

.event-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.event-info {
  margin-bottom: 16px;
  color: #717171;
  display: flex;
  align-items: center;
  gap: 8px;
          font-size:13px;
}

.event-info i {
  color: var(--primary-color);
  min-width: 16px;
}

.event-description {
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.event-btn {
  background-color: #f4f4f4;
  color: var(--secondary-color);
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s;
}

.event-btn:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.event-contact {
  color: #717171;
  font-size: 14px;
}

/* Event Category Indicators */
.event-category {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
  margin-right: 8px;
}

.category-tournament {
  background-color: rgba(224, 30, 30, 0.1);
  color: var(--primary-color);
}

.category-gashuku {
  background-color: rgba(20, 40, 160, 0.1);
  color: var(--secondary-color);
}

.category-seminar {
  background-color: rgba(0, 100, 0, 0.1);
  color: darkgreen;
}

.category-grading {
  background-color: rgba(128, 0, 128, 0.1);
  color: purple;
}

.category-match {
  background-color: rgba(255, 165, 0, 0.1);
  color: darkorange;
}

.category-other {
  background-color: rgba(128, 128, 128, 0.1);
  color: #555;
}
/*--- End of styles for Upcoming events ---*/
/* Image Slider */
.image-slider {
  padding: 60px 0;
  background-color: #f4f4f4;
  overflow: hidden;
}

.slider-container {
  position: relative;
  width: 100%;
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slider-item {
  min-width: 100%;
  padding: 0 12px;
}

.slider-item img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  aspect-ratio: 16/9;
  object-fit: cover;
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.slider-button {
  width: 48px;
  height: 48px;
  border: 1px solid #717171;
  border-radius: 50%;
  background-color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.6s;
}

.slider-button:hover {
  background-color: var(--secondary-color);
  color: var(--white);
  border-color: var(--secondary-color);
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #717171;
  opacity: 0.3;
  cursor: pointer;
  transition: all 0.3s;
}

.slider-dot.active {
  opacity: 1;
  background-color: var(--primary-color);
}

/* Contact Form */
.contact-section {
  padding: 60px 0;
  background-color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 16px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 16px;
  transition: border-color 0.3s;
}

.form-control:focus {
  border-color: var(--primary-color);
  outline: none;
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.form-submit {
  grid-column: span 2;
  display: flex;
  justify-content: flex-end;
}

/* Footer */
.site-footer {
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 60px 0 30px;
    font-size: 15px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  column-span: 1;
}

.footer-column h3 {
  color: var(--white);
  text-transform: uppercase;
  font-size: 14px;
  margin-bottom: 20px;
  font-weight: 500;
}

.footer-links {
  list-style: none;
}

.footer-link {
  display: block;
  margin-bottom: 10px;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.footer-contact {
  display: block;
  margin-bottom: 10px;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.footer-link:hover {
  opacity: 1;
}

.footer-logo {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-logo img {
  height: 60px;
}

.social-links {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
}

.social-link:hover {
  background-color: var(--primary-color);
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  opacity: 0.7;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.footer-bottom p {
  text-align: left;
  margin: 0;
  width: auto;
}

.footer-bottom .powered-by-p {
  text-align: right;
  margin: 0;
  width: auto;
}

.footer-bottom .powered-by {
  font-family: var(--font-oswald);
  color: var(--white);
  text-transform: uppercase;
  font-size: 12px;
}

.footer-bottom .footer-logo {
  display: flex;
  margin: 0;
  width: auto;
}

.footer-bottom .footer-logo img {
  height: 40px;
  width: auto;
}

@media (max-width: 768px) {
  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .footer-bottom p,
  .footer-bottom .powered-by-p {
    text-align: center;
  }
  .footer-bottom .footer-logo {
    justify-content: center;
    flex-direction: column;
  }
}

/* Media Queries */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 40px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 992px) {
  .main-menu {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .hero-section {
    height: 500px;
  }

  .hero-title {
    font-size: 32px;
  }

        .hero-logo {
  object-fit: contain;
max-width: 80%;      /* Adjust width as needed */
margin: 0 auto;  /* Center the logo */
}

  .features-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
  .upcoming-events-grid {
    grid-template-columns: 1fr; /* Stack cards on small screens */
  }
  .contact-form {
    grid-template-columns: 1fr;
  }

  .form-group.full-width {
    grid-column: span 1;
  }

  .form-submit {
    grid-column: span 1;
  }


}

@media (max-width: 480px) {
  .hero-section {
    height: 400px;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .section-title {
    font-size: 28px;
  }

          .logo-text {
    display: none;
  }

            .hero-logo {
  object-fit: contain;
max-width: 100%;      /* Adjust width as needed */
margin: 0 auto;  /* Center the logo */
}

  }
/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--white);
  z-index: 999;
  padding: 24px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu ul {
  list-style: none;
}

.mobile-menu-item {
  border-bottom: 1px solid #eaeaea;
  padding: 16px 0;
}

.mobile-menu-link {
  font-size: 16px;
  font-weight: 300;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-oswald);
  text-transform: uppercase;
}

.mobile-menu-link i {
  transition: transform 0.3s;
}

.mobile-menu-link.active i {
  transform: rotate(180deg);
}

    /* Fix slider image positioning to prevent heads from being cut off */
.slider-item img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  aspect-ratio: 16/9;
  object-fit: cover;
  object-position: center 10%; /* This shifts the focus point up slightly to better show faces */
}

/* About Us Section Styles */
  .container-about {
      display: flex;
      gap: 1px;  /* Space between the cards */
      flex-wrap: wrap; /* Optional: Allows wrapping on smaller screens */
       width: 100%;
      max-width: 1440px;
      margin: 0 auto;
      padding: 0 16px;
    }

.about-us-section {
  padding: 60px 0;
  background-color: #f4f4f4; /* Or var(--white) depending on desired background */
}

/* Adjust the About Us card layout */
.about-us-card {
background-color: var(--white);
border-radius: 16px;
padding: 60px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
display: flex; /* Use flexbox for better control */
flex-direction: row;
gap: 30px;
align-items: stretch; /* Make columns equal height */
max-width: 1400px;
}

.about-us-column-1, .about-us-column-2 {
flex: 1; /* Equal width columns */
display: flex;
flex-direction: column;
justify-content: space-between; /* Distribute content evenly */
padding: 20px 10px;
}

/* Style for the About Us image */
.about-us-image {
width: 100%; /* Make image responsive */
height: auto;
object-fit: cover; /* Maintain aspect ratio while covering container */
border-radius: 10px; /* Optional: rounded corners for the image */
margin-bottom: 0px; /* Space between image and text if needed */
}

/* If the image is in its own container */
.about-us-image-container {
display: flex;
align-items: center;
justify-content: center;
height: 100%; /* Match the height of the text column */
}

.about-us-title {
font-size: 32px;
font-weight: 700;
margin-bottom: 20px;
text-align: left; /* Align title to the left within column 1 */
}

.about-us-text {
color: #717171;
font-size: 14px;
margin-bottom: 0px;
text-align: left; /* Align text to the left within columns */
}

.about-us-text-2 {
  color: #717171;
  font-size: 14px;
  margin-bottom: 0px;
  text-align: left; /* Align text to the left within columns */
  line-height: 1.6;
}

.about-us-logo-text {
  font-weight: bold;
  font-size: 18px;
  color: var(--primary-color);
  display: block; /* Ensure "South Africa" is on a new line */
  margin-top: 40px;
}

.about-us-logo-subtext {
  font-size: 14px;
  font-weight: 500;
  display: block;
  margin-bottom: 0px;
}

.about-us-divider {
  border-bottom: 1px solid #e0e0e0; /* Horizontal line divider */
  margin-top: 20px;
  margin-bottom: 40px;
}

.about-us-button-container {
  text-align: right; /* Align button to the right */
}

  .about-us-img {
      border-radius: 20px;
      object-fit: cover;
      height: 600px;
      width:auto;

  }

/* Media query adjustments for responsive design */
@media (max-width: 768px) {
.about-us-card {
flex-direction: column;
padding: 40px;
}

.about-us-column-1, .about-us-column-2 {
padding: 10px 0;
}

.about-us-image-container {
margin-top: 20px;
margin-bottom: 20px;
}

  .about-us-title {
    font-size: 28px; /* Smaller title on mobile */
    text-align: center; /* Center align title on mobile */
  }

  .about-us-text, .about-us-text-2 {
    font-size: 15px; /* Smaller text on mobile */
    margin-bottom: 25px; /* Adjust bottom margin on mobile */
    text-align: center; /* Center align text on mobile */
  }

  .about-us-logo-text {
    font-size: 22px; /* Slightly smaller logo text on mobile */
    text-align: center;
  }

  .about-us-logo-subtext {
    text-align: center;
  }

  .about-us-divider {
    margin-top: 30px; /* Adjust divider margin on mobile */
    margin-bottom: 30px;
  }

  .about-us-button-container {
    text-align: center; /* Center button on mobile */
  }
}

/* Modal Styles */
.modal {
display: none;
position: fixed;
z-index: 1;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
background-color: #fff;
margin: 15% auto;
padding: 20px;
border: 1px solid #888;
width: 80%;
max-width: 500px;
text-align: center;
}

.close-button {
color: #aaa;
float: right;
font-size: 28px;
font-weight: bold;
}

.close-button:hover,
.close-button:focus {
color: black;
text-decoration: none;
cursor: pointer;
}

.hero-subtitle-small {
font-size: 0.9rem;
color: red;
}

.hidden {
display: none;
}

/* Executive Committee Styles */
.about-us-committee {
  margin-top: 30px;
}

.about-us-committee-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.about-us-committee-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.about-us-committee-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.about-us-committee-image-container {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--primary-color);
  margin-bottom: 10px;
}

.about-us-committee-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-us-committee-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--samsung-dark-gray);
}

/* Responsive styles */
@media (max-width: 768px) {
  .about-us-committee-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .about-us-committee-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* =========================================
   About Us Page Specific Styles
   ========================================= */

/* Page Header */
.page-header {
  margin-top: 89px;
  background-color: var(--secondary-color); /* Was --samsung-black */
  color: var(--white);
  padding: 40px 0;
  text-align: left;
}

.page-header h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
}

.page-header p {
  max-width: 1400px;
  opacity: 0.8;
  margin: 0 auto;
}

/* Featured Categories Section */
.feature-categories {
  padding: 60px 0;
  background-color: var(--white);
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
}

.section-subtitle {
  font-size: 18px;
  color: #717171; /* Was --samsung-medium-gray */
  text-align: center;
  margin-top: -30px;
  margin-bottom: 40px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  border-radius: 16px;
  overflow: hidden;
  background-color: var(--white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.feature-number {
  position: absolute;
  top: 25px;
  right: 25px;
  font-size: 24px;
  font-weight: 700;
  opacity: 0.3;
}

.feature-card-content {
  padding: 30px;
}

.feature-card-content-img {
  object-fit: fill;
  height: 100%;
  width: 100%;
}

.feature-card-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 30px;
  position: relative;
}

.feature-card-text {
  color: #717171;
  margin-bottom: 30px;
  font-size: 14px;
}

.card-label {
  position: absolute;
  top: 0px;
  right: 25px;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
  z-index: 1;
  min-width: 100px;
  text-align: center;
}

/* Mission & Vision Cards */
.mission-vision-section {
  padding: 60px 0;
  background-color: var(--light-gray); /* Was --samsung-light-gray */
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
  gap: 10px;
}

.mission-vision-card {
  border-radius: 16px;
  overflow: hidden;
  background-color: var(--white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 0fr 2fr;
  padding: 40px;
  gap: 20px;
}

.mission-vision-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.mission-vision-header {
  grid-column: 1 / 3;
  grid-row: 1;
}

.mission-vision-title {
  font-size: 30px;
  font-weight: 600;
  margin: 0;
  color: var(--primary-color); /* Was red */
}

.mission-vision-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-top: 5px;
  color: var(--primary-color);
}

.mission-vision-content {
  display: contents;
}

.mission-vision-text {
  grid-column: 1;
  grid-row: 2;
  align-self: start;
  color: #717171;
  font-size: 18px;
  line-height: 1.5;
  margin: 0 0 20px 0;
  font-weight: 400;
}

.mission-vision-text-2 {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  color: #717171;
  font-size: 13px;
  line-height: 1.5;
  margin: 0 20px 20px 20px;
  font-weight: 400;
}

/* Objectives Section */
.objectives-section {
  padding: 60px 0;
  background-color: var(--white);
  overflow: hidden;
}

.objectives-subtitle {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-color);
  margin: 0 0 8px;
  text-transform: uppercase;
}

.objectives-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 40px;
}

.objectives-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.objective-card {
  background-color: var(--white);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  padding: 30px;
  display: flex;
  flex-direction: column;
  row-gap: 10px;
}

.objective-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.objective-step-num {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.objective-title {
  font-size: 20px;
  font-weight: 600;
  margin: 0;
  color: var(--text-dark);
}

.objective-text {
  font-size: 14px;
  line-height: 1.5;
  color: #717171;
  margin: 0;
}

.objectives-cta {
  margin-top: 40px;
  background-color: var(--white);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.objectives-cta p {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dark);
}

.start-now-btn {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 24px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

/* Committee Section */
.committee-section {
  padding: 60px 0;
  background-color: var(--light-gray);
  overflow: hidden;
}

.committee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 30px;
}

.committee-card {
  background-color: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  margin-bottom: 20px;
}

.committee-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.committee-header {
  background: #000;
  color: var(--white);
  padding: 40px 20px 80px;
  text-align: center;
  position: relative;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.committee-position {
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  background: #000;
  color: #fff;
  padding: 8px 0;
  /* font-family: 'Samsung Sharp Sans', sans-serif; */ /* Using default heading font */
}

.committee-content {
  padding: 40px 20px;
  text-align: center;
}

.committee-image-container {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid var(--white);
  margin: -80px auto 20px;
  position: relative;
  background-color: var(--white);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.committee-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.committee-name {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  /* font-family: 'Samsung Sharp Sans', sans-serif; */
}

.committee-dan {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 20px;
  font-size: 16px;
}

.committee-location {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #717171;
  font-size: 15px;
}

.committee-location i {
  margin-right: 8px;
  color: var(--primary-color);
}

.committee-contact {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.contact-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--light-gray);
  color: var(--text-dark);
  transition: all 0.3s ease;
}

.contact-link:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

/* History Timeline */
.timeline-section {
  padding: 40px 0;
  background-color: var(--white);
}

.timeline-container {
  position: relative;
  padding: 30px 0;
}

.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 6px;
  background-color: #e0e0e0;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  width: 50%;
  box-sizing: border-box;
}

.timeline-item::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  right: -10px;
  background-color: var(--primary-color);
  border-radius: 50%;
  top: 15px;
  z-index: 1;
}

.timeline-item:nth-child(odd) {
  left: 0;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-item:nth-child(even)::after {
  left: -10px;
}

.timeline-content {
  padding: 20px 30px;
  background-color: var(--white);
  position: relative;
  border-radius: 6px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.timeline-date {
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.timeline-title {
  font-size: 18px;
  margin-bottom: 10px;
}

.timeline-text {
  color: #717171;
  font-size: 14px;
}

/* CTA Section */
.cta-section {
  padding: 100px 0;
  background-color: var(--secondary-color);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
}

.cta-text {
  font-size: 14px;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 15px 30px;
  border-radius: 30px;
  font-size: 18px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background-color: #ff3333;
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(224, 30, 30, 0.3);
}

.cta-button i {
  margin-left: 10px;
}

/* Media Queries for About Us */
@media (max-width: 1024px) {
  .mission-vision-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
  
  .timeline::after {
    left: 31px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }
  
  .timeline-item::after {
    left: 21px;
  }
  
  .timeline-item:nth-child(even) {
    left: 0%;
  }
  
  .timeline-item:nth-child(even)::after {
    left: 21px;
  }
}

@media (max-width: 992px) {
  .objectives-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .committee-grid {
    grid-template-columns: 1fr;
  }
  
  .mission-vision-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }

  .mission-vision-header {
    grid-column: 1;
    grid-row: 1;
  }

  .mission-vision-text {
    grid-column: 1;
    grid-row: 2;
  }

  .mission-vision-text-2 {
    grid-column: 1;
    grid-row: 3;
    margin-left: 0;
  }
}

@media (max-width: 576px) {
  .objectives-container {
    grid-template-columns: 1fr;
  }

  .objectives-cta {
    flex-direction: column;
    align-items: flex-start;
    row-gap: 10px;
  }
}

/* =========================================
   Contact Page Specific Styles
   ========================================= */

/* Contact Section */
.contact-section {
  padding: 60px 0;
  background-color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-size: 16px;
  padding: 30px;
}

.contact-info h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
}

.contact-info p {
  margin: 4px 0;
}

.social-icons {
  display: flex;
  gap: 16px;
  margin-top: 12px;
}

.social-icons a {
  font-size: 20px;
  color: var(--secondary-color); /* Was --samsung-black */
  transition: color 0.3s;
}

.social-icons a:hover {
  color: var(--primary-color);
}

/* Contact Form Styles */
.contact-form {
  background-color: var(--light-gray); /* Was --samsung-light-gray */
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-form h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s;
}

.form-control:focus {
  border-color: var(--primary-color);
  outline: none;
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.form-submit {
  text-align: right;
  margin-top: 12px;
}

.form-submit button {
  padding: 12px 24px;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  transition: background-color 0.3s;
  cursor: pointer;
}

.form-submit button:hover {
  background-color: #c01010;
}

.hidden {
  display: none;
}

/* Responsive Adjustments for Contact */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   Events Page Specific Styles
   ========================================= */

/* Event Filters */
.event-filters {
  background-color: var(--white);
  border-radius: 8px;
  padding: 24px;
  margin-top: -20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 2;
}

.filter-container {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.filter-group {
  flex: 1;
  min-width: 200px;
}

.filter-label {
  font-weight: 500;
  margin-bottom: 8px;
  display: block;
}

.filter-select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: var(--white);
  font-family: inherit;
}

.view-options {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.view-option {
  padding: 8px 16px;
  border: 1px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.view-option:hover,
.view-option.active {
  background-color: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

/* Upcoming Events Section */
.section {
  padding: 40px 0;
}

.section-header {
  margin-bottom: 24px;
}

/* .section-title and .section-subtitle are shared with about-us, ensure consistency */

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.event-card {
  background-color: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.event-card-date {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 12px 16px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.event-save {
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  font-size: 16px;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.event-save:hover {
  opacity: 1;
}

.event-card-content {
  padding: 24px;
}

.event-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.event-info {
  margin-bottom: 16px;
  color: #717171;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.event-info i {
  color: var(--primary-color);
  min-width: 16px;
}

.event-description {
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.event-btn {
  background-color: var(--light-gray);
  color: var(--text-dark);
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s;
}

.event-btn:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.event-contact {
  color: #717171;
  font-size: 14px;
}

/* Calendar Section */
.calendar-section {
  background-color: var(--white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 40px;
}

/* Override FullCalendar Styles */
.fc {
  font-family: inherit !important;
}

.fc-toolbar-title {
  font-size: 24px !important;
  font-weight: 600 !important;
}

.fc-button-primary {
  background-color: var(--white) !important;
  color: var(--secondary-color) !important;
  border: 1px solid #ddd !important;
  box-shadow: none !important;
  transition: all 0.3s !important;
}

.fc-button-primary:hover {
  background-color: var(--primary-color) !important;
  color: var(--white) !important;
  border-color: var(--primary-color) !important;
}

.fc-button-active {
  background-color: var(--primary-color) !important;
  color: var(--white) !important;
  border-color: var(--primary-color) !important;
}

.fc-daygrid-day-top {
  justify-content: center !important;
  padding-top: 8px !important;
}

.fc-daygrid-day-number {
  color: var(--secondary-color) !important;
  font-weight: 500 !important;
}

.fc-col-header-cell-cushion {
  color: var(--secondary-color) !important;
  font-weight: 600 !important;
  padding: 10px !important;
}

.fc-event {
  border-radius: 4px !important;
  border: none !important;
  padding: 2px 4px !important;
  font-size: 15px !important;
  cursor: pointer !important;
  background-color: rgba(224, 30, 30, 0.6) !important;
  border-left: 3px solid var(--primary-color) !important;
  color: var(--secondary-color) !important;
}

.fc-event:hover {
  background-color: rgba(224, 30, 30, 0.2) !important;
}

/* Event Modal */
.event-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.event-modal.active {
  opacity: 1;
  visibility: visible;
}

.event-modal-content {
  background-color: var(--white);
  border-radius: 12px;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  animation: modal-in 0.3s forwards;
}

@keyframes modal-in {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid #eee;
  position: relative;
}

.modal-title {
  font-size: 24px;
  font-weight: 600;
  padding-right: 40px;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #717171;
  transition: color 0.3s;
}

.modal-close:hover {
  color: var(--primary-color);
}

.modal-body {
  padding: 24px;
}

.modal-section {
  margin-bottom: 20px;
}

.modal-section-title {
  font-weight: 600;
  margin-bottom: 8px;
}

.modal-footer {
  padding: 16px 24px;
  background-color: var(--light-gray);
  border-top: 1px solid #eee;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.modal-btn {
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
}

.modal-btn-outline {
  background-color: transparent;
  border: 1px solid #ddd;
}

.modal-btn-outline:hover {
  background-color: #eee;
}

.modal-btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
}

.modal-btn-primary:hover {
  background-color: #c01010;
}

/* Calendar View Options */
.fc-dayGridMonth-button, .fc-listMonth-button {
  text-transform: capitalize !important;
}

.fc-list-event {
  cursor: pointer !important;
}

.fc-list-event:hover td {
  background-color: rgba(224, 30, 30, 0.1) !important;
}

.fc-list-event-dot {
  border-color: var(--primary-color) !important;
}

/* Event Category Indicators */
.event-category {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
  margin-right: 8px;
}

.category-tournament {
  background-color: rgba(224, 30, 30, 0.1);
  color: var(--primary-color);
}

.category-gashuku {
  background-color: rgba(20, 40, 160, 0.1);
  color: var(--secondary-color);
}

.category-seminar {
  background-color: rgba(0, 100, 0, 0.1);
  color: darkgreen;
}

/* Responsive Adjustments for Events */
@media (max-width: 1024px) {
  .events-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .filter-container {
    flex-direction: column;
  }
  
  .view-options {
    justify-content: space-between;
  }
  
  .calendar-section {
    padding: 20px;
  }
  
  .events-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .calendar-section {
    padding: 12px;
  }
}

/* =========================================
   Rankings Page Specific Styles
   ========================================= */

.rankings-section {
  padding: 60px 0;
  background-color: var(--white);
}

.rankings-filters {
  display: flex;
  gap: 16px;
  margin-bottom: 30px;
  justify-content: center;
}

.filter-btn {
  padding: 10px 20px;
  border: 1px solid #ddd;
  background: white;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s;
}

.filter-btn:hover {
  background-color: #f0f0f0;
}

.filter-btn.active {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.leaderboard-container {
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.icon-trophy {
  font-size: 48px;
  color: var(--accent-color);
  margin-bottom: 20px;
}

/* =========================================
   Dojo Finder Page Specific Styles
   ========================================= */

.map-section {
  padding: 60px 0;
  background-color: var(--white);
}

.map-container {
  background-color: #eee;
  height: 500px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #777;
  font-size: 20px;
  margin-bottom: 30px;
}

.search-filters {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.search-input {
  flex: 1;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
}

.filter-select {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  min-width: 150px;
  font-family: inherit;
}

.btn-search {
  padding: 12px 24px;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn-search:hover {
  background-color: #c01010;
}

/* =========================================
   Resources Page Specific Styles
   ========================================= */

.resources-section {
  padding: 60px 0;
  background-color: var(--white);
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.resource-card {
  background: white;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 24px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.resource-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.resource-icon {
  font-size: 32px;
  color: var(--primary-color);
  margin-bottom: 16px;
}

.resource-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.resource-desc {
  color: var(--samsung-medium-gray);
  margin-bottom: 16px;
  font-size: 14px;
}

.btn-download {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 6px;
  font-weight: 500;
  transition: background-color 0.3s;
}

.btn-download:hover {
  background-color: #c01010;
}

/* =========================================
   Auth Pages (Login/Signup) Styles
   ========================================= */

.auth-container {
  max-width: 400px;
  margin: 60px auto;
  padding: 40px;
  background-color: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.auth-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 24px;
  text-align: center;
  color: var(--secondary-color);
}

.auth-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.auth-form input,
.auth-form select {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
}

.auth-form button {
  width: 100%;
  padding: 12px;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

.auth-form button:hover {
  background-color: #c01010;
}

.auth-links {
  margin-top: 20px;
  text-align: center;
  font-size: 14px;
}

.auth-links a {
  color: var(--primary-color);
  font-weight: 500;
}

.auth-links a:hover {
  text-decoration: underline;
}

/* Dashboard Styles */
.dashboard-container {
  padding: 60px 0;
  min-height: 60vh;
}

.dashboard-welcome {
  margin-bottom: 30px;
}

.dashboard-welcome h2 {
  font-size: 32px;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.dashboard-section {
  background-color: var(--white);
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
}

.dashboard-section h3 {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

.dashboard-actions {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.btn-dashboard {
  padding: 10px 20px;
  background-color: var(--secondary-color);
  color: var(--white);
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  transition: background-color 0.3s;
}

.btn-dashboard:hover {
  background-color: var(--primary-color);
}


/* Force all main buttons to be square */
.btn-auth,
.btn-primary,
.btn-secondary,
.btn-portal,
.btn-cta-white,
.start-now-btn {
  border-radius: 0 !important;
}

/* Utility Classes */
.utility-icons {
  margin-left: 10px;
}

.auth-container-narrow {
  max-width: 600px;
}

.mt-20 {
  margin-top: 20px;
}

.profile-container {
  padding: 60px 0;
}

.profile-actions {
  margin-top: 20px;
  text-align: center;
}

.link-primary {
  color: var(--primary-color);
  font-weight: 600;
}


/* --- NEW REDESIGN STYLES --- */

/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;700&display=swap');

:root {
    --kksa-red: #E01E1E;
    --kksa-dark: #0A0A0A; /* Darker black */
    --kksa-blue: #0A1930;
    --kksa-gray: #F4F4F4;
    --font-oswald: 'Oswald', sans-serif;
}

/* Hero Section New */
.hero-section-new {
    position: relative;
    height: 85vh;
    min-height: 600px;
    background-image: url('../../assets/images/banner.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: white;
}

.hero-overlay-new {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    /* background: linear-gradient(to right, rgba(0, 0, 0, 0.979) 0%, rgba(0,0,0,0.6) 100%); */
    background: rgba(0, 0, 0, 0.9);
    z-index: 1;
}

.hero-container-new {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content-left {
    max-width: 800px;
}

.hero-tag-line {
    font-family: var(--font-oswald);
    font-size: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ccc;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-tag-line span {
    color: var(--kksa-red);
    font-weight: bold;
    font-size: 18px;
}

.hero-title-new {
    font-family: var(--font-oswald);
    font-size: 50px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-subtitle-new {
    font-size: 18px;
    line-height: 1.6;
    color: #ddd;
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-buttons-new {
    display: flex;
    gap: 15px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.btn-hero-red {
    background-color: var(--kksa-red);
    color: white;
    padding: 12px 30px;
    font-family: var(--font-oswald);
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 0;
    transition: all 0.3s;
}

.btn-hero-red:hover {
    background-color: #b01010;
}

.btn-hero-transparent {
    background-color: transparent;
    color: white;
    padding: 12px 20px;
    font-family: var(--font-oswald);
    font-weight: 600;
    text-transform: uppercase;
    border: 1px solid transparent; /* Placeholder for alignment */
    border-radius: 0;
}

.btn-hero-transparent:hover {
    text-decoration: underline;
}

.btn-hero-outline {
    background-color: transparent;
    color: white;
    border: 1px solid var(--kksa-red);
    padding: 12px 30px;
    font-family: var(--font-oswald);
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 0;
}

.btn-hero-outline:hover {
    background-color: var(--kksa-red);
}

.btn-cta-white {
    background-color: white;
    color: var(--kksa-dark);
    padding: 15px 40px;
    font-family: var(--font-oswald);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    border-radius: 0 !important;
    transition: all 0.3s;
}

.btn-cta-white:hover {
    background-color: #f0f0f0;
    color: var(--kksa-dark);
}

.hero-stats-row {
    display: flex;
    align-items: center;
    gap: 30px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-val {
    font-family: var(--font-oswald);
    font-size: 24px;
    font-weight: 700;
    color: white;
}

.stat-lbl {
    font-size: 10px;
    letter-spacing: 1px;
    color: #aaa;
    text-transform: uppercase;
}

.stat-divider {
    width: 1px;
    height: 30px;
    background-color: #444;
}

/* Portal Gateways New */
.portal-gateways-new {
    padding: 0; /* Flush with hero? No, image 2 shows white bg */
    position: relative;
    margin-top: -80px; /* Overlap hero? */
    z-index: 3;
    margin-bottom: 80px;
}

.portal-grid-new {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 0; /* Connected cards? Image 2 shows gaps */
    gap: 20px;
}

.portal-card-new {
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 300px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.white-card {
    background-color: white;
    color: var(--kksa-dark);
}

.dark-card {
    background-color: #111;
    color: white;
}

.portal-icon-new {
    font-size: 24px;
    margin-bottom: 20px;
    color: #555;
}

.dark-card .portal-icon-new {
    color: #aaa;
}

.portal-card-new h3 {
    font-family: var(--font-oswald);
    font-size: 24px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.portal-card-new p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.8;
}

.link-arrow {
    font-family: var(--font-oswald);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--kksa-red);
    display: flex;
    align-items: center;
    gap: 5px;
}

.dark-card .link-arrow {
    color: white;
}

/* Rankings Section New */
.rankings-section-new {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.rankings-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 20px;
}

.section-tag-red {
    color: var(--kksa-red);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 5px;
}

.section-title-new {
    font-family: var(--font-oswald);
    font-size: 36px;
    text-transform: uppercase;
    margin: 0;
    color: var(--kksa-dark);
}

.view-all-btn {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--kksa-dark);
    text-decoration: underline;
}

.fighters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.fighter-card {
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.fighter-img-box {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.fighter-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%); /* Image 3 shows B&W */
}

.rank-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    font-family: var(--font-oswald);
    font-size: 48px;
    font-weight: 700;
    color: rgba(255,255,255,0.8);
    line-height: 1;
}

.category-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: white;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    background: rgba(0,0,0,0.5);
    padding: 2px 5px;
}

.fighter-details {
    padding: 20px;
}

.fighter-name-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.fighter-name-row h4 {
    font-family: var(--font-oswald);
    font-size: 16px;
    margin: 0;
    text-transform: uppercase;
}

.record {
    font-size: 12px;
    background: #eee;
    padding: 2px 5px;
    border-radius: 2px;
}

.dojo-name {
    font-size: 12px;
    color: #777;
    margin-bottom: 15px;
}

.progress-bar {
    height: 4px;
    background: #eee;
    margin-bottom: 10px;
}

.progress-bar .fill {
    height: 100%;
    background-color: var(--kksa-red);
}

.points-row {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: #555;
    font-weight: 600;
}

/* Philosophy Section */
.philosophy-section {
    background-color: #111;
    color: white;
    padding: 100px 0;
}

.philosophy-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.philosophy-title {
    font-family: var(--font-oswald);
    font-size: 42px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.philosophy-desc {
    color: #aaa;
    margin-bottom: 40px;
    max-width: 600px;
}

.philosophy-points {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.p-point {
    display: flex;
    gap: 20px;
}

.p-num {
    color: var(--kksa-red);
    font-family: var(--font-oswald);
    font-size: 18px;
    font-weight: 700;
}

.p-point p {
    font-size: 14px;
    color: #ccc;
    line-height: 1.6;
}

.spirit-box {
    background-color: var(--kksa-red);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.spirit-box h3 {
    font-family: var(--font-oswald);
    font-size: 24px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.spirit-box p {
    font-size: 14px;
}

/* Dojo Finder New */
.dojo-finder-new {
    padding: 100px 0;
    background-color: white;
}

.dojo-finder-grid-new {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.dojo-desc {
    color: #555;
    margin-bottom: 30px;
}

.dojo-search-wrapper {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.dojo-search-input {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.btn-search-red {
    background-color: var(--kksa-red);
    color: white;
    border: none;
    padding: 0 20px;
    font-family: var(--font-oswald);
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
}

.province-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.prov-tag {
    background: #f4f4f4;
    padding: 8px 15px;
    font-size: 12px;
    color: #333;
    cursor: pointer;
    transition: background 0.2s;
}

.prov-tag:hover {
    background: #ddd;
}

.map-placeholder-box {
    background-color: #0A0A0A;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #555;
    border-radius: 8px;
}

.map-placeholder-box i {
    font-size: 48px;
    margin-bottom: 20px;
}

/* Affiliation CTA */
.affiliation-cta {
    background-color: var(--kksa-blue);
    color: white;
    text-align: center;
    padding: 80px 0;
}

.affiliation-cta h2 {
    font-family: var(--font-oswald);
    font-size: 36px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.affiliation-cta p {
    max-width: 600px;
    margin: 0 auto 40px;
    color: #ccc;
}

.btn-cta-white {
    background-color: white;
    color: var(--kksa-blue);
    padding: 15px 40px;
    font-family: var(--font-oswald);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
}

/* Footer New */
.site-footer-new {
    background-color: var(--secondary-color);
    color: #888;
    padding: 80px 0 40px 0;  
    font-size: 14px;
}

.footer-brand-title {
    color: white;
    font-family: var(--font-oswald);
    font-size: 24px;
    margin-bottom: 20px;
}

.footer-socials {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}
.footer-socials a {
    width: 36px;
    height: 36px;
    background: #222;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
}

.footer-socials a:hover {
    background: var(--kksa-red);
}

.footer-col-links h4, .footer-col-contact h4 {
    color: white;
    font-family: var(--font-oswald);
    font-size: 16px;
    margin-bottom: 20px;
}

.footer-col-links ul, .footer-col-contact ul {
    list-style: none;
    padding: 0;
}

.footer-col-links li, .footer-col-contact li {
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title-new { font-size: 42px; }
    /* .hero-stats-row { display: none; } Removed to show stats on mobile */
    .portal-gateways-new { margin-top: 0; }
    .philosophy-container { grid-template-columns: 1fr; }
    .dojo-finder-grid-new { grid-template-columns: 1fr; }
}


/* Utility Classes for Progress Bars */
.w-95 { width: 95%; }
.w-90 { width: 90%; }
.w-80 { width: 80%; }
.w-75 { width: 75%; }


/* Affiliation Tag in Hero */
.affiliation-tag-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 12px 24px;
  border-radius: 0px;
  color: #fff;
  font-family: var(--font-oswald);
  font-weight: 200;
  font-size: 14px;
  margin-top: 80px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

/* .affiliation-tag-hero:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  border-color: var(--primary-color);
} */

.affiliation-tag-hero i {
  color: var(--primary-color);
  font-size: 18px;
}


/* Footer Brand Card */
.footer-brand-card {
  /* background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px; */
  padding: 0px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  /* box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); */
  transition: all 0.3s ease;
}

.footer-brand-card .footer-logo {
  width: auto;
}


/* .footer-brand-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary-color);
  box-shadow: 0 10px 40px rgba(217, 4, 41, 0.15);
  transform: translateY(-2px);
} */

.footer-brand-info p {
  color: #ccc;
  font-size: 14px;
  line-height: 1.6;
  margin-top: 10px;
}

.footer-logo-text {
  font-family: var(--font-oswald);
  font-size: 12px;
  color: white;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.footer-affiliations-section {
  margin-top: 0;
  padding-top: 0;
}

.footer-affiliations-title {
  display: block;
  font-family: var(--font-oswald);
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
  text-align: center;
}

.footer-affiliations-logos {
  display: flex;
  gap: 15px;
  /* background: rgba(255, 255, 255, 0.9); */
  padding: 0px;
  border-radius: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-affiliations-logos img {
  height: 40px;
  width: auto;
  transition: transform 0.3s ease;
}

.footer-affiliations-logos img:hover {
  transform: scale(1.1);
}

.footer-grid-new {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
  padding-bottom: 40px;
}

@media (max-width: 992px) {
  .footer-grid-new {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .footer-grid-new {
    grid-template-columns: 1fr;
  }
}


.footer-bottom .footer-link {
  display: inline;
  margin-bottom: 0;
}

.footer-bottom .footer-logo {
  align-items: center;
}

/* =========================================
   Executive Statutory Footer
   ========================================= */
.executive-footer {
  background-color: var(--secondary-color);
  color: #e0e0e0;
  font-family: var(--font-body);
  position: relative;
  z-index: 10;
}

/* Affiliation Strip */
.affiliation-strip {
  background-color: #0a0a0a; /* Slightly darker than secondary */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 15px 0;
}

.affiliation-strip .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.affiliation-label {
  font-family: var(--font-heading);
  font-size: 14px;
  color: #888;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.affiliation-logos {
  display: flex;
  gap: 20px;
  align-items: center;
}

.affiliation-logos img {
  height: 40px;
  width: 40px;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.affiliation-logos img:hover {
  filter: none;
  opacity: 1;
}

/* Main Footer Content */
.footer-main {
  padding: 60px 0;
}

.footer-grid-executive {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr; /* Adjusted ratios */
  gap: 40px;
}

/* Column 1: Identity */
.footer-col-identity {
  padding-right: 20px;
}

.footer-logo-executive {
  height: 60px;
  width: auto;
  margin-bottom: 20px;
  display: block;
}

.footer-mandate {
  font-size: 14px;
  line-height: 1.6;
  color: #aaa;
}

/* Headings */
.footer-heading {
  font-family: var(--font-heading);
  font-size: 16px;
  color: #fff;
  margin-bottom: 25px;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary-color);
}

/* Links Lists */
.footer-links-list, .contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links-list li {
  margin-bottom: 12px;
}

.footer-links-list a {
  color: #aaa;
  font-size: 14px;
  transition: color 0.3s ease, padding-left 0.3s ease;
  display: inline-block;
}

.footer-links-list a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.text-highlight {
  color: #ffc107 !important; /* Gold/Yellow for emphasis */
}

/* Contact List */
.contact-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  font-size: 14px;
  color: #aaa;
}

.contact-list i {
  color: var(--primary-color);
  margin-right: 12px;
  margin-top: 4px;
  width: 16px;
  text-align: center;
}

/* Social Links */
.social-links-executive {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}

.social-links-executive a {
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  transition: background-color 0.3s ease;
}

.social-links-executive a:hover {
  background-color: var(--primary-color);
}

/* Bottom Bar */
.footer-bottom-executive {
  background-color: #050505; /* Very dark */
  padding: 20px 0;
  font-size: 13px;
  color: #666;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.bottom-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.powered-by a {
  color: #888;
  font-weight: 600;
  transition: color 0.3s;
}

.powered-by a:hover {
  color: #fff;
}

/* Refined Footer Identity - Compact */
.footer-brand-lockup {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.footer-logo-executive {
  height: 60px;
  width: auto;
  margin-bottom: 0;
}

.footer-org-identity {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 0;
}

.org-name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  letter-spacing: 0.5px;
}

.org-sub {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 400;
  color: var(--primary-color);
  letter-spacing: 1px;
  margin-top: 2px;
}

.footer-mandate-box {
  /* Align with org identity (Logo 50px + Gap 15px = 65px) */
  margin-left: 65px;
  padding-left: 0px;
  margin-top: 10px;
  /* Tighten text vertically by restricting width */
  padding-right: 40px;
  margin-right: 80px;
  justify-self: stretch; 
}

.footer-mandate-box p {
  font-size: 13px;
  line-height: 1.4;
  color: #bbb;
  margin-bottom: 4px;
}

.footer-mandate-box p:last-child {
  margin-bottom: 0;
}

.footer-mandate-box strong {
  color: #fff;
  font-weight: 600;
}

.mandate-sub {
  font-size: 12px !important;
  color: #888 !important;
  font-style: italic;
  margin-bottom: 0 !important;
}

/* Responsive adjustments for Footer Identity */
@media (max-width: 992px) {
  .footer-mandate-box {
    margin-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 576px) {
  .footer-mandate-box {
    border-left: none;
    padding-left: 0;
    text-align: center;
    margin-top: 15px;
  }
}

/* =========================================
   Resources Page (Knowledge Hub) Styles
   ========================================= */

/* Knowledge Hero */
/* TODO: Ensure left alignment is consistent across all page heroes */
.knowledge-hero {
  background-color: #0a0a0a; /* Dark Black/Grey */
  padding: 100px 0 120px; /* Increased padding */
  position: relative;
  color: var(--white);
  text-align: left;
}

.knowledge-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 15px;
  display: block;
  border-bottom: 2px solid var(--primary-color);
  display: inline-block;
  padding-bottom: 5px;
}

.knowledge-title {
  font-family: var(--font-heading); /* Oswald */
  font-size: 56px; /* Larger */
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 16px;
  letter-spacing: 1px;
  line-height: 1;
}

.knowledge-subtitle {
  font-size: 16px;
  color: #666;
  max-width: 600px;
  margin: 0;
  line-height: 1.6;
}

/* Search & Filter Bar */
.search-container-wrapper {
  position: relative;
  z-index: 10;
  margin-top: -60px; /* Overlap effect */
  margin-bottom: 40px;
}

.knowledge-search-bar {
  background-color: var(--white);
  border-radius: 0;
  padding: 15px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  border-top: 4px solid var(--primary-color);
}

.search-input-group {
  position: relative;
  flex: 1;
  min-width: 300px;
}

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #aaa;
  font-size: 16px;
}

.search-input {
  width: 100%;
  padding: 14px 16px 14px 48px;
  border: 2px solid #ddd;
  background-color: #f9f9f9;
  border-radius: 0;
  font-size: 14px;
  font-family: inherit;
  transition: all 0.3s;
}

.search-input:focus {
  background-color: #fff;
  border-color: #999;
  outline: none;
  box-shadow: none;
}

.filter-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-buttons .filter-btn {
  padding: 10px 20px;
  border-radius: 0;
  border: 2px solid #eee;
  background-color: #f0f0f0;
  color: #888;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s;
}

.filter-buttons .filter-btn:hover {
  background-color: #e0e0e0;
  color: #333;
  border-color: #ccc;
}

.filter-buttons .filter-btn.active {
  background-color: #000;
  color: var(--white);
  border-color: #000;
}

/* Main Content Area */
.knowledge-content {
  padding: 60px 0 100px;
  background-color: #fdfdfd;
}

/* Priority Alert */
.priority-alert {
  background-color: #fff;
  padding: 30px;
  border: 2px solid #eee; /* Subtle border */
  border-radius: 0;
  /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); */
  display: flex;
  align-items: flex-start;
  gap: 25px;
  margin-bottom: 60px;
  position: relative;
}

.priority-alert::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: var(--primary-color);
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.alert-icon-box {
  background-color: rgba(224, 30, 30, 0.1);
  color: var(--primary-color);
  width: 50px;
  height: 50px;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.alert-content {
  flex: 1;
}

.alert-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.alert-badge {
  background-color: var(--primary-color);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 0;
  text-transform: uppercase;
}

.alert-date {
  font-size: 11px;
  font-weight: 600;
  color: #999;
  text-transform: uppercase;
}

.alert-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: #222;
  margin: 0 0 8px 0;
}

.alert-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin: 0;
  max-width: 800px;
}

.alert-link {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.3s;
  white-space: nowrap;
  margin-top: 5px; /* Align with text block if needed, or flex center */
}

.alert-link:hover {
  gap: 8px;
}

/* Knowledge Grid (Split Layout) */
.knowledge-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr; /* Left column slightly wider */
  gap: 60px;
}

.section-heading-official {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: #222;
  text-transform: uppercase;
  padding-left: 15px;
  margin-bottom: 30px;
  letter-spacing: 0.5px;
  border-left: 4px solid #000;
  line-height: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.section-heading-official.red-accent {
  border-left-color: var(--primary-color);
}

/* News Feed List */
.news-feed-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid #eee;
}

.news-feed-item {
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 25px 0;
  border-bottom: 1px solid #eee;
  transition: background-color 0.3s;
  cursor: pointer;
}

.news-feed-item:hover {
  background-color: #fafafa;
}

.news-date-col {
  display: flex;
  flex-direction: column;
  min-width: 80px;
  text-align: right;
}

.news-date-main {
  font-size: 12px;
  font-weight: 700;
  color: #333;
}

.news-type-sub {
  font-size: 10px;
  color: #999;
  text-transform: uppercase;
  margin-top: 2px;
}

.news-details {
  flex: 1;
}

.news-id-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  color: var(--primary-color); /* Default blueish */
  background-color: rgba(20, 40, 160, 0.05);
  padding: 2px 6px;
  border-radius: 0;
  margin-bottom: 5px;
}

.news-id-badge.red { color: var(--primary-color); background-color: rgba(224, 30, 30, 0.05); }
.news-id-badge.blue { color: var(--secondary-color); background-color: rgba(10, 25, 48, 0.05); }
.news-id-badge.orange { color: #d39e00; background-color: rgba(255, 193, 7, 0.1); }

.news-title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: #222;
  margin: 0;
  line-height: 1.4;
}

.news-arrow-circle {
  width: 32px;
  height: 32px;
  background-color: #f5f5f5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  font-size: 12px;
  transition: all 0.3s;
}

.news-feed-item:hover .news-arrow-circle {
  background-color: var(--primary-color);
  color: white;
}

.btn-view-all-link {
  font-size: 10px;
  font-weight: 700;
  color: #999;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 1px;
}

.btn-view-all-link:hover {
  color: #333;
}

/* Resource Library Grid */
.resource-library-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.resource-card {
  background-color: #fff;
  border: 2px solid #eee;
  border-radius: 0;
  padding: 20px;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 160px;
  position: relative;
}

.resource-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-color: #ccc;
}

.resource-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
}

.resource-icon-box {
  font-size: 20px;
  color: #888; /* Grey icon */
}

.resource-format {
  font-size: 10px;
  font-weight: 700;
  color: #ccc;
  text-transform: uppercase;
}

.resource-info-main {
  flex: 1;
  margin-bottom: 20px;
}

.resource-name {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: #222;
  margin-bottom: 5px;
  line-height: 1.3;
  text-align: left;
}

.resource-size {
  display: block;
  font-size: 11px;
  color: #999;
  text-align: left;
}

.btn-download-full {
  width: 100%;
  background-color: transparent;
  color: #333;
  border: 2px solid #eee;
  padding: 10px;
  border-radius: 0;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s;
  cursor: pointer;
  text-align: center;
  display: block;
  text-decoration: none;
}

.btn-download-full:hover {
  border-color: #333;
  background-color: #fff;
}

/* Responsive Adjustments for Resources */
@media (max-width: 992px) {
  .knowledge-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  
  .knowledge-search-bar {
    flex-direction: column;
    align-items: stretch;
  }
  
  .search-input-group {
    min-width: auto;
  }
}

@media (max-width: 768px) {
  .knowledge-title {
    font-size: 36px;
  }
  
  .priority-alert {
    flex-direction: column;
    gap: 15px;
  }
  
  .alert-icon-box {
    margin-bottom: 5px;
  }
  
  .alert-link {
    margin-top: 15px;
  }
  
  .news-feed-item {
    gap: 15px;
  }
  
  .news-date-col {
    min-width: 70px;
    text-align: left;
  }
  
  .news-arrow-circle {
    display: none;
  }
}


/* =========================================
   New Professional Footer Styles
   ========================================= */
.kksa-footer {
  background-color: #050a0c; /* Very dark blue/black */
  color: #e0e0e0;
  padding: 80px 0 30px;
  font-family: var(--font-body, sans-serif);
  border-top: 4px solid var(--primary-color);
}

.kksa-footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand {
  flex: 1;
  min-width: 300px;
}

.footer-logo {
  height: 60px;
  width: auto;
  margin-bottom: 20px;
}

.footer-tagline {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-affiliation {
  font-size: 13px;
  color: #888;
  margin-bottom: 25px;
  border-left: 3px solid var(--primary-color);
  padding-left: 12px;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: rgba(255,255,255,0.1);
  color: #fff;
  border-radius: 50%;
  transition: all 0.3s ease;
  font-size: 14px;
  text-decoration: none;
}

.footer-social a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.footer-nav {
  flex: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}

.footer-col {
  min-width: 160px;
}

.footer-col h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

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

.footer-col li {
  margin-bottom: 12px;
}

.footer-col a {
  color: #aaa;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
  display: inline-block;
}

.footer-col a:hover {
  color: var(--primary-color);
  transform: translateX(5px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  color: #666;
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  color: #666;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-legal a:hover {
  color: #fff;
}

@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    gap: 40px;
  }
  
  .footer-nav {
    flex-direction: column;
    gap: 30px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-legal {
    justify-content: center;
  }
}

/* =========================================
   Simple Footer (Colorlib Style)
   ========================================= */
.simple-footer {
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 80px 0 40px;
  text-align: center;
  width: 100%;
}

.simple-footer .footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  max-width: 800px;
  margin: 0 auto;
}

.simple-footer .footer-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 500;
  color: var(--white);
  margin: 0;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.simple-footer .footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.simple-footer .footer-links li a {
  color: var(--white);
  font-size: 14px;
  font-weight: 200;
  letter-spacing: 1px;
  opacity: 0.7;
  transition: all 0.3s ease;
  text-decoration: none;
}

.simple-footer .footer-links li a:hover {
  opacity: 1;
  color: var(--primary-color);
}

.simple-footer .footer-social-icons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 10px 0;
}

.simple-footer .footer-social-icons a {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 14px;
  text-decoration: none;
}

.simple-footer .footer-social-icons a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.simple-footer .footer-copy {
  margin-top: 20px;
  font-size: 12px;
  opacity: 0.5;
  line-height: 1.6;
}

.simple-footer .footer-copy p {
  margin: 0;
}

.simple-footer .footer-copy a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s;
}

.simple-footer .footer-copy a:hover {
  color: var(--primary-color);
}

/* Hide other footer elements when simple-footer is present */
.executive-footer:has(.simple-footer) .footer-main,
.executive-footer:has(.simple-footer) .footer-bottom-executive,
.executive-footer:has(.simple-footer) .affiliation-strip {
    display: none;
}

