/* main.css - Global styles, variables, and common components */

/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* CSS Variables */
:root {
    --primary-bg: #000000;
    --text-white: #ffffff;
    --text-gray: #cccccc;
    --border-gray: rgba(255, 255, 255, 0.2);
    --overlay-dark: rgba(0, 0, 0, 0.7);
}

/* Base Typography */
/* Prevent horizontal scrolling */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-white);
    background-color: var(--primary-bg);
}

/* Apply Poppins to all elements with proper fallbacks */
* {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Ensure proper text rendering on iOS */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.intl-theme-body {
    background-color: white;
}

/* Button System */
.btn-outline {
    background-color: transparent;
    border: 2px solid var(--text-white);
    border-radius: 50px;
    padding: 12px 30px;
    color: var(--text-white);
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn-outline:hover,
.btn-outline:hover * {
    /* background-color: var(--text-white);
    color: var(--primary-bg); */
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Utility Classes */

.container {
    max-width: 900px;
    margin: 0 auto;
    /* padding: 150px 20px 0px; */
}

.text-center {
    text-align: center;
}

.section-padding {
    padding: 80px 0;
}

.container.blog-wrapper.page-container {
    max-width: 900px;
    margin: 0 auto;
}
.container.single-blog-wrapper.page-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Enhanced Responsive Breakpoints for All Devices */

/* Large Screens and Desktops */
@media (max-width: 1400px) {
    .container { max-width: 1140px; }
}

/* Desktop and Large Tablets */
@media (max-width: 1200px) {
    .container { max-width: 960px; }
    .section-padding { padding: 60px 0; }
}

/* iPad Pro (12.9-inch) Portrait */
@media (max-width: 1024px) {
    .container { max-width: 720px; }
    .section-padding { padding: 50px 0; }
}

/* iPad (10.2-inch, 9.7-inch) Portrait & Landscape */
@media (max-width: 834px) {
    .container { max-width: 650px; padding: 0 20px; }
}

/* iPad Mini and Small Tablets */
@media (max-width: 768px) {
    .container { max-width: 640px; padding: 0 20px; }
    .section-padding { padding: 40px 0; }
}

/* iPhone 14 Pro Max, iPhone 14 Plus */
@media (max-width: 428px) {
    .container { padding: 0 16px; }
    .section-padding { padding: 32px 0; }
}

/* iPhone 14 Pro, iPhone 14, iPhone 13 */
@media (max-width: 390px) {
    .container { padding: 0 16px; }
    .section-padding { padding: 30px 0; }
}

/* iPhone SE (3rd generation), iPhone 12 mini */
@media (max-width: 375px) {
    .container { padding: 0 15px; }
}

/* Small Mobile Phones */
@media (max-width: 320px) {
    .container { padding: 0 12px; }
    .section-padding { padding: 24px 0; }
}

/* Common Section Components */

/* Section Titles */
.section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 25px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: clamp(16px, 2vw, 18px);
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 35px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Large Section Titles */
.section-title-large {
    font-size: clamp(36px, 5vw, 52px);
    font-weight: bold;
    color: var(--text-white);
    margin-bottom: 25px;
    line-height: 1.2;
}

/* Small Section Titles */
.section-title-small {
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 20px;
    line-height: 1.2;
}

/* Card Components */
.card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-gray);
}

.card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.card-title {
    font-size: clamp(18px, 2.5vw, 24px);
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 15px;
}

.card-text {
    font-size: clamp(12px, 1.2vw, 14px);
    color: var(--text-gray);
    line-height: 1.6;
}

/* Grid Systems */
.grid {
    display: grid;
    gap: 30px;
}

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

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

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .section-title {
    margin-bottom: 16px;
}

.section-header .section-subtitle {
    margin-bottom: 0;
}

/* Common Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.scale-on-hover {
    transition: transform 0.3s ease;
}

.scale-on-hover:hover {
    transform: scale(1.05);
}

/* Image Utilities */
.responsive-img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.img-rounded {
    border-radius: 15px;
}

.img-circle {
    border-radius: 50%;
}

/* Logo Styles */
.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.logo-container:hover {
    opacity: 1;
}

.logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

/* Statistics/Counter Styles */
.stat-item {
    text-align: center;
}

.stat-number {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 8px;
    display: block;
}

.stat-label {
    font-size: clamp(12px, 1.2vw, 14px);
    color: var(--text-gray);
    /* text-transform: uppercase; */
    letter-spacing: 0.5px;
}

/* Form Elements */
.form-group {
    margin-bottom: 12px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-white);
    font-weight: 500;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    color: var(--text-white);
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--text-white);
    background: rgba(255, 255, 255, 0.08);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-gray);
}

/* Social Media Icons */
.social-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid var(--border-gray);
    color: var(--text-white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--text-white);
    color: var(--primary-bg);
    transform: translateY(-2px);
}
.moment-back-button {
    text-align: center; /* centers the link inside */
    margin-top: 30px;   /* optional: adds spacing above */
}

.moment-back-button a {
    display: inline-block; /* makes the link act like a button */
    background-color: transparent;
    color: #000000;
    border: 2px solid #000000;
    padding: clamp(12px, 1.5vw, 12px) clamp(24px, 3vw, 30px);
    border-radius: 30px;
    font-size: clamp(14px, 1.2vw, 16px);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none; /* removes underline */
}

.moment-back-button a:hover {
    background-color: #000000;
    color: #ffffff;
}
.swiper-horizontal>.swiper-pagination-bullets,.swiper-pagination-bullets.swiper-pagination-horizontal,.swiper-pagination-custom,.swiper-pagination-fraction {

    width: 10%;
}

/* ===== BUILT ON TRUST SECTION ===== */
.built-on-trust-section {
    /* background-color: #f8f9fa; */
    padding: clamp(50px, 10vw, 50px) 0;
    position: relative;
}

.built-on-trust-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 40px);
}

.built-on-trust-content {
    text-align: center;
    margin-bottom: clamp(60px, 8vw, 80px);
}

.built-on-trust-title {
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 400;
    color: #000000;
    margin-bottom: clamp(24px, 3vw, 32px);
    line-height: 1.2;
}

.built-on-trust-description {
    font-size: clamp(16px, 1.5vw, 18px);
    color: #111111;
    line-height: 1.6;
    max-width: 1100px;
    margin: 0 auto;
}

.built-on-trust-logos {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: clamp(40px, 8vw, 120px);
    flex-wrap: wrap;
}

.trust-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 350px;
}

.trust-logo-image {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: clamp(20px, 3vw, 30px);
}

.trust-logo-img {
    width: auto;
    height: clamp(120px, 15vw, 250px);
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.trust-logo-img:hover {
    transform: scale(1.05);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .built-on-trust-logos {
        flex-direction: row;
        gap: 40px;
        align-items: center;
    }

    .trust-logo {
        max-width: 100%;
    }

    .built-on-trust-description {
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    .built-on-trust-section {
        padding: 20px 0;
    }

    .built-on-trust-content {
        margin-bottom: 50px;
    }

    .trust-logo-img {
        height: clamp(100px, 20vw, 120px);
    }

    .built-on-trust-logos {
        gap: 30px;
    }
}

/* ===== OUR MISSION SECTION ===== */
.our-mission-section {
    padding: 0;
    position: relative;
    background-color:#093d69; /* Full blue background */
}

.our-mission-container {
    max-width: 1200px;
    margin: 0 auto;
}

.our-mission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: clamp(400px, 50vw, 600px);
}

.our-mission-text {
    background: transparent; /* Remove background here */
    padding: clamp(60px, 8vw, 100px) clamp(40px, 6vw, 80px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
}

.our-mission-title {
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 400;
    color: #ffffff;
    margin-bottom: clamp(24px, 4vw, 40px);
    line-height: 1.2;
}

.our-mission-description {
    font-size: clamp(16px, 1.5vw, 18px);
    color: #ffffff;
    line-height: 1.6;
    margin: 0;
    opacity: 0.95;
}

.our-mission-image {
    position: relative;
    overflow: hidden;
}

.our-mission-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .our-mission-content {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .our-mission-text {
        padding: clamp(40px, 8vw, 60px) clamp(20px, 5vw, 30px);
        order: 1;
    }

    .our-mission-image {
        order: 2;
        min-height: clamp(250px, 40vw, 300px);
    }
}

@media (max-width: 480px) {
    .our-mission-text {
        padding: 40px 20px;
    }

    .our-mission-image {
        min-height: 200px;
    }

    .our-mission-title {
        margin-bottom: 20px;
    }
}


/* ===== OUR CORE VALUES SECTION ===== */
.core-values-section {
    padding: clamp(60px, 8vw, 100px) 0;
    /* background-color: #ffffff; */
    position: relative;
}

.core-values-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 40px);
}

/* Header */
.core-values-header {
    text-align: center;
    margin-bottom: clamp(40px, 6vw, 60px);
}

.core-values-title {
    font-size: clamp(28px, 4vw, 52px);
    font-weight: 400;
    color: #000000;
    margin: 0 0 12px 0;
    line-height: 1.2;
}

.core-values-subtitle {
    font-size: clamp(14px, 1.6vw, 18px);
    color: #555555;
    margin: 0;
}

/* Grid */
.core-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 3vw, 30px);
}

/* Cards */
.value-card {
    background-color: #f3f4f6;
    border-radius: 12px;
    padding: clamp(30px, 4vw, 40px);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Icon */
.value-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.value-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

/* Title & text */
.value-title {
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 600;
    margin-bottom: 12px;
    color: #000000;
}

.value-text {
    font-size: clamp(14px, 1.4vw, 16px);
    color: #333333;
    line-height: 1.6;
    margin: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .core-values-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Center the 3rd card when alone in second row - same size as others */
    .value-card:nth-child(3):last-child {
        grid-column: 1 / span 2;
        justify-self: center;
        width: calc(50% - 10px);
    }
}

@media (max-width: 640px) {
    .core-values-grid {
        grid-template-columns: 1fr;
    }

    /* Reset the 3rd card styling for mobile since we're now single column */
    .value-card:nth-child(3):last-child {
        grid-column: unset;
        justify-self: unset;
        width: 100%;
    }
}
/* ===== PEOPLE / EXPERIENCE SECTION ===== */
.fce-people-section {
  padding: clamp(60px, 8vw, 120px) 0;
  /* background: #ffffff; */
}

.fce-people-container {
  max-width: 1600px;            /* as requested */
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

.fce-people-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;   /* slight emphasis on image */
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
}

/* Image */
.fce-people-media {
  border-radius: 16px;
  overflow: hidden;
}

.fce-people-img {
  width: 100%;
  height: 100%;
  max-height: 520px;           /* keeps proportions similar to your mock */
  object-fit: cover;
  display: block;
  border-radius: 16px;         /* keeps roundness if image is shorter */
}

/* Content */
.fce-people-content {
  max-width: 720px;
  margin-left: auto;
}

.fce-people-title {
  margin: 0 0 16px 0;
  font-weight: 400;
  line-height: 1.1;
  color: #0b0b0b;
  letter-spacing: -0.02em;
  font-size: clamp(32px, 5vw, 52px);
}

.fce-people-lead {
  margin: 0 0 28px 0;
  color: #374151;
  line-height: 1.7;
  font-size: clamp(16px, 1.45vw, 18px);
}

.fce-people-subtitle {
  margin: 0 0 18px 0;
  font-weight: 600;
  color: #0b0b0b;
  font-size: clamp(18px, 2.2vw,18px);
}

/* Stats */
.fce-people-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 equal columns */
  gap: 20px; /* space between cards */
}

.fce-people-stat-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  width: 100%;     /* always fill its grid cell */
  height: 100%;    /* stretch evenly */
  min-height: 180px;

  background:transparent;
  border: 2px solid #3b82f6;
  border-radius: 12px;
  padding: 10px;
  text-align: center;
  box-shadow: 0 2px 0 rgba(59, 130, 246, 0.25);
}

/* Enhanced Mobile Responsive */
@media (max-width: 1024px) {
  .fce-people-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .fce-people-stat-card {
    min-height: 160px;
    padding: 15px 10px;
  }
}

@media (max-width: 768px) {
  .fce-people-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .fce-people-stat-card {
    min-height: 140px;
    padding: 12px 8px;
  }
}

@media (max-width: 560px) {
  .fce-people-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .fce-people-stat-card {
    min-height: 110px;
    padding: 10px 8px;
  }
}

@media (max-width: 320px) {
  .fce-people-stats {
    gap: 10px;
  }

  .fce-people-stat-card {
    min-height: 100px;
    padding: 12px;
  }
}


.fce-people-stat-value {
  font-weight: 800;
  color: #0b0b0b;
  font-size: clamp(20px, 2.2vw, 32px);
  line-height: 1.2;
  margin-bottom: 10px;
}

.fce-people-stat-label {
  color: #4b5563;
  font-size: clamp(13px, 1.2vw, 16px);
  line-height: 1.4;
}
.our-story-dark .fce-people-stat-label{
    color:white;
}

/* ===== Responsive ===== */
@media (max-width: 1200px) {
  .fce-people-grid {
    grid-template-columns: 1fr;
    gap: clamp(24px, 5vw, 40px);
  }
  .fce-people-content {
    max-width: 820px;
    margin: 0 auto;
  }
  .fce-people-img {
    max-height: 460px;
  }
}

@media (max-width: 560px) {
  .fce-people-img {
    max-height: 380px;
  }
}

.our-story-dark {
  background-color: #000;
  color: #fff;
}

.our-story-dark h1,
.our-story-dark h2,
.our-story-dark h3,
.our-story-dark p {
  color: #fff;
}


.our-story-dark .fce-people-stat-value {
  color: #fff;
}
.our-story-dark .value-card {
    background-color: #1a223fe7;
}



/* Force solid black header with white title */
.page-header-banner {
  background: #000;
}

.page-header-banner .phb-bg {
  display: none !important;    /* hide the background image layer */
}

.page-header-banner .phb-heading {
  color: #fff !important;      /* white title */
  margin: 0;
  line-height: 1.2;
  /* optional: size/weight tweaks */
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 400;
  letter-spacing: .2px;
}

/* ===== BLOG PAGE HEADER STYLES ===== */
/* Event Blog - White title on black background */
.page-header-banner.event-blog-header {
  background: #000 !important;
}

.page-header-banner.event-blog-header .phb-heading {
  color: #fff !important;
}

/* Wedding Blog - Black title on white background */
.page-header-banner.wedding-blog-header {
  background: #fff !important;
}

.page-header-banner.wedding-blog-header .phb-heading {
  color: #000 !important;
}

/* ===== HOME PAGE HEADER STYLES ===== */
/* Event Home - White title, no background */
.page-header-banner.event-home-header .phb-heading {
  color: #fff !important;
  background: none !important;
}

/* Wedding Home - Black title, no background */
.page-header-banner.wedding-home-header .phb-heading {
  color: #000 !important;
  background: none !important;
}


/* ===== VISITOR-BASED PAGE HEADER STYLES ===== */
/* Sri Lankan visitors (lk) - White title, no background/image */
.page-header-banner.event-visitor-header {
  background: transparent !important;
}

.page-header-banner.event-visitor-header .phb-bg {
  display: none !important;
}

.page-header-banner.event-visitor-header .phb-heading {
  color: #fff !important;
  background: none !important;
}

/* International visitors (non-lk) - Black title, no background/image */
.page-header-banner.wedding-visitor-header {
  background: transparent !important;
}

.page-header-banner.wedding-visitor-header .phb-bg {
  display: none !important;
}

.page-header-banner.wedding-visitor-header .phb-heading {
  color: #000 !important;
  background: none !important;
}
/* ===== END VISITOR-BASED PAGE HEADER STYLES ===== */

/*  add part in style.css file  */

/* INTERNATIONAL THEME BUTTON HOVER EFFECTS */
.intl-theme-body .btn-outline:hover,
.intl-theme-body .btn-primary:hover,
.intl-theme-body .btn-secondary:hover,
.intl-theme-body .cta-button:hover,
.intl-theme-body .filter-btn:hover,
.intl-theme-body .portfolio-btn:hover,
.intl-theme-body .section-btn:hover,
.intl-theme-body .contact-btn:hover {
    background-color: #000000 !important;
    color: #ffffff !important;
    border-color: #000000 !important;
    transition: all 0.3s ease !important;
}

/* WEDDING EXPERIENCE CTA SPECIFIC HOVER - Override for white background */
.intl-theme-body .wedding-experience-cta.btn-outline:hover,
.intl-theme-body .wedding-experience-cta:hover {
    background-color: #ffffff !important;
    color: #000000 !important;
    border-color: #ffffff !important;
    transition: all 0.3s ease !important;
}

/* RESPONSIVE DESIGN FOR INTERNATIONAL THEME */
@media (max-width: 1024px) {
    .mobile-menu-toggle {
        display: flex !important;
    }
    
    .intl-theme-body .mobile-menu-toggle,
    body.intl-theme-body[data-page="home"] .mobile-menu-toggle,
    .intl-theme-body[data-page="home"] .mobile-menu-toggle {
        display: flex !important;
    }

    /* Wedding home hamburger icon - WHITE before scroll, keep current color after scroll */
    body.intl-theme-body[data-page="home"]:not(.scrolled) .mobile-menu-toggle,
    body.intl-theme-body[data-page="home"] .navbar:not(.scrolled) .mobile-menu-toggle {
        color: white !important;
    }

    body.intl-theme-body[data-page="home"]:not(.scrolled) .mobile-menu-toggle span,
    body.intl-theme-body[data-page="home"] .navbar:not(.scrolled) .mobile-menu-toggle span {
        background-color: white !important;
    }

    /* Wedding/International pages base nav-right style (closed state) */
    .intl-theme-body .navbar .nav-right {
        transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s 0.5s !important;
    }

    /* Keep nav-menu as column layout in mobile view (prevents row layout during closing) */
    .intl-theme-body .navbar .nav-right .nav-menu {
        display: flex !important;
        flex-direction: column !important;
        padding: 80px 0 40px 0 !important;
        gap: 0 !important;
        align-items: flex-start !important;
        opacity: 0 !important;
        transition: none !important;
    }

    /* Remove transitions from all child elements in closed state - Wedding pages */
    .intl-theme-body .navbar .nav-right .nav-link,
    .intl-theme-body .navbar .nav-right .nav-menu * {
        transition: none !important;
    }

    /* Fade in nav-menu when menu opens */
    .intl-theme-body .navbar .nav-right.mobile-active .nav-menu {
        opacity: 1 !important;
        transition: opacity 0.2s ease 0.1s !important;
    }

    .intl-theme-body .navbar .nav-right.mobile-active {
        background-color: #ffffff !important;
        border: 1px solid #e5e5e5 !important;
        z-index: 9999 !important;
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 ;
        /* width: 50% ; */
        height: 100vh !important;
        overflow-y: auto !important;
        transform: translateX(0) !important;
        transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
        box-shadow:  0 10px 0 0 rgba(0, 0, 0, 0.9) !important;
    }

    .intl-theme-body .navbar .nav-right.mobile-active .nav-menu {
        padding: 80px 0 40px 0 !important;
        gap: 0 !important;
        align-items: flex-start !important;
    }

    .intl-theme-body .navbar .nav-right.mobile-active .nav-link:not(.btn-outline) {
        color: #000000 !important;
        font-size: 17px ;
        font-weight: 500 !important;
        padding: 18px 0 !important;
        /* padding-left: 25px !important; */
        text-align: left !important;
        border-bottom: 1px solid #000000 !important;
        border-radius: 50px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Remove border from last link on wedding pages */
    .intl-theme-body .navbar .nav-right.mobile-active .nav-link:last-child {
        border-bottom: none !important;
    }

    /* Remove border from nav button links on wedding pages */
    .intl-theme-body .navbar .nav-right.mobile-active .nav-btn,
    .intl-theme-body .navbar .nav-right.mobile-active .nav-link.nav-btn,
    .intl-theme-body .navbar .nav-right.mobile-active .btn-outline,
    .intl-theme-body .navbar .nav-right.mobile-active .nav-link.btn-outline {
        border-bottom: none !important;
    }

    /* Mobile menu button styling - Wedding/International pages */
    .intl-theme-body .navbar .nav-right.mobile-active .nav-btn > a,
    .intl-theme-body .navbar .nav-right.mobile-active .menu-item.nav-btn > a,
    .intl-theme-body .navbar .nav-right.mobile-active .nav-link.btn-outline,
    .intl-theme-body .navbar .nav-right.mobile-active a.nav-link.btn-outline {
        background: rgba(255, 255, 255, 0.1) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        border: 2px solid #000000 !important;
        border-radius: 50px !important;
        padding: 12px 30px !important;
        color: #000000 !important;
        display: inline-block !important;
        width: auto !important;
        text-align: center !important;
        margin: 10px 20px 10px 0px !important;
        font-weight: 600 !important;
    }

    /* Remove navbar border/shadow when mobile menu is open - Wedding pages */
    .intl-theme-body .navbar .nav-right.mobile-active ~ *,
    .intl-theme-body .navbar:has(.nav-right.mobile-active),
    .intl-theme-body .navbar.scrolled:has(.nav-right.mobile-active) {
        box-shadow: none !important;
        border-bottom: none !important;
    }

    /* Remove border from parent li elements to prevent double borders */
    .intl-theme-body .navbar.scrolled .nav-right.mobile-active .nav-btn,
    .intl-theme-body .navbar.scrolled .nav-right.mobile-active .menu-item.nav-btn,
    .intl-theme-body .navbar.scrolled .nav-right.mobile-active .nav-menu .nav-btn {
        border: none !important;
        background: transparent !important;
    }

    /* Override desktop scrolled button styles - apply only to anchor elements */
    .intl-theme-body .navbar.scrolled .nav-right.mobile-active .nav-btn > a,
    .intl-theme-body .navbar.scrolled .nav-right.mobile-active .menu-item.nav-btn > a,
    .intl-theme-body .navbar.scrolled .nav-right.mobile-active .nav-link.btn-outline,
    .intl-theme-body .navbar.scrolled .nav-right.mobile-active a.nav-link.btn-outline,
    .intl-theme-body .navbar.scrolled .nav-right.mobile-active .nav-menu .nav-btn > a,
    .intl-theme-body .navbar.scrolled .nav-right.mobile-active .nav-menu .nav-link.btn-outline,
    .intl-theme-body .navbar.scrolled .nav-right.mobile-active .nav-menu a.nav-link.btn-outline,
    .intl-theme-body .navbar.scrolled .nav-right.mobile-active .nav-menu .nav-link.nav-btn,
    .intl-theme-body .navbar.scrolled .nav-right.mobile-active .nav-menu a.nav-link.nav-btn {
        border: 2px solid #000000 !important;
        color: #000000 !important;
        background: rgba(255, 255, 255, 0.1) !important;
    }

    /* Keep mobile menu links BLACK when scrolled - override desktop blue links */
    .intl-theme-body .navbar.scrolled .nav-right.mobile-active .nav-link:not(.btn-outline),
    .intl-theme-body .navbar.scrolled .nav-right.mobile-active .nav-menu .nav-link:not(.btn-outline),
    .intl-theme-body .navbar.scrolled .nav-right.mobile-active .nav-link:hover:not(.btn-outline),
    .intl-theme-body .navbar.scrolled .nav-right.mobile-active .nav-menu .nav-link:hover:not(.btn-outline),
    .intl-theme-body .navbar.scrolled .nav-right.mobile-active .nav-link.active:not(.btn-outline),
    .intl-theme-body .navbar.scrolled .nav-right.mobile-active .nav-menu .nav-link.active:not(.btn-outline) {
        color: #000000 !important;
    }

    /* Disable hover effects for mobile menu buttons - Wedding pages */
    /* Must use body.intl-theme-body for higher specificity to override style.css:7053-7065 */
    body.intl-theme-body .navbar .nav-right.mobile-active .nav-btn > a:hover,
    body.intl-theme-body .navbar .nav-right.mobile-active .menu-item.nav-btn > a:hover,
    body.intl-theme-body .navbar .nav-right.mobile-active .nav-link.btn-outline:hover,
    body.intl-theme-body .navbar .nav-right.mobile-active a.nav-link.btn-outline:hover,
    body.intl-theme-body .navbar .nav-right.mobile-active .nav-menu .nav-btn > a:hover,
    body.intl-theme-body .navbar .nav-right.mobile-active .nav-menu .nav-link.btn-outline:hover,
    body.intl-theme-body .navbar .nav-right.mobile-active .nav-menu a.nav-link.btn-outline:hover,
    body.intl-theme-body .navbar.scrolled .nav-right.mobile-active .nav-btn:hover,
    body.intl-theme-body .navbar.scrolled .nav-right.mobile-active .nav-btn > a:hover,
    body.intl-theme-body .navbar.scrolled .nav-right.mobile-active .menu-item.nav-btn:hover,
    body.intl-theme-body .navbar.scrolled .nav-right.mobile-active .menu-item.nav-btn > a:hover,
    body.intl-theme-body .navbar.scrolled .nav-right.mobile-active .nav-link.btn-outline:hover,
    body.intl-theme-body .navbar.scrolled .nav-right.mobile-active a.nav-link.btn-outline:hover,
    body.intl-theme-body .navbar.scrolled .nav-right.mobile-active .nav-menu .nav-btn:hover,
    body.intl-theme-body .navbar.scrolled .nav-right.mobile-active .nav-menu .nav-btn > a:hover,
    body.intl-theme-body .navbar.scrolled .nav-right.mobile-active .nav-menu .nav-link.btn-outline:hover,
    body.intl-theme-body .navbar.scrolled .nav-right.mobile-active .nav-menu a.nav-link.btn-outline:hover,
    body.intl-theme-body .navbar.scrolled .nav-right.mobile-active .nav-btn:hover *,
    body.intl-theme-body .navbar.scrolled .nav-right.mobile-active .nav-menu .nav-btn:hover * {
        background: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border-color: inherit !important;
        color: inherit !important;
        cursor: default !important;
        pointer-events: auto !important;
        transition: none !important;
    }

    .moments-gallery-subtitle {
        font-size: clamp(14px, 4vw, 16px);
        text-align: left;
    }

    /* Ensure overlay is below mobile menu */
    .mobile-menu-overlay {
        z-index: 9998 !important;
    }
}

@media (max-width: 428px) {
    .intl-theme-body .navbar .nav-right.mobile-active {
        width: 66% !important; 
    }
}

/* Wedding pages mobile menu responsive adjustments for tablets (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .intl-theme-body .navbar .nav-right.mobile-active .nav-link {
        font-size: 25px ;
        padding: 20px 0 !important;
        padding-left: 00px !important;
    }

    .intl-theme-body .navbar .nav-right.mobile-active .nav-menu {
        padding: 20px 0 50px 30px !important;
    }
}

/* Wedding pages mobile menu responsive adjustments for large phones (428px - 767px) */
@media (min-width: 428px) and (max-width: 767px) {
    .intl-theme-body .navbar .nav-right.mobile-active .nav-link {
        font-size: 16px !important;
        padding: 16px 0 !important;
        padding-left: 0px !important;
    }
    .intl-theme-body .navbar .nav-right.mobile-active .nav-link:not(.btn-outline) {
        font-size: 16px !important;
       
    }

    .intl-theme-body .navbar .nav-right.mobile-active .nav-menu {
        padding: 40px 0 40px 20px !important;
    }
}

/* Wedding pages mobile menu responsive adjustments for iPhone 14 (390px - 427px) */
@media (min-width: 390px) and (max-width: 427px) {
    .intl-theme-body .navbar .nav-right.mobile-active .nav-link {
        font-size: 15px !important;
        padding: 15px 0 !important;
        padding-left: 0px !important;
    }

    .intl-theme-body .navbar .nav-right.mobile-active .nav-menu {
        padding: 20px 0 35px 20px !important;
    }
}

/* Wedding pages mobile menu responsive adjustments for iPhone SE (375px - 389px) */
@media (min-width: 375px) and (max-width: 389px) {
    .intl-theme-body .navbar .nav-right.mobile-active .nav-link {
        font-size: 14px !important;
        padding: 14px 0 !important;
        padding-left: 0px !important;
    }

    .intl-theme-body .navbar .nav-right.mobile-active .nav-menu {
        padding: 30px 0 30px 20px !important;
    }
}

/* Wedding pages mobile menu responsive adjustments for very small phones (320px - 374px) */
@media (max-width: 374px) {
    .intl-theme-body .navbar .nav-right.mobile-active .nav-link {
        font-size: 13px !important;
        padding: 13px 0 !important;
        padding-left: 16px !important;
    }

    .intl-theme-body .navbar .nav-right.mobile-active .nav-menu {
        padding: 60px 0 30px 10px !important;
    }
}

/* iPhone SE / Small Mobile (375px) */
@media (max-width: 375px) {
    .moments-gallery-container {
        padding: 0 14px;
    }
    
    .moments-gallery-grid {
        gap: 20px !important;
    }
    
    .filter-btn {
        padding: 6px 12px;
        font-size: 11px;
        gap: 4px;
    }
    
    .filter-btn i {
        font-size: 9px;
    }
}

/* Very Small Mobile (320px) */
@media (max-width: 320px) {
    .moments-gallery-section {
        padding: 40px 0;
    }
    
    .moments-gallery-container {
        padding: 0 12px;
    }
    
    .moments-gallery-header {
        margin-bottom: 30px;
    }
    
    .moments-gallery-title {
        font-size: 22px;
        line-height: 1.3;
    }
    
    .moments-gallery-subtitle {
        font-size: 14px;
    }
}


/* ===== INTERNATIONAL WEDDING PLANNER FORM STYLES ===== */
.intl-wedding-planner-section {
    padding: 50px 0;
    position: relative;
   
}

.intl-wedding-planner-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
}

/* Ring Image Styling */
.intl-wedding-planner-ring {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.intl-wedding-planner-ring-img {
    width: 200px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

/* Content Styling */
.intl-wedding-planner-content {
    border-radius: 20px;
    padding: 80px 60px 60px 60px;
    position: relative;
    border: none;
}

.intl-wedding-planner-title {
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 400;
    color: #000000;
    text-align: center;
    margin-bottom: 12px;
    line-height: 1.2;
}

.intl-wedding-planner-subtitle {
    font-size: clamp(16px, 1.4vw, 18px);
    color: #000000;
    text-align: center;
    margin-bottom: 50px;
    font-weight: 400;
}

/* Form Styling */
.intl-wedding-planner-form {
    width: 100%;
}

.intl-form-row {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    align-items: baseline;
}

.intl-form-group {
    display: flex;
    flex-direction: column;
}

.intl-form-group-third {
    flex: 1;
}

.intl-form-group-full {
    flex: 1;
    width: 100%;
}

.intl-form-label {
    font-size: 14px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 8px;
    display: block;
}

.required {
    color: #e74c3c;
    font-weight: 700;
}

.intl-form-input,
.intl-form-select,
.intl-form-textarea {
    width: 100%;
    padding: 16px 20px;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    color: #000000;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
    font-family: "Poppins", sans-serif;
    outline: none;
}

.intl-form-input:focus,
.intl-form-select:focus,
.intl-form-textarea:focus {
    background-color: #ffffff;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.1);
}

.intl-form-input::placeholder,
.intl-form-textarea::placeholder {
    color: #999999;
    font-weight: 400;
}

.intl-form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns=http://www.w3.org/2000/svg viewBox=0 0 24 24 fill=none stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round%3e%3cpolyline points=6,9 12,15 18,9%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-right: 50px;
}

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

/* Submit Button */
.intl-form-submit {
    text-align: center;
    margin-top: 0px;
    position: relative;
}

.intl-wedding-planner-btn {
    background: transparent;
    border: 2px solid #000000;
    border-radius: 25px;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 600;
    color: #000000;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: "Poppins", sans-serif;
    outline: none;
    position: relative;
}

.intl-wedding-planner-btn:hover {
    background: #000000;
    color: #ffffff;
}

.intl-wedding-planner-btn:active {
    transform: none;
}

/* SPINNER - Positioned to appear inside button on right side */
.intl-wedding-planner-section .wpcf7 .wpcf7-spinner {
    position: absolute !important;
    left: 50% !important;
    margin-left: 50px !important;
    top: 60% !important;
    margin-top: -10px !important;
    width: 20px !important;
    height: 20px !important;
    border: 3px solid rgba(0, 0, 0, 0.3) !important;
    border-top-color: #000 !important;
    border-radius: 50% !important;
    margin-bottom: 0 !important;
    margin-right: 0 !important;
    float: none !important;
    z-index: 999 !important;
    display: none !important;
    visibility: hidden !important;
}

/* Keyframe animation for spinner rotation */
@keyframes intl-wpcf7-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Show spinner and activate animation when form is submitting */
.intl-wedding-planner-section .wpcf7 form.submitting .wpcf7-spinner {
    display: block !important;
    visibility: visible !important;
    animation: intl-wpcf7-spin 0.8s linear infinite !important;
    border-color: rgba(255, 255, 255, 0.3) !important; /* White spinner for black button background */
    border-top-color: #fff !important; /* White top for visibility on black */
}

/* Button state when submitting - keep black background so white spinner is visible */
.intl-wedding-planner-section .wpcf7 form.submitting .wpcf7-submit {
    background: #000 !important;
    color: #fff !important;
    opacity: 0.9 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}

/* Validation error styles - red border for invalid fields */
.intl-wedding-planner-section .wpcf7 .wpcf7-not-valid {
    border-color: #e63946 !important;
}

.intl-wedding-planner-section .wpcf7 .wpcf7-not-valid-tip {
    font-size: 12px !important;
    margin-top: 6px !important;
    color: #e63946 !important;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .intl-wedding-planner-container {
        padding: 0 30px;
    }
    
    .intl-wedding-planner-content {
        padding: 70px 0px 0px 0px;
    }
    
    .intl-wedding-planner-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .intl-wedding-planner-section {
        padding: 80px 0;
    }
    
    .intl-wedding-planner-container {
        padding: 0 20px;
    }
    
    .intl-wedding-planner-content {
        padding: 60px 0px 40px 0px;
        border-radius: 15px;
    }
    
    .intl-wedding-planner-title {
        font-size: 28px;
    }
    
    .intl-wedding-planner-subtitle {
        font-size: 14px;
        margin-bottom: 40px;
    }
    
    .intl-form-row {
        flex-direction: column;
        gap: 20px;
        margin-bottom:12px;
    }
    
    .intl-form-group-third {
        flex: none;
        width: 100%;
    }
    
    .intl-wedding-planner-ring-img {
        width: 60px;
    }
}

@media (max-width: 480px) {
    .intl-wedding-planner-content {
        padding: 50px 0px 30px 0px;
    }
    
    .intl-wedding-planner-title {
        font-size: 24px;
    }
    
    .intl-form-input,
    .intl-form-select,
    .intl-form-textarea {
        padding: 14px 16px;
        font-size: 13px;
    }
    
    .intl-wedding-planner-btn {
        padding: 14px 30px;
        font-size: 14px;
    }
    
    .intl-wedding-planner-ring-img {
        width: 100px;
    }
}

/* ========================================
   SINGLE MOMENT PAGE STYLES
   ======================================== */

/* Moment Description Section */
.moment-description {
    margin: 30px 0;
    padding: 0;
    background: none;
}

/* Event moment description - white text */
.moment-description.event-moment-text,
.moment-description.event-moment-text p,
.moment-description.event-moment-text .description-content {
    color: #ffffff !important;
}

/* Wedding moment description - black text */
.moment-description.wedding-moment-text,
.moment-description.wedding-moment-text p,
.moment-description.wedding-moment-text .description-content {
    color: #000000 !important;
}

.moment-description h3 {
    font-size: 24px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

.description-content {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}

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

/* 4x4 Responsive Gallery Grid */
.moment-gallery-section {
    margin: 60px 0;
}

.moment-gallery-section h3 {
    font-size: 28px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 30px;
    text-align: center;
    border-bottom: 2px solid #3498db;
    padding-bottom: 15px;
}

.moment-gallery-4x4-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin: 0 auto;
    max-width: 800px;
}

.gallery-4x4-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-4x4-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.gallery-4x4-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-4x4-item:hover .gallery-4x4-image {
    transform: scale(1.05);
}

.gallery-4x4-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-4x4-item:hover .gallery-4x4-overlay {
    opacity: 1;
}

.gallery-4x4-overlay i {
    color: white;
    font-size: 24px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .moment-gallery-4x4-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .moment-gallery-4x4-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .moment-description {
        margin: 30px 0;
        padding: 20px;
    }

    .moment-description h3 {
        font-size: 20px;
    }

    .moment-gallery-section h3 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .moment-gallery-4x4-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 10px;
    }

    .gallery-4x4-item {
        border-radius: 8px;
    }

    .moment-description {
        margin: 20px 0;
        padding: 15px;
    }

    .moment-description h3 {
        font-size: 18px;
    }

    .moment-gallery-section h3 {
        font-size: 20px;
    }
}
/* Responsive Design */
@media (max-width: 1024px) {
    .moment-gallery-4x4-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .moment-gallery-4x4-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .moment-description {
        margin: 30px 0;
        padding: 20px;
    }

    .moment-description h3 {
        font-size: 20px;
    }

    .moment-gallery-section h3 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .moment-gallery-4x4-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 10px;
    }

    .gallery-4x4-item {
        border-radius: 8px;
    }

    .moment-description {
        margin: 0px 0;
        padding: 0px;
    }

    .moment-description h3 {
        font-size: 18px;
    }

    .moment-gallery-section h3 {
        font-size: 20px;
    }
}


/* Moment Title Section */
.moment-title-section {
    margin: 50px 0 30px 0;
    padding:  0;
    text-align: center;
    
}

.moment-page-title {
    font-size: 50px;
    font-weight: 400;
    margin: 0;
    line-height: 1.2;
}

/* Event moment - white text */
.moment-page-title.event-moment-text {
    color: #ffffff;
}

/* Wedding moment - black text */
.moment-page-title.wedding-moment-text {
    color: #000000;
}

@media (max-width: 768px) {
    .moment-page-title {
        font-size: 28px;
        padding-top: 5px;
    }
    
    .moment-title-section {
        margin: 0px 0;
        padding: 15px 0;
    }
}

@media (max-width: 480px) {
    .moment-page-title {
        font-size: 24px;
        padding-top: 5px;
    }
}


/* FORCE 4x4 GALLERY GRID - STRONGER STYLES */
.moment-gallery-4x4-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 15px !important;
    margin: 30px auto !important;
    max-width: 800px !important;
    width: 100% !important;
}

.gallery-4x4-item {
    position: relative !important;
    width: 100% !important;
    height: 180px !important;
    overflow: hidden !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
}

.gallery-4x4-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

/* RESPONSIVE GRID */
@media (max-width: 768px) {
    .moment-gallery-4x4-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        max-width: 500px !important;
    }

    .gallery-4x4-item {
        height: 150px !important;
    }
}


@media (max-width: 480px) {
    .moment-gallery-4x4-grid {
        grid-template-columns: repeat(1, 1fr) !important;
        max-width: 300px !important;
    }
    
    .gallery-4x4-item {
        height: 200px !important;
    }
}


/* FIXED SIZE GALLERY GRID - ALL IMAGES SAME SIZE */
.moment-gallery-4x4-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 12px !important;
    margin: 30px auto !important;
    max-width: 720px !important;
    padding: 0 !important;
}

.gallery-4x4-item {
    position: relative !important;
    width: 100% !important;
    height: 160px !important;
    overflow: hidden !important;
    border-radius: 6px !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15) !important;
    background: #f5f5f5 !important;
}

.gallery-4x4-item a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    text-decoration: none !important;
}

.gallery-4x4-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.gallery-4x4-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(0,0,0,0.5) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
}

.gallery-4x4-item:hover .gallery-4x4-overlay {
    opacity: 1 !important;
}

.gallery-4x4-overlay i {
    color: white !important;
    font-size: 20px !important;
}

/* RESPONSIVE - SMALLER SCREENS */
@media (max-width: 900px) {
    .moment-gallery-4x4-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        max-width: 540px !important;
    }
}

@media (max-width: 600px) {
    .moment-gallery-4x4-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        max-width: 360px !important;
        gap: 10px !important;
    }
    
    .gallery-4x4-item {
        height: 140px !important;
    }
}

@media (max-width: 400px) {
    .moment-gallery-4x4-grid {
        grid-template-columns: repeat(1, 1fr) !important;
        max-width: 280px !important;
    }

    .gallery-4x4-item {
        height: 200px !important;
    }
}

/* 🎯 FINAL FIX: Large Testimonial Cards for 768px screens */
@media (max-width: 768px) and (min-width: 700px) {
    /* Force testimonial cards to be large on tablet screens */
    .testimonial-card,
    .fce-voices .testimonial-card,
    .intl-theme-body .testimonial-card,
    body .fce-voices .voicesSwiper .swiper-slide .testimonial-card {
        width: 90vw ;
        max-width: 600px ;
        min-width: 400px ;
        min-height: 350px ;
        padding: 30px !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
        display: block !important;
        position: relative !important;
        /* transform: none !important; */
    }

    /* Ensure slides take full width */
    .voicesSwiper .swiper-slide {
        width: 100% ;
        max-width: 100% ;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }
}

/* ===== BLOG POST NAVIGATION ===== */
.blog-post-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 0;
    margin-top: 40px;
    border-top: 1px solid #eee;
}

.blog-nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffffcc;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 10px 15px;
}

.blog-nav-link:hover {
    color: #0066cc;
    text-decoration: none;
  
}

.blog-nav-prev {
    margin-right: auto;
}

.blog-nav-next {
    margin-left: auto;
}

.blog-nav-link i {
    font-size: 0.8rem;
}

/* Responsive Blog Navigation */
@media (max-width: 768px) {
    .blog-post-navigation {
        flex-direction: row;
        gap: 15px;
        padding: 30px 0;
    }

    .blog-nav-prev,
    .blog-nav-next {
        margin: 0;
        width: 100%;
        justify-content: center;
    }

    .blog-nav-link {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
    }
}

/* ===== BLOG POST IMAGE SIZE FIX ===== */
.post-wrapper .post-header .post-thumb img.image-responsive {
    width: 100% !important;
    height: 202px !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
}

@media (max-width: 767px) {
    .post-wrapper .post-header .post-thumb img.image-responsive {
        height: 170px !important;
    }
}

/* ===== EVENT NAVBAR MOBILE MENU FIX ===== */
/* Fix mobile menu positioning for event pages - ensure it breaks free from navbar constraints */
@media (max-width: 1024px) {
    /* Ensure navbar containers don't constrain mobile menu on event pages */
    /* Keep navbar fixed but allow overflow for mobile menu */
    body:not(.intl-theme-body) .navbar,
    body:not(.intl-theme-body) .navbar.scrolled,
    body:not(.intl-theme-body) .navbar.force-scrolled {
        overflow: visible !important;
        position: fixed !important;
    }

    body:not(.intl-theme-body) .nav-container {
        overflow: visible !important;
        position: relative !important;
    }

    /* Event pages mobile menu - default closed state */
    body:not(.intl-theme-body) .nav-right {
        width: 300px !important;
        transform: translateX(-100%) !important;
        transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s 0.5s !important;
        visibility: hidden !important;
    }

    /* Keep nav-menu as column layout (prevents row layout during closing) - Event pages */
    body:not(.intl-theme-body) .nav-right .nav-menu {
        display: flex !important;
        flex-direction: column !important;
        opacity: 0 !important;
        transition: none !important;
    }

    /* Fade in nav-menu when menu opens - Event pages */
    body:not(.intl-theme-body) .nav-right.mobile-active .nav-menu {
        opacity: 1 !important;
        transition: opacity 0.2s ease 0.1s !important;
    }

    /* Remove transitions from all child elements in closed state */
    body:not(.intl-theme-body) .nav-right .nav-link,
    body:not(.intl-theme-body) .nav-right .nav-menu * {
        transition: none !important;
    }

    /* Event pages mobile menu - active (open) state */
    body:not(.intl-theme-body) .nav-right.mobile-active {
        background-color: #ffffff !important;
        z-index: 999999 !important;
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: auto !important;
        bottom: 0 !important;
        width: 300px !important;
        height: 100vh !important;
        max-height: 100vh !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        transform: translateX(0) !important;
        transition: transform 0.5s ease !important;
        visibility: visible !important;
        /* Force override any parent positioning */
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        box-shadow: none !important;
        clip: auto !important;
        clip-path: none !important;
    }

    /* Additional override for any potential parent constraints */
    body:not(.intl-theme-body) .navbar .nav-right.mobile-active,
    body:not(.intl-theme-body) .navbar.scrolled .nav-right.mobile-active,
    body:not(.intl-theme-body) .navbar.force-scrolled .nav-right.mobile-active {
        position: fixed !important;
        top: 0 !important;
        left: 0 ;
        right: auto !important;
        bottom: 0 !important;
        width: 250px ;
        height: 100vh !important;
        z-index: 999999 !important;
        background-color: #ffffff !important;
    }

    /* Event pages mobile menu content styling */
    body:not(.intl-theme-body) .nav-right.mobile-active .nav-menu {
        display: flex !important;
        flex-direction: column !important;
        padding: 80px 0 40px 0 !important;
        gap: 0 !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        height: 100% !important;
        margin: 0 !important;
        width: 100% !important;
        transition: none !important; /* Remove transition to move with container */
    }

    /* Event pages mobile menu links styling (exclude buttons) */
    body:not(.intl-theme-body) .nav-right.mobile-active .nav-link:not(.btn-outline) {
        color: rgb(0, 0, 0) !important;
        font-size: 17px !important;
        font-weight: 500 !important;
        padding: 18px 10px !important;
        padding-left: 25px !important;
        text-align: left !important;
        width: 100% !important;
        border-radius: 50px !important;
        transition: none !important; /* Remove transition to move with container */
        margin: 0 !important;
        display: block !important;
        border-bottom: 1px solid #313131 !important;
        box-sizing: border-box !important;
    }

    /* Remove border from last link on event pages */
    body:not(.intl-theme-body) .nav-right.mobile-active .nav-link:last-child {
        border-bottom: none !important;
    }

    /* Remove border from nav button links on event pages */
    body:not(.intl-theme-body) .nav-right.mobile-active .nav-btn,
    body:not(.intl-theme-body) .nav-right.mobile-active .nav-link.nav-btn,
    body:not(.intl-theme-body) .nav-right.mobile-active .btn-outline,
    body:not(.intl-theme-body) .nav-right.mobile-active .nav-link.btn-outline {
        border-bottom: none !important;
    }

    /* Mobile menu button styling - Event pages */
    body:not(.intl-theme-body) .navbar .nav-right.mobile-active .nav-btn > a,
    body:not(.intl-theme-body) .navbar .nav-right.mobile-active .menu-item.nav-btn > a,
    body:not(.intl-theme-body) .navbar .nav-right.mobile-active .nav-link.btn-outline,
    body:not(.intl-theme-body) .navbar .nav-right.mobile-active a.nav-link.btn-outline,
    body:not(.intl-theme-body) .navbar .nav-right.mobile-active .nav-menu .nav-link.btn-outline,
    body:not(.intl-theme-body) .navbar .nav-right.mobile-active .nav-menu a.nav-link.btn-outline {
        background: rgba(255, 255, 255, 0.1) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        border: 2px solid #000000 !important;
        border-radius: 50px !important;
        padding: 12px 30px !important;
        color: #000000 !important;
        display: inline-block !important;
        width: auto !important;
        text-align: center !important;
        margin: 10px 20px 10px 0px !important;
        font-weight: 600 !important;
    }

    /* Remove navbar border/shadow when mobile menu is open - Event pages */
    body:not(.intl-theme-body) .navbar .nav-right.mobile-active ~ *,
    body:not(.intl-theme-body) .navbar:has(.nav-right.mobile-active),
    body:not(.intl-theme-body) .navbar.scrolled:has(.nav-right.mobile-active) {
        box-shadow: none !important;
        border-bottom: none !important;
    }

    /* Override desktop scrolled button styles for mobile menu buttons - Event pages */
    /* Target all possible button selectors */
    body:not(.intl-theme-body) .navbar.scrolled .nav-right.mobile-active .nav-btn,
    body:not(.intl-theme-body) .navbar.scrolled .nav-right.mobile-active .nav-btn > a,
    body:not(.intl-theme-body) .navbar.scrolled .nav-right.mobile-active .menu-item.nav-btn,
    body:not(.intl-theme-body) .navbar.scrolled .nav-right.mobile-active .menu-item.nav-btn > a,
    body:not(.intl-theme-body) .navbar.scrolled .nav-right.mobile-active .nav-link.btn-outline,
    body:not(.intl-theme-body) .navbar.scrolled .nav-right.mobile-active a.nav-link.btn-outline,
    body:not(.intl-theme-body) .navbar.scrolled .nav-right.mobile-active .nav-menu .nav-btn,
    body:not(.intl-theme-body) .navbar.scrolled .nav-right.mobile-active .nav-menu .nav-btn > a,
    body:not(.intl-theme-body) .navbar.scrolled .nav-right.mobile-active .nav-menu .nav-link.btn-outline,
    body:not(.intl-theme-body) .navbar.scrolled .nav-right.mobile-active .nav-menu a.nav-link.btn-outline,
    body:not(.intl-theme-body) .navbar.scrolled .nav-right.mobile-active .nav-menu .nav-link.nav-btn,
    body:not(.intl-theme-body) .navbar.scrolled .nav-right.mobile-active .nav-menu a.nav-link.nav-btn {
        /* border: 2px solid #000000 !important; */
        color: #000000 !important;
        background: rgba(255, 255, 255, 0.1) !important;
    }

    /* Disable hover effects for mobile menu buttons - Event pages */
    /* High specificity to override any desktop hover styles */
    body:not(.intl-theme-body) .navbar .nav-right.mobile-active .nav-btn > a:hover,
    body:not(.intl-theme-body) .navbar .nav-right.mobile-active .menu-item.nav-btn > a:hover,
    body:not(.intl-theme-body) .navbar .nav-right.mobile-active .nav-link.btn-outline:hover,
    body:not(.intl-theme-body) .navbar .nav-right.mobile-active a.nav-link.btn-outline:hover,
    body:not(.intl-theme-body) .navbar .nav-right.mobile-active .nav-menu .nav-btn > a:hover,
    body:not(.intl-theme-body) .navbar .nav-right.mobile-active .nav-menu .nav-link.btn-outline:hover,
    body:not(.intl-theme-body) .navbar .nav-right.mobile-active .nav-menu a.nav-link.btn-outline:hover,
    body:not(.intl-theme-body) .navbar.scrolled .nav-right.mobile-active .nav-btn:hover,
    body:not(.intl-theme-body) .navbar.scrolled .nav-right.mobile-active .nav-btn > a:hover,
    body:not(.intl-theme-body) .navbar.scrolled .nav-right.mobile-active .menu-item.nav-btn:hover,
    body:not(.intl-theme-body) .navbar.scrolled .nav-right.mobile-active .menu-item.nav-btn > a:hover,
    body:not(.intl-theme-body) .navbar.scrolled .nav-right.mobile-active .nav-link.btn-outline:hover,
    body:not(.intl-theme-body) .navbar.scrolled .nav-right.mobile-active a.nav-link.btn-outline:hover,
    body:not(.intl-theme-body) .navbar.scrolled .nav-right.mobile-active .nav-menu .nav-btn:hover,
    body:not(.intl-theme-body) .navbar.scrolled .nav-right.mobile-active .nav-menu .nav-btn > a:hover,
    body:not(.intl-theme-body) .navbar.scrolled .nav-right.mobile-active .nav-menu .nav-link.btn-outline:hover,
    body:not(.intl-theme-body) .navbar.scrolled .nav-right.mobile-active .nav-menu a.nav-link.btn-outline:hover,
    body:not(.intl-theme-body) .navbar.scrolled .nav-right.mobile-active .nav-btn:hover *,
    body:not(.intl-theme-body) .navbar.scrolled .nav-right.mobile-active .nav-menu .nav-btn:hover * {
        background: rgba(255, 255, 255, 0.1) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        /* border: 2px solid #000000 !important; */
        border-color: #000000 !important;
        color: #000000 !important;
        cursor: default !important;
        pointer-events: auto !important;
        transition: none !important;
    }
}

/* Event pages mobile menu responsive adjustments for tablets (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    body:not(.intl-theme-body) .nav-right.mobile-active .nav-link:not(.btn-outline) {
        font-size: 23px !important;
        padding: 20px 0 !important;
        padding-left: 0px !important;
    }

    /* Remove border from nav button links on event pages */
    body:not(.intl-theme-body) .nav-right.mobile-active .nav-btn,
    body:not(.intl-theme-body) .nav-right.mobile-active .nav-link.nav-btn,
    body:not(.intl-theme-body) .nav-right.mobile-active .btn-outline,
    body:not(.intl-theme-body) .nav-right.mobile-active .nav-link.btn-outline {
        border-bottom: none !important;
    }

    body:not(.intl-theme-body) .nav-right.mobile-active .nav-menu {
        padding: 40px 0 50px 30px !important;
    }
}

/* Event pages mobile menu responsive adjustments for large phones (428px - 767px) */
@media (min-width: 428px) and (max-width: 767px) {
    body:not(.intl-theme-body) .nav-right.mobile-active .nav-link:not(.btn-outline) {
        font-size: 16px !important;
        padding: 16px 0px !important;

    }

    /* Remove border from nav button links on event pages */
    body:not(.intl-theme-body) .nav-right.mobile-active .nav-btn,
    body:not(.intl-theme-body) .nav-right.mobile-active .nav-link.nav-btn,
    body:not(.intl-theme-body) .nav-right.mobile-active .btn-outline,
    body:not(.intl-theme-body) .nav-right.mobile-active .nav-link.btn-outline {
        border-bottom: none !important;
    }

    body:not(.intl-theme-body) .nav-right.mobile-active .nav-menu {
        padding: 35px 0 40px 20px !important;
    }
}

/* Event pages mobile menu responsive adjustments for iPhone 14 (390px - 427px) */
@media (min-width: 390px) and (max-width: 427px) {
    body:not(.intl-theme-body) .nav-right.mobile-active .nav-link:not(.btn-outline) {
        font-size: 15px !important;
        padding: 15px 0 !important;
        padding-left: 0px !important;
    }

    /* Remove border from nav button links on event pages */
    body:not(.intl-theme-body) .nav-right.mobile-active .nav-btn,
    body:not(.intl-theme-body) .nav-right.mobile-active .nav-link.nav-btn,
    body:not(.intl-theme-body) .nav-right.mobile-active .btn-outline,
    body:not(.intl-theme-body) .nav-right.mobile-active .nav-link.btn-outline {
        border-bottom: none !important;
    }

    body:not(.intl-theme-body) .nav-right.mobile-active .nav-menu {
        padding: 30px 0 35px 20px !important;
    }
}

/* Event pages mobile menu responsive adjustments for iPhone SE (375px - 389px) */
@media (min-width: 375px) and (max-width: 389px) {
    body:not(.intl-theme-body) .nav-right.mobile-active .nav-link:not(.btn-outline) {
        font-size: 14px !important;
        padding: 14px 0 !important;
        padding-left: 0px !important;
    }

    /* Remove border from nav button links on event pages */
    body:not(.intl-theme-body) .nav-right.mobile-active .nav-btn,
    body:not(.intl-theme-body) .nav-right.mobile-active .nav-link.nav-btn,
    body:not(.intl-theme-body) .nav-right.mobile-active .btn-outline,
    body:not(.intl-theme-body) .nav-right.mobile-active .nav-link.btn-outline {
        border-bottom: none !important;
    }

    body:not(.intl-theme-body) .nav-right.mobile-active .nav-menu {
        padding: 30px 0 30px 20px !important;
    }
}

/* Event pages mobile menu responsive adjustments for very small phones (320px - 374px) */
@media (max-width: 374px) {
    body:not(.intl-theme-body) .nav-right.mobile-active .nav-link:not(.btn-outline) {
        font-size: 13px !important;
        padding: 13px 0 !important;
        padding-left: 16px !important;
    }

    /* Remove border from nav button links on event pages */
    body:not(.intl-theme-body) .nav-right.mobile-active .nav-btn,
    body:not(.intl-theme-body) .nav-right.mobile-active .nav-link.nav-btn,
    body:not(.intl-theme-body) .nav-right.mobile-active .btn-outline,
    body:not(.intl-theme-body) .nav-right.mobile-active .nav-link.btn-outline {
        border-bottom: none !important;
    }

    body:not(.intl-theme-body) .nav-right.mobile-active .nav-menu {
        padding: 30px 0 30px 10px !important;
    }
}


/* ===== MOMENT HOVER OVERLAY STYLES ===== */
/* Event Moments Hover Overlay */
.moment-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
    pointer-events: none;
}

.gallery-item:hover .moment-hover-overlay {
    opacity: 1;
}

.moment-hover-overlay .overlay-label {
    color: #ffffff;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    padding: 4px 12px;
    border-radius: 20px;
    
}

.moment-hover-overlay .overlay-names {
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    margin-top: 0px;
}

/* International Moments Hover Overlay */
.intl-moment-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
    pointer-events: none;
}

.intl-moment-gallery-item:hover .intl-moment-hover-overlay {
    opacity: 1;
}

.intl-moment-hover-overlay .overlay-label {
    color: #ffffff;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    padding: 4px 12px;


}

.intl-moment-hover-overlay .overlay-names {
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    margin-top: 5px;
}

/* Mobile Responsive Overlay Styles */
@media (max-width: 768px) {
    .moment-hover-overlay .overlay-label,
    .intl-moment-hover-overlay .overlay-label {
        font-size: 12px;
        padding: 3px 10px;
        margin-bottom: 6px;
    }

    .moment-hover-overlay .overlay-names,
    .intl-moment-hover-overlay .overlay-names {
        font-size: 16px;
    }
}

@media (max-width: 428px) {
    .moment-hover-overlay .overlay-label,
    .intl-moment-hover-overlay .overlay-label {
        font-size: 11px;
        padding: 2px 8px;
        margin-bottom: 5px;
    }

    .moment-hover-overlay .overlay-names,
    .intl-moment-hover-overlay .overlay-names {
        font-size: 14px;
    }
}

/* Touch device optimization */
@media (hover: none) and (pointer: coarse) {
    .moment-hover-overlay,
    .intl-moment-hover-overlay {
        opacity: 0;
        background: linear-gradient(45deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7));
    }

    .gallery-item:active .moment-hover-overlay,
    .intl-moment-gallery-item:active .intl-moment-hover-overlay {
        opacity: 1;
    }
}

/* ===== HOME PAGE GALLERY LINKS ===== */
/* Event Home Gallery Links */
.project-link,
.gallery-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
    position: relative;
}

/* Wedding Home Gallery Links */
.intl-vows-link,
.intl-vows-grid-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
    position: relative;
}

/* Ensure images fill the link container */
.project-link img,
.gallery-link img,
.intl-vows-link img,
.intl-vows-grid-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 15px;
}

/* Remove any pointer-events blocking on overlays for home page links */
.project-link .project-overlay,
.gallery-link .gallery-overlay,
.intl-vows-link .intl-vows-overlay,
.intl-vows-grid-link .intl-vows-overlay {
    pointer-events: none;
}




/* ========================================
   ULTRA-SPECIFIC FIX FOR NAV BUTTON HOVER
   (Maximum specificity to override everything)
   ======================================== */
body.intl-theme-body .navbar a.nav-link.nav-btn:hover,
body.intl-theme-body .navbar.scrolled a.nav-link.nav-btn:hover,
body.intl-theme-body .navbar .nav-menu a.nav-link.nav-btn:hover,
body.intl-theme-body .navbar.scrolled .nav-menu a.nav-link.nav-btn:hover {
    background-color: #0d2b8c !important;
    color: #ffffff !important;
    border-color: #0d2b8c !important;
}


/* ABSOLUTE NUCLEAR OPTION - Target ANY button-like nav link */
body.intl-theme-body a.nav-btn:hover,
body.intl-theme-body a.nav-link.nav-btn:hover {
    background-color: #0d2b8c !important;
    color: #ffffff !important;
    border-color: #0d2b8c !important;
}

/* ===== MOBILE MENU OVERLAY ===== */
.mobile-menu-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 9998 !important; /* Below wedding menu (9999) and event menu (999999) */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
    overflow: hidden;
}

/* Show overlay when mobile menu is active - blocks all clicks to background */
.mobile-menu-overlay.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important; /* Blocks all clicks to background content */
    cursor: pointer;
    touch-action: none; /* Prevents scrolling background on mobile */
}

/* Ensure hamburger/close button is above overlay and sidebar */
.mobile-menu-toggle {
    position: relative;
    z-index: 10000 !important; /* Above everything - hamburger always clickable */
}

/* Ensure logo is also above overlay */
.nav-logo {
    position: relative;
    z-index: 10000 !important; /* Same level as hamburger */
}

/* ===== SEPARATE MOBILE SIDEBAR MENU (NEW SYSTEM) ===== */
/* Sidebar navigation for separate mobile menus (mobile-event-menu & mobile-wedding-menu) */
#left-sidebar.sidebar-nav {
    position: fixed;
    top: 0;
    left: -100%; /* Hidden off-screen by default */
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: #ffffff; /* White background */
    z-index: 9999;
    overflow-y: auto;
    overflow-x: hidden;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.2);
    padding: 0;
}

/* When sidebar is open */
#left-sidebar.sidebar-nav.open {
    left: 0;
}

/* Sidebar menu list */
#left-sidebar.sidebar-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    padding-top: 30px; /* Space from top */
    padding-left: 10px;
    padding-right: 10px;
}

#left-sidebar.sidebar-nav ul li {
    border-bottom: 1px solid #e0e0e0;
}

/* Sidebar menu links - matching current mobile style */
#left-sidebar.sidebar-nav ul li a {
    display: block;
    padding: 15px 25px 15px 5px;
    color: #000000; /* Black text */
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

#left-sidebar.sidebar-nav ul li a:hover {
    background-color: #f5f5f5;
    text-decoration: none;
}

/* Current/active menu item */
#left-sidebar.sidebar-nav ul li.current-menu-item a,
#left-sidebar.sidebar-nav ul li.current-menu-ancestor a {
    background-color: #f0f0f0;
    font-weight: 600;
}

/* Remove border from last item */
#left-sidebar.sidebar-nav ul li:last-child {
    border-bottom: none;
}

/* Sidebar overlay - covers the RIGHT side (not covered by sidebar menu) */
.sidebar-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background-color: rgba(0, 0, 0, 0.65) !important; /* Dark overlay with blur */
    backdrop-filter: blur(5px) !important;
    -webkit-backdrop-filter: blur(5px) !important;
    z-index: 9998 !important; /* Below sidebar (9999) but above content */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    pointer-events: none; /* Allows clicks through when inactive */
    display: block !important;
}

/* When active - visible on right side, clickable to close menu */
.sidebar-overlay.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important; /* Blocks clicks and closes menu when clicked */
    cursor: pointer;
}

/* Responsive sidebar widths */
@media (max-width: 768px) {
    #left-sidebar.sidebar-nav {
        width: 75%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    #left-sidebar.sidebar-nav {
        width: 80%;
        max-width: 260px;
    }
}

/* Hide sidebar on desktop (above 1024px) */
@media (min-width: 1025px) {
    #left-sidebar.sidebar-nav {
        display: none !important;
    }
    .sidebar-overlay {
        display: none !important;
    }
}

/* Sidebar Social Icons - Matching Footer Style */
.sidebar-social-icons {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px 25px 40px;
    border-top: 1px solid #e0e0e0;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.sidebar-social-icons a {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #000000; /* Black icons to match sidebar */
    opacity: 0.85;
    border-radius: 50%;
    border: 1px solid #e0e0e0;
    transition: opacity 0.18s ease, transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.sidebar-social-icons a:hover {
    opacity: 1;
    transform: translateY(-2px);
    background-color: #000000;
    color: #ffffff;
    border-color: #000000;
}

.sidebar-social-icons i {
    font-size: 16px;
}

/* Tablet only: Reduce padding for tablets (not mobile) */
@media (max-width: 1024px) and (min-width: 768px) {
    .sidebar-social-icons {
        padding: 25px;
    }
}

/* Add padding to bottom of menu to make room for social icons */
#left-sidebar.sidebar-nav ul {
    padding-bottom: 100px; /* Space for social icons at bottom */
}

/* Hide entire navbar content (except hamburger) when mobile menu is open */
body:has(#left-sidebar.open) .navbar {
    background-color: transparent !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
    border-bottom: none !important;
    -webkit-box-shadow: none !important;
}

/* Hide logo when mobile menu is open */
.navbar:has(.nav-right.mobile-active) .nav-logo,
body:has(#left-sidebar.open) .nav-logo {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Hide nav-right (desktop menu items) when mobile menu is open */
body:has(#left-sidebar.open) .navbar .nav-right {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Hide all nav-container children except hamburger when mobile menu is open */
body:has(#left-sidebar.open) .nav-container > *:not(.mobile-menu-toggle) {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Ensure hamburger button stays visible and clickable */
body:has(#left-sidebar.open) .mobile-menu-toggle {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}
