@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* Base Styles */

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #4a5568;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

a {
    text-decoration: none;
    color: #fff;
}

/* Utility Classes (from original custom CSS) */
.font-playfair {
    font-family: 'Playfair Display', serif;
}

.font-inter {
    font-family: 'Inter', sans-serif;
}

/* Kept for consistency, though body already uses it */

.smooth-scroll {
    scroll-behavior: smooth;
}

/* Prevent body scroll when a modal is open */
body.modal-open {
    position: fixed;
    width: 100%;
    /* overflow: hidden; is still good practice but position:fixed is the key for mobile */
}

/* Prevent body scroll when the mobile menu is open */
body.menu-open {
    position: fixed;
    width: 100%;
    overflow: hidden;
}

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

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

/* Reusable Components */
.container {
    max-width: 1280px;
    /* max-w-7xl */
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    /* px-4 */
    padding-right: 1rem;
    /* px-4 */
}

@media (min-width: 640px) {

    /* sm breakpoint */
    .container {
        padding-left: 1.5rem;
        /* sm:px-6 */
        padding-right: 1.5rem;
        /* sm:px-6 */
    }
}

@media (min-width: 1024px) {

    /* lg breakpoint */
    .container {
        padding-left: 2rem;
        /* lg:px-8 */
        padding-right: 2rem;
        /* lg:px-8 */
    }
}

.section {
    padding-top: 5rem;
    /* py-20 */
    padding-bottom: 5rem;
    /* py-20 */
    background-image: ;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    /* mb-16 */
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.25rem;
    /* text-4xl */
    font-weight: 700;
    /* font-bold */
    color: #2d3748;
    /* text-gray-800 */
    margin-bottom: 1rem;
    /* mb-4 */
}

@media (min-width: 768px) {

    /* md breakpoint */
    .section-title {
        font-size: 3rem;
        /* md:text-5xl */
    }
}

.section-subtitle {
    font-size: 1.25rem;
    /* text-xl */
    color: #4a5568;
    /* text-gray-600 */
    max-width: 48rem;
    /* max-w-3xl */
    margin-left: auto;
    margin-right: auto;
}

/* Navigation */
.navbar {
    position: fixed;
    width: 100%;
    /* New styles for floating/centered look */
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 1280px;
    /* Match the container's max-width */
    background-color: rgba(255, 255, 255, 0.1);
    /* Transparent with a slight tint */
    backdrop-filter: blur(5px);
    /* backdrop-blur-sm */
    z-index: 50;
    border-radius: 9999px;
    /* rounded-full */
    border: 1px solid rgba(255, 255, 255, 0.2);
    /* Subtle border */
}

.navbar.is-hidden {
    opacity: 0;
    transform: translate(-50%, -150%);
    /* Slide up and out of view */
    pointer-events: none;
}


.navbar-container {
    /* max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 handled by .container */
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    /* justify-between */
    align-items: center;
    /* items-center */
    padding: 0.5rem 1.5rem;
    /* Adjusted padding */
}

.logo {
    font-family: 'Playfair Display', serif;
    /* font-playfair */
}

.logo-img {
    width: 50px;
}

.nav-links {
    display: flex;
    /* hidden */
    /* New styles for centering */
    justify-content: center;
    gap: 2.5rem;
}

@media (max-width: 768px) {
    .nav-links {
        gap: 0rem;
    }
}


.nav-link {
    transition: color 0.3s ease;
    /* transition-colors */
    text-decoration: none;
    color: #fff;
}

.nav-link:hover {
    color: #2d3748;
}

.mobile-menu-button {
    display: none;
    /* Hidden by default */
    padding: 0.5rem;
    /* p-2 */
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    /* Needed for positioning icons if they were absolute */
    width: 2.5rem;
    /* Give the button a fixed size */
    height: 2.5rem;
}

/* Show the mobile menu button only on screens smaller than 768px */
@media (max-width: 767px) {
    .mobile-menu-button {
        display: block;
    }

    .nav-links {
        display: none;
    }
}

/* Add transitions for a smooth icon swap */
.menu-icon,
.close-icon {
    transition: opacity 0.3s ease, transform 0.3s ease;
    position: absolute;
    /* Allow icons to stack */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(0deg);
    /* Centered and initial rotation */
}

/* Hide the close icon by default */
.close-icon {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(-90deg);
    /* Centered and rotated out of view */
}

/* When the button is active, hide the menu icon and show the close icon */
.mobile-menu-button.active .menu-icon {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(90deg);
    /* Centered and rotated out of view */
}

/* When the button is active, show the close icon */
.mobile-menu-button.active .close-icon {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(0deg);
    /* Centered and rotated into view */
}

.mobile-menu-button.active::after {
    display: none;
    /* Remove old pseudo-element */
}

.menu-icon {
    width: 1.5rem;
    /* w-6 */
    height: 1.5rem;
    /* h-6 */
}

.mobile-menu {
    display: none;
    /* Make it a fixed overlay */
    position: fixed;
    top: 5.5rem;
    /* Push menu down below the navbar */
    left: 0;
    width: 100%;
    height: 100%;
    /* Full screen to handle clicks outside */
    z-index: 49;
    /* Just below the navbar */
}

.mobile-menu.active {
    display: flex;
    /* Use flexbox for centering */
    gap: 1rem;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* Style the overlay */
    width: 100%;
    /* Full width */
    height: calc(80vh - 5.5rem);
    /* Adjust height to account for the top offset */
    /* background-color: rgba(29, 78, 137, 0.3); */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 0 0 1.5rem 1.5rem;
    /* Rounded bottom corners */
    animation: slideDown 0.5s ease-in-out;
}

.menu-open .body-blur {
    filter: blur(8px) brightness(0.7);
    pointer-events: none;
    /* Prevent interaction with blurred content */
    user-select: none;
}

.mobile-nav-link {
    display: block;
    padding: 1rem 8rem;
    transition: color 0.3s ease;
    /* transition-colors */
    text-decoration: none;
    color: #fff;
    font-size: 1.25rem;
    /* Make links larger */
    font-weight: 500;
}

.mobile-nav-link:hover {
    border-radius: 9999px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Animation for the mobile menu */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    /* Needed to position the video and overlay */
    overflow: hidden;
    /* Ensures video doesn't overflow */
    min-height: 100vh;
    /* min-h-screen */
    display: flex;
    align-items: center;
    /* items-center */
    justify-content: center;
    /* justify-center */
    color: #fff;
    /* text-white */
    /* 
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.5) 0%, rgba(118, 75, 162, 0.5) 100%), url('../img/hero_section.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat; */
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(39, 39, 39, 0.4) 0%, rgba(255, 117, 31, 0.4) 100%);
    z-index: 1;
    /* Sits above the video but below the content */
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    /* Behind the overlay and content */
    object-fit: cover;
}

.hero-content {
    /* max-w-4xl mx-auto text-center px-4 handled by .container */
    text-align: center;
    position: relative;
    /* Ensure content is above the overlay */
    z-index: 2;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    /* font-playfair */
    font-size: 3rem;
    /* text-5xl */
    font-weight: 700;
    /* font-bold */
    margin-bottom: 1.5rem;
    /* mb-6 */
}

@media (min-width: 768px) {

    /* md breakpoint */
    .hero-title {
        font-size: 4.5rem;
        /* md:text-7xl */
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    /* text-xl */
    margin-bottom: 3rem;
    /* mb-8 */
    opacity: 0.9;
    /* opacity-90 */
}

@media (min-width: 768px) {

    /* md breakpoint */
    .hero-subtitle {
        font-size: 1.5rem;
        /* md:text-2xl */
    }
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    /* space-x-4 */
}

.btn {
    padding: 0.75rem 2rem;
    /* px-8 py-3 */
    border-radius: 9999px;
    /* rounded-full */
    font-weight: 600;
    /* font-semibold */
    transition: all 0.3s ease;
    /* transition-colors */
    cursor: pointer;
    text-decoration: none;
    text-align: center;
}

@media (hover: hover) {
    .btn:hover {
        transform: translateY(-2px) scale(1.03);
        box-shadow: 0 12px 30px rgba(255, 61, 0, 0.5);
        /* backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px); */
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.4);
    }
}

.btn:active {
  transform: scale(0.97);
  box-shadow: 0 6px 14px rgba(255, 61, 0, 0.3);
}

.btn:focus-visible {
  outline: 3px solid #ffab91;
  outline-offset: 3px;
}

.btn-color {
    background-color: #fff;
    color: #4a5568;
}

.btn-primary {
    /* text-purple-600 */

    display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0.9rem 2.2rem;
  font-size: 1rem;
  font-weight: 600;

  border: none;
  border-radius: 999px;

  cursor: pointer;
  text-decoration: none;

  box-shadow: 0 8px 20px rgba(255, 61, 0, 0.35);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  animation: pulse-white 2s infinite;
}

@keyframes pulse-white {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(255, 255, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}



@media (hover: hover) {
    .btn-primary:hover {
        background-color: #f7fafc;
        /* hover:bg-gray-100 */
    }
}

.btn-secondary {
    border: 2px solid #fff;
    /* border-2 border-white */
    
    display: inline-flex;
    align-items: center;
    justify-content: center;
    
    padding: 0.9rem 2.2rem;
    font-size: 1rem;
    font-weight: 600;
    
    color: #fff;
    /* background: linear-gradient(135deg, #1d4e89, #1d4e89); */

  border-radius: 999px;

  cursor: pointer;
  text-decoration: none;

  /* box-shadow: 0 8px 20px rgba(255, 61, 0, 0.35); */
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  /* animation: pulse 2s infinite; */
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(30, 144, 255, 0.6);
  }
  70% {
    box-shadow: 0 0 0 18px rgba(30, 144, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(30, 144, 255, 0);
  }
}


@media (max-width: 768px) {
    .hero-buttons {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .btn-secondary {
        padding: 1rem 4rem;
    }
}


/* Services Section */
.section-services {
    background-color: #f7fafc;
    /* bg-gray-50 */
}

.services-grid {
    display: grid;
    gap: 2rem;
    /* gap-8 */
}

@media (min-width: 768px) {

    /* md breakpoint */
    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        /* md:grid-cols-2 */
    }
}

@media (min-width: 768px) {

    
    .services-grid {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        gap: 2rem;
    }

    .services-grid > .service-card-container {
        grid-column: span 2;
    }

    .services-grid:has(> .service-card-container:nth-child(5)):not(:has(> .service-card-container:nth-child(6))) > .service-card-container:nth-child(1) {
        grid-column: 1 / span 2;
    }
    .services-grid:has(> .service-card-container:nth-child(5)):not(:has(> .service-card-container:nth-child(6))) > .service-card-container:nth-child(2) {
        grid-column: 3 / span 2;
    }
    .services-grid:has(> .service-card-container:nth-child(5)):not(:has(> .service-card-container:nth-child(6))) > .service-card-container:nth-child(3) {
        grid-column: 5 / span 2;
    }
    .services-grid:has(> .service-card-container:nth-child(5)):not(:has(> .service-card-container:nth-child(6))) > .service-card-container:nth-child(4) {
        grid-column: 2 / span 2;
    }
    .services-grid:has(> .service-card-container:nth-child(5)):not(:has(> .service-card-container:nth-child(6))) > .service-card-container:nth-child(5) {
        grid-column: 4 / span 2;
    }
}

.service-card-container.three-cards .service-card {
    transform-style: preserve-3d;
    transition: transform 0.6s ease-in-out;
}

.service-card-container.three-cards .card-face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 1rem;
    background-color: #fff;
}

.service-card-container.three-cards .card-face-front {
    z-index: 3;
}

.service-card-container.three-cards .card-face-list {
    z-index: 2;
    transform: rotateY(180deg);
}

.service-card-container.three-cards .card-face-gallery {
    z-index: 1;
    transform: rotateY(180deg);
}

.service-card-container.three-cards.show-list .service-card {
    transform: rotateY(-180deg);
}

.service-card-container.three-cards.show-gallery .service-card {
    transform: rotateY(-180deg);
}

.service-card-container.three-cards.show-gallery .card-face-list {
    transform: rotateY(180deg);
}

.service-card-container.three-cards.show-gallery .card-face-gallery {
    transform: rotateY(0);
}

.service-card-container.three-cards.show-gallery .card-face-list {
    transform: rotateY(180deg);
}

.service-card-container.three-cards.show-gallery .card-face-gallery {
    transform: rotateY(0);
}

/* Service Card Flip */
.service-card-container {
    perspective: 1500px;
    min-height: 420px;
    /* Adjusted height for content */
}

.service-card {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
    border-radius: 1rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    /* Ensure a solid background for both sides */
}

.service-card.is-flipped {
    transform: rotateY(180deg);
}

.service-card-front,
.service-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    /* Safari */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 1rem;
    background-color: #fff;
}

.service-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    /* Safari */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 1rem;
    background-color: #fff;
}

.service-card-front {
    z-index: 1;
    display: flex;
    /* Set initial display property */
    padding: 0;
    /* Remove padding from the card front itself */
    align-items: stretch;
    /* Allow children to stretch full width */
    /* text-align: left; */
}

/* This pseudo-element creates the gradient overlay */
.service-card-front::after {
    content: '';
    transition: visibility 0s linear 0.4s;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    /* Adjust height of the gradient */
    background: linear-gradient(to bottom, transparent 0%, white 40%);
    border-radius: 1rem;
    z-index: 1;
}

.service-card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 85%;
    object-fit: cover;
    border-radius: 1rem;
    z-index: 0;
}

.service-card-container.slideshow-active .service-card-img {
    display: block; /* Show when active */
}

.service-card-content {
    position: relative;
    z-index: 2;
    /* Ensure content is above the gradient */
    transition: visibility 0s linear 0.4s;
    margin-top: auto;
    /* Pushes content block to the bottom */
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: 55%;
    /* Give the content area a consistent height */
}

.service-card.is-flipped .service-card-front {
    /* After flip animation, hide the front completely */
    display: none;
}

.service-card.is-flipped .service-card-back {
    z-index: 2;
}

.service-card-back {
    transform: rotateY(180deg);
    z-index: 1;
    justify-content: center;
    padding: 2rem;
    overflow: hidden;
}

.flip-btn {
    background: none;
    border: none;
    color: #1d4e89;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Inter', sans-serif;
}

.flip-btn-more {
    margin-top: auto;
    /* Pushes the button to the bottom */
}

@media (hover: hover) {
    .flip-btn:hover {
        text-decoration: underline;
    }
}

.back-btn {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
}

/* --- Event List Styles (Nested Portfolio) --- */
.events-list {
    /* display: flex; */
    /* flex-direction: column; */
    /* width: 100%; */
    /* margin-bottom: 2rem; */
    /* overflow-y: auto; */
    /* max-height: 250px; */
    /* padding: 0 0.5rem; */

    padding: 2rem 0 0;
    display: block;
    position: absolute;
    height: 100%;
    width: 100%;
}

.event-item-btn {
    background-color: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: #2d3748;
    transition: color 0.4s ease; /* Only transition color */
    width: 100%;
    padding: 1.2rem 1rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border-radius: 0;
    margin: 0 0 0 0;
    -webkit-tap-highlight-color: transparent;
}

.event-item-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 60%;
    width: 25%;
    height: 100%;
    transition: all 0.4s ease;
    z-index: -1;
    transform: skewX(-25deg);
    background: linear-gradient(to right, var(--btn-color), transparent);
}

@media (hover: hover) {
    .event-item-btn:hover {
        /* color: white; */
    }

    .event-item-btn:hover::after {
        left: -10%;
        width: 120%;
        background: var(--btn-color);
    }
}

.event-item-btn:active::after,
.event-item-btn:focus::after,
.event-item-btn.is-active::after {
    left: -10%;
    width: 120%;
    background: var(--btn-color);
}

/* Styles for old service cards without flip */
.services-grid>.service-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.service-icon {
    font-size: 2.25rem;
    /* text-4xl */
    margin-bottom: 1rem;
    /* mb-4 */
    transition: all 0.3s ease;
    color: #1d4e89;
}

@media (hover: hover) {
    .service-card-front:hover .service-icon,
    .services-grid>.service-card:hover .service-icon {
        transform: scale(1.1);
    }
}

.gallery-view {
    display: none;
    width: 100%;
    height: 100%;
    flex-direction: column;
    flex-grow: 1;
    overflow: hidden;
    /* align-items: center;
    justify-content: center; */
}

.service-card-title {
    font-family: 'Playfair Display', serif;
    /* font-playfair */
    font-size: 1.75rem;
    /* text-2xl */
    font-weight: 600;
    /* font-semibold */
    margin-bottom: 0.3rem;
    /* mb-4 */
}

@media (max-width: 500px) {
    .service-card-title {
        margin-bottom: 1rem;
    }
    
}

.service-card-content>.service-card-title {
    color: #2d3748;
    /* Revert title color */
}

.service-card-description {
    color: #4a5568;
    /* text-gray-600 */
    /* flex-grow: 1; */
    /* Removed to prevent inconsistent title positions */
}

.service-card-content>.service-card-description {
    flex-grow: 1;
    /* Let description take up available space */
}

.service-gallery {
    display: grid;
    grid-template-columns: repeat(var(--gallery-cols, 3), 1fr);
    gap: 0.5rem;
    width: 100%;
    margin-bottom: 3rem;
    /* Space for the back button */
    padding: 0 1rem;
}

.back-to-list-btn {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    background: none;
    border: none;
    color: #1d4e89;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Inter', sans-serif;
}

.service-gallery img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 0.5rem;
}

.scrollable-gallery {
    max-height: 250px;
    /* Adjust this height as needed */
    overflow-y: auto;
    padding-right: 0.5rem;
    /* Add some padding for the scrollbar */
}

/* Portfolio Section */
.section-portfolio {
    background-color: #fff;
    /* bg-white */
}

.portfolio-grid {
    display: grid;
    gap: 2rem;
    /* gap-8 */
}

@media (min-width: 768px) {

    /* md breakpoint */
    .portfolio-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        /* md:grid-cols-2 */
    }
}

@media (min-width: 1024px) {

    /* lg breakpoint */
    .portfolio-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        /* lg:grid-cols-3 */
    }
}

.portfolio-item {
    /* card-hover */
    padding: 1rem;
    border-radius: 1.2rem;
}

.portfolio-image-placeholder {
    height: 16rem;
    /* h-64 */
    border-radius: 0.75rem;
    /* rounded-xl */
    margin-bottom: 1rem;
    /* mb-4 */
    display: flex;
    align-items: center;
    /* items-center */
    justify-content: center;
    /* justify-center */
}

.portfolio-image-text {
    color: #fff;
    /* text-white */
    text-align: center;
}

.portfolio-icon {
    font-size: 3.75rem;
    /* text-6xl */
    margin-bottom: 0.5rem;
    /* mb-2 */
}

.portfolio-caption {
    font-size: 1.125rem;
    /* text-lg */
    font-weight: 600;
    /* font-semibold */
}

.portfolio-title {
    font-family: 'Playfair Display', serif;
    /* font-playfair */
    font-size: 1.25rem;
    /* text-xl */
    font-weight: 600;
    /* font-semibold */
    margin-bottom: 0.5rem;
    /* mb-2 */
}

.portfolio-description {
    color: #4a5568;
    /* text-gray-600 */
}

/* About Section */
.section-about {
    background-color: #f7fafc;
    /* bg-gray-50 */
}

.about-content {
    display: grid;
    align-items: center;
}

.about-text-container {
    display: grid;
    gap: 0;
    justify-content: center;
    margin-bottom: 1rem;
}


@media (min-width: 1024px) {

    /* lg breakpo int */
    .about-content {
        grid-template-columns: 50% 50%;
        /* lg:grid-cols-2 */
    }

    .about-text-container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 0 0 0 32px;
        gap: 0;

    }
}

.about-title {
    /* margin-bottom: 64px; */
    /* text-align: center; */
    /* mb-6 */
}

.about-text {
    font-size: 1.125rem;
    /* text-lg */
    color: #4a5568;
    /* text-gray-600 */
    /* margin-bottom: 2.5rem; */
    /* mb-6 */
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    /* gap-8 */
    text-align: center;
    /* text-center */
}

/* .stats-grid > div:last-child:nth-child(odd) {
    grid-column: 1 / span 2;
} */

.stat-number {
    font-size: 1.875rem;
    /* text-3xl */
    font-weight: 700;
    /* font-bold */
    color: #1d4e89;
    /* text-purple-600 */
}

.stat-label {
    color: #4a5568;
    /* text-gray-600 */
}

.about-image-placeholder {
    /* background: linear-gradient(to bottom right, #a78bfa, #ed64a6);  */
    /* height: 24rem;  */
    border-radius: 1rem;
    /* rounded-2xl */
    display: flex;
    align-items: center;
    /* items-center */
    justify-content: center;
    /* justify-center */
}

.about-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.about-image {
    object-fit: cover;
    border-radius: 1rem;
    /* max-width: 85%; */
    height: 32rem;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
    justify-content: center;
    align-items: center;
}

@media (max-width: 768px) {
    .about-image {
            /* max-width: 100%; */
            height: 30rem;
    }
}


/* Testimonials Section */
.section-testimonials {
    background-color: #fff;
    /* bg-white */
}

.testimonials-container {
    display: flex;
    overflow-x: auto;
    flex-wrap: nowrap;
    gap: 2rem;
    padding-bottom: 1rem; /* Add space for the scrollbar */
}

.testimonial-item {
    flex: 0 0 auto;
    width: 80%; /* Adjust as needed */
    max-width: 500px; /* Adjust as needed */
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    background-color: #f7fafc;
        padding: 2rem;
    border-radius: 0.75rem;
}

@media (min-width: 1024px) {
    .testimonials-container {
        overflow-x: hidden;
    }

    .testimonial-item {
        width: calc((100% - 4rem) / 3);
        max-width: none;
    }
}

@media (max-width: 768px) {
    .testimonials-container {
        display: block; /* Remove flex behavior to stack items */
        overflow-x: hidden; /* Remove horizontal scroll */
        padding-bottom: 0; /* Remove scrollbar space */
    }
    .testimonial-item {
        width: 100%; /* Take full width */
        max-width: none; /* Remove max-width constraint */
        padding: 0.3rem 1.5rem 1rem ;
        margin-bottom: 1.5rem; /* Add vertical spacing between testimonials */
    }

    .testimonial-item:last-child {
        margin-bottom: 0; /* No margin after the last item */
    }

    .testimonial-text {
        font-size: 0.85rem;
    }
}

/* Custom scrollbar for webkit browsers */
.testimonials-container::-webkit-scrollbar {
    height: 8px;
}

.testimonials-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.testimonials-container::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.testimonials-container::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.testimonial-card {
    background-color: #f7fafc;
    border-radius: 0.75rem;
}

.testimonial-gallery {
    /* display: grid; */
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    display: none;
}

.testimonial-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.testimonial-rating {
    color: #d4a520;
    /* text-yellow-400 */
    font-size: 1.5rem;
    /* text-2xl */
    margin-bottom: 1rem;
    /* mb-4 */
}

.testimonial-rating wa-icon {
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .testimonial-rating {
        margin-bottom: 0.4rem;
    }

    .testimonial-rating wa-icon {
        font-size: 1rem;
    }
}


.testimonial-text {
    color: #4a5568;
    /* text-gray-600 */
    margin-bottom: 1.5rem;
    /* mb-6 */
}

@media (max-width: 768px) {
    .testimonial-text {
        margin-bottom: 0.4rem;
    }
}

.testimonial-author-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.testimonial-author {
    font-weight: 600;
    /* font-semibold */
}

@media (max-width: 768px) {
    .testimonial-author-container {
        font-size: 0.9rem;
    }
}

.testimonial-role {
    color: #a0aec0;
    /* text-gray-500 */
}

.testimonial-action {

}

@media (max-width: 768px) {
    .testimonial-action {
        /* position: absolute;

        top: center;
        right: 0; */
    }
}

.btn-testimonial {
    background: none;
    color: inherit;
    border-radius: 50%;
    border-color: inherit;
}

.btn-testimonial wa-icon {
    pointer-events: none;
}

/* Contact Section */
.section-contact {
    background-color: #1a202c;
    /* bg-gray-900 */
    /* background: linear-gradient(135deg, rgba(39, 39, 39, 0.4) 0%, rgba(255, 117, 31, 0.4) 100%); */
    color: #fff;
    /* text-white */
}

.contact-title {
    color: #fff;
    /* text-white */
}

.contact-subtitle {
    color: #e2e8f0;
    /* text-gray-300 */
}

.contact-content {
    display: grid;
    gap: 3rem;
    /* gap-12 */
}

@media (min-width: 1024px) {

    /* lg breakpoint */
    .contact-content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        /* lg:grid-cols-2 */
    }
}

.contact-info-title {
    font-family: 'Playfair Display', serif;
    /* font-playfair */
    font-size: 1.5rem;
    /* text-2xl */
    font-weight: 600;
    /* font-semibold */
    margin-bottom: 1.5rem;
    /* mb-6 */
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    /* space-y-4 */
}

.contact-info-item {
    display: flex;
    align-items: center;
    /* items-center */
}

.contact-icon {
    font-size: 1.5rem;
    /* text-2xl */
    margin-right: 1rem;
    /* mr-4 */
}

.contact-label {
    font-weight: 600;
    /* font-semibold */
}

.contact-value {
    color: #e2e8f0;
    /* text-gray-300 */
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    /* space-y-6 */
}

.form-row {
    display: grid;
    gap: 1.5rem;
    /* gap-6 */
}

@media (min-width: 768px) {

    /* md breakpoint */
    .form-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        /* md:grid-cols-2 */
    }
}

.form-label {
    display: block;
    font-size: 0.875rem;
    /* text-sm */
    font-weight: 500;
    /* font-medium */
    margin-bottom: 0.5rem;
    /* mb-2 */
    color: #fff;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    height: auto;
    /* w-full */
    padding: 0.75rem 1rem;
    /* px-4 py-3 */
    background-color: #2d3748;
    /* bg-gray-800 */
    border: 1px solid #4a5568;
    /* border border-gray-700 */
    border-radius: 0.5rem;
    /* rounded-lg */
    color: #fff;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    box-shadow: 0 0 0 2px #1d4e89;
    /* focus:ring-2 focus:ring-purple-500 */
    border-color: transparent;
    /* focus:border-transparent */
}

.form-textarea {
    resize: vertical;
}

.btn-submit {
    width: 100%;
    /* w-full */
    /* background-color: #DE5B00; */
    /* background-color: #fff; */
    /* bg-purple-600 */
    padding: 1.6rem 0;
    /* px-8 py-3 */
    border-radius: 0.5rem;
    /* rounded-lg */
    font-weight: 600;
    /* font-semibold */
    transition: all 0.3s ease;
    /* transition-colors */
    border: none;
    cursor: pointer;
}

/* Footer */
.footer {
    background-color: #000;
    /* bg-black */
    color: #fff;
    /* text-white */
    padding-top: 3rem;
    /* py-12 */
    padding-bottom: 3rem;
    /* py-12 */
}

.footer-grid {
    display: grid;
    gap: 2rem;
    /* gap-8 */
}

@media (min-width: 768px) {

    /* md breakpoint */
    .footer-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        /* md:grid-cols-4 */
    }
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    /* font-playfair */
    font-size: 1.5rem;
    /* text-2xl */
    font-weight: 700;
    /* font-bold */
    margin-bottom: 1rem;
    /* mb-4 */
}

.footer-text {
    color: #a0aec0;
    /* text-gray-400 */
}

.footer-heading {
    font-weight: 600;
    /* font-semibold */
    margin-bottom: 1rem;
    /* mb-4 */
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    /* space-y-2 */
    color: #a0aec0;
    /* text-gray-400 */
}

.footer-links li {
    margin: 0;
}

.social-links {
    display: flex;
    gap: 1rem;
    /* space-x-4 */
}

@media (hover: hover) {
    .social-link:hover {
        color: #fff;
        /* hover:text-white */
    }
}

.footer-bottom {
    border-top: 1px solid #2d3748;
    /* border-t border-gray-800 */
    margin-top: 2rem;
    /* mt-8 */
    padding-top: 2rem;
    /* pt-8 */
    text-align: center;
    /* text-center */
    color: #a0aec0;
    /* text-gray-400 */
}

/* --- Image Lightbox Modal --- */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1000;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.9);
    /* Black w/ opacity */
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.modal-content-wrapper {
    position: relative;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 800px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    display: block;
    max-width: 100%;
    max-height: 90vh;
    border-radius: 8px;
}

/* Close Button */
.close-btn {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 1001;
}

.close-btn:hover,
.close-btn:focus {
    color: #bbb;
    text-decoration: none;
}

/* Next & previous buttons */
.prev-btn,
.next-btn {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.3s;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.3);
}

.next-btn {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev-btn {
    left: 0;
    border-radius: 0 3px 3px 0;
}









.events-list-view {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}





.testimonial-gallery img {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
}

/* --- New Slideshow Styles --- */
.slideshow-toggle-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.7);
    border: none;
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    cursor: pointer;
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease;
}

.slideshow-toggle-btn:hover {
    background: rgba(255, 255, 255, 1);
}

.slideshow-toggle-btn wa-icon {
    font-size: 1.2rem;
    color: #2d3748;
}

.service-card-front picture {
    display: block;
}

.service-card-container.slideshow-active .service-card-front picture {
    display: block; /* Show when active */
}





body.alert-open {
    overflow: hidden;
}

.contact-alert {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.contact-alert.is-visible {
    display: flex;
}

.contact-alert__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.contact-alert__dialog {
    position: relative;
    width: min(360px, 100%);
    border-radius: 1rem;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    text-align: center;
    padding: 0 1.25rem 1.4rem;
    z-index: 1;
}

.contact-alert__dialog::before {
    content: "";
    display: block;
    height: 120px;
    margin: 0 -1.25rem;
    background: #1a202c;
    background-image:
        radial-gradient(white, rgba(255,255,255,.2) 0.1px, transparent 3px),
        radial-gradient(white, rgba(255,255,255,.15) 0.2px, transparent 2px),
        radial-gradient(white, rgba(255,255,255,.1) 0.1px, transparent 3px),
        radial-gradient(white, rgba(255,255,255,.1) 0.1px, transparent 3px),
        radial-gradient(white, rgba(255,255,255,.1) 0.1px, transparent 1px),
        radial-gradient(white, rgba(255,255,255,.1) 0.2px, transparent 3px),
        radial-gradient(white, rgba(255,255,255,.1) 0.1px, transparent 2px);
    background-size: 100px 100px, 90px 90px, 50px 50px, 70px 70px, 30px 30px, 80px 80px, 130px 130px;
    background-position: 0 0, 40px 60px, 10px 10px;
}

.contact-alert__close {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
}

.contact-alert__icon {
    width: 5.2rem;
    height: 5.2rem;
    border-radius: 50%;
    margin: -2.6rem auto 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    font-weight: 700;
}

.contact-alert.is-success .contact-alert__icon {
    background: #2f855a;
}

.contact-alert.is-error .contact-alert__icon {
    background: #c53030;
}

.contact-alert__title {
    margin: 0 0 0.45rem;
    color: #1a202c;
    font-weight: 700;
}

.contact-alert__text {
    margin: 0;
    color: #4a5568;
}



/*  */

