body {
    background-color: #eff2f5;
      font-family: "Nunito Sans", sans-serif;
}

/*-------- Agenda --------*/

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    margin-bottom: 1rem;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.2);
  z-index: 0;
}

.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-text {
    flex: 1;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-side {
    position: absolute;
    top: 15%;
    right: 2%;
    width: 35%;
    height: 70%;
    background: rgba(255, 255, 255, 0.085);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0,0,0,0.25), 0 0 20px rgba(255,255,255,0.2);
    border-radius: 10px;
    z-index: 2;
    padding: 5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}


.hero-side h1{
    font-size: 1.65rem;
    color: #F3F4F6;
    text-transform: uppercase;
    font-weight: 600;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
    letter-spacing: 5px;
    margin-bottom: 2rem;
}


.glass-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(30px) saturate(160%); 
    -webkit-backdrop-filter: blur(30px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 
        inset 10px 10px 20px rgba(0, 0, 0, 0.3),
        inset -10px -10px 20px rgba(255, 255, 255, 0.9),
        0 15px 30px rgba(0,0,0,0.3),
        0 5px 10px rgba(255,255,255,0.15);

    border-radius: 25px;
    color: #333333;
    padding: 10px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    opacity: 0;
    transform: translateX(100px);   
    animation: slideIn 0.8s ease forwards;
    border-radius: 30px;

}

/* Delay cards so they come one after another */
.glass-card:nth-child(1) { animation-delay: 0.2s; }
.glass-card:nth-child(2) { animation-delay: 0.4s; }
.glass-card:nth-child(3) { animation-delay: 0.6s; }
.glass-card:nth-child(4) { animation-delay: 0.8s; }
.glass-card:nth-child(5) { animation-delay: 1s; }
.glass-card:nth-child(6) { animation-delay: 1.2s; }

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.card-left,
.card-right {
    flex: 1;              
    text-align: center;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.90rem;
}

.separator {
    flex: 0 0 auto;        
    padding: 0 10px;
    font-weight: bold;
    color: rgba(255,255,255,0.7);
}

.hero-text h1 {
    font-size: 10rem;
    text-align: center;
    text-transform: uppercase;
    font-weight: 700;
    color: #F3F4F6;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);

}

.datetime-box {
    position: absolute;
    top: 8%;
    right: 2%;
    display: flex;
    gap: 10px;
    opacity: 0; 
    transform: translateY(-20px) scale(0.8);
    animation: datetimeFadeScale 0.5s forwards 0.6s;
}

/* Keyframes for datetime-box */
@keyframes datetimeFadeScale {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

#digital-clock, #digital-date {
    font-size: 0.90rem;
    font-weight: 600;
    color: #333333;
    padding: 8px 15px;
    border-radius: 50px;
    letter-spacing: 5px;
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(30px) saturate(160%); 
    -webkit-backdrop-filter: blur(30px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 
        inset 10px 10px 20px rgba(0, 0, 0, 0.3),
        inset -10px -10px 20px rgba(255, 255, 255, 0.9),
        0 15px 30px rgba(0,0,0,0.3),
        0 5px 10px rgba(255,255,255,0.15);

}

/* agenda content box */
.agenda-content-card {
  width: 100%;
  max-width: 1000px;
  height: 350px;
  display: flex;
  gap: 10px;
  overflow: hidden;
  margin: 10px auto;
  padding: 2rem;
}

/* Left image */
.agenda-content-left {
  width: 40%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-width: 220px;
  border-radius: 10px;

}

/* Right section split 1/4 top, 3/4 bottom */
.agenda-content-right {
  flex: 1;
  display: grid;
  grid-template-rows: 25% 75%;
  gap: 12px;
  padding: 16px;
}

/* Top card */
.agenda-content-top {
  background: #fafafa;
  border-radius: 8px;
  padding: 1rem;
  display: flex;
  flex-direction: row;          /* align items side by side */
  align-items: center;          /* vertically center text */
  justify-content: space-between; /* add space between date and time */
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.agenda-content-top h3,
.agenda-content-top p {
  margin: 0;
  font-size: 1rem;
}


/* Bottom card */
.agenda-content-bottom {
  background: #fafafa;
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);

}

/*------- index page --------*/
/* Hero Section */
.main-hero {
    position: relative;
    overflow: hidden;
    height: 100vh;
    margin-bottom: 5rem;

}

.main-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.3); /* adjust opacity */
  z-index: 0;
}

.main-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.main-hero video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

/* Initial state */
.hero-card {
    top: 45%;
    right: 2%;
    border-radius: 10px;          
    transform: translateY(-50%) translateX(50px);
    background: rgba(255, 255, 255, 0.045);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0,0,0,0.25), 0 0 20px rgba(255,255,255,0.2);
    color: #fff;
    padding: 2.5rem;
    max-width: 400px;
    height: 85%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    opacity: 0; 
    animation: fadeInSlide 1s forwards;
    position: absolute;
}

.hero-card a.btn {
    margin-top: auto;
}
.hero-card h5 {
    margin-bottom: 20px;
    letter-spacing: 10px;
    text-align: center;
}
.hero-card p {
    font-size: 1rem;
    text-align: justify;
    padding: 10px;
}


/* countdown cards */
.hero-side-card {
    position: absolute;        
    bottom: 10%;
    left: 14%;
    color: #333333;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0; 
    animation: fadeInSlide 1s forwards;
}

/* logo card */
.hero-logo-card {
    position: absolute;        
    bottom: 15%;
    left: 3%;
    display: flex;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0,0,0,0.25), 0 0 20px rgba(255,255,255,0.2);
}

.hero-logo-card .GA-icon {
  width: 150px;
  height: 150px;
}

/* ga countdown */
#countdown {
    display: flex;
    gap: 20px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
}

#countdown div {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(30px) saturate(160%); 
    -webkit-backdrop-filter: blur(30px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 
        inset 10px 10px 20px rgba(0, 0, 0, 0.3),
        inset -10px -10px 20px rgba(255, 255, 255, 0.9),
        0 15px 30px rgba(0,0,0,0.3),
        0 5px 10px rgba(255,255,255,0.15);
    padding: 10px 10px;
    height: 75px;
    width: 75px;
    border-radius: 10px;
    
}


/* Keyframes for load animation */
@keyframes fadeInSlide {
    to {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
}


/* Page Title container */
.main-hero-title {
    position: absolute;
    top: 5%;
    left: 3%;
    color: #fff;
    text-align: left;
}

.main-hero-title h1{
    font-size: 4.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 10px;
}

.main-hero-text {
    position: absolute;
    bottom: 20%;
    left: 26%;
    transform: translate(-50%, -50%) translateY(50px);
    color: #fff;
    text-align: left;
    opacity: 0;
    animation: textFadeSlide 1s forwards 0.3s;
}

/* Keyframes for load */
@keyframes textFadeSlide {
    to {
        opacity: 1;
        transform: translate(-50%, -50%) translateY(0);
    }
}

.main-hero-text p{
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 6px;

}

/*main buttons*/
.btnreg {
    background-color: #FFB300;
    width: 100%;
    color: #fff;
    padding: 12px 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    border-radius: 5px;
    margin-top: 1rem;
    box-shadow: rgba(0, 0, 0, 0.18) 0px 2px 4px;
    font-size: 0.85rem;
}

.btnreg:hover {
    background: #fff;
    color: #0D3B66;
    font-weight: 600;
    letter-spacing: 3px;
    transform: scale(1.01);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

/* button box */
.hero-text-box {
    margin-top: auto;
    display: flex;
    color: #fff;
    padding: 5px;
    display: flex;
    flex-direction: row;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 30px;
    opacity: 0; 
    animation: boxFadeScale 1s forwards 0.5s;
    transform: translateY(-50%) scale(0.8);
    width: 100%;
}

/* Keyframes for load */
@keyframes boxFadeScale {
    to {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }
}


.hero-text-box a.btn {
    display: inline-block; 
    width: auto;         
    margin-top: 0;
}

/* image card */
.home-card-container {
  display: flex;
  justify-content: center; 
  align-items: center;    
  gap: 10px;               
  padding: 20px;
  box-sizing: border-box;
  min-height: 100vh;
  flex-wrap: wrap;

  /* Background image */
  background-image: url('https://images.pexels.com/photos/4609733/pexels-photo-4609733.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

/* Optional overlay for readability */
.home-card-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5); /* adjust opacity */
  z-index: 0;
}

/* Cards sit above overlay */
.home-card {
  position: relative;
  z-index: 1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Image card */
.home-image-card img {
  width: 100%;
  height: 500px;
  display: block;
  object-fit: cover;
}

/* Text card */
.home-text-card {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0,0,0,0.25), 0 0 20px rgba(255,255,255,0.2);
    color: #fff;
  padding: 30px;
  max-width: 400px;
  height: 500px;
  box-sizing: border-box;
}

.home-text-card h3 {
  margin-top: 0;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.home-text-card p {
  margin-bottom: 15px;
  text-align: justify;
  font-size: 1rem;
}

.home-btn-container {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;          
}

.home-btn {
  display: inline-block;
  text-decoration: none;
  background-color: #0D3B66;
  color: white;
  padding: 10px 15px;
  border-radius: 30px;
}

/* socials buttons */
.home-social-icons {
    display: flex;
    justify-content: end;
    gap: 10px;
    margin-bottom: 20px;
}

.social-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: #FFB300;
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background-color: #0D3B66;
    color: #fff;
    transform: scale(1.1);
}


/* agenda starts here */
.agenda-box {
  width: 80%;
    margin: 100px auto;
    border-radius: 10px;
}
.agenda-box h1 {
    text-align: center;
    padding: 5px;
    text-transform: uppercase;
}

/* Agenda Item */
.agenda-item {
    position: relative;
    height: 400px;       
    border-radius: 10px;
    overflow: hidden;
    color: #fff;
    display: flex;
    align-items: flex-end;          
    padding: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    background-size: cover;        
    background-position: center;    
    background-repeat: no-repeat;   
}


/* Overlay layer */
.agenda-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 5%;
    width: 70%;
    height: 50%;
    z-index: 1;
    border-radius:10px 10px 0 0;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0,0,0,0.25), 0 0 20px rgba(255,255,255,0.2);
}

.agenda-text {
    position: absolute;       /* position inside the overlay */
    bottom: 0;
    left: 5%;
    width: 70%;               /* match overlay width */
    height: 50%;              /* match overlay height */
    z-index: 2;
    display: flex;
    flex-direction: column;   /* stack h2 and p vertically */
    justify-content: center;  /* vertical centering */
    align-items: left;      /* horizontal centering */
    text-align: left;
    padding: 10px;
    font-size: 1rem;
}

.agenda-text h2 {
    color: #fff;
    text-transform: uppercase;
    font-size: 1.85rem;
}

.agenda-text p {
    color: #fff;
    text-transform: uppercase;
    font-size: 1rem;
}

/* Accordion container */
.accordion {
  margin: 10px auto 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

/* Each accordion item */
.accordion-item {
  border: none;
  border-radius: 10px;
  overflow: hidden;
}

/* Accordion button (header) */
.accordion-button {
  background: #ffffff;
  color: #333;
  font-weight: 500;
  border: none;
  box-shadow: none;
  transition: background 0.3s ease;
}

.accordion-button:hover {
  background: #f5f5f5;
}

/* Collapsed state border removal */
.accordion-button:not(.collapsed) {
  background: #f0f0f0;
  color: #000;
  box-shadow: none;
}

/* Accordion body */
.accordion-body {
  background: #fafafa;
  color: #333;
  border-top: 1px solid #e0e0e0;
  text-align: justify;
  padding: 1.5rem;
}

/* ---------training page---------- */

.hero-train {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    margin-bottom: 1rem;
}
.hero-train::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.2); /* adjust opacity */
  z-index: 0;
}
.hero-train img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-train-overlay {
    position: absolute;
    top: 23%;               
    left: 10%;
    right: 10%;
    display: flex;
    justify-content: space-between; /* left card vs right cards */
    align-items: center;
    z-index: 2;
    pointer-events: none;
    gap: 20px;
    padding: 20px;
    border-radius: 15px;
}

.hero-train-left {
    pointer-events: auto;
    flex: 1;                     
    display: flex;
    flex-direction: column;
    color: #fff;
    text-align: justify;
    align-items: center;
    justify-content: center;
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.045);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0,0,0,0.25), 0 0 20px rgba(255,255,255,0.2);
    height: 355px;
}

.hero-train-right {
    pointer-events: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
}

.hero-train-side {
    padding: 1rem;
    pointer-events: auto;   
    width: 100%;
    max-width: 270px;
    display: flex;
    flex-direction: column;
    text-align: justify;
    padding: 20px;
    color: #333333;
    opacity: 0; /* start hidden */
    animation: fadeInUp 1s ease-out forwards;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(30px) saturate(160%); 
    -webkit-backdrop-filter: blur(30px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 
        inset 10px 10px 20px rgba(0, 0, 0, 0.3),
        inset -10px -10px 20px rgba(255, 255, 255, 0.9),
        0 15px 30px rgba(0,0,0,0.3),
        0 5px 10px rgba(255,255,255,0.15);
    border-radius: 10px;
}
.hero-train-side {
    font-size: 1rem;
}
.hero-train-left h5{
    font-size: 4rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 10px;
}

.hero-train-left p{
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-left: 1rem;
}
/* Keyframes for fade-in-up animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.train-datetime-box {
    position: absolute;
    top: 18%;
    left: 12%;
    display: flex;
    gap: 10px;
    opacity: 0; 
    transform: translateY(-20px) scale(0.8);
    animation: datetimeFadeScale 0.4s forwards 0.5s;
}

.train-content{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.train-content .content-card{
    background-color: #F3F4F6;
    width: 300px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    padding: 10px;
}

.content-card .card-text{
    text-align: justify;
    letter-spacing: 1px;
}

.content-card .card-title{
    text-align: justify;
    letter-spacing: 1px;
    font-weight: 600;
    color: #1B5E20;
}

/* --------training details page-------- */
.details-container {
  max-width: 1000px;   
  margin: 40px auto;   
  display: block;
}

.details-top{
    background-color: white;
    padding: 20px;
    border-radius: 15px;
    align-items: center;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 18px 50px -10px;

}

.details-left {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    margin-bottom: 15px;
    height: 42%;
}

.details-left img {
    width: 100%;
    height: 100%; 
    object-fit: cover;
    border-radius: 10px;
}

.details-left .card-overlay {
    position: absolute;
    bottom: 10px;
    left: 10px;
    padding: 5px 10px;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0,0,0,0.25), 0 0 20px rgba(255,255,255,0.2);
    color: #fff;
}

.details-map{
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    height: 55%;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 18px 50px -10px;
}

.details-reg {
    background-color: white;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 18px 50px -10px;
    padding: 30px;
    width: 100%;
}


.details-container .row {
    margin-left: 0;
    margin-right: 0;
}


/* -------------------contact page----------------------- */

.contact-banner {
    position: relative;
    width: 100%;
    height: 100vh; 
    overflow: hidden;
    margin-bottom: 5rem;
}
.contact-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 1;
}
.contact-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-card {
    position: absolute; 
    top: 0;          
    right: 4%;
    border-radius:0 0 10px 10px;     
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(30px) saturate(160%); 
    -webkit-backdrop-filter: blur(30px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 
        inset 10px 10px 20px rgba(0, 0, 0, 0.3),
        inset -10px -10px 20px rgba(255, 255, 255, 0.9),
        0 15px 30px rgba(0,0,0,0.3),
        0 5px 10px rgba(255,255,255,0.15);
    padding: 3rem;
    width: 500px;      
    z-index: 10;
       
}

.contact-container h2 {
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 1.85rem;
    color: #333333;
    font-weight: 600;
    margin-bottom: 1rem;
}

.contact-card .form-control {
    border: none;               
    border-bottom: 2px solid white;  /* only bottom border */
    border-radius: 0;           
    background: transparent;    
    box-shadow: none;
    color: #333333;
}

.contact-card .form-control:focus {
    border-bottom-color: #FFB300; /* Bootstrap primary color on focus */
    box-shadow: none;
}

.contact-card label {
    color: #333333;
    text-transform: uppercase;
    font-size: 0.80rem;
    letter-spacing: 2px;
    font-weight: 600;               
}

.contact-card .form-control:focus + label,
.contact-card .form-control:not(:placeholder-shown) + label {
    color: #333333;           
    font-size: 1em;
}

.required-star {
    color: #FFB300;
    font-weight: 600;
    margin-left: 2px; 
    justify-content: center;
    font-size: 1rem;
}
.invalid-feedback{
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: #C62828;
    font-weight: 600;
    text-align: end;
}

/* invitation-card starts here */
.invitation-card {
    background: #fff;
    padding: 3.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    min-height: 600px;
}

.invitation-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.invitation-image-card {
    position: relative;
    overflow: hidden;
}

.image-text-overlay {
    position: absolute;
    top: 50%;
    left: 26%;
    transform: translate(-50%, -50%);
    width: 300px;
    padding: 2rem;
    color: #333;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(30px) saturate(160%);
    -webkit-backdrop-filter: blur(30px) saturate(160%);
    border: 1px solid rgba(255,255,255,0.4);
    box-shadow: 
        inset 10px 10px 20px rgba(0,0,0,0.3),
        inset -10px -10px 20px rgba(255,255,255,0.9),
        0 15px 30px rgba(0,0,0,0.3),
        0 5px 10px rgba(255,255,255,0.15);
    border-radius: 10px;
    z-index: 2;
}

.image-text-overlay h2{
    font-size: 1.65rem;
    color:#333333;
    font-weight: 600;
    margin-bottom: 1.5rem;
    margin-top: 2rem;
    letter-spacing: 5px;
}
.image-text-overlay p{
    font-size: 0.85;
    text-align: justify;
    font-weight: 400;
}
/* progress bar */
.step-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px; 
    position: relative;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #F9FAFB;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
    transition: all 0.3s;
    position: relative;
    z-index: 1;
}

/* Draw the connector line */
.step-circle::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    width: 60px;
    height: 2px;
    background-color: #ddd;
    z-index: -1;
}

.step-circle:last-child::after {
    display: none;
}

.step-circle.active {
    color: #FFB300;
    border-color: #FFB300;
}

.step-circle.completed {
    background-color: #FFB300;
    color: #F9FAFB;
}

.step-circle.completed::after {
    background-color: #FFB300;
}

.form-buttons {
    display: flex;
    justify-content: space-between;
    flex-shrink: 0;      
}

/* button down */
.contact-card-below {
    position: absolute; 
    top: 80%;          
    right: 4%;
    border-radius:10px;     
    z-index: 10;
       
}

.divider-text {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.5rem 0;
    color: #fff; 
    font-weight: 500;
    text-transform: uppercase;
    font-size: 14px;
}

.divider-text::before,
.divider-text::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #fff; 
    margin: 0 10px; 
}

.btndown{
    background: #FFB300;
    width: 100%;
    color: white;
    padding: 12px 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 5px;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;    font-weight: 600;
    width: 250px;
    border-radius: 5px; 
    border: none;

}

.btndown:hover {
    background: transparent;
    border: 2px solid #FFB300;
    color: #FFB300;
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}


.btncontact {
    background-color: #fff;
    width: 100%;
    color: #0D3B66;
    padding: 12px 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    border-radius: 5px;
    margin-top: 1rem;
    box-shadow: rgba(0, 0, 0, 0.18) 0px 2px 4px;
    font-size: 0.85rem;

}

.btncontact:hover {
    background: #FFB300;
    color: #fff;
    font-weight: 600;
    letter-spacing: 3px;
    transform: scale(1.01);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}
/* ------------------------navbar------------------------ */
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: #f8f9fa;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2); /* optional shadow */
}

.navbar .nav-link, .navbar .navbar-brand {
  color: #0D3B66;
  font-weight: 500;
}

.navbar .nav-link.active {
  border-bottom: 2px solid #FFB300;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%230D3B66' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* -------------------------footer-------------------------- */
.footer {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  color: #111;
}

.GA-icon {
  height: 200px;
  width: auto;
  transition: transform 0.4s ease;
}

.GA-icon:hover {
  transform: scale(1.05);
}

.footer-link {
  color: #222;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.3px;
  margin: 0 10px;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #0d6efd; /* modern blue accent */
}

.social-links {
  margin-top: 0.5rem;
}

.social-icon {
  display: inline-flex;       /* align icon properly */
  align-items: center;        /* vertical center */
  justify-content: center;    /* horizontal center */
  color: #555;
  font-size: 1.4rem;          /* slightly bigger for modern look */
  margin: 0 8px;
  text-decoration: none;      /* remove underline */
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-icon i {
  display: block;             /* remove inline spacing artifacts */
  line-height: 1;             /* prevent extra spacing around icon */
}

.social-icon:hover {
  color: #0d6efd;             /* futuristic blue accent */
  transform: translateY(-3px);
}



/* -------------------------Hotel page-------------------------- */
.ga-video-wrapper {
    position: relative;
    overflow: hidden;
}

.ga-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.hotel-wrapper {
  width: 100%;
  height: 100vh;       /* full screen */
  margin: 0;
  padding: 0;
  position: relative;
  overflow: hidden;
  background-image: url('https://mstqb.com/wp-content/uploads/2025/09/TRA-Beach-Aerial-01-scaled.jpg'); /* single image */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


/* Optional overlay for readability */
.hotel-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.25), rgba(0,0,0,0.35));
  pointer-events: none;
}

/* --- Hero Text & Logo --- */
.hotel-hero-content {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  padding: 2rem;
  border-radius: 10px;
  width: 90%;       /* container scales nicely */
  max-width: none;  /* remove max-width limit */
  text-align: center;
}

.hotel-hero-content img {
  filter: brightness(0) invert(1);
  mix-blend-mode: lighten;
  width: 80%;      /* make logo large */
  height: auto;
  max-width: none; /* remove constraints */
}

.hotel-logo {
  display: block;
  margin: 0 auto;
  width: 600px; /* adjust size */
  height: auto;
}

/* -------------hotel carousel----------- */
.hotel-card-wrapper {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 40px;
  width: 100%;
  padding: 5rem;
  box-sizing: border-box;
  margin-bottom: 3rem;
  margin-top: 3rem;
}

.hotel-bck-color{
    background-color: #DFE9E6;
}

/* Fixed width for all cards */
.hotel-card-left {
  width: 600px;
  position: relative;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  min-height: 500px; /* Add minimum height */
}

.hotel-card-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 400px;
  min-height: 500px; /* Add minimum height */
}

/* Right top/bottom cards - REMOVE FIXED HEIGHTS */
.hotel-card-right-top {
  /* REMOVED: height: 25%; */
  border-radius: 10px;
  padding: 20px; /* Increased padding */
  background: rgba(255, 255, 255, 0.9);
  margin-bottom: 10px;
}

.hotel-card-right-top h3, .hotel-card-right-bottom h3, .hotel-content-top h3 {
  font-size: 1.2rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 2px;
  color: #335c50;
  margin-bottom: 10px;
}

/* texts */
.hotel-card-right-top p {
  font-size: 1rem;
  text-transform: capitalize;
  font-weight: 500;
  text-align: justify;
  line-height: 1.6; /* Better line spacing */
  margin-bottom: 0;
}

.hotel-card-right-top h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin-top: 10px;
  margin-bottom: 5px;
}

.hotel-card-right-bottom {
  /* REMOVED: height: 75%; */
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  padding: 20px; /* Increased padding */
  flex-grow: 1; /* Allow it to grow */
  overflow: visible; /* Allow content to show */
  min-height: 400px; /* Minimum height */
}

/* texts */
.hotel-card-right-bottom h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 600;
  margin-left: 0; /* Remove left margin */
  margin-bottom: 15px;
}

.hotel-card-right-bottom p {
  text-align: justify;
  font-size: 1rem;
  margin-left: 0; /* Remove left margin */
  line-height: 1.6; /* Better line spacing */
  margin-bottom: 15px;
}

/* Add better spacing for lists */
.hotel-card-right-bottom ul {
  margin-left: 20px;
  margin-bottom: 20px;
}

.hotel-card-right-bottom li {
  margin-bottom: 8px;
  line-height: 1.5;
}

/* Style for price */
.hotel-card-right-bottom .h5 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #335c50;
  margin-bottom: 20px;
}

/* General card styling */
.hotel-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* Changed from center to flex-start */
  text-align: left;
  overflow: visible; /* Changed from hidden to visible */
}

/* Carousel inside left card */
.hotel-card-carousel {
  height: 100%;
  position: relative;
  min-height: 500px; /* Minimum height for carousel */
}

.hotel-card-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  z-index: 1;
  border-radius:10px;
}

.hotel-card-slide.active {
  opacity: 1;
  z-index: 2;
}

/* Carousel arrows */
.hotel-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  font-size: 2rem;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 3;
}

.hotel-carousel-prev {
  left: 10px;
}

.hotel-carousel-next {
  right: 10px;
}

.hotel-carousel-arrow:hover {
  background: rgba(0,0,0,0.7);
}

/* Progress Lines */
.hotel-carousel-lines {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  width: 60%;
  z-index: 4;
}

.hotel-carousel-line {
  flex: 1;
  height: 4px;
  background: rgba(255,179,0,0.2);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.hotel-carousel-line::before {
  content: '';
  position: absolute;
  top:0; left:0;
  width: 100%;
  height: 100%;
  background: #FFB300;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.hotel-carousel-line.active::before {
  transform: scaleX(1);
}

/* main cards */
.hotel-cards-wrapper {
  display: flex;            /* make cards side by side */
  justify-content: center;  /* center row */
  gap: 30px;                /* space between cards */
  flex-wrap: wrap;          /* wrap on smaller screens */
  padding: 3rem 1rem;
}

/* Single card */
.hotel-content-card {
  display: flex;
  flex-direction: column;
  width: 250px;   /* adjust width */
}

/* Top 1/4 */
.hotel-content-top {
  height: 25%;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
}

/* Bottom 3/4 with gap from top */
.hotel-content-bottom {
  height: 400px;       /* adjust height */
  margin-top: 15px;    /* gap between top and bottom */
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: flex-end; /* optional overlay at bottom */
  padding: 1rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .hotel-card-wrapper {
    flex-direction: column;
    align-items: center;
    padding: 3rem 2rem;
  }
  
  .hotel-card-left,
  .hotel-card-right {
    width: 100%;
    max-width: 800px;
  }
  
  .hotel-card-left {
    min-height: 400px;
  }
}

@media (max-width: 768px) {
  .hotel-card-wrapper {
    padding: 2rem 1rem;
  }
  
  .hotel-card-right-top,
  .hotel-card-right-bottom {
    padding: 15px;
  }
  
  .hotel-card-right-top h3,
  .hotel-card-right-bottom h3 {
    font-size: 1rem;
  }
  
  .hotel-card-right-top p,
  .hotel-card-right-bottom p {
    font-size: 0.9rem;
  }
}

/*------------------------------------------ mobile responsiveness -------------------------------------------*/

/* Medium screens (tablets, ≤ 768px) */
@media (max-width: 768px) {
    .hero-card,
    .main-hero-text,
    .hero-text-box {
        animation: none;             /* remove animation */
        opacity: 1;                  /* show immediately */
        transform: none;             /* ignore transforms */
    }
    .hero-text h1 {
        font-size: 2rem;
    }

    .agenda-item {
        height: 400px; 
        flex-direction: column;
        padding: 15px;
    }

    .reg-form {
        padding: 20px;
    }

    /* Hero section text and card */
    .main-hero-text {

        text-align: center;
    }

    .main-hero-text h1 {
        font-size: 1rem;
        letter-spacing: 5px;
    }

    .hero-card {
        position: static;   /* stack instead of absolute */
        max-width: 100%;
        width: 100%;        /* force full width */
        height: auto;
        margin: 0 auto;     /* center if smaller */
    }
    .hero-card h5{
        letter-spacing: 7px;

    }


    .hero-text-box {
        position: static;
        width: 100%;
        display: flex;
        flex-direction: row;       /* keep buttons horizontal */
        flex-wrap: wrap;           /* allow wrap only if really needed */
        justify-content: center;   /* center buttons */
        gap: 10px;
    }

    .hero-text-box a.btn,
    .hero-text-box .btnreg {
        width: auto;               /* do not force 100% width */
        flex: 1 1 auto;            /* buttons share available space */
        text-align: center;
    }
        .video-card {
        height: auto;   /* let it shrink on tablets */
        min-height: 250px;
    }
  
}

/* Small screens (phones, ≤ 480px) */
@media (max-width: 480px) {
/* ------------------------------index page-------------------------------- */
    /* Fade-in only, no transforms */
    .hero-card,
    .main-hero-text,
    .hero-text-box {
        opacity: 0;               /* start hidden */
        animation: mobileFade 0.8s forwards; /* fade in */
    }

    /* Stagger animations */
    .main-hero-text { animation-delay: 0.1s; }
    .hero-card { animation-delay: 0.3s; }
    .hero-text-box { animation-delay: 0.5s; }

    @keyframes mobileFade {
        to {
            opacity: 1;
        }
    }

    .main-hero-title, .hero-logo-card{
      display: none;
    }

    /* Maintain responsive layout */
    .main-hero-text {
        position: absolute;
        top: 5%;
        left: 5%;
        transform: none;
        color: #fff;
        z-index: 2;
        width: 90%;
    }

    .main-hero-text h1, .main-hero-text p {
        font-size: 1rem;
        text-align: left;
        width: 100%;
        letter-spacing: 3px;
        margin-left: 0;
    }

    .hero-card {
        position: absolute;
        top: 44%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 95%;
        height: 500px;
        padding: 10px;
        font-size: 1rem;
        z-index: 5; /* ensures it's above background and overlays */

    }

    .hero-text-box {
        position: relative;
        width: 95%;
        height: 60px;
        padding: 10px;
        gap: 15px;
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        z-index: 6; /* keeps button above everything else */

    }
    
    .main-hero::before {
      pointer-events: none; /* overlay should not block clicks */
    }

  .home-card-container {
    flex-direction: column; /* stack vertically */
    min-height: auto;       /* remove fixed min-height */
    gap: 20px;
  }
  .home-image-card img,
  .home-text-card {
    width: 100%;
    height: auto;           
  }
  .home-btn-container {
    justify-content: center; 
  }
.home-text-card h3 {
  letter-spacing: 3px;
  font-size: 1rem;
}

    #countdown div {
        height: 75px;      /* smaller circle height */
        width: 75px;       /* smaller circle width */
        padding: 10px;     /* smaller padding */
        font-size: 1rem; /* scale down text */
    }

    #countdown {
        gap: 15px;         /* reduce gap between circles */
    }

    .hero-side-card {
        left: 2%;
        top: 90%;
        width: 95%;
    }
/* ------------------------------agenda page-------------------------------- */


    .video-card {
        height: auto;   /* let it shrink on tablets */
        min-height: 250px;
    }
        .hero-overlay {
        flex-direction: column;  /* stack text + cards vertically */
        justify-content: flex-start;
        align-items: center;
        height: 95%;
        margin-top: 1rem;
    }

    .hero-side {
        width: 90%;
        height: 60%;
        padding: 1rem;
        border-radius: 20px;        
        background: rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border: 1px solid rgba(255, 255, 255, 0.3);
        box-shadow: 0 8px 32px rgba(0,0,0,0.25), 0 0 20px rgba(27, 22, 22, 0.2);
        top: 38%;
        right: 5%;
    }
    .hero-side h1{
        font-size: 1rem;
        font-weight: 400;
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
        letter-spacing: 7px;
        margin-top: 2rem;
    }
    .glass-card {
        width: 100%;
    }

    .hero-text h1 {
    font-size: 1rem;
    text-align: center;
    text-transform: uppercase;
    font-weight: 700;
    color: #F3F4F6;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);

}

.hero-text p {
    font-size: 1rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: 700;
    color: #F3F4F6;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
    letter-spacing: 10px;
    margin-top: -10%;
}

.datetime-box, .train-datetime-box {
    flex-direction: column;
    align-items: flex-start;  
    top: 25%;
    left: 5%;
    display: flex;
    gap: 10px; 
}

/* ----agenda contents---- */
  .agenda-content-card {
    position: relative;
    height: auto;
    flex-direction: column;
    padding: 0;
  }

  /* Image as full background */
  .agenda-content-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-width: unset;
    border-radius: 0;
    background-size: cover;
    background-position: center;
    z-index: 1;
  }

  .agenda-content-left::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.3);
    z-index: 0;
}

  /* Overlay for text cards */
  .agenda-content-right {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  /* Semi-transparent cards for readability */
  .agenda-content-top, .agenda-content-bottom {
    border-radius: 20px;        
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0,0,0,0.25), 0 0 20px rgba(27, 22, 22, 0.2);
    color: #fff;
    width: 95%;
    text-align: justify;
    font-size: 18px;
    padding: 2rem;
  }
    .agenda-content-top h3, .agenda-content-bottom h4 {
    font-size: 1.05rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 5px;
    color: #F3F4F6;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);

}
/* ----------------------training page------------------------- */

  .hero-train-overlay {
    position: absolute;
    top: 37%;
    left: 5%;
    right: 5%;
    bottom: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 10px;
    height: 50%;
  }
  .hero-train-left {
    width: 100%;
    max-width: 100%;
    padding: 10px;
    margin-bottom:1rem;
    
  }

  .hero-train-left h5{
    font-size: 1rem;
}

  .hero-train-right {
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 90%;
  }

  .hero-train-side {
    max-width: 100%;
    width: 100%;
  }
/* ----------------------training details page------------------------- */

.details-reg {
margin-top: 20px;
}

/* contact page */
    .contact-card,.invitation-card {
        width: 90%;
        right: 5%;
        top: 0;
        padding: 2rem;
    }
    .contact-card-below {
        right: 5%;
        top: 80%;
    }

    .invitation-image-card {
        display: flex;
        flex-direction: column;
    }

    .image-text-overlay {
        position: relative;   /* stack below */
        top: auto;
        left: auto;
        transform: none;
        width: 100%;
        color: #333333;
        padding: 1rem;
        margin-top: 0.5rem;
        border-radius: 10px;
        box-shadow: none;
    }

    .image-text-overlay h2 {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }

    .image-text-overlay p {
        font-size: 16px;
    }


.invitation-image-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}


/* hotel page */
  .hotel-carousel {
    gap: 8px;
    left: 12px;
    transform: none;
    top: 12px;
  }

}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  /* hotel page */
  /* Stack cards vertically */
  .hotel-card-wrapper {
    flex-direction: column;
    gap: 2rem;
    padding: 2rem 1rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
  }

  /* Make carousel always on top */
  .hotel-card-left {
    order: -1; /* moves it to the top */
    width: 100%;
    min-height: 250px; /* Reduced from fixed height */
    height: auto; /* Allow height to adjust */
    max-height: 300px;
  }

  .hotel-card-right {
    order: 0; /* normal order */
    width: 100%;
    min-height: auto; /* Remove fixed min-height */
    height: auto;
  }

  .hotel-card-right-top,
  .hotel-card-right-bottom {
    height: auto;
    padding: 1rem;
    margin-bottom: 1rem;
  }

  .hotel-card-right-top h3,
  .hotel-card-right-bottom h3,
  .hotel-content-top h3 {
    font-size: 1rem;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
  }

  .hotel-card-right-top h4 {
    font-size: 1rem;
    margin-top: 8px;
  }

  .hotel-card-right-top p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 10px;
  }

  .hotel-card-right-bottom p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 12px;
  }

  /* Lists on mobile */
  .hotel-card-right-bottom ul {
    margin-left: 15px;
    margin-bottom: 15px;
  }

  .hotel-card-right-bottom li {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 6px;
  }

  /* Price styling on mobile */
  .hotel-card-right-bottom .h5 {
    font-size: 1.1rem;
    margin-bottom: 15px;
  }

  /* Carousel adjustments for mobile */
  .hotel-card-carousel {
    min-height: 250px; /* Match parent min-height */
  }

  /* Carousel arrows - smaller on mobile */
  .hotel-carousel-arrow {
    font-size: 1.5rem;
    padding: 8px 12px;
  }

  /* Carousel lines - smaller on mobile */
  .hotel-carousel-lines {
    width: 80%;
    bottom: 10px;
  }

  .hotel-carousel-line {
    height: 3px;
  }

  /* Hero content adjustments */
  .hotel-hero-content {
    top: 35%;
    padding: 1.5rem;
    width: 95%;   /* almost full width */
  }
  
  .hotel-hero-content img {
    width: 95%;   /* fill most of screen width on mobile */
  }

  /* Adjust the alternating layout for mobile */
  .hotel-card-wrapper:nth-child(even) .hotel-card-left {
    order: -1; /* Keep carousel on top for all cards on mobile */
  }

  .hotel-card-wrapper:nth-child(even) .hotel-card-right {
    order: 0;
  }

  /* Button adjustments for mobile */
  .hotel-card-right-bottom .btnreg {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    margin-top: 15px;
  }

  /* Optional: adjust icon row for mobile */
  .hotel-icon-row {
    flex-wrap: wrap;
    gap: 15px;
    justify-content: flex-start;
  }

  /* Adjust background colors for better readability on mobile */
  .hotel-bck-color {
    background-color: #f0f5f3; /* Slightly lighter for better contrast */
  }

  /* Additional text adjustments */
  .hotel-card-right-bottom h4 {
    font-size: 0.75rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
  }
}

/* Extra small devices (phones under 480px) */
@media (max-width: 480px) {
  .hotel-card-wrapper {
    padding: 1.5rem 0.75rem;
    gap: 1.5rem;
  }

  .hotel-card-left {
    min-height: 200px;
    max-height: 250px;
  }

  .hotel-card-right-top,
  .hotel-card-right-bottom {
    padding: 0.75rem;
  }

  .hotel-card-right-top h3,
  .hotel-card-right-bottom h3 {
    font-size: 0.9rem;
  }

  .hotel-card-right-top p,
  .hotel-card-right-bottom p {
    font-size: 13px;
  }

  .hotel-card-right-bottom ul {
    margin-left: 12px;
  }

  .hotel-card-right-bottom li {
    font-size: 13px;
  }

  .hotel-carousel-arrow {
    font-size: 1.2rem;
    padding: 6px 10px;
  }

  .hotel-hero-content {
    padding: 1rem;
  }

  .hotel-hero-content img {
    width: 100%;
  }
}

/* Tablet adjustments (768px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .hotel-card-wrapper {
    padding: 3rem 2rem;
  }

  .hotel-card-left {
    width: 55%;
    min-height: 450px;
  }

  .hotel-card-right {
    width: 45%;
    min-height: 450px;
  }

  .hotel-card-right-top,
  .hotel-card-right-bottom {
    padding: 1.5rem;
  }
}
