/* --- Global Overrides --- */
html { 
    font-size: 18px; 
    scroll-behavior: smooth;
}
body { 
    font-family: 'Montserrat', sans-serif; 
    background-color: #f8f9fa; 
    color: #1a1a1a; 
    overflow-x: hidden; 
    margin: 0;
}
h1, h2, h3 { font-family: 'Playfair Display', serif; }

/* --- Brand Colors --- */
:root {
    --brand-dark: #0c1e35;
    --brand-light: #f8f9fa;
}
.bg-brand { background-color: var(--brand-dark); }
.text-brand { color: var(--brand-dark); }

/* --- Navigation & Header Layering --- */
nav {
    position: sticky !important;
    top: 0;
    width: 100%;
    z-index: 9999 !important; 
    background-color: white !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* --- Navigation Dropdown --- */
.dropdown-menu {
    position: absolute;
    top: 100%; 
    left: 0;
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease-in-out;
    z-index: 10000 !important;
    background: white;
    padding: 1rem 0;
    border-top: 2px solid var(--brand-dark);
}

.group:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* --- Hero Section & Swiper Fixes --- */
.swiper { 
    width: 100%; 
    height: 85vh; 
    z-index: 5; 
}

.hero-overlay { 
    background: linear-gradient(to right, rgba(12, 30, 53, 0.85), rgba(12, 30, 53, 0.4));
    position: absolute; 
    inset: 0; 
    z-index: 10; 
    pointer-events: none; /* FIX: Allows clicking buttons underneath the overlay */
}

/* Ensure content stays ABOVE overlay */
.swiper-slide .container {
    position: relative;
    z-index: 20; 
}

.swiper-slide { 
    position: relative; 
    width: 100%; 
    height: 100%; 
    overflow: hidden; 
}

.swiper-pagination-bullet { background: #fff !important; width: 10px; height: 10px; opacity: 0.4; }
.swiper-pagination-bullet-active { opacity: 1; width: 35px; border-radius: 5px; transition: all 0.4s ease; }

/* --- Services Section Styling --- */
#services {
    background-color: #fcfdfe;
    position: relative;
    padding: 120px 0;
}

#services::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom right, #ffffff 49.5%, #f4f7fa 50%);
}

.service-card {
    background: #ffffff !important;
    border: 1px solid rgba(12, 30, 53, 0.05);
    box-shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative;
}

.service-card:hover {
    background-color: var(--brand-dark) !important;
    transform: translateY(-15px);
    box-shadow: 0 30px 60px -20px rgba(12, 30, 53, 0.3);
}

.service-card:hover * {
    color: var(--brand-light) !important;
    border-color: rgba(255,255,255,0.2);
}

.service-card .line-accent {
    height: 4px;
    background-color: var(--brand-dark);
    width: 48px;
    transition: all 0.5s ease;
    margin-bottom: 2rem;
}

.service-card:hover .line-accent {
    background-color: var(--brand-light) !important;
    width: 100% !important;
}

/* --- Footer & Icon Support --- */
.fa-x-twitter { font-weight: 400; } /* Ensures the X logo renders correctly */

/* --- Utility --- */
.container {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 1024px) {
    .-mt-32 { margin-top: 2rem; }
    .swiper { height: 60vh; }
}
.swiper-slide {
    position: relative;
    background-color: #0c1e35; /* Matches your overlay color so it's not white while loading */
    overflow: hidden;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}