@import url('https://fonts.googleapis.com/css2?family=Marcellus&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #bf8615;
    --primary-light: #d4a03a;
    --primary-soft: rgba(191, 134, 21, 0.08);
    --secondary: #0f172a;
    --dark: #020617;
    --accent: #f8fafc;
    --white: #ffffff;
    --text: #334155;
    --text-light: #64748b;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-premium: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text);
    background-color: var(--white);
    line-height: 1.8;
}

h1,
h2,
h3,
h4,
.display-font {
    font-family: 'Marcellus', serif;
    color: var(--secondary);
}

/* --- Separate Top Bar & Header --- */
.top-bar {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.top-bar i {
    color: var(--primary);
}

.top-certifications {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.top-certifications span {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding-right: 20px;
}

.top-certifications span:last-child {
    border-right: none;
    padding-right: 0;
}

.main-header {
    background: var(--white);
    padding: 20px 0;
    transition: var(--transition);
    z-index: 1000;
}

.main-header.sticky-top {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 12px 0;
}

.nav-link {
    font-weight: 700;
    color: var(--secondary) !important;
    text-transform: capitalize;
    font-size: 0.9rem;
    /* Slightly smaller to fit everything */
    letter-spacing: 0.1px;
    margin: 0 2px;
    /* Minimal margin to keep items close and on one line */
    padding: 8px 12px !important;
    position: relative;
    transition: var(--transition);
    border-radius: 12px;
    white-space: nowrap;
    /* Forces names onto the same line */
}

.nav-link:hover {
    color: var(--primary) !important;
    background: var(--primary-soft);
}

.nav-link i {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-right: 8px;
}

/* Dropdown Premium Styles */
.dropdown-menu {
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    border-radius: 20px !important;
    padding: 15px !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
    animation: slideUpFade 0.4s easeOut;
    margin-top: 10px !important;
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

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

.dropdown-item {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
    padding: 10px 20px !important;
    border-radius: 12px;
    transition: var(--transition);
}

.dropdown-item:hover {
    background: var(--primary-soft);
    color: var(--primary);
    transform: translateX(5px);
}

.dropdown-toggle::after {
    border: none;
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    vertical-align: middle;
    margin-left: 5px;
    font-size: 0.8rem;
    transition: var(--transition);
}

.dropdown.show .dropdown-toggle::after {
    transform: rotate(180deg);
}

/* --- Slide Section --- */
.hero-slider-container {
    padding: 20px 0;
    /* Separation from header */
    background: var(--accent);
}

.hero-slider-wrap {
    border-radius: 40px;
    overflow: hidden;
    position: relative;
    height: 550px;
}

.carousel-item {
    height: 550px;
}

.carousel-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.carousel-caption-custom {
    position: absolute;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
    z-index: 10;
    color: var(--white);
    max-width: 700px;
}

.carousel-caption-custom h1 {
    font-size: 4.5rem;
    color: var(--white);
    margin-bottom: 25px;
    line-height: 1.1;
}

/* --- Counters Section --- */
.counter-box {
    margin-top: -80px;
    position: relative;
    z-index: 20;
}

.stat-card-luxury {
    background: var(--white);
    padding: 30px;
    border-radius: 30px;
    box-shadow: var(--shadow-premium);
    border: 1px solid rgba(0, 0, 0, 0.02);
    text-align: center;
    transition: var(--transition);
}

.stat-card-luxury:hover {
    transform: translateY(-10px);
    border-color: var(--primary-soft);
}

.stat-card-luxury h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0px;
}

/* --- Modern Services --- */
.service-icon-wrap {
    width: 100px;
    height: 100px;
    background: var(--primary-soft);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    transition: var(--transition);
}

.service-card-lux {
    padding: 35px;
    border-radius: 30px;
    background: var(--white);
    border: 1px solid #f1f5f9;
    transition: var(--transition);
    height: 100%;
}

.service-card-lux h4 {
    font-size: 1.25rem !important;
}

.service-card-lux:hover {
    box-shadow: var(--shadow-premium);
    background: var(--secondary);
}

.service-card-lux:hover h4,
.service-card-lux:hover p {
    color: var(--white);
}

.service-card-lux:hover .service-icon-wrap {
    background: var(--primary);
}

.service-card-lux:hover .service-icon-wrap i {
    color: var(--white) !important;
}

/* --- CEO Section Modernized --- */
.ceo-section-new {
    padding: 60px 0;
    background-color: #ffffff;
}

.ceo-visual-new {
    position: relative;
    padding-left: 30px;
    padding-top: 30px;
    display: inline-block;
}

.ceo-visual-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 140px;
    height: 140px;
    background: #dbeafe;
    border-radius: 20px;
    z-index: 0;
}

.ceo-visual-new img {
    border-radius: 30px;
    position: relative;
    z-index: 1;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 450px;
    object-fit: cover;
}

.tagline-modern {
    color: #4f46e5;
    /* A more premium indigo/blue */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 15px;
    display: block;
}

.ceo-title-modern {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 800;
    font-size: 3.5rem;
    color: #0f172a;
    margin-bottom: 30px;
    line-height: 1.2;
}

.ceo-text-modern {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #475569;
    font-style: italic;
    position: relative;
    margin-bottom: 40px;
    padding-left: 5px;
}

.ceo-text-modern::before {
    content: '“';
    position: absolute;
    left: -25px;
    top: -30px;
    font-size: 6rem;
    color: #f1f5f9;
    font-family: serif;
    line-height: 1;
    z-index: -1;
}

.ceo-signature-new h4 {
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 5px;
    font-size: 1.5rem;
    text-transform: capitalize;
}

.ceo-signature-new p {
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 0;
}

/* --- Certification Card (Restored) --- */
.iso-card {
    background: var(--white);
    padding: 30px;
    border-radius: 25px;
    border: 1px solid #f1f5f9;
    transition: var(--transition);
    text-align: center;
}

.iso-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-premium);
}

.iso-badge {
    max-height: 120px;
    margin-bottom: 20px;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.05));
}

@media (max-width: 768px) {
    .ceo-title-modern {
        font-size: 2.2rem;
    }

    .ceo-section-new {
        padding: 60px 0;
    }
}

/* --- Detailed Services List --- */
.prestation-item {
    padding: 15px 20px;
    background: var(--white);
    border: 1px solid #f1f5f9;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-radius: 20px;
    height: 100%;
}

.prestation-item:hover {
    background: var(--white);
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: var(--shadow-premium) !important;
}

.prestation-item i {
    width: 45px;
    height: 45px;
    background: var(--accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-right: 25px;
    transition: var(--transition);
}

.prestation-item:hover i {
    background: var(--primary);
    color: var(--white);
}

.prestation-item h5 {
    margin-bottom: 0;
    font-size: 1.05rem;
    font-weight: 700;
}

.prestation-item p {
    font-size: 0.85rem;
    line-height: 1.4;
}

/* --- Domain Cards (Side layout) --- */
.domain-card {
    padding: 15px 20px;
    background: var(--white);
    border-radius: 20px;
    display: flex;
    align-items: center;
    transition: var(--transition);
    border: 1px solid #f1f5f9;
}

.domain-card i {
    font-size: 1.5rem;
}

.ho-scale:hover {
    border-color: var(--primary);
}

.client-logo-luxury {
    max-height: 70px;
    width: auto;
    margin: 0 40px;
    filter: none;
    transition: transform 0.3s ease;
}

.client-logo-luxury:hover {
    transform: scale(1.1);
}

.logo-ticker-container {
    overflow: hidden;
    padding: 30px 0;
    white-space: nowrap;
    position: relative;
    width: 100%;
}

.logo-ticker-inner {
    display: inline-block;
    white-space: nowrap;
    animation: ticker 30s linear infinite;
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.logo-ticker-container:hover .logo-ticker-inner {
    animation-play-state: paused;
}

/* --- Presence Infographic Compact --- */
.presence-info-card-compact {
    background: var(--white);
    padding: 20px;
    border-radius: 20px;
    border: 1px solid #f1f5f9;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
}

.presence-info-card-compact:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-premium);
    border-color: var(--primary);
}

.presence-info-card-compact .p-icon-small {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
}

.presence-info-card-compact:hover .p-icon-small {
    background: var(--primary);
    color: var(--white);
}

.presence-info-card-compact h5 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 2px;
    color: var(--secondary);
}

.presence-info-card-compact p {
    font-size: 0.9rem;
    margin-bottom: 0;
    color: var(--text-light);
}

.coverage-area {
    background: var(--white);
    border-radius: 30px;
    padding: 40px;
    border: 1px solid #f1f5f9;
    height: 100%;
}

.city-badge-modern {
    padding: 10px 20px;
    background: #f8fafc;
    color: var(--secondary);
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.85rem;
    border: 1px solid #e2e8f0;
    transition: var(--transition);
    display: inline-block;
}

.city-badge-modern:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-3px);
}

/* --- Buttons --- */
.btn-lux {
    background: var(--primary);
    color: var(--white);
    padding: 18px 45px;
    border-radius: 100px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border: none;
    box-shadow: 0 15px 30px rgba(191, 134, 21, 0.25);
    transition: var(--transition);
}

.btn-lux:hover {
    background: var(--secondary);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(15, 23, 42, 0.25);
}

/* --- Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
footer {
    background: #0a0f1d;
    padding: 60px 0 0;
    color: rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
}

footer h5 {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

footer h5::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background: var(--primary);
    bottom: 0;
    left: 0;
}

.footer-link {
    display: block;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    margin-bottom: 12px;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-5px);
    border-color: var(--primary);
}

.newsletter-box {
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.newsletter-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 12px 20px;
    border-radius: 10px;
    width: 100%;
    margin-bottom: 15px;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 0;
    margin-top: 40px;
}

@media (max-width: 991.98px) {
    .carousel-caption-custom h1 {
        font-size: 2.8rem;
    }

    .hero-slider-wrap {
        height: 500px;
    }

    .carousel-item {
        height: 500px;
    }

    .top-bar {
        display: none;
    }
}

/* --- Clients & Products --- */
.client-logo {
    filter: grayscale(1);
    opacity: 0.6;
    transition: var(--transition);
    max-height: 50px;
}

.client-logo:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* --- Product Slider --- */
.product-slider-wrapper {
    position: relative;
    padding: 0 50px;
}

.product-slider {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 30px;
    padding: 20px 0;
    scrollbar-width: none;
    /* Firefox */
}

.product-slider::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

.product-item-slide {
    flex: 0 0 calc(33.333% - 20px);
    min-width: 300px;
}

@media (max-width: 991px) {
    .product-item-slide {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .product-item-slide {
        flex: 0 0 100%;
    }

    .product-slider-wrapper {
        padding: 0 10px;
    }
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: var(--white);
    border: 1px solid #f1f5f9;
    border-radius: 50%;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.slider-btn:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.slider-btn-left {
    left: 0;
}

.slider-btn-right {
    right: 0;
}

.product-card {
    background: var(--white);
    border-radius: 25px;
    padding: 30px;
    border: 1px solid #f1f5f9;
    height: 100%;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-premium);
    border-color: var(--primary);
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.product-ref {
    padding: 5px 12px;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
}

.product-icon {
    width: 50px;
    height: 50px;
    background: var(--accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.25rem;
}

.product-card h5 {
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--secondary);
    font-size: 1.1rem;
}

.product-card p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 0;
}

/* --- Breadcrumb Section --- */
.breadcrumb-section {
    background: #fcfcfd;
    padding: 25px 0;
    border-bottom: 1px solid #f1f5f9;
}

.breadcrumb-lux {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0;
    padding: 0;
    list-style: none;
}

.breadcrumb-item-lux {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 12px;
}

.breadcrumb-item-lux a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb-item-lux a:hover {
    color: var(--primary);
}

.breadcrumb-item-lux i {
    font-size: 0.85rem;
}

.breadcrumb-item-lux.active {
    color: var(--primary);
    font-weight: 700;
}

.breadcrumb-separator {
    font-size: 0.7rem;
    opacity: 0.3;
    color: var(--text-light);
}

/* ==========================================================================
   RESPONSIVE STYLES (Mobile & Tablet)
   ========================================================================== */

/* --- Large Tablets (Up to 991px) --- */
@media (max-width: 991px) {
    .carousel-caption-custom h1 {
        font-size: 3.5rem;
    }

    .counter-box {
        margin-top: -40px;
    }

    .navbar-nav {
        background: var(--white);
        padding: 20px;
        border-radius: 20px;
        margin-top: 15px;
        box-shadow: var(--shadow-premium);
    }

    .nav-item {
        margin: 5px 0;
    }

    .ceo-visual-new {
        padding-left: 0;
        padding-top: 0;
        text-align: center;
        margin-bottom: 30px;
    }

    .ceo-visual-new::before {
        display: none;
    }
}

/* --- Tablets (Up to 768px) --- */
@media (max-width: 767px) {
    .top-bar {
        display: none !important;
    }

    .carousel-caption-custom {
        padding: 40px 20px;
        text-align: center;
    }

    .carousel-caption-custom h1 {
        font-size: 2.8rem;
    }

    .carousel-caption-custom .badge {
        font-size: 0.7rem;
    }

    .counter-box {
        margin-top: 0;
        padding: 40px 0;
    }

    .stat-card-luxury {
        padding: 20px;
    }

    .stat-card-luxury h2 {
        font-size: 2.2rem;
    }

    .display-4 {
        font-size: 2.5rem !important;
    }

    .display-5 {
        font-size: 2rem !important;
    }

    .section-header-lux h2 {
        font-size: 2rem;
    }

    .footer-bottom .text-md-end {
        text-align: center !important;
        margin-top: 15px;
    }
}

/* --- Mobile Phones (Up to 576px) --- */
@media (max-width: 575px) {
    .hero-slider-wrap {
        height: 500px;
        border-radius: 0;
    }

    .carousel-caption-custom h1 {
        font-size: 2.22rem;
    }

    .carousel-caption-custom p.lead {
        font-size: 1rem;
    }

    .btn-lux {
        width: 100%;
        text-align: center;
        padding: 12px 20px !important;
    }

    .stat-card-luxury {
        margin-bottom: 10px;
    }

    .iso-card {
        padding: 30px !important;
    }

    .breadcrumb-lux {
        flex-wrap: wrap;
        gap: 8px;
    }

    .breadcrumb-item-lux {
        font-size: 0.8rem;
    }

    .presence-card {
        padding: 20px;
    }

    .presence-card h4 {
        font-size: 1.1rem;
    }
}