
html {
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
    font-family: 'KoHo', sans-serif;
    
}

/* === General Styles === */
body {
    margin: 0;
    font-family: 'Proza Libre', sans-serif;
    background-color: #f8f8f8;
    color: #333;
    background-color: #fff !important;
    font-family: 'KoHo', sans-serif;
}
.c {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
  }
  
  .fade-in-section.visible {
    opacity: 1;
    transform: translateY(0);
  }
  

.fade-in-section.delay-1 { transition-delay: 0.2s; }
.fade-in-section.delay-2 { transition-delay: 0.4s; }
.fade-in-section.delay-3 { transition-delay: 0.6s; }
.fade-in-section.delay-4 { transition-delay: 0.8s; }

body:not(.home) {
    padding-top: 90px; /* Adjust to match your header height */
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Proza Libre', sans-serif !important;
}

main {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    font-family: 'Proza Libre', sans-serif !important;
}



/* === HEADER Section === */
/* === Header Styling === */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(17, 17, 17); /* Dark semi-transparent background */
    padding: 10px 20px;
    display: flex;
    justify-content: space-between; /* Ensures logo on left, menu on right */
    align-items: center;
    z-index: 1000;
    font-family: 'Proza Libre', sans-serif !important;
    
}

/* Header Container */
.header-container {
    width: 105%; /* Increase width slightly */
    max-width: 2250px; /* Adjust if needed */
    margin: auto; /* Keep it centered */
    display: flex;
    justify-content: space-between;
    align-items: center;
}


/* Adjust Logo Position */
.site-logo {
    display: flex;
    align-items: center;
    height: 40px; /* Adjust height for better centering */
    margin-top: -5px; /* Move logo up slightly */
}

.site-logo img {
    height: 55px; /* Increase logo height slightly */
}

/* Move menu and search slightly to the right */
.nav-search-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Align menu & search bar to the right */
    flex: 2; /* Ensures it takes more space */
    margin-left: auto; /* Push everything slightly right */
    padding-right: 50px; /* Adjust this value to fine-tune positioning */
    
}

/* === WordPress Menu Fixes === */
.main-nav ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 30px;
    
}



.main-nav li {
    position: relative;
}

.main-nav a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    padding: 10px 15px;
    display: inline-block;
    line-height: normal;
    vertical-align: middle;
    transition: 0.3s ease;
  }
  

.main-nav a:hover {
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
    color: #fff;
}

/* === Dropdowns === */
.main-nav .menu-item-has-children > a::after {
    content: " ▼";
    font-size: 0.6em;
}

/* DROPDOWN MENU */
.main-nav .sub-menu {
    display: none;
    position: absolute;
    background: #ffffff;
    top: 100%;
    left: 0;
    min-width: 180px;
    padding: 0.5rem 0;
    z-index: 999;
    border-radius: 8px;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.1);
}

/* List items inside dropdown */
.main-nav .sub-menu li {
    display: block;
    margin: 0;
}

/* Dropdown item style */
.main-nav .sub-menu li a {
    padding: 15px 20px;
    white-space: nowrap;
    display: block;
    font-size: 14px;
    color: #000000;
    background-color: #ffffff;
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s ease, color 0.2s ease;
}


/* Remove border for last item */
.main-nav .sub-menu li:last-child a {
    border-bottom: none;
}

/* Hover effect */
.main-nav .sub-menu li a:hover {
    background-color: #d4f0ff;
    color: #0077b6;
}

/* Show dropdown on hover */
.main-nav li:hover > .sub-menu {
    display: block;
}

/* === 3rd-Level Dropdown === */
.main-nav .sub-menu .sub-menu {
    left: auto;
    right: 100%;  /* Push it to the left instead of right */
    top: 0;
    position: absolute;
    display: none;
    background: white;
    border-radius: 5px;
    padding: 10px 0;
    z-index: 999;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.1);
}

/* Show 3rd-level menu on hover */
.main-nav .sub-menu li:hover > .sub-menu {
    display: block;
}

/* Optional: Add arrow for 3rd-level menu */
.main-nav .sub-menu .menu-item-has-children > a::after {
    content: " ▶";
    font-size: 0.6em;
    float: right;
}

/* === Search Bar === */
.search-bar {
    margin-top: 10px;
    text-align: right;
}

.search-bar input {
    width: 200px;
    padding: 5px 10px;
    border: none;
    border-radius: 20px;
    outline: none;
}
.search-bar button i:hover {
    color: #b69347; /* or any hover color */
}

/* === Search Results Page Styling === */
.search-heading {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: left;
}

.search-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 100%;
    margin: 0;
    padding: 0 50px;
}

.search-card {
    width: 100%;
    background: #ffffff;
    border-radius: 16px;
    padding: 30px 25px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    opacity: 0;
    animation: fadeUp 0.5s ease forwards;
}

.search-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

/* Layout for cards with thumbnails */
.search-card.with-thumb {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.search-content {
    flex: 1;
}

.search-thumb {
    flex-shrink: 0;
    width: 160px;
    height: 100px;
    overflow: hidden;
    border-radius: 12px;
}

.search-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}
.search-thumb {
    flex-shrink: 0;
    width: 220px;       /* increased from 160px */
    height: 130px;      /* increased from 100px */
    overflow: hidden;
    border-radius: 12px;
}
.search-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #111;
}

.search-excerpt {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}

.no-results {
    background: #fff;
    padding: 40px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

/* Tags */
.search-tags {
    margin-top: 12px;
}

.tag-badge {
    display: inline-block;
    background-color: #b69347;
    color: white;
    font-size: 13px;
    padding: 4px 10px;
    border-radius: 20px;
    margin: 4px 6px 0 0;
    font-weight: 500;
}
/* Style the Book a Meeting item in the top nav menu */
/* Fix: Only style the main "Book a Meeting" menu item */
/* Modern Book a Meeting button style */
.menu a[href*="book-a-meeting"] {
    background: none;
    border: 1px solid #fff;
    color: #fff;
    padding: 10px 15px;           /* Matches .main-nav a */
    border-radius: 8px;
    font-weight: 500;
    font-size: 16px;              /* Matches .main-nav a */
    line-height: normal;          /* Matches nav item line-height */
    display: inline-block;        /* Same as other nav links */
    vertical-align: middle;       /* Force vertical alignment */
    margin: 0;
    box-sizing: border-box;
    transition: all 0.3s ease;
  }
  

  
  .menu a[href*="book-a-meeting"]:hover {
    background-color: #ffffff;
    color: #111;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(255, 255, 255, 0.2);
  }
  
  
/* === Fade Up Animation === */
@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === Responsive Fix for Small Screens === */



.load-more-btn {
    padding: 12px 30px;
    background-color: #b69347;
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.load-more-btn:hover {
    background-color: #9f7c2e;
}

/* === Hero Section === */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}



.hero.fade-in-section {
    animation: fadeIn 1.5s ease-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.slideshow {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
}

.slide-image {
    position: absolute;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 1.5s ease-in-out, transform 6s ease-in-out;
    z-index: 1;
}

.slide-image.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.slide-image.blurred-bg {
    filter: blur(8px);
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 2;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.1));
}

.hero-content {
    z-index: 3;
    color: white;
    max-width: 90%;
    padding: 20px;
}

.hero h1 {
    font-size: 64px;
    margin-bottom: 10px;
    font-family: 'KoHo', sans-serif;
}

.hero p {
    font-size: 20px;
    margin: 4px 0 120px; /* ⬅️ adds more space below the subtitle */
    font-family: 'KoHo', sans-serif;
}

.hero .btn {
    padding: 10px 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid white;
    color: white;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: inline-block;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: -60px; /* optional: pull it up to align better with visual center */
  }
  
  /* Reuse existing button style, just tweak spacing if needed */
  .hero .book-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    background-color: #ffffff !important; /* Force solid */
    color: #111;
    font-weight: 600;
    font-size: 16px;
    border: 2px solid #fff;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 3;
    backdrop-filter: none !important; /* disable background blur */
  }
  
  .hero .book-btn:hover {
    background-color: #ffffff !important; /* Still solid on hover */
    color: #b69347;
    box-shadow: 0 0 10px rgba(182, 147, 71, 0.5);
    transform: translateY(-1px);
  }
  
  .hero .book-btn i {
    font-size: 15px;
    margin-top: 1px;
  }
  
  

.hero .btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.hero .btn:active {
    background: rgba(0, 0, 0, 0.3);
    opacity: 0.6;
}

/* Dropdown base (same as before) */
.dropdown {
    position: relative;
  }
  
  .dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    min-width: 180px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 1000;
    border-radius: 8px;
    padding: 5px 0;
    flex-direction: column;
  }
  
  .dropdown-content.show {
    display: flex;
  }
  
  .dropdown-content a {
    color: #333 !important;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  
  .dropdown-content a:hover {
    background-color: #cceffc; /* light blue */
    color: #000; /* or white (#fff) if you want it like your design */
  }
  

/* === Core Business Section === */
.core-business {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    padding: 60px 20px 60px; /* Reduced top padding to raise the boxes */

    background: 
        linear-gradient(to bottom, rgba(255,255,255,0.05) 0%, #ffffff 92%),  /* stronger white fade */
        linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.2)),       /* dark overlay */
        url('/wp-content/themes/88Event/asset/images/group-diverse-business-people-successful-teamwork-working-together-with-laptop-computer-office.jpg');
    background-size: cover;
    background-position: center top 75%;
    background-repeat: no-repeat;
    z-index: 1;
}


.core-business .box {
    max-width: 550px;
    width: 100%;
    z-index: 2;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 24px;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255,255,255,0.6);
    background-color: rgba(255, 255, 255, 0.8); /* 80% white */
}

.core-business .box:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.3), 0 0 60px rgba(255, 215, 0, 0.2);
}

.core-business .content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.core-business .icon {
    width: 80px;
    opacity: 0.7;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.core-business .box:hover .icon {
    transform: scale(1.2) rotate(10deg);
    opacity: 1;
}

.core-business .text h3 {
    margin: 0;
    font-size: 22px;
    opacity: 0.9;
}

.core-business .text p {
    margin: 5px 0 0;
    color: #666;
    font-family: 'KoHo', sans-serif;
}

.core-business .box:hover {
    transform: translateY(-10px);
}

.Welcome {
    display: flex; /* Flexbox layout for horizontal arrangement */
    justify-content: space-between; /* Space out text and image */
    align-items: center; /* Vertically center the content */
    padding: 60px; /* Add padding around the container to avoid content being too close to the screen */
    margin: 0 auto; /* Center the Welcome section on the page */
    max-width: 1300px; /* Limit the max width to prevent the content from stretching too wide */
    position: relative; /* Allows absolute positioning inside */
    overflow: visible; /* Prevents the blur from escaping */
    background-color: white; /* 🔧 Force white background */
    position: relative;
    z-index: 1;
    isolation: isolate; /* ✅ Prevent outer blur from overlapping */
    
}
.welcome-wrapper {
    background-color: #fff !important;  /* Force full white */
    width: 100%;
    padding: 60px 0; /* Optional top/bottom space */
    overflow: hidden; /* Hide outer effects if needed */
}


.Welcome .content {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Align the text to the left */
}

.Welcome .content .text {
    margin-right: 30px; /* Space between the text and image */
}

.Welcome .content .pic {
    width: 300px; /* Make the image larger */
    height: 400px; /* Make the image taller than wide */
    object-fit: cover; /* Crop the image to fit the size while maintaining its aspect ratio */
    object-position: center; /* Center the image within the box */
    margin-left: 30px; /* Space between text and image */
    border-radius: 10px;
}

/* For tighter spacing between h1 and h2 */
.Welcome .content h1 {
    margin-bottom: 10px; /* Reduce space between h1 and h2 */
    font-family: 'KoHo', sans-serif;
}

.Welcome .content h2 {
    margin-top: 0; /* Remove top margin of h2 to pull it closer to h1 */
    font-family: 'KoHo', sans-serif;
}
.Welcome .content h3 {
    font-size: 20px;
    color: #CD9D78;
    display: inline-block; /* Needed for smooth animation */
    animation: colorChange 4s infinite alternate ease-in-out, floatText 3s ease-in-out infinite;
    transition: color 1s ease-in-out;
    font-family: 'KoHo', sans-serif;
}


@keyframes colorChange {
    0% { color: #ac7269; }   /* Red */
    33% { color: #bc6d4c; }  /* Green */
    66% { color: #b08e64; }  /* Blue */
    100% { color: #85a0a7; } /* Back to Red */
}

@keyframes floatText {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
    100% {
        transform: translateY(0);
    }
}
@media (max-width: 768px) {
    .welcome-wrapper .Welcome {
        flex-direction: column !important;
        padding: 20px 16px !important;
        max-width: 100% !important;
    }

    .welcome-wrapper .Welcome .content {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        gap: 20px;
    }

    .welcome-wrapper .Welcome .content .text {
        width: 100% !important;
        margin: 0 auto !important;
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .welcome-wrapper .Welcome .content .pic {
        width: 90% !important;
        max-width: 300px;
        height: auto !important;
        margin: 0 auto;
        border-radius: 8px;
        display: block;
    }

    .welcome-wrapper .Welcome h1 {
        font-size: 1.3rem !important;
        font-family: 'KoHo', sans-serif;
    }

    .welcome-wrapper .Welcome h2,
    .welcome-wrapper .Welcome h3 {
        font-size: 1rem !important;
    }

    .welcome-wrapper .Welcome p {
        font-size: 0.95rem !important;
    }
}




/* === Footer === */
footer {
    background-color: #222;
    color: white;
    text-align: center;
    padding: 10px 0;
    margin-top: 0; /* ✅ Adjusted to remove gap */
}

.logo img {
    height: 60px;
    width: auto;
}

.site-logo {
    position: absolute;
    top: 20px; /* Adjust the top value */
    left: 20px;
    z-index: 10;
}


.site-logo img {
    height: 60px;
    width: auto;
}

.site-title {
    display: none;
}


/* Inside specific section */
.section-relative {
    position: relative; /* Ensure child stays in section */
    overflow: visible;
}

/* === Upcoming Events Section === */
#upcoming-events {
    background-image: url('/wp-content/themes/88Event/asset/images/pexels-andrey-grushnikov-223358-707667.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding-top: 80px;  /* ✅ This pushes everything down */
    padding-bottom: 80px;
}

#upcoming-events h2 {
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    margin: 0 auto 40px auto; /* push bottom spacing only */
    color: white;
    z-index: 2;
    position: relative;
}

#upcoming-events::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.1)); /* ✅ No blur */
    z-index: 0;
}


.upcoming-events-container {
    text-align: center;
    padding-top: 100px;  /* push content down */
    padding: 0;
    background: transparent;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 2;
}
.events-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two columns */
    gap: 30px; /* Reduce spacing */
    max-width: 1100px;
    margin: auto;
    align-items: stretch;
}
.event-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    background: rgba(255, 255, 255, 0.85);  /* ✅ Just light transparent white */
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease; /* ✅ Smooth transition */
    transform: translateY(0);

    /* REMOVE any blur */
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.upcoming-events-container,
.events-grid {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: transparent !important;
}
.event-card,
.upcoming-events-container {
    position: relative;
    z-index: 2;
}
.event-card:hover {

    transform: translateY(-6px); /* float up slightly */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); /* deeper shadow */
    background: rgba(255, 255, 255, 0.95); /* a bit brighter on hover */
}

.event-date-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px;
    text-align: center;
    border-radius: 5px;
    min-width: 80px; /* Ensure fixed width */
    height: 85px; /* Match height with event card */
    font-family: 'Arial', sans-serif;
    flex-shrink: 0; /* Prevents it from shrinking */
}

/* Month */
.event-month {
    font-size: 12px;
    font-weight: bold;
    color: #e16a6a;
    text-transform: uppercase;
    margin-bottom: 2px;
}

/* Day */
.event-day {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    margin-bottom: 2px;
    letter-spacing: 0.5px
}

/* Year */
.event-year {
    font-size: 12px;
    color: #777;
}
.event-details {
    flex-grow: 1;
    text-align: left;
    padding-left: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 85px; /* Ensures text stays aligned */
}
.event-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 2px;
}
/* Venue Styling */
.event-venue {
    font-size: 13px;
    color: #777;
    margin-bottom: 5px;
}
.event-venue .venue-label {
    color: #c57373;
    font-weight: bold;
}

/* Event Footer */
.event-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: auto;
}

/* Learn More Button */
.learn-more {
    display: inline-block;
    padding: 5px 10px;
    color: #225968;
    font-size: 12px;
    text-decoration: none;
    transition: 0.3s;
}

.learn-more:hover {
    color: #c57373;
    text-decoration: underline;
}

/* Line Separator */
.event-divider {
    width: 100%;
    height: 1px;
    background: rgba(0, 0, 0, 0.2);
    border: none;
    margin: 8px 0;
}




/* Background Blur Circles */
.expertise-background {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0; /* Ensures it stays behind the text */
    pointer-events: none; /* Prevents accidental interaction */
}

/* Blurry effect for circles */
.blur-circle {
    
    border-radius: 50%;
    position: absolute;
    filter: blur(60px); /* Reduce blur */
    opacity: 0.7; /* Increase visibility */
}

/* Positioning of Circles */
.red {
    width: 250px; /* Increase size */
    height: 250px;
    background-color: #fdb1b1;
    top: 20%;
    left: 0%;
}

.blue {
    width: 200px; /* Increase size */
    height: 200px;
    background-color: #9cc3ec;
    top: 15%;
    right: 10%;
}

.yellow {
    width: 120px; /* Increase size */
    height: 120px;
    background-color: #e1ce96;
    top: 30%;
    left: 30%;
    transform: translateX(-50%);
}

/* Positioning of Circles */
.red2 {
    width: 250px; /* Increase size */
    height: 250px;
    background-color: #fdb1b1;
    bottom: 40%;
    right: -10%;
}


.event-services-front h2 {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    position: relative;
    margin: 100px auto 0;
    padding-bottom: 20px;      /* 🔧 Increase bottom padding */
    margin-bottom: 40px;       /* 🔧 Increase gap below title */
}


.event-services-front h2::after {
    content: "";
    width: 60px;
    height: 4px;
    background-color: rgb(86, 86, 86);
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
}



/* === Portfolio Post Page Styling === */
.portfolio-meta {
    max-width: 1200px;
    margin: 30px auto 20px auto; /* Add top space and center horizontally */
    padding: 0 20px; /* Add left/right spacing */
}

.portfolio-section {
    display: block;
    font-style: italic;
    font-size: 14px;
    color: #CD9D78;
    margin-bottom: 5px;
    font-family: 'KoHo', sans-serif;
}

.portfolio-title {
    font-size: 32px;
    font-weight: 700;
    margin-top: 5px;
    margin-bottom: 25px;
    color: #222;
    font-family: 'KoHo', sans-serif;
}

.portfolio-slider {
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
}

.portfolio-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.portfolio-meta-bottom {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    font-size: 14px;
    color: #CD9D78;
    flex-wrap: wrap;
    padding: 0 20px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}
.social-share {
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    padding: 0 20px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 60px; /* 🔧 This adds space above the footer */
}

.social-share a {
    font-size: 18px;
    color: #333;
    transition: color 0.3s ease;
}

.social-share a:hover {
    color: #0077b6;
}

/* === Style YouTube embed inside content === */
.portfolio-text iframe {
    display: block;
    margin: 0 auto 30px;
    max-width: 100%;
    width: 800px;
    height: 450px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* === Center content inside the blog post === */
.portfolio-text {
    max-width: 960px;
    margin: 0 auto 40px;
    text-align: left;
    font-size: 16px;
    line-height: 1.8;
    font-family: 'Proza Libre', sans-serif;
}
.portfolio-text img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    object-fit: contain;
}
.divider-line {
    width: 100%;
    max-width: 1500px;
    margin: 40px auto;
    border: none;
    border-top: 2px solid #ccc; /* Light grey line */
    opacity: 0.6;
}

.portfolio-title, .portfolio-section {
    font-family: 'KoHo', sans-serif;
}

@media (max-width: 768px) {
    .portfolio-meta, .portfolio-text, .portfolio-gallery {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/*====Contact Form===*/
.contact-wrapper {
    display: flex;
    align-items: stretch; /* Makes both sides equal height */
    margin-bottom: 0;
  }
  
  
  .contact-left {
    background-color: #fff;
    padding: 60px 40px;
    flex: 1;
    min-width: 300px;
  }
  
  .contact-title {
    font-size: 36px;
    font-weight: 700;
    color: #c99666;
    margin-bottom: 10px;
    font-family: 'KoHo', sans-serif;
  }
  
  .contact-sub {
    font-size: 16px;
    color: #333;
    margin-top: -10px; /* ⬅ move it up slightly */
    margin-bottom: 20px; /* less space below */
    font-family: 'Proza Libre', sans-serif;

  }
  .contact-item {
    display: flex;
    align-items: center; /* vertically align icon and text */
    gap: 15px;
    margin-bottom: 25px;
  }
  
  .contact-icon {
    width: 26px;
    height: 26px;
    object-fit: contain;
    margin: 0;
  }
  
  
  .contact-item p {
    margin: 0;
    font-size: 15px;
    color: #000;
    font-family: 'Proza Libre', sans-serif;
  }
  
  .contact-right {
    background-size: cover;
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    position: relative;
  }

  .contact-right::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgb(255, 255, 255,0.2); /* more solid white */
    z-index: 1;
    border-radius: inherit;
  }
  
  .contact-right form {
    position: relative;
    z-index: 2;
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.3);
    width: 100%;
    max-width: 400px;
    margin-bottom: 0;
  }
  
  .contact-right h3 {
    font-size: 20px;
    margin-bottom: 20px;
    font-family: 'KoHo', sans-serif;
  }
  
  .contact-right input,
  .contact-right textarea {
    width: 100%;
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
  }
  
  .contact-sub,
.contact-item {
  padding-left: 10px; /* or 15px if you want more space */
}
.contact-right button {
    background-color: #000;
    color: #fff;
    padding: 10px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
    width: auto; /* ✅ makes the button shrink to its content */
    display: block;
    margin-top: 10px;
    margin-left: auto;  /* ✅ align right */
    margin-right: 0;
  }
  
  
  
  .contact-right button:hover {
    background-color: #333;
  }
  
  @media (max-width: 768px) {
    .contact-wrapper {
      flex-direction: column;
    }
  
    .contact-right {
      background-position: top;
    }
  }

  .success-msg {
    background-color: #d4edda;
    color: #1eaa3e;
    padding: 12px;
    border-radius: 6px;
    margin: 20px;
    font-weight: bold;
    text-align: center;
  }
  
  .error-msg {
    background-color: #f8d7da;
    color: #aa2835;
    padding: 12px;
    border-radius: 6px;
    margin: 20px;
    font-weight: bold;
    text-align: center;
  }
  
  
  
/* === Organizer Grid Layout === */
.event-organizer-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto 80px;
    padding: 0 20px;
}


/* === Dark Overlay with Text === */
.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: white;
    padding: 20px 20px 60px; /* More bottom padding for arrow */
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: visible;
}


.swiper-event-box:hover .overlay {
    height: 70%;
}

/* === Title & Description Text === */
.overlay h3 {
    font-size: 16px;
    margin-bottom: 10px;
    white-space: normal;
}

.overlay p {
    font-size: 14px;
    line-height: 1.5;
    white-space: normal;
}

/* === Arrow Button === */
.event-arrow {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    color: white;
    font-family: Arial, sans-serif;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
    z-index: 3;
}

.event-arrow:hover {
    background: white;
    color: black;
    transform: scale(1.1);
}

/* --- Custom Section Heading Style --- */
.section-heading {
    text-align: left;
    max-width: 1200px;
    margin: 100px auto 40px;
    padding: 0 20px;
}


.section-label {
    font-size: 18px;
    font-style: italic;
    color: #CD9D78; /* soft brown tone */
    margin-bottom: 8px;
    font-family: 'KoHo', sans-serif;
}

/* === Event Organizer PAGE Heading === */
.event-organizer-page-heading {
    text-align: left;
    max-width: 1200px;
    margin: 100px auto 40px;
    padding: 0 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeSlideUp 1s ease forwards;
}
@keyframes fadeSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === Organizer PAGE Heading Style === */
.event-organizer-page-heading,
.event-services-page-heading {
    text-align: left;
    max-width: 1200px;
    margin: 100px auto 40px;
    padding: 0 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeSlideUp 1s ease forwards;
}

@keyframes fadeSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.event-organizer-page-heading .section-label,
.event-services-page-heading .section-label {
    font-size: 18px;
    font-style: italic;
    color: #CD9D78;
    margin-bottom: 8px;
    font-family: 'KoHo', sans-serif;
}

.event-organizer-page-heading h2,
.event-services-page-heading h2 {
    font-size: 36px;
    font-weight: 700;
    margin: 0;
    font-family: 'KoHo', sans-serif;
    text-align: left;
}


/* === Animate Cards === */
.event-organizer-grid .swiper-event-box {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeSlideUp 1s ease forwards;
    animation-delay: 0.5s;
}

.event-organizer-grid .swiper-event-box:nth-child(2) {
    animation-delay: 0.7s;
}

.event-organizer-grid .swiper-event-box:nth-child(3),
.event-organizer-grid .swiper-event-box:nth-child(6) {
    animation-delay: 0.9s;
}

/* === Animate Services Label and Title === */
.event-organizer-page-heading .section-label,
.event-organizer-page-heading h2,
.event-services-page-heading .section-label,
.event-services-page-heading h2 {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeSlideUp 1s ease forwards;
}

.event-organizer-page-heading .section-label,
.event-services-page-heading .section-label {
    animation-delay: 0.2s;
}

.event-organizer-page-heading h2,
.event-services-page-heading h2 {
    animation-delay: 0.4s;
}

.event-organizer-page-heading .divider-line,
.event-services-page-heading .divider-line {
    animation-delay: 0.6s;
}


/* === Booking Background === */
.booking-hero-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    background-attachment: fixed;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(255,255,255,0.6)),
                url('/wp-content/themes/88Event/asset/images/smiling-businesswoman-enjoying-talk-with-colleagues-teamwork-with-laptops.jpg') center/cover no-repeat;

}
.booking-form-background {
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.1)),
                url('/wp-content/themes/88Event/asset/images/laptop.jpg') center/cover no-repeat;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: scroll;
    width: 100%;
    padding: 100px 20px 60px;
    min-height: 100vh; /* ✅ makes sure it fills the screen height */
    box-sizing: border-box; /* ✅ ensures padding is counted inside the height */
    margin-bottom: 0;
    padding: 100px 20px 0; /* 👈 Removed bottom padding */
    margin: 0;
    position: relative;
    overflow: hidden;
}
/* === Booking Form Wrapper === */
.booking-form-wrapper {
    padding: 40px 15px;
    display: flex;
    justify-content: center;
}

/* === Form Container === */
.booking-form {
    max-width: 900px;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(6px);
    padding: 25px 25px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    border: 1px solid #ccc;
    font-size: 14px;
    color: #111;
    flex: 1
}

/* === Headings === */
.booking-form-header h2.form-title {
    text-align: center;
    font-size: 20px;
    margin-bottom: 15px;
}
.booking-form form h3 {
    font-size: 16px;
    margin: 25px 0 10px;
    font-weight: 600;
    border-bottom: 1px solid #ccc;
    padding-bottom: 6px;
    color: #222;
}

/* === Form Grid (2 columns) === */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 30px;
}

/* === Label + Field row inside each cell === */
.form-pair {
    display: flex;
    align-items: center;
    gap: 12px;
}

.form-pair label {
    width: 120px;
    font-weight: 500;
    font-size: 13px;
    color: #333;
}

.form-pair input,
.form-pair select,
.form-pair textarea {
    flex: 1;
    padding: 7px 10px;
    font-size: 13px;
    border-radius: 6px;
    border: 1px solid #bbb;
    background: #fff;
    font-family: inherit;
}

/* === Full-width rows (textarea etc) === */
.form-pair.full {
    grid-column: span 2;
}

/* === Submit Button === */
.submit-button-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    width: 100%;
}
.booking-form button {
    width: auto;         /* prevent full width */
    min-width: 150px;    /* optional: define minimum width */
    padding: 8px 18px;
    background: linear-gradient(90deg, #222, #555);
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}
.booking-form button:hover {
    background: linear-gradient(90deg, #D4AF37, #FFD700);
    color: #111;
}

.booking-form .submit-button-wrapper button {
    width: fit-content;       /* Only as wide as needed */
    max-width: 200px;         /* Prevents overflow */
    padding: 10px 20px;

    background: linear-gradient(90deg, #222, #555);
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.booking-form .submit-button-wrapper button:hover {
    background: linear-gradient(90deg, #D4AF37, #FFD700);
    color: #111;
}

/* === Success Message === */
.booking-success {
    background: #d4edda;
    padding: 18px;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    text-align: center;
    font-size: 15px;
    margin-bottom: 15px;
}

/* === Mobile responsive === */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-pair {
        flex-direction: column;
        align-items: flex-start;
    }

    .form-pair label {
        width: 100%;
        margin-bottom: 5px;
    }

    .form-pair.full {
        grid-column: auto;
    }
}


/* === Hero Section === */
.booking-hero {
    min-height: 80vh;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7), rgba(0,0,0,0.3)), 
                url('/wp-content/themes/88Event/asset/images/smiling-businesswoman-enjoying-talk-with-colleagues-teamwork-with-laptops.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
}

.booking-hero .hero-content {
    color: #fff;
    max-width: 800px;
}

.booking-hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
    font-family: 'KoHo', sans-serif;
}

.booking-hero p {
    font-size: 20px;
    margin-bottom: 30px;
}

.hero-button {
    display: inline-block;
    padding: 14px 28px;
    background-color: #222;
    color: #fff;
    font-size: 18px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s;
}

.hero-button:hover {
    background-color: #444;
}
.booking-form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #222;
}

.form-subtitle {
    font-size: 18px;
    color: #666;
}

.booking-form button {
    display: block;
    width: 100%;
    margin-top: 20px;
    background: linear-gradient(90deg, #333, #555);
    transition: background 0.3s;
}

.booking-form button:hover {
    background: linear-gradient(90deg, #555, #333);
}



/* === Hamburger Menu for Mobile === */
.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: white;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1001;
}

@media (max-width: 1024px) {
    .hamburger {
        display: block; /* Show hamburger only on mobile */
    }

    .main-nav ul {
        display: none; /* Hide menu initially */
        flex-direction: column;
        align-items: center;
        background: #111;
        width: 100%;
        margin-top: 60px;
        padding: 20px 0;
        border-top: 1px solid #333;
    }

    .main-nav ul.show-menu {
        display: flex; /* Show menu when .show-menu class toggled */
    }

    .main-nav a {
        font-size: 18px;
        padding: 10px 0;
    }
    .main-nav ul li {
        padding-bottom: 0; /* tighten the gap below each item */
      }
    .nav-search-container {
        margin-top: 10px;
    }
    
    /* 🔧 Submenu: force dropdown to align left and inside screen */
    .main-nav .sub-menu {
        margin-top: -5px;
        position: relative;
        left: 0;
        top: 0;
        width: 100%;
        background: #fff;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
    }
    .main-nav li.menu-item-has-children > a {
        margin-bottom: 0; /* remove space below parent link */
      }
    .main-nav .sub-menu li a {
        padding: 12px 20px;
        font-size: 15px;
        color: #000;
        border-bottom: 1px solid #eee;
        text-align: left;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .main-nav .sub-menu li a:hover {
        background: #f1f1f1;
        color: #0077b6;
    }

    /* Align everything to left */
    .main-nav ul,
    .main-nav ul li {
        text-align: left;
        width: 100%;
    }
}

@media (max-width: 1024px) {
    /* Shrink Logo */
    .site-logo img {
        height: 40px;
    }

    /* Shrink search bar */
    .search-bar input {
        width: 140px;
        padding: 5px 10px;
        font-size: 14px;
    }

    /* Shrink search icon */
    .search-bar button i {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    /* Even smaller screen (phone) */
    .site-logo img {
        height: 32px; /* even smaller logo */
    }

    .search-bar input {
        width: 120px;
        font-size: 13px;
    }

    .search-bar button i {
        font-size: 14px;
    }
}
