:root {
    /* Updated to Deep Ocean Theme */
    --color-black: #0a0a0a;
    --color-charcoal: #1c1c1c;
    --color-gold: #2584e4; /* Now Deep Ocean Blue */
    --color-gold-light: #e6f0ff; /* Now soft Celestial Blue */
    --color-cream: #f4f7f9; /* Adjusted to a cooler tone */
    --color-white: #ffffff;
    --font-heading: 'Abril Fatface', cursive;
    --font-body: 'Jost', sans-serif;
    --transition-smooth: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --- Global Reset & Typography --- */
body {
    background-color: var(--color-white);
    color: var(--color-charcoal);
    font-family: var(--font-body);
    line-height: 1.8;
    overflow-x: hidden;
    padding-top: 0;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
}

/* Fix for Bootstrap rows causing overflow */
.row {
    --bs-gutter-x: 1.5rem;
    margin-right: 0;
    margin-left: 0;
}

/* Ensure images never exceed screen width */
img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 991px) {
    [data-aos] {
        pointer-events: none !important;
        transform: none !important;
        filter: none !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
}

@media (max-width: 767px) {
    .navbar {
        top: 0 !important;
        width: 100% !important;
        left: 0 !important;
        right: 0 !important;
    }

    .top-bar {
        display: none !important;
    }

    .page-header {
        padding: 100px 0 60px;
    }

    .service-card {
        margin: 0 10px;
    }
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-black);
}

.section-padding { padding: 100px 0; }
.bg-philosophy { background-color: var(--color-cream); }

.sub-heading {
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--color-gold);
    font-size: 0.75rem;
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
}

/* --- Navigation --- */
.navbar {
    background-color: rgba(0, 24, 63, 1);
    padding: 15px 0;
    z-index: 1000;
}

@media (max-width: 767px) {
    .navbar {
        top: 0 !important;
    }
}

.navbar-brand {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-white) !important;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-white) !important;
    margin: 0 12px;
    position: relative;
    padding-bottom: 5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--color-gold);
    transition: all 0.3s ease-in-out;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

/* --- Elegant Top Bar --- */
.top-bar {
    background-color: #02132e; 
    border-bottom: 1px solid rgba(0, 51, 102, 0.3);
    padding: 10px 0;
    font-family: var(--font-body);
}

.top-bar-info {
    display: flex;
    gap: 25px;
    margin-bottom: 0;
}

.top-bar-item {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    letter-spacing: 0.5px;
    transition: 0.3s;
}

.top-bar-item i {
    color: var(--color-gold);
    margin-right: 8px;
    font-size: 0.85rem;
}

.top-bar-item:hover {
    color: var(--color-gold);
}

.top-bar-social {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.top-bar-social a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    transition: 0.3s;
}

.top-bar-social a:hover {
    color: var(--color-gold);
}

.navbar {
    top: 41px; 
    transition: all 0.3s ease-in-out;
}

.navbar.scrolled {
    top: 0 !important;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    background-color: rgba(0, 24, 63, 0.98); 
}

@media (max-width: 991px) {
    .top-bar-social { display: none; }
    .top-bar-info { justify-content: center; gap: 15px; }
}

/* --- Buttons --- */
.btn-luxury {
    padding: 14px 35px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    border-radius: 0;
    transition: 0.4s;
    font-family: var(--font-body);
    font-size: 0.85rem;
}

.btn-black { 
    background: rgb(0, 24, 63); 
    color: white; 
    border: 1px solid var(--color-black); 
}

.btn-black:hover { 
    background: var(--color-gold); 
    border-color: var(--color-gold);
    color: var(--color-white); 
}

.btn-gold { 
    background: var(--color-gold); 
    color: white; 
    border: none; 
}

.btn-gold:hover {
    background: #FFFFFF;
}

.btn-outline-white { 
    border: 1px solid white; 
    color: white; 
    background: transparent; 
}

.btn-outline-white:hover { 
    background: white; 
    color: black; 
}

/* --- Hero & Page Headers --- */
.carousel-item { height: 100vh; background-color: var(--color-black); }
.carousel-item img { height: 100vh; object-fit: cover; opacity: 0.5; }

.carousel-caption {
    top: 0; bottom: 0; left: 0; right: 0;
    display: flex; align-items: center; justify-content: flex-start;
    text-align: left; padding: 0 10%;
}

.hero-content-box {
    border-left: 6px solid var(--color-gold);
    padding-left: 30px;
    max-width: 900px;
}

.hero-content-box h1 {
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    line-height: 1.1;
    color: var(--color-white);
}

/* .page-header {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../images/banner.jpg');
    background-size: cover;
    background-position: center;
    padding: 150px 0 100px;
    color: white;
    text-align: center;
} */

.page-header {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../images/banner.jpg');
    background-size: cover;
    background-position: center;
    padding: 180px 0 120px; /* Increased padding for taller banner */
    color: white;
    text-align: center;
    min-height: 500px; /* Increased from 400px */
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-header h1 { color: white; font-size: clamp(3rem, 8vw, 5rem); }

.breadcrumb-custom {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* --- Service Cards --- */
.service-card {
    background: var(--color-white);
    border: 1px solid #eee;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    height: 400px;
    display: flex;
    align-items: flex-end;
}

.service-card-img {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; z-index: 1; transition: transform 0.5s ease;
}

.service-card-content {
    position: relative; z-index: 3; padding: 35px; width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
}

.service-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 0;
    background: var(--color-gold); /* Hover overlay color updated to blue */
    transition: all 0.5s ease; z-index: 2; opacity: 0.4;
}

.service-card:hover::before { height: 100%; }
.service-card:hover .service-card-img { transform: scale(1.1); }
.service-card h3 { color: var(--color-white); margin-bottom: 10px; }
.service-card p { color: rgba(255,255,255,0.8); margin-bottom: 0; font-size: 0.9rem; }

/* --- Capabilities & Features --- */
.detail-item, .why-card {
    padding: 40px 30px;
    background: var(--color-white);
    border-bottom: 3px solid var(--color-gold);
    height: 100%;
    transition: 0.3s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.detail-item:hover, .why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
}

.detail-icon, .why-icon {
    font-size: 2rem;
    color: var(--color-gold);
    margin-bottom: 20px;
    display: block;
}

/* --- About Us Image Frame --- */
.about-image-frame {
    position: relative; padding-right: 25px; padding-bottom: 25px;
}
.about-image-frame img { position: relative; z-index: 2; width: 100%; }
.about-image-frame::after {
    content: ''; position: absolute; bottom: 0; right: 0;
    width: 80%; height: 80%; border: 2px solid var(--color-gold); z-index: 1;
}

/* --- Testimonials --- */
.testimonial-card {
    background: var(--color-white);
    padding: 40px;
    border-bottom: 4px solid var(--color-gold);
    height: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

/* --- Parallax Stats --- */
.stats-section {
    background: linear-gradient(rgba(0,24,63,0.85), rgba(0,3,45,0.85)), url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=2000');
    background-attachment: fixed;
    background-size: cover;
    padding: 100px 0;
    color: white;
}
.stat-number { font-size: 4rem; font-family: var(--font-heading); color: var(--color-gold); }

/* --- Footer --- */
.footer-redesign {
    background-color: rgb(0,24,63);
    color: rgba(255, 255, 255, 0.6);
    padding: 100px 0 40px;
    font-family: var(--font-body);
    border-top: 1px solid rgba(0, 51, 102, 0.2); 
}

.footer-brand-side h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--color-white);
    margin-bottom: 20px;
}

.footer-brand-side p {
    max-width: 350px;
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-nav-title {
    font-family: var(--font-heading);
    color: var(--color-gold);
    font-size: 1.1rem;
    letter-spacing: 1px;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.footer-link-list {
    list-style: none;
    padding: 0;
}

.footer-link-item {
    margin-bottom: 15px;
}

.footer-link-modern {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.4s ease;
    display: inline-block;
}

.footer-link-modern:hover {
    color: var(--color-gold);
    transform: translateX(8px);
}

/* --- Contact Styles --- */
.luxury-input {
    border-radius: 0;
    border: 1px solid #ddd;
    padding: 15px;
    font-size: 0.9rem;
    background-color: var(--color-cream);
    transition: all 0.3s ease;
}

.luxury-input:focus {
    box-shadow: none;
    border-color: var(--color-gold);
    background-color: var(--color-white);
}

.contact-info-card {
    background: var(--color-black);
    padding: 50px;
    color: var(--color-white);
}

.contact-info-card h3 {
    color: var(--color-white);
    letter-spacing: 1px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-icon {
    width: 45px;
    height: 45px;
    background: var(--color-gold);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.info-item span {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-gold);
    margin-bottom: 5px;
}

.info-item p {
    margin: 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 991px) {
    .contact-info-card { padding: 30px; }
}

.social-minimal {
    margin-top: 30px;
    display: flex;
    gap: 25px;
}

.social-minimal a {
    color: var(--color-white);
    font-size: 1.1rem;
    transition: 0.3s;
    opacity: 0.5;
}

.social-minimal a:hover {
    opacity: 1;
    color: var(--color-gold);
}

.copyright-bar {
    margin-top: 80px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.4;
}

/* --- Clients Logo Section --- */
.clients-slider-section {
    background-color: var(--color-white);
    padding: 80px 0 10px 0;
}

.client-logo-wrapper {
    padding: 20px;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(100%); /* Keeps it subtle initially */
    opacity: 0.6;
}

.client-logo {
    max-width: 140px;
    height: auto;
    transition: var(--transition-smooth);
}

.client-logo-wrapper:hover {
    filter: grayscale(0%); /* Returns original colors */
    opacity: 1;
    transform: translateY(-5px);
}

@media (max-width: 767px) {
    .client-logo {
        max-width: 100px; /* Smaller logos on mobile */
    }
    .clients-section {
        padding: 50px 0;
    }
}

/* --- Infinite Logo Slider (Scoped to prevent Hero conflicts) --- */
.clients-slider-section .logo-slider {
    overflow: hidden;
    padding: 60px 0;
    background: var(--color-white);
    position: relative;
    white-space: nowrap;
    width: 100%;
}

/* Gradient Fades for the edges */
.clients-slider-section .logo-slider::before,
.clients-slider-section .logo-slider::after {
    content: "";
    height: 100%;
    position: absolute;
    width: 150px;
    z-index: 2;
    pointer-events: none;
}

.clients-slider-section .logo-slider::before {
    left: 0;
    top: 0;
    background: linear-gradient(to right, white 0%, transparent 100%);
}

.clients-slider-section .logo-slider::after {
    right: 0;
    top: 0;
    background: linear-gradient(to left, white 0%, transparent 100%);
}

/* Scoped Track - This ensures it doesn't touch .carousel-inner */
.clients-slider-section .logo-track {
    display: flex;
    /* 16 logos * 250px width = 4000px. We double it for the loop. */
    width: 8000px; 
    animation: scrollLogos 40s linear infinite;
}

.clients-slider-section .logo-track:hover {
    animation-play-state: paused;
}

/* Scoped Slide */
.clients-slider-section .slide {
    width: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
    flex-shrink: 0; /* Prevents the slide itself from shrinking */
}

.clients-slider-section .slide img {
    width: auto;
    max-width: 160px;
    max-height: 80px; /* Ensures vertical consistency */
    filter: grayscale(100%);
    opacity: 0.5;
    transition: var(--transition-smooth);
    display: block;
}

.clients-slider-section .slide img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* Unique Animation Name to avoid conflicts */
@keyframes scrollLogos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-4000px); } /* Half of the total track width */
}

/* Mobile Responsiveness */
@media (max-width: 767px) {
    .clients-slider-section .logo-track {
        width: 4800px; /* 150px * 32 */
    }
    .clients-slider-section .slide {
        width: 150px;
        padding: 0 20px;
    }
    .clients-slider-section .slide img {
        max-width: 100px;
    }
    @keyframes scrollLogos {
        0% { transform: translateX(0); }
        100% { transform: translateX(-2400px); }
    }
}

/* --- WhatsApp Floating Button (Right Aligned) --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px; /* Moved to Right */
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(197, 160, 89, 0.6); /* Matches your Gold Theme */
}

/* Pulse Animation */
@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Mobile Adjustment */
@media (max-width: 767px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
        font-size: 28px;
    }
}