:root {
  --primary-dark: #01122a;
  --secondary-dark: #111a31;
  --accent-gold: #e5a537;
  --text-light: #e2e8f0;
  --text-dark: #333;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #f8f9fa;
  color: var(--text-dark);
}

/* Navbar */
.navbar-custom {
  background-color: transparent;
  padding: 0.5rem 0rem;
  transition: all 0.3s ease-in-out;
}
.navbar-custom.scrolled {
  background-color: var(--primary-dark);
  padding: 0.5rem 2rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
/*.navbar-custom.scrolled .navbar-brand img{
  height: 100px;
}*/
.navbar-custom .navbar-nav .nav-link {
  color: var(--text-light);
  font-weight: 500;
  margin: 0 10px;
  font-size: 14px;
}
.navbar-custom .navbar-nav .nav-link.active {
  color: var(--accent-gold);
  border-bottom: 2px solid var(--accent-gold);
}
.navbar-custom .navbar-brand {
  display: flex;
  align-items: center;
  color: white;
  text-decoration: none;
  /*background-color: #ffffff;*/
  padding: 10px 6px;
  border-radius: 6px;
}
.navbar-custom .navbar-brand img {
  height: 80px;
  /*margin-right: 10px;*/
}
.btn-outline-gold {
  color: var(--accent-gold);
  border: 1px solid var(--accent-gold);
  background: transparent;
  font-size: 0.9rem;
}
.btn-outline-gold:hover {
  background-color: var(--accent-gold);
  color: var(--primary-dark);
}
.btn-gold {
  /*background-color: var(--accent-gold);*/
  background: radial-gradient(circle, #F7C13B 0%, #E9A922 55%, #D99A16 100%);
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid var(--accent-gold);
}
.btn-gold:hover {
  background-color: #e5be6b;
  border-color: #e5be6b;
  color: var(--primary-dark);
}
.btn-dark-custom {
  background-color: var(--primary-dark);
  color: white;
  border: 1px solid var(--primary-dark);
}
.btn-dark-custom:hover {
  background-color: #111a31;
  color: white;
}

/* Hero Section */
.hero-section {
  background: transparent;
  color: white;
  height: 100vh;
  min-height: 600px;
  position: relative;
  display: flex;
  align-items: center;
}

/* Custom Carousel Controls & Indicators */
.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: white;
  opacity: 0.5;
  border: 2px solid transparent;
  margin: 0 6px;
  transition: all 0.3s ease;
}
.carousel-indicators .active {
  background-color: var(--accent-gold);
  opacity: 1;
  transform: scale(1.2);
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 3rem;
  height: 3rem;
  background-color: rgba(7, 16, 34, 0.5);
  border-radius: 50%;
  background-size: 50%;
}
.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
  background-color: var(--accent-gold);
}
.hero-subtitle {
  color: var(--accent-gold);
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
}
.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin: 20px 0;
  line-height: 1.2;
}
.hero-title .text-gold {
  color: var(--accent-gold);
}
.next_event_head{
    font-size: 1.8rem;
  letter-spacing: 1px;
  color: var(--accent-gold);
}
.countdown {
  display: flex;
  gap: 30px;
  margin-top: 20px;
}
.countdown-item {
  text-align: center;
  position: relative;
}
.countdown-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -15px;
  top: 10px;
  height: 40px;
  width: 1px;
  background-color: rgba(255,255,255,0.2);
}
.countdown-value {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}
.countdown-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #adb5bd;
  margin-top: 5px;
}

.time-box {
    background: rgba(30, 30, 30, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 8px;
    width: 90px;
    height: 90px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(255,255,255,0.05);
}
.time-box .num {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 5px;
}
.time-box .label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

/* About Section */
.about-section {
  padding: 50px 0;
  background-color: #fff;
}
.about-subtitle {
  color: var(--accent-gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.about-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 200px 200px;
  gap: 15px;
}
.image-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}
.image-grid .img-large {
  grid-column: 1 / 3;
}

/* Vision/Mission Section */
.vission-mission-section {
  background-color: var(--primary-dark);
  color: white;
  padding: 80px 0;
}
.vm-icon {
  color: var(--accent-gold);
  font-size: 2.5rem;
  margin-right: 20px;
  line-height: 1;
}
.vm-title {
  color: var(--accent-gold);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
  font-weight: 700;
}
.vm-heading {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
}
.vm-list {
  list-style: none;
  padding-left: 0;
}
.vm-list li {
  margin-bottom: 12px;
  font-size: 0.85rem;
  display: flex;
  align-items: flex-start;
  color: #e2e8f0;
}
/*.vm-list li::before {
  content: '\F26E';
  font-family: 'Bootstrap Icons';
  color: var(--accent-gold);
  margin-right: 12px;
  font-size: 1.2rem;
  line-height: 1;
}*/
.vm-list li i{
  color: var(--accent-gold);
  padding-right: 0.5rem;
}

.core-values {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.core-values .cv-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  width: 30px;
}
.core-values .letter-box {
  border: 1px solid rgba(203, 163, 83, 0.5);
  border-radius: 3px;
  color: var(--accent-gold);
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 10px;
  position: relative;
}
.core-values .letter-box::before,
.core-values .letter-box::after {
  content: '';
  position: absolute;
  width: 5px;
  height: 5px;
  border: 1px solid var(--accent-gold);
  opacity: 0.8;
}
.core-values .letter-box::before {
  top: -2px; left: -2px;
  border-right: none; border-bottom: none;
}
.core-values .letter-box::after {
  bottom: -2px; right: -2px;
  border-left: none; border-top: none;
}

.core-values .word {
  font-size: 0.65rem;
  text-align: center;
  color: #fff;
}

/* Events Section */
.events-section {
  padding: 40px 0 40px;
  background-color: #f8f9fa;
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}
.section-title {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  margin: 0;
}
.section-title i {
  color: var(--accent-gold);
  margin-right: 10px;
  font-size: 1.3rem;
}
.view-all {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}
.event-card {
  border: 1px solid #e9ecef;
  border-radius: 12px;
  overflow: hidden;
  background-color: #fff;
  height: 100%;
}
.event-img-wrap {
  position: relative;
  height: 250px;
}
.event-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.date-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: white;
  padding: 10px 15px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.date-badge.dark_btn{
  background-color: var(--accent-gold);
}
.date-badge .day {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--primary-dark);
}
.date-badge .month-year {
  font-size: 0.8rem;
  color: #6c757d;
  font-weight: 600;
}
.event-content {
  padding: 25px;
}
.event-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.location {
  color: #6c757d;
  font-size: 0.9rem;
  margin-bottom: 15px;
}
.location i {
  color: var(--accent-gold);
  margin-right: 5px;
}
.know-more {
  color: var(--primary-dark);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
}
.know-more i {
  margin-left: 5px;
}
.know-more:hover {
  color: var(--accent-gold);
}
.owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span{
  background: transparent;
}
.owl-theme .owl-dots .owl-dot span{
  background: transparent;
}
.about-section .gallery-grid img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: 0px;
}
.about-section .gallery-grid{
  margin:40px auto;
  display:grid;
  grid-template-columns:1fr 1.6fr;
  grid-template-rows:220px 220px;
  /*gap:6px;*/
  row-gap: 16px;
  column-gap: 2px;
}
.about-section .card{
  position:relative;
  overflow:hidden;
  background:#ddd;
  border-radius: 0;
}
.about-section .card img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:.4s;
}
.about-section .card:hover img{
  transform:scale(1.05);
}

/* LEFT SIDE CARDS */
.about-section .left{
  /*clip-path:polygon(
      0 0,
      100% 0,
      94% 100%,
      0 100%
  );*/
  clip-path: polygon(8% 0, 100% 0, 94% 100%, 0 100%);
}

/* RIGHT SIDE CARDS */
.about-section .right{
 /* clip-path:polygon(
      6% 0,
      100% 0,
      100% 100%,
      0 100%
  );*/
  clip-path: polygon(4% 0, 100% 0, 96% 100%, 0 100%);
}
.card-dark {
  background-color: var(--primary-dark);
  color: white;
}
.card-dark .know-more {
  color: var(--accent-gold);
}
.card-dark .location {
  color: #adb5bd;
}
.card-gold {
  background-color: #a37218;
  color: white;
}
.card-gold .know-more {
  color: white;
}
.card-gold .location {
  color: rgba(255,255,255,0.8);
}
.card-gold .date-badge, .card-dark .date-badge {
  background: transparent;
  box-shadow: none;
  padding: 0;
  left: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.card-gold .date-badge .day, .card-dark .date-badge .day,
.card-gold .date-badge .month-year, .card-dark .date-badge .month-year {
  color: white;
  text-align: left;
}

/* Stats Section */
.stats-section {
  background-color: var(--primary-dark);
  color: white;
  padding: 40px 0;
}
.stat-item {
  display: flex;
  align-items: center;
  justify-content: center;
}
.stat-icon {
  font-size: 3rem;
  color: var(--accent-gold);
  margin-right: 20px;
}
.stat-content h4 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
}
.stat-content p {
  margin: 0;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #adb5bd;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(to right, #071022 40%, rgba(7, 16, 34, 0.20)), url(../../assets/images/join-kotravai.jpg) right/contain no-repeat;
  color: white;
  padding: 50px 0;
}
.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
}
.cta-title span {
  color: var(--accent-gold);
}

/* Footer */
.footer {
  background-color: var(--primary-dark);
  color: #adb5bd;
  padding: 0 0 20px;
}
.footer-heading {
  color: var(--text-light);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 10px;
  display: inline-block;
  width: 100%;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  color: #adb5bd;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}
.footer-links a:hover {
  color: var(--accent-gold);
}
.footer-accordion .accordion-button {
  font-size: 1rem;
  padding: 1rem 0;
}
.footer-accordion .accordion-button::after {
  filter: invert(1); /* makes the accordion arrow white */
}
.footer-accordion .accordion-button:not(.collapsed) {
  color: var(--accent-gold) !important;
}
.footer-accordion .accordion-button:not(.collapsed) .bi {
  color: var(--accent-gold) !important;
}
.footer-accordion .accordion-body .footer-links a {
  color: #e2e8f0;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 15px;
  margin-top: 30px;
  text-align: center;
  font-size: 0.85rem;
  color: #adb5bd;
}
.social-icon-btn {
  width: 35px;
  height: 35px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  transition: transform 0.3s;
}
.social-icon-btn:hover {
  transform: translateY(-3px);
  color: #fff;
}

/* Owl Carousel Events Customization */
.events-carousel {
  position: relative;
}
.events-carousel .owl-nav button.owl-prev,
.events-carousel .owl-nav button.owl-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background-color: white !important;
  color: var(--primary-dark) !important;
  border-radius: 50% !important;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem !important;
  z-index: 10;
  transition: all 0.3s;
}
.events-carousel .owl-nav button.owl-prev {
  left: -14px;
}
.events-carousel .owl-nav button.owl-next {
  right: -14px;
}
.events-carousel .owl-nav button:hover {
  background-color: var(--primary-dark) !important;
  color: white !important;
}
.events-carousel .owl-dots {
  text-align: center;
  margin-top: 20px;
}
.events-carousel .owl-dots .owl-dot {
  width: 12px;
  height: 12px;
  border: 2px solid #ccc !important;
  border-radius: 50%;
  margin: 0 6px;
  background-color: transparent !important;
}
.events-carousel .owl-dots .owl-dot.active {
  background-color: var(--primary-dark) !important;
  border-color: var(--primary-dark) !important;
}

/* Hover Dropdown */
@media all and (min-width: 992px) {
  .hover-dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0;
    animation: fadeUp 0.3s ease-in-out forwards;
  }
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(10px); /* Keeps a 10px visual space from the nav item */
  }
}

.navbar-custom .navbar-nav .dropdown-toggle::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  border: none;
  font-size: 10px;
  margin-left: 8px;
  transition: transform 0.3s ease;
  display: inline-block;
  vertical-align: middle;
}
.navbar-custom .navbar-nav .dropdown-toggle[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

/* Dropdown Menu Customization */
.dropdown-menu {
  border-radius: 0;
  border: none;
  padding: 10px 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  margin-top: 0;
}

.hover-dropdown .dropdown-menu::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  height: 20px;
  background: transparent;
}

.dropdown-menu .dropdown-item {
  padding: 12px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  background-color: transparent;
  letter-spacing: 0.5px;
}

.dropdown-menu .dropdown-item:hover {
  color: var(--accent-gold);
  background-color: transparent;
  /*transform: translateX(5px);*/
  transition: transform 0.2s ease, color 0.2s ease;
}

.dropdown-menu .dropdown-item {
  transition: transform 0.2s ease, color 0.2s ease;
}
/* ======= Extracted Inline CSS from index.php ======= */
/* Hero Section Extra Styles */
#heroCarousel {
    top: 0; 
    left: 0; 
    z-index: 1;
}
.hero-carousel-indicators {
    z-index: 5;
}
.carousel-bg {
    width: 100%; 
    height: 100%;
}
.carousel-bg-1 {
    background: linear-gradient(to right, rgba(7, 16, 34, 0.95) 40%, rgba(7, 16, 34, 0.4)), url('../images/banner-1.jpg') center/cover no-repeat;
}
.carousel-bg-2 {
    background: linear-gradient(to right, rgba(7, 16, 34, 0.95) 40%, rgba(7, 16, 34, 0.4)), url('../images/banner-2.jpg') center/cover no-repeat;
}
.carousel-bg-3 {
    background: linear-gradient(to right, rgba(7, 16, 34, 0.95) 40%, rgba(7, 16, 34, 0.4)), url('../images/banner-3.jpg') center/cover no-repeat;
}
.hero-carousel-control {
    z-index: 5; 
    width: 5%;
}
.hero-content-overlay {
    z-index: 2; 
    padding-top: 60px;
}
.hero-countdown-divider {
    border-top: 1px solid var(--accent-gold);
}
.hero-countdown-title {
    font-size: 0.8rem; 
    letter-spacing: 1px; 
    color: var(--accent-gold);
}
.countdown-label-dimmed {
    opacity: 0.9;
}

/* Vision Mission extra styles */
.vm-border-dim {
    border-color: rgba(255,255,255,0.1) !important;
}
.vm-desc {
    color: #e2e8f0; 
    font-size: 0.9rem; 
    line-height: 1.6;
}

/* Events Section extra styles */
.event-desc {
    font-size: 0.95rem;
}
.completed-event-desc-dark {
    font-size: 0.95rem; 
    color: #e2e8f0; 
    margin-bottom: 20px;
}
.completed-event-desc-gold {
    font-size: 0.95rem; 
    color: rgba(255,255,255,0.9); 
    margin-bottom: 20px;
}
.completed-event-content {
    width: 40%; 
    padding: 30px;
}
.completed-event-images {
    width: 60%; 
    padding: 15px;
}
.completed-event-main-img {
    width: 100%; 
    height: 220px; 
    object-fit: cover; 
    border-radius: 8px; 
    margin-bottom: 10px;
}
.completed-event-sub-img {
    width: calc(33.33% - 6px); 
    height: 80px; 
    object-fit: cover; 
    border-radius: 6px;
}

/* CTA Section Extra Styles */
.cta-desc {
    font-size: 1.1rem;
}
.cta-btn {
    border-radius: 8px;
}


/* Global Button Hover Animations */
.btn {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}
.btn:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 7px 14px rgba(0,0,0,0.1), 0 3px 6px rgba(0,0,0,0.08) !important;
}
.btn:active {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1), 0 1px 3px rgba(0,0,0,0.08) !important;
}

/* Global Image Hover Animations */
.img-hover-zoom {
    transition: transform 0.4s ease, filter 0.4s ease;
}
.img-hover-zoom:hover,
.card:hover img.card-img-top {
    transform: scale(1.05);
}

