:root {
    --primary: #0056d2;
}

body {
    background-color: white;
}

.container {
    max-width: 1320px;
}

h2 {
    color: #0056d2;
}

.banner-section {
    background-image: linear-gradient(rgba(71, 119, 186, 0.4), rgba(71, 119, 186, 0.4)), url('../img/new/banner.webp');
    width: 100%;
    min-height: 90vh;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    justify-content: center;
}

.banner-how-it-works {
    background-image: linear-gradient(rgba(71, 119, 186, 0.4), rgba(71, 119, 186, 0.4)), url('../img/new/banner-how-it-works.webp');
    background-repeat: no-repeat;
    object-fit: cover;
    background-size: cover;
}
.banner-how-it-works .banner-content,
.banner-how-it-works .banner-content h1,
.banner-how-it-works .banner-content p,
.banner-how-it-works .banner-content.banner-about,
.banner-how-it-works .banner-content.banner-about h1,
.banner-how-it-works .banner-content.banner-about p {
    color: white !important;
}

.banner-enquire {
  background-image: linear-gradient(rgba(71, 119, 186, 0.4), rgba(71, 119, 186, 0.4)), url('../img/new/banner-enquire.webp');
    object-fit: cover;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center right;
}

.banner-for-schools {
    background-image: linear-gradient(rgba(71, 119, 186, 0.4), rgba(71, 119, 186, 0.4)), url('../img/new/school_management.webp');
    background-repeat: no-repeat;
    object-fit: cover;
    background-size: cover;
}
.banner-for-schools .banner-content,
.banner-for-schools .banner-content h1,
.banner-for-schools .banner-content p,
.banner-for-schools .banner-content.banner-about,
.banner-for-schools .banner-content.banner-about h1,
.banner-for-schools .banner-content.banner-about p {
    color: white !important;
}

.banner-footer {
    background-image: linear-gradient(rgba(71, 119, 186, 0.4), rgba(71, 119, 186, 0.4)), url('../img/new/banner-footer.jpg');
    background-repeat: no-repeat;
    object-fit: cover;
    background-size: cover;
    min-height: 50vh !important;
    background-position: center;
}

.banner-content {
    max-width: 600px;
    position: absolute;
    top: 22%;
    text-align: center;
    color: white;
    z-index: 2;
}

.banner-content .d-md-flex {
    position: relative;
    z-index: 10;
}

.footer-con {
    max-width: 900px;
    position: absolute;
    left: 10%;
    top: 50%;
    text-align: center;
    color: white;
}

.banner-about {
    top: 35%;
    text-align: left;
    left: 10%;
    max-width: 500px;
}

/* Enquire banner - match reference: text left, woman/office image right, soft blue overlay */
.banner-enquire {
  min-height: 600px;
  display: flex;
  align-items: center;
  width: 100%;
}
.banner-enquire .container {
  position: relative;
  width: 100%;
  min-height: 600px;
  display: flex;
  align-items: center;
  padding-left: 48px;
  padding-right: 48px;
}
@media (max-width: 768px) {
  .banner-enquire .container {
    padding-left: 24px;
    padding-right: 24px;
  }
}
.banner-enquire .banner-content.banner-about {
  position: relative !important;
  top: auto !important;
  transform: none !important;
  left: auto !important;
  max-width: 500px;
  padding: 0;
}
.banner-enquire h1 {
  font-size: 2.75rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: white !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}
.banner-enquire .banner-content p {
  font-size: 1.125rem;
  line-height: 1.65;
  color: white !important;
  opacity: 0.98;
  margin: 0;
}

h1 {
    font-size: 50px;
    color: white;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    outline: none;
    border: 1px solid var(--primary);
    padding: 8px 20px;
    border-radius: 40px;
    position: relative;
    z-index: 10;
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

.btn-secondary {
    background-color: white;
    color: var(--primary);
    outline: none;
    border: 1px solid var(--primary);
    padding: 8px 20px;
    border-radius: 40px;
    position: relative;
    z-index: 10;
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

.banner-shape {
    position: absolute;
    bottom: 0;
    width: 100%;
    left: 0;
    z-index: 1;
}

.banner-shape img {
    width: 100%;
    height: auto;
    display: block;
}

/* Legal pages - Terms & Conditions, Privacy Policy */
.banner-article {
    color: black;
    padding-block: 20px;
    padding-inline: 30px;
}

.legal-page-content h1 {
    color: var(--primary);
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}
.legal-page-content .legal-page-body h3 {
    color: #131415;
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}
.legal-page-content .legal-page-body p {
    color: #404248;
    margin-bottom: 1rem;
    line-height: 1.7;
}
.legal-page-content .legal-page-body a {
    color: var(--primary);
    text-decoration: underline;
}
.legal-page-content .legal-page-body a:hover {
    color: #0044a8;
}

/* Section checklist and process items */
.section-checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}
.section-checklist__item {
  display: flex;
  align-items: center;
}
.section-process-item {
  display: flex;
  gap: 0;
  margin-bottom: 20px;
}
.section-process-item > div {
  flex: 1;
}
.section-process-item .ps-4 {
  margin: 4px 0 0;
  padding-left: 1rem;
}


.section-container {
    padding-block: 80px;
}

.section-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 40px;
    padding-inline: 30px;
}

.section-img-right,
.section-img-left {
    display: flex;
    justify-content: center;
    align-items: center;
}


.section-img-right {
    justify-content: right;
}

.section-img-left {
    justify-content: left;
}

.section-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}


.section-content p {
    margin-bottom: 15px;
}


footer {
    background-color: var(--primary);
    padding-inline: 30px;
    padding-block: 40px;
    color: white;
    @media (max-width: 767px) {
        padding-inline: 0px;
    }
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 20px;
    color: white;
}

.footer-container div a {
    color: white;
    text-decoration: none;
}

.footer-link {
    border-top: 1px solid rgba(255, 255, 255, 0.39);
    padding-top: 20px;
    font-size: 14px;
    color: white;
}

.footer-link p,
.footer-link a,
.footer-link span {
    color: white;
}

@media (max-width: 767px) {
    .footer-link {
        flex-direction: column;
        gap: 12px !important;
        align-items: flex-start !important;
    }
    
    .footer-link p {
        margin-bottom: 8px;
    }
    
    .footer-link span {
        display: none; /* Hide separators on mobile */
    }
    
    .footer-link a {
        display: block;
        padding: 4px 0;
    }
}

.section-card {
    background-color: #f6f9ff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 30px;
    border-radius: 10px;
    gap: 10px;
    border: solid 1px #0d6efd;
}


/* Loading spinner animation */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Skeleton loading - shimmer animation */
@keyframes skeleton-shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.skeleton-shimmer {
  background: linear-gradient(
    90deg,
    #e9ecef 25%,
    #f1f3f5 50%,
    #e9ecef 75%
  );
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
  border-radius: 8px;
}

/* Contact page skeleton - two column layout matching page design */
.contact-skeleton-wrap {
  align-items: stretch;
}

.skeleton-hero-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 500px;
}

.skeleton-hero-right {
  flex: 1;
}

.skeleton-h1 {
  height: 44px;
  width: 200px;
  border-radius: 8px;
}

.skeleton-h1,
.skeleton-line,
.skeleton-title,
.skeleton-input,
.skeleton-textarea,
.skeleton-button,
.skeleton-card .skeleton-line {
  background: linear-gradient(
    90deg,
    #e9ecef 25%,
    #f1f3f5 50%,
    #e9ecef 75%
  );
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
  border-radius: 8px;
}

.skeleton-line-lg {
  height: 16px;
  width: 100%;
}

.skeleton-line-md {
  height: 14px;
  width: 85%;
}

.skeleton-line-sm {
  height: 12px;
  width: 70%;
}

.skeleton-line-xs {
  height: 14px;
  width: 100px;
  margin-bottom: 6px;
}

.skeleton-contact-lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.skeleton-support-grid {
  display: flex;
  gap: 15px;
  margin-top: 12px;
}

.skeleton-card {
  flex: 1;
  background: white;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.skeleton-card .skeleton-line {
  background: linear-gradient(
    90deg,
    #e9ecef 25%,
    #f1f3f5 50%,
    #e9ecef 75%
  );
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
}

.skeleton-form-card {
  background: white;
  padding: 26px;
  border-radius: 18px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
  border: 1px solid #e9ecef;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.skeleton-title {
  height: 22px;
  width: 140px;
  margin-bottom: 4px;
}

.skeleton-row {
  display: flex;
  gap: 10px;
}

.skeleton-row .skeleton-input {
  flex: 1;
}

.skeleton-input {
  height: 42px;
}

.skeleton-textarea {
  height: 110px;
}

.skeleton-button {
  height: 44px;
  width: 100%;
  margin-top: 6px;
  border-radius: 8px;
}

/* Full-page overlay skeleton (form submission) */
.skeleton-loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(248, 250, 252, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}

.skeleton-loading-overlay .skeleton-form-card {
  max-width: 420px;
}

/* Sticky header - fixed on scroll, same size as default */
#sticky-header.sticky-menu {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
#header-fixed-height.active-height {
  display: block;
  height: 80px;
}

/* Logo - no background */
.tgmenu__nav .logo a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px 6px 0px;
}
.tgmenu__nav .logo img,
.tgmobile__menu .nav-logo img {
  max-height: 45px;
  height: auto;
  width: auto;
  filter: brightness(0.85) saturate(1.2);
}

/* Header navigation - match reference SCSS */
.tgmenu__navbar-wrap > ul li a {
  font-size: 14px;
  font-weight: var(--tg-fw-medium);
  text-transform: capitalize;
  color: var(--tg-body-color);
  font-family: var(--tg-heading-font-family);
  padding: 29px 16px;
  display: flex;
  align-items: center;
  line-height: 1;
  position: relative;
  z-index: 1;
}
.tgmenu__action .header-btn .tg-btn {
  font-size: 14px;
  padding: 12px 20px;
  gap: 4px;
}

/* Active nav link - current page highlight */
.tgmenu__nav .navigation li.active > a {
  color: #0056d2 !important;
  font-weight: 600;
}
.tgmenu__action .header-btn.active .tg-btn {
  background: #0044a8 !important;
}

/* Mobile menu toggler + close button are <button> in React; reset default button styles */
.mobile-nav-toggler,
.tgmobile__menu .close-btn {
  background: transparent;
  border: none;
  padding: 0;
  appearance: none;
}

/* Scroll to top button - show when scrolled, blue with shadow */
.scroll__top.open {
  bottom: 30px;
  box-shadow: 0 4px 12px rgba(0, 86, 210, 0.3);
}
.scroll__top {
  background: #0056d2 !important;
}
.scroll__top:hover {
  background: #0044a8 !important;
}

/* Custom Alert Modal */
.alert-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 20px;
  animation: alert-fadeIn 0.2s ease;
}
@keyframes alert-fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.alert-modal {
  background: white;
  border-radius: 16px;
  padding: 32px;
  max-width: 400px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  animation: alert-slideUp 0.3s ease;
}
@keyframes alert-slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.alert-modal__icon {
  margin-bottom: 16px;
}
.alert-modal--success .alert-modal__icon {
  color: #0FB04B;
}
.alert-modal--error .alert-modal__icon {
  color: #dc3545;
}
.alert-modal__title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #131415;
  margin: 0 0 8px;
}
.alert-modal__message {
  font-size: 1rem;
  color: #404248;
  line-height: 1.5;
  margin: 0 0 24px;
}
.alert-modal__btn {
  background: #0056d2;
  color: white;
  border: none;
  padding: 12px 32px;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}
.alert-modal__btn:hover {
  background: #0044a8;
}

/* Submit button with loading bar */
.btn-with-loading {
  position: relative;
  overflow: hidden;
}
.btn-with-loading .btn-loading-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
  overflow: hidden;
}
.btn-with-loading .btn-loading-bar::after {
  content: '';
  position: absolute;
  left: -40%;
  top: 0;
  width: 40%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  animation: loading-bar-slide 1s ease-in-out infinite;
}
@keyframes loading-bar-slide {
  0% { left: -40%; }
  100% { left: 100%; }
}

/* Enquire form validation - red border on error */
.contact-form-section .form-control[aria-invalid="true"],
.contact-form-section .form-control.input-error {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 1px rgba(220, 53, 69, 0.2);
}
.contact-form-section .form-error-text {
  display: block;
  color: #dc3545;
  font-size: 12px;
  margin-top: 4px;
}

/* Contact form validation - red border on error */
.form-card input[aria-invalid="true"],
.form-card textarea[aria-invalid="true"] {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 1px rgba(220, 53, 69, 0.2);
}

.form-custom {
    height: 50px;
    border-radius: 6px;
    border: 1px solid #cfd6dd;
    background-color: #f2f5f7;
}

textarea.form-custom {
    height: auto;
}

.form-label {
    font-weight: 500;
    color: #2c3e50;
}

@media (max-width:1024px) {
    h1 {
        font-size: 40px;
    }

    .banner-content {
        top: 30%;
    }

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

    .section-img-right,
    .section-img-left {
        justify-content: center;
    }

}

@media (max-width:768px) {
    h1 {
        font-size: 30px;
    }

    .section-grid {
        grid-template-columns: 1fr;
        padding-inline: 8px;
    }

    .section-container {
        padding-block: 20px;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .section-img-right {
        order: 1;
    }

    .section-content {
        order: 2;
    }
}

/* ========== Blog List & Detail Styles ========== */
.common-section {
    padding: 50px 0;
}

.packages-list-section {
    padding: 120px 0 50px 0;
}

.main-title {
    margin-bottom: 30px;
}

.main-title h2 {
    font-size: 32px;
    font-weight: 600;
    color: #111;
    margin-bottom: 20px;
    margin-top: 0;
}

.blog-description {
    max-width: 100%;
    font-size: 20px;
    line-height: 1.7;
    color: #333;
}

.blog-description p {
    font-size: 20px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 20px;
}

.attraction-card {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    padding: 10px;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: inherit;
}

.attraction-card:hover {
    background: #eef5ff;
    text-decoration: none;
    color: inherit;
}

.attraction-card:hover .attraction-content h4 {
    color: #0056d2;
}

.attraction-img {
    width: 100%;
    height: 240px;
    border-radius: 10px;
    overflow: hidden;
    object-fit: cover;
}

.attraction-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.attraction-content {
    padding: 20px;
}

.attraction-content h4 {
    color: #111;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.attraction-content p {
    color: #6e6e6e;
    font-size: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0;
}

.attraction-detail-page {
    width: 100%;
    height: auto;
    padding-top: 120px;
}

.blog-img {
    margin-bottom: 20px;
    text-align: center;
}

.blog-img img {
    max-width: 100%;
    border-radius: 30px;
    height: auto;
    display: block;
    width: 100%;
}

/* .blog-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
} */

.blog-content h3 {
    font-size: 24px;
    font-weight: 600;
    color: #111;
    margin-bottom: 15px;
    margin-top: 25px;
}

.blog-content h3:first-child {
    margin-top: 0;
}

.blog-content p {
    font-size: 20px;
    margin-bottom: 20px;
    color: #333;
    line-height: 1.6;
}

.blocks-gallery-grid {
    max-width: 700px;
    display: flex;
    flex-wrap: wrap;
    list-style-type: none;
    padding: 0;
    margin: 0 auto 20px auto;
}

.blocks-gallery-grid .blocks-gallery-item {
    width: calc(33% - 15px);
    margin-right: 15px;
}

.blocks-gallery-grid .blocks-gallery-item:nth-child(3n) {
    margin-right: 0;
}

/* Font Size Utility Classes */
.fs-10 {
    font-size: 14px;
}

/* When there are only 2 items, make them 2 columns with equal size */
.blocks-gallery-grid .blocks-gallery-item:first-child:nth-last-child(2),
.blocks-gallery-grid .blocks-gallery-item:first-child:nth-last-child(2) ~ .blocks-gallery-item {
    width: calc(50% - 7.5px);
}

.blocks-gallery-grid .blocks-gallery-item:first-child:nth-last-child(2) ~ .blocks-gallery-item {
    margin-right: 0;
}

.blocks-gallery-grid .blocks-gallery-item img {
    max-width: 100%;
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
    object-fit: contain;
}

@media (max-width: 768px) {
    .blocks-gallery-grid .blocks-gallery-item {
        width: calc(50% - 7.5px);
        margin-right: 15px;
    }
    
    .blocks-gallery-grid .blocks-gallery-item:nth-child(3n) {
        margin-right: 15px;
    }
    
    .blocks-gallery-grid .blocks-gallery-item:nth-child(2n) {
        margin-right: 0;
    }
    
    .packages-list-section {
        padding: 100px 0 50px 0;
    }
    
    .main-title {
        margin-top: 20px;
    }
}

@media (max-width: 576px) {
    .blocks-gallery-grid .blocks-gallery-item {
        width: 100%;
        margin-right: 0;
    }
    
    .common-section {
        padding: 40px 0;
    }
    .packages-list-section {
        padding: 100px 0 40px 0;
    }
    .attraction-detail-page {
        padding-top: 80px;
        padding-bottom: 40px;
    }
    
    .attraction-img {
        height: 200px;
    }
    
    .blog-content h3 {
        font-size: 20px;
    }
    
    .blog-content p {
        font-size: 18px;
    }
    
    .main-title {
        margin-top: 20px;
    }
}