  /* Custom Styles for the website */
        /* --- Core Color Variables (Essential for this section) --- */
.bg-navy { background-color: #0A2342; }
.text-navy { color: #0A2342; }
.bg-warm-gray { background-color: #F8F7F4; }
.text-gold { color: #D4AF37; }
.border-navy { border-color: #0A2342; }
      /* Modal specific styles */
 
    /* Hide scrollbar for clean carousel look */
#services-carousel::-webkit-scrollbar {
            display: none;
        }
        #services-carousel {
            -ms-overflow-style: none;  /* IE and Edge */
            scrollbar-width: none;  /* Firefox */
        }
/* --- Service Block Layout and Style --- */
.service-block-core {
    /* Base transition for all service blocks */
    transition: all 0.4s ease-in-out;
}

.service-block-white-bg {
    /* Base style for white background: Navy border on the left */
    border-left: 8px solid #0A2342;
    background-color: white;
}
        /* Apply smooth transitions for a premium feel */
        .testimonial-card {
            transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        }
        .testimonial-card:hover {
            transform: translateY(-8px);
            /* Deeper, noticeable shadow on hover, still referencing gold accent */
            box-shadow: 0 25px 50px -12px rgba(251, 191, 36, 0.25), 0 15px 15px -10px rgba(0, 0, 0, 0.1); 
        }
        /* Custom quote icon styling */
        .quote-icon {
            fill: #FBBF24; /* Use the accent-gold color */
            opacity: 0.1; /* Reduced opacity for subtlety on light background */
        }

/* Style for EVEN numbered blocks (alternating alignment) */
.service-block-white-bg:nth-child(even) {
    border-left: none;
    border-right: 8px solid #0A2342;
    text-align: right;
    padding-left: 0;
    padding-right: 1.5rem;
}
     .filter-btn {
            padding: 0.6rem 1.4rem; 
            border-radius: 9999px; /* rounded-full */
            font-weight: 600; 
            text-transform: uppercase;
            font-size: 0.875rem; /* text-sm */
            letter-spacing: 0.05em; 
            cursor: pointer;
            white-space: nowrap; 
            transition: all 0.3s ease-in-out;
            box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
        }
        .active-filter {
            background-color: #0A2342; /* bg-navy */
            color: white; /* text-white */
            border: 2px solid #0A2342; /* border-navy */
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1); 
        }

        /* Inactive State */
        .inactive-filter {
            background-color: white; /* bg-white */
            color: #0A2342; /* text-navy */
            border: 2px solid #0A2342; /* border-navy */
        }
        
        /* Inactive Hover State - Added gold highlight on hover */
        .inactive-filter:hover {
            background-color: #040624; /* bg-gold */
            color: #ffffff; /* text-navy */
            border-color: #11132e;
            box-shadow: 0 4px 6px -1px rgba(255, 255, 255, 0.3), 0 2px 4px -2px rgba(212, 175, 55, 0.2);
        }
        
/* Hover effect: Subtle warm gray background and navy shadow */
.service-block-white-bg:hover {
    background-color: #F8F7F4;
    box-shadow: 0 0 40px rgba(10, 35, 66, 0.1);
}

.service-block-white-bg:nth-child(even):hover {
    background-color: #F8F7F4;
}

/* Adjust the service number positioning for alternating layout */
.service-block-white-bg .service-number {
    /* Ensure default is left-aligned */
    margin-right: auto;
}
.service-block-white-bg:nth-child(even) .service-number {
    /* Force right alignment for even blocks */
    margin-left: auto;
    margin-right: 0;
}

        body {
            font-family: 'Merriweather', serif;
            background-color: #FFFFFF;
        }
        h1, h2, h3, h4, h5, h6, .nav-link, .cta-button {
            font-family: 'Montserrat', sans-serif;
        }
        .bg-navy { background-color: #0A2342; }
        .text-navy { color: #0A2342; }
        .bg-warm-gray { background-color: #F8F7F4; }
        .border-navy { border-color: #0A2342; }
        .cta-button {
            transition: all 0.3s ease;
        }
        .cta-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 10px rgba(0,0,0,0.15);
        }
        .nav-link {
            position: relative;
            transition: color 0.3s ease;
        }
        .nav-link::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: -4px;
            left: 50%;
            transform: translateX(-50%);
            background-color: #0A2342;
            transition: width 0.3s ease;
        }
        .nav-link:hover::after, .nav-link.active::after {
            width: 100%;
        }
        .portfolio-item:hover .portfolio-overlay {
            opacity: 1;
        }
        /* Before/After Slider Styles */
        .before-after-slider {
            position: relative;
            overflow: hidden;
        }
        .before-image {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
        }
        .slider-handle {
            position: absolute;
            top: 0;
            left: 50%;
            width: 4px;
            height: 100%;
            background-color: white;
            cursor: ew-resize;
            transform: translateX(-50%);
        }
        .slider-handle::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 40px;
            height: 40px;
            border: 2px solid white;
            border-radius: 50%;
            transform: translate(-50%, -50%);
            background-color: rgba(10, 35, 66, 0.7);
        }
         .slider-handle::after {
            content: '↔';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            color: white;
            font-size: 1.2rem;
            font-weight: bold;
        }
        section.featured-project {
  padding-top: 6rem;     /* Increase top spacing */
  padding-bottom: 7rem;  /* Increase bottom spacing */
}

.featured-project h2 {
  font-size: 3rem;       /* Bigger section heading */
  margin-bottom: 3.5rem;
}

.featured-project .max-w-4xl {
  max-width: 100%;        /* Make container wider */
}

.featured-project .before-after-slider {
  aspect-ratio: 16 / 8;  /* Taller image view */
}

.featured-project h3 {
  font-size: 2rem;
  margin-bottom: 1.25rem;
}

.featured-project p {
  font-size: 1.1rem;
  line-height: 1.75;
}

.featured-project a {
  font-size: 1.1rem;
}
  @keyframes slideIn {
    from { opacity: 0; transform: translateX(100%); }
    to { opacity: 1; transform: translateX(0); }
  }
  @keyframes slideOut {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(100%); }
  }
  .animate-slideIn { animation: slideIn 0.6s ease-out forwards; }
  .animate-slideOut { animation: slideOut 0.5s ease-in forwards; }
  
.animate-slideIn {
            animation: slideIn 0.5s ease-out forwards;
        }

        .animate-slideOut {
            animation: slideOut 0.5s ease-in forwards;
        }

        @keyframes slideIn {
            from {
                opacity: 0;
                transform: scale(0.95);
            }
            to {
                opacity: 1;
                transform: scale(1);
            }
        }

        @keyframes slideOut {
            from {
                opacity: 1;
                transform: scale(1);
            }
            to {
                opacity: 0;
                transform: scale(0.95);
            }
        }
