/*

MTCA CSS

https://colvetechnologies.ssatenacity.co.ke

*/

/*---------------------------------------
  CUSTOM PROPERTIES ( VARIABLES )             
-----------------------------------------*/
:root {
  --white-color:                  #FFFFFF;
  --primary-color:                #247cff;
  --section-bg-color:             #F9F9F9;
  --dark-color:                   #000000;
  --title-color:                  #565758;
  --p-color:                      #717275;
  --border-color:                 #eaeaea;

  --body-font-family:             'Open Sans', sans-serif;

  --h1-font-size:                 48px;
  --h2-font-size:                 36px;
  --h3-font-size:                 32px;
  --h4-font-size:                 28px;
  --h5-font-size:                 24px;
  --h6-font-size:                 22px;
  --p-font-size:                  18px;
  --menu-font-size:               16px;

  --font-weight-light:            300;
  --font-weight-normal:           400;
  --font-weight-semibold:         600;
  --font-weight-bold:             700;
}

body {
    background: var(--white-color);
    font-family: var(--body-font-family);    
    position: relative;
    padding-top: 94px;
}

/*---------------------------------------
  TYPOGRAPHY               
-----------------------------------------*/

h2,
h3,
h4,
h5,
h6 {
  color: var(--dark-color);
  line-height: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: var(--font-weight-semibold);
}

h1,
h2 {
  font-weight: var(--font-weight-bold);
}

h1 {
  font-size: var(--h1-font-size);
  line-height: normal;
}

h2 {
  font-size: var(--h2-font-size);
}

h3 {
  font-size: var(--h3-font-size);
}

h4 {
  font-size: var(--h4-font-size);
}

h5 {
  font-size: var(--h5-font-size);
}

h6 {
  font-size: var(--h6-font-size);
}

p {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-light);
  letter-spacing: 0.5px;
}

a, 
button {
  touch-action: manipulation;
  transition: all 0.3s;
}

a {
  color: var(--p-color);
  text-decoration: none;
}

a:hover {
  color: var(--primary-color);
}

.section-padding {
  padding-top: 7rem;
  padding-bottom: 7rem;
}

/*---------------------------------------
  CUSTOM LINK               
-----------------------------------------*/
.custom-link {
  display: inline-block;
  text-decoration: none;
  border: 1px solid var(--border-color);
  color: var(--primary-color);
  pointer-events: auto;
  font-weight: var(--font-weight-semibold);
  line-height: 40px;
  position: relative;
  padding: 0 30px;
  box-sizing: border-box;
  margin: 0;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  overflow: hidden;
  border-radius: 0;
  text-transform: uppercase;
}

.custom-link::before {
  content: attr(data-hover);
  background-color: var(--border-color);
  color: var(--primary-color);
  position: absolute;
  top: 100%;
  bottom: 0;
  left: 0;
  transition: all 300ms cubic-bezier(0.19, 1, 0.56, 1);
  right: 0;
  text-align: center;
}

.custom-link:hover::before {
  top: 0;
}

b,
strong {
  font-weight: var(--font-weight-bold);
}

/*---------------------------------------
  LIST GROUP               
-----------------------------------------*/
.list-group-item {
  background-color: transparent;
  color: var(--p-color);
  font-size: var(--p-font-size);
  padding: 1rem 0;
}

.list-group-item:first-child {
  padding-top: 0;
}

.list-group-item span {
  font-weight: var(--font-weight-semibold);
  margin-left: auto;
}

/*---------------------------------------
  ANIMATED TEXT              
-----------------------------------------*/
.animated {
  position: relative;
}

.animated-info {
  display: inline-block;
  vertical-align: top;
  min-width: 250px;
  position: relative;
}

.animated-item {
  color: var(--primary-color);
}

.animated-item {
  display: block;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  animation: BottomTotop 6s linear infinite 0s;
}

.animated-item:nth-child(2n+2) {
  animation-delay: 2s;
}

.animated-item:nth-child(3n+3) {
  animation-delay: 4s;
}

@keyframes BottomTotop {
  0% {
    opacity: 0;
  }
  5% {
    opacity: 0;
    transform: translateY(5px);
  }
  10% {
    opacity: 1;
    transform: translateY(0px);
  }
  25% {
    opacity: 1;
    transform: translateY(0px);
  }
  30% {
    opacity: 0;
    transform: translateY(5px);
  }
  80% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/*---------------------------------------
  HERO              
-----------------------------------------*/
.hero {  
  padding-top: 0rem;
}

.hero .container {
  position: relative;
  overflow: hidden;
  height: 580px;
}

/* Hero Text Box (Desktop Default) */
.heroText {
  background: var(--white-color);
  position: absolute;
  z-index: 2;

  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  padding: 1.5rem 2.5rem;
  width: 50%;
  text-align: center;

  opacity: 0;
  animation: heroFadeUp 1s ease-out forwards;
}

/* Animation */
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translate(-50%, -40%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

/* Hero links */
.heroLinks {
  justify-content: center;
}

/* Contact phone */
.contact-phone {
  font-weight: var(--font-weight-semibold);
}

/* =========================
   TABLET FIX (≤ 991px)
========================= */
@media (max-width: 991px) {
  .heroText {
    width: 90%;
    padding: 1.25rem 1.5rem;

    /* Safer centering */
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
  }
}

/* =========================
   MOBILE FIX (≤ 576px)
========================= */
@media (max-width: 576px) {
  .heroText {
    width: auto;
    left: 1rem;
    right: 1rem;

    /* IMPORTANT: remove horizontal translate */
    transform: translateY(-50%);
  }

  .heroText h1 {
    font-size: 1.6rem;
  }

  .heroText p {
    font-size: 0.95rem;
  }
}


/*---------------------------------------
MODAL CARD
---------------------------------------*/
.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}



/*---------------------------------------
GET INVOLVED
---------------------------------------*/
.involve-bg {
  height: 260px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.involve-content {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: 0.3s ease;
}

.hover-text {
  opacity: 0;
  margin-top: 10px;
  transition: 0.3s;
}

.involve-bg:hover .hover-text {
  opacity: 1;
}


/*---------------------------------------
  CLUB DETAILS            
-----------------------------------------*/
.club-logo img {
  width: 150px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto;
}

.coach-avatar img {
  width: 120px;
  object-fit: cover;
  border-radius: 50%;
}
.team-avatar {
  width: 90px;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/*---------------------------------------
  CATEGORY DETAILS            
-----------------------------------------*/
.sponsor-card {
  border-radius: 14px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sponsor-card:hover {
  transform: translateY(-6px);
}

.sponsor-icon i {
  font-size: 40px;
  color: var(--primary-color);
}

.sponsor-list li {
  margin-bottom: 10px;
  font-size: 14px;
}

.sponsor-list i {
  color: var(--primary-color);
  margin-right: 8px;
}

/* Tier accents */
.sponsor-card.bronze {
  border-top: 5px solid #cd7f32;
}

.sponsor-card.silver {
  border-top: 5px solid #c0c0c0;
}

.sponsor-card.gold {
  border-top: 6px solid #f4c430;
}


/*---------------------------------------
  SPONSORS SLIDER             
-----------------------------------------*/
/* Slider Wrapper */
.sponsor-slider-wrapper {
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden; /* ensures track does not overflow container */
}

/* Viewport */
.sponsor-slider-viewport {
  overflow: hidden;  /* hide overflowing logos */
  width: 100%;
}

/* Track */
.sponsor-slider-track {
  display: flex;
  gap: 120px;
  animation: scrollSponsors 20s linear infinite;
  flex-wrap: nowrap;
}

/* Sponsor Item */
.sponsor-item {
  flex: 0 0 auto; /* fix size for proper scrolling */
  display: flex;
  align-items: center;
  justify-content: center;
}

.sponsor-item img {
  max-width: 100%;
  max-height: 150px;
  object-fit: contain;
  transition: filter 0.3s ease, transform 0.3s ease;
}

.sponsor-item img:hover {
  filter: grayscale(0%);
  transform: scale(1.05);
}

/* Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #ffffff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  z-index: 10;
  transition: background 0.3s ease;
}

.slider-arrow:hover {
  background: #f1f1f1;
}

.slider-arrow.prev {
  left: 10px;
}

.slider-arrow.next {
  right: 10px;
}

/* Responsive Behavior */
@media (max-width: 992px) {
  .sponsor-item {
    flex: 0 0 33.33%;
  }
}

@media (max-width: 768px) {
  .sponsor-item {
    flex: 0 0 100%;
  }
}

/* Infinite Scroll Animation */
@keyframes scrollSponsors {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%); /* moves half of track width for seamless loop */
  }
}





/*---------------------------------------
  OUR VALUES CARD             
-----------------------------------------*/
.value-card {
  border-radius: 14px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card i {
  font-size: 38px;
  color: #c62828; /* adjust to match your brand color */
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}




/*---------------------------------------
  EVENT CARD             
-----------------------------------------*/
/* Card base */
.event-card {
  display: flex;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.1);
}

/* Date block */
.event-date {
  background: #1a73e8;
  color: white;
  min-width: 80px;
  text-align: center;
  padding: 15px;
  flex-shrink: 0;
}

.event-date .month {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.event-date .day {
  font-size: 22px;
  font-weight: 800;
}

/* Details */
.event-details {
  padding: 15px;
}

.event-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.event-venue {
  font-size: 14px;
  color: #555;
}

.event-details .btn {
  font-size: 13px;
  padding: 5px 12px;
}



/*---------------------------------------
  OUR STORIES              
-----------------------------------------*/
.stories-section {
  background: url('../images/primary/taekwondo-3.jpg') center / cover fixed;
  height: 400px;
  position: relative;
}

.stories-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}





/* ===============================
   ORGANIZATIONAL TREE STYLES
================================ */

.org-tree {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* General level container */
.tree-level {
  display: flex;
  justify-content: center;
  gap: 30px;
}

/* Node */
.tree-node {
  text-align: center;
  white-space: nowrap;
}

.tree-node img {
  border-radius: 50%;
  margin-bottom: 8px;
}

/* Avatar sizes (DESKTOP) */
.level-1 img { width: 120px; }
.level-2 img { width: 100px; }
.level-3 img { width: 90px; }
.level-4 img { width: 70px; }

/* Text styling */
.tree-node h6 {
  margin: 0;
  font-weight: 600;
}

.tree-node span {
  font-size: 13px;
  color: #666;
}

/* Connectors */
.tree-line {
  width: 2px;
  height: 35px;
  background: #bbb;
  margin: 10px 0;
}

.tree-branch {
  width: 80%;
  height: 2px;
  background: #bbb;
  margin: 10px 0 20px;
}

/* ===============================
   CHILD LEVEL (DESKTOP FIX)
================================ */

.children {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 10px;
}

.children .tree-node {
  flex: 0 0 auto;
}

/* ===============================
   RESPONSIVE ADJUSTMENTS
================================ */

@media (max-width: 991px) {
  .children {
    flex-wrap: wrap;
    overflow-x: visible;
  }
}

/* PHONE OPTIMIZATION */
@media (max-width: 768px) {

  /* Hide branch line */
  .tree-branch {
    display: none;
  }

  /* Scale down top hierarchy */
  .level-1 img { width: 85px; }
  .level-2 img { width: 75px; }
  .level-3 img { width: 70px; }
  .level-4 img { width: 60px; }

  /* Softer text */
  .tree-node h6 {
    font-size: 14px;
  }

  .tree-node span {
    font-size: 12px;
  }

  /* Reduce vertical spacing */
  .tree-line {
    height: 25px;
  }
}





/*---------------------------------------
  CLUB CARD             
-----------------------------------------*/
.club-card {
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.club-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}


/*---------------------------------------
  EVENT COUNTDOWN             
-----------------------------------------*/
.countdown-section {
  background: url('../images/primary/taekwondo-4.jpg') center / cover fixed;
  height: 300px;
  position: relative;
}

.countdown-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/*---------------------------------------
  OUR SPONSORS             
-----------------------------------------*/
.sponsor-slider {
  display: flex;
  gap: 40px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.sponsor-slider img {
  max-width: 180px;
  scroll-snap-align: center;
}

/*---------------------------------------
  OUR VALUES            
-----------------------------------------*/
.value-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

/*---------------------------------------
  EVENT DETAILS            
-----------------------------------------*/
.event-details {
  list-style: none;
  padding: 0;
  margin: 0;
}

.event-details li {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.event-details i {
  width: 24px; /* same width for all icons */
  text-align: center;
  margin-right: 10px;
  color: var(--primary-color);
}

.event-details span {
  flex: 1;
}


/*---------------------------------------
  BLOG
-----------------------------------------*/

/* Featured Latest Post Section */
.featured-post-wrapper {
  position: relative;
  min-height: 450px;
  overflow: hidden;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Background image */
.featured-post-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  z-index: 1;
}

.featured-post-wrapper:hover .featured-post-image {
  transform: scale(1.05);
}

/* Content overlay */
.featured-post-content {
  position: relative;
  z-index: 2;
  background: rgba(0, 0, 0, 0.55);
  border-radius: 5px;
  padding: 3rem;
  max-width: 800px;
  color: #ffffff;
  text-align: left;
}

/* Force white text */
.featured-post-content h2,
.featured-post-content p,
.featured-post-content a {
  color: #ffffff;
}

/* Square badge */
.featured-post-content .square-badge {
  border-radius: 0;
  font-size: 0.85rem;
  text-transform: uppercase;
  padding: 0.4em 0.7em;
}

/* Tablet and below */
@media (max-width: 991px) {
  .featured-post-content {
    text-align: center;
    padding: 2rem;
  }
}

/* Phone view */
@media (max-width: 576px) {
  .featured-post-wrapper {
    min-height: 420px;
    align-items: flex-end;
  }

  .featured-post-content {
    width: 100%;
    border-radius: 0;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.7);
  }

  .featured-post-content h2 {
    font-size: 1.4rem;
  }

  .featured-post-content p {
    font-size: 0.95rem;
  }
}



/* Square badges for blog/news items */
.square-badge {
  border-radius: 0; /* removes rounded corners */
  font-size: 0.8rem;
  padding: 0.35em 0.65em;
  text-transform: uppercase;
}




/*---------------------------------------
  OUR JOURNEY            
-----------------------------------------*/
.timeline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 3px solid var(--primary-color);
  padding-top: 20px;
}

.timeline-point {
  cursor: pointer;
  background: var(--white-color);
  border: 3px solid var(--primary-color);
  padding: 10px 15px;
  border-radius: 50px;
  font-weight: 600;
}

.timeline-point.active {
  background: var(--primary-color);
  color: #fff;
}

.timeline-content {
  font-size: 1rem;
  max-width: 600px;
  margin: auto;
}


/*---------------------------------------
  CLUBS            
-----------------------------------------*/
.club-card {
  border-radius: 5px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.club-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.club-card h5 {
  font-weight: 600;
  margin-bottom: 5px;
}

.club-card p {
  font-size: 0.95rem;
  color: var(--text-color-secondary);
}

.club-card a.custom-link {
  margin-top: 10px;
  display: inline-block;
}




/*---------------------------------------
  FEATURED              
-----------------------------------------*/
.featured-circle {
  border-radius: 100%;
  width: 350px;
  height: 350px;
  margin: 0 auto;
  padding: 0 20px;
}

.featured-text {
  font-size: var(--h6-font-size);
  line-height: 2rem;
  font-weight: var(--font-weight-bold);
  text-align: center;
  margin-bottom: 0;
}

.featured-number {
  color: var(--primary-color);
  font-size: 8rem;
  margin: 0 10px;
}

/*---------------------------------------
  NAVIGATION              
-----------------------------------------*/
.navbar {
  padding-top: 20px;
  padding-bottom: 20px;
}

.navbar-brand {
  color: var(--primary-color);
  font-size: var(--h5-font-size);
  font-weight: var(--font-weight-bold);
  margin: 0 30px;
  padding: 0;
  text-align: center;
}

.navbar-brand strong {
  color: var(--p-color);
  font-size: 12px;
  position: relative;
  bottom: 5px;
}

.navbar-expand-lg .navbar-nav .nav-link {
  padding-right: 1.5rem;
  padding-left: 1.5rem;
}

.navbar-nav .nav-link {
  color: var(--p-color);
  font-weight: var(--font-weight-semibold);
  font-size: var(--menu-font-size);
  padding-top: 15px;
  padding-bottom: 15px;
}

.navbar-nav .nav-item.active .nav-link, 
.nav-link:focus, 
.nav-link:hover {
  color: var(--dark-color);
}

.nav-link:focus {
  color: var(--p-color);
}

.navbar-toggler {
  border: 0;
  padding: 0;
  cursor: pointer;
  margin: 0;
  width: 30px;
  height: 35px;
  outline: none;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before,
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transition: top 300ms 50ms ease, -webkit-transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease, -webkit-transform 300ms 350ms ease;
  top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
  transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transform: rotate(-45deg);
}

.navbar-toggler .navbar-toggler-icon {
  background: var(--dark-color);
  transition: background 10ms 300ms ease;
  display: block;
  width: 30px;
  height: 2px;
  position: relative;
}

.navbar-toggler .navbar-toggler-icon:before,
.navbar-toggler .navbar-toggler-icon:after {
  transition: top 300ms 350ms ease, -webkit-transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease, -webkit-transform 300ms 50ms ease;
  position: absolute;
  right: 0;
  left: 0;
  background: var(--dark-color);
  width: 30px;
  height: 2px;
  content: '';
}

.navbar-toggler .navbar-toggler-icon:before {
  top: -8px;
}

.navbar-toggler .navbar-toggler-icon:after {
  top: 8px;
}

/*---------------------------------------
  TIMELINE               
-----------------------------------------*/
.timeline,
.timeline-nodes {
  position: relative;
}

.timeline-nodes:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline h3, 
.timeline p {
  padding: 10px 30px;
} 

.timeline h3 {
  background: var(--dark-color);
}

.timeline::before {
  content: "";
  display: block;
  position: absolute;
  top: 37px;
  left: 50%;
  width: 0;
  border-left: 1px solid var(--border-color);
  height: 85%;
  z-index: 1;
  transform: translateX(-50%);
}

.timeline-content {
  position: relative;
  border-radius: 0 0 0.25rem 0.25rem;
  padding: 0;
}

.timeline-nodes:nth-child(odd) h3,
.timeline-nodes:nth-child(odd) p {
  text-align: right;
}

.timeline-nodes:nth-child(odd) .timeline-date {
  text-align: left;
}
 
.timeline-nodes:nth-child(even) .timeline-date {
  text-align: right;
}

.timeline-nodes:nth-child(odd) h3::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translate(0, -50%);
  width: 0;
  border-left: 10px solid var(--dark-color);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

.timeline-nodes h3 {
  position: relative;
  border-radius: 0.25rem 0.25rem 0 0;
}

.timeline-nodes:nth-child(even) h3::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 100%;
  transform: translate(0, -50%);
  width: 0;
  border-right: 10px solid var(--dark-color);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

.timeline-icons {
  position: relative;
  z-index: 100;
}

.timeline-icons::before {
  content: "";
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: block;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%,0);
  background: var(--white-color);
  box-shadow: 0 1rem 3rem rgba(0,0,0,.175);
  z-index: 1;
}

.timeline-icon {
  position: relative;
  z-index: 100;
  font-size: var(--h3-font-size);
  color: var(--primary-color);
  display: block;
  text-align: center;
  line-height: 80px;
}

@media (max-width: 767px) {
  .timeline-nodes:nth-child(odd) h3,
  .timeline-nodes:nth-child(odd) p {
    text-align: left;
  }

  .timeline-nodes:nth-child(even) {
    flex-direction: row;
  }

  .timeline::before {
    content: "";
    display: block;
    position: absolute;
    top: 60px;
    left: 33px;
    width: 0;
    height: 90%;
    z-index: 1;
    transform: translateX(-50%);
  }

  .timeline-icons {
    position: absolute;
    left: 0%;
    top: 60px;
  }

  .timeline-nodes:nth-child(odd) h3::after {
    left: auto;
    right: 100%;
    border-left: 0;
    border-right: 10px solid var(--dark-color);
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
  }

  .timeline-nodes:nth-child(even) h3::after {
    right: 100%;
    width: 0;
    border-right: 10px solid var(--dark-color);
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
  }

  .timeline-nodes:nth-child(even) .timeline-date {
    text-align: left;
  }

  .timeline-icons::before {
    width: 75px;
    height: 75px;
  }

  .timeline-icon {
    line-height: 75px;
  }
}

@media (max-width: 575px) {
  .timeline::before {
    content: "";
    display: block;
    top: 60px;
    left: 57px;
    height: 87%;
  }

  .timeline-icons {
    position: absolute;
    left: -10px;
  }

  .timeline-icons::before {
    width: 70px;
    height: 70px;
  }

  .timeline-icon {
    line-height: 70px;
  }
}

/*---------------------------------------
  REVIEWS               
-----------------------------------------*/
.reviews-thumb {
  margin-bottom: 0;
  padding: 32px;
}

.reviews-text {
  margin-top: 10px;
  margin-bottom: 25px;
}

.reviews-image {
  border-radius: 100px;
  width: 70px !important;
  height: 70px !important;
}

.reviews-carousel .owl-item {
  opacity: 0.45;
}

.reviews-carousel .owl-item.active.center {
  opacity: 1;
}

.reviews-carousel .owl-item.active.center .reviews-thumb {
  background: var(--dark-color);
}

.reviews-carousel .owl-item.active.center .reviews-thumb,
.reviews-carousel .owl-item.active.center .reviews-text {
  color: var(--white-color);
}

.reviews-carousel .owl-nav {
  display: flex;
  justify-content: space-between;
  margin: auto;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.reviews-carousel .owl-nav span {
  width: 35px;
  height: 35px;
  line-height: 35px;
  display: block;
}

.reviews-carousel .owl-nav .owl-prev {
  position: relative;
  left: -80px;
}

.reviews-carousel .owl-nav .owl-next {
  position: relative;
  right: -80px;
}

.reviews-carousel .owl-prev span,
.reviews-carousel .owl-next span {
  color: transparent;
}

.reviews-carousel .owl-prev span::before,
.reviews-carousel .owl-next span::before {
  font-family: bootstrap-icons;
  display: block;
  font-size: var(--h3-font-size);
  color: var(--p-color);
  width: 35px;
  height: 35px;
}

.reviews-carousel .owl-prev span::before {
  content: "\f12f";
}

.reviews-carousel .owl-next span::before {
  content: "\f138";
}

/*---------------------------------------
  BOOKING FORM            
-----------------------------------------*/

.booking-form .form-control {
  background: transparent;
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid var(--border-color);
  color: #6c757d;
  font-weight: var(--font-weight-normal);
  padding-top: 12px;
  padding-bottom: 12px;
  margin-top: 15px;
  transition: all 0.3s;
}

.booking-form #submit-button {
  background: var(--dark-color);
  border-bottom: 0;
  font-weight: var(--font-weight-semibold);
  color: var(--white-color);
  text-transform: uppercase;
  margin-top: 35px;
}

.booking-form #submit-button:hover {
  background: var(--primary-color);
}

/*---------------------------------------
  FOOTER              
-----------------------------------------*/
.site-footer {
  background: var(--section-bg-color);
}

.copyright-text {
  font-size: var(--menu-font-size);
}

/*---------------------------------------
  SOCIAL ICON               
-----------------------------------------*/
.social-icon {
  margin: 0;
  padding: 0;
}

.social-icon li {
  list-style: none;
  display: inline-block;
  vertical-align: top;
  transition: all 0.3s;
}

.social-icon:hover li:not(:hover) {
  opacity: 0.65;
}

.social-icon-link {
  font-size: var(--p-font-size);
  display: inline-block;
  vertical-align: top;
  margin-top: 4px;
  margin-bottom: 4px;
  margin-right: 15px;
}

.social-icon-link:hover {
  color: var(--primary-color);
}

.footer-social .social-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ffffff;
  font-size: 18px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  text-decoration: none;
}

.footer-social .social-icon:hover {
  transform: translateY(-3px);
  opacity: 0.85;
}

/* Brand Colors */
.footer-social .facebook {
  background-color: #1877f2;
}

.footer-social .instagram {
  background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.footer-social .youtube {
  background-color: #ff0000;
}

.footer-social .tiktok {
  background-color: #000000;
}






/*---------------------------------------
  RESPONSIVE STYLES               
-----------------------------------------*/
@media screen and (min-width: 1600px) {
  .hero .container {
    height: 740px;
  }
}

@media screen and (max-width: 991px) {
  body {
    padding-top: 74px;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 32px;
  }

  h3 {
    font-size: 26px;
  }

  h4 {
    font-size: 24px;
  }

  h5 {
    font-size: 20px;
  }

  h6 {
    font-size: 18px;
  }

  .section-padding {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .navbar {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .navbar-nav .nav-link {
    padding-top: 5px;
    padding-bottom: 10px;
  }

  .hero .container {
    height: inherit;
  }

  .heroText {
    position: relative;
    bottom: 100px;
    left: 0;
    width: auto;
    margin-bottom: -100px;
    padding: 2rem;
  }

  .featured-circle {
    width: 320px;
    height: 320px;
  }
}

@media screen and (max-width: 767px) {
  .heroText {
    padding: 1.5rem;
  }

  .animated-info {
    min-width: 125px;
  }

  .featured-circle {
    margin-top: 20px;
  }

  .reviews-carousel .owl-nav {
    position: relative;
    width: auto !important;
    transform: inherit;
    top: 0;
    bottom: 0;
    left: 0;
    max-width: 100px;
    margin: 20px auto;
  }

  .reviews-carousel .owl-nav .owl-prev,
  .reviews-carousel .owl-nav .owl-next {
    right: 0;
    left: 0;
  }
}

@media screen and (max-width: 480px) {
  .heroText {
    padding: 1rem;
  }

  .heroLinks .custom-link {
    font-size: 12px;
    line-height: 30px;
    margin-right: 12px !important;
    padding: 0 25px;
  }

  .contact-phone {
    font-size: 12px;
  }
}

@media screen and (max-width: 360px) {
  .featured-number {
    font-size: 5rem;
  }

  .featured-circle {
    width: 235px;
    height: 235px;
  }

  .reviews-image {
    width: 55px !important;
    height: 55px !important;
  }

  .reviews-thumb figcaption {
    font-size: var(--menu-font-size);
  }

  .timeline::before {
    left: 42px;
  }
}