:root {
    --brand-dark: #0a1b2a;
    --brand: #0f2f4a;
    --brand-accent: #0b7dda;
    --gold: #d4a017;
    --light-gold: #f8e6b4;
    --bs-heading-color: var(--brand);
}

body {
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial,
        sans-serif;
    color: var(--brand);
}

.btn-primary {
    background: var(--brand) !important;
    border-color: var(--brand) !important;
}

.logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

#mainNav {
    background: transparent;
    padding: 30px 0px;
}
#mainNav a {
    color: var(--brand);
}

#mainNav.scrolled,
#mainNav.solid {
    transition: all 0.3s ease;
    background: linear-gradient(
        180deg,
        rgba(15, 47, 74, 0.95),
        rgba(15, 47, 74, 0.85)
    );
    backdrop-filter: saturate(140%) blur(6px);
    padding: 0px;
}
#mainNav.scrolled a:not(.dropdown-item),
#mainNav.solid a:not(.dropdown-item) {
    color: white;
}

.dropdown-menu a {
    color: var(--brand) !important;
}

/* Hero with Bootstrap Carousel */
.hero-carousel {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.hero-carousel h1 {
    color: var(--brand);
}

.hero-carousel .carousel-item {
    height: 100vh;
    background-position: center;
    background-size: cover;
}

.hero-carousel .carousel-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.7),
        rgba(255, 255, 255, 0.5) 40%,
        rgba(10, 27, 42, 0.8)
    );
}

.hero-content {
    position: absolute;
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    padding: 0 15px;
    color: var(--brand-dark);
}

.navbar-brand span {
    letter-spacing: 0.5px;
}

.nav-link {
    font-weight: 500;
}

.btn-gold {
    background: var(--gold);
    border-color: var(--gold);
    color: #111;
}

.btn-gold:hover {
    filter: brightness(0.92);
    color: #111;
}

.btn-outline-gold {
    border-color: var(--gold);
    color: var(--gold);
}

.btn-outline-gold:hover {
    background: var(--gold);
    color: #111;
}

/* Hover-dropdowns (desktop ≥ md): Bootstrap docs default is click; we opt-in to hover for desktop only) */
@media (min-width: 768px) {
    .dropdown-hover:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
    }

    .dropdown-menu.show {
        display: block;
    }
}

/* Large dropdown menu */
.dropdown-menu-large {
    min-width: 800px;
    padding: 1.5rem;
    margin-left: -300px;
    z-index: 1000 !important;
}

.dropdown-menu-large .row {
    margin: 0;
}

.dropdown-menu-large .col {
    padding: 0 15px;
}

.dropdown-menu-large h6 {
    color: var(--brand);
    border-bottom: 2px solid var(--gold);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.dropdown-menu-large .dropdown-item {
    padding: 0.25rem 0;
    color: #555;
}

.dropdown-menu-large .dropdown-item:hover {
    background: transparent;
    color: var(--brand);
    padding-left: 5px;
}

/* Multilevel submenu */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-left: 0.1rem;
    margin-right: 0.1rem;
}

/* Optional caret for submenus */
.dropdown-submenu > .dropdown-item::after {
    content: "\f285";
    /* bi-caret-right-fill */
    font-family: "bootstrap-icons";
    float: right;
    opacity: 0.6;
    font-size: 0.85rem;
}

/* Stats strip */
.stat {
    color: var(--brand);
    font-weight: 700;
    font-size: 2rem;
}

.stat small {
    display: block;
    font-weight: 600;
    color: #6c757d;
    font-size: 0.875rem;
}

/* Cards on white */
.icon-round {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #f1f5f9;
    color: var(--brand-accent);
}

/* Image galleries */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.gallery-item img {
    transition: transform 0.5s ease;
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 27, 42, 0.85);
    color: white;
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

/* Testimonials */
.testimonial-card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    border-left: 4px solid var(--gold);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}

/* Blog cards */
.blog-card {
    border: none;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-card img {
    height: 200px;
    object-fit: cover;
}

.blog-date {
    color: var(--gold);
    font-size: 0.875rem;
    font-weight: 600;
}

/* Partners slider */
.partners-slider .slick-slide {
    margin: 0 15px;
}

.partners-slider img {
    max-width: 150px;
    max-height: 80px;
    margin: 0 auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partners-slider img:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* WhatsApp floating button */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #25d366;
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 100;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background: #128c7e;
    transform: scale(1.1);
    color: white;
}

/* Footer */
footer {
    background: var(--brand-dark);
    color: #cbd5e1;
}

footer a {
    color: #cbd5e1;
    text-decoration: none;
}

footer a:hover {
    color: #fff;
    text-decoration: underline;
}

.top-shadow {
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.15) inset;
}

/* Section spacing */
section {
    padding: 5rem 0;
}

.section-title {
    position: relative;
    margin-bottom: 3rem;
}

.section-title:after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gold);
}

.section-title.center:after {
    left: 50%;
    transform: translateX(-50%);
}

/* New Sections Styling */

/* Our Growth Section */
.growth-section {
    background: linear-gradient(135deg, #0f2f4a 0%, #0a1b2a 100%);
    color: white;
}

.growth-item {
    text-align: center;
    padding: 2rem 1rem;
}

.growth-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.growth-text {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Our Work Section */
.work-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.work-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.work-card img {
    height: 220px;
    object-fit: cover;
}

.work-card-body {
    padding: 1.5rem;
}

.work-category {
    display: inline-block;
    background: var(--gold);
    color: #111;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Explore Us Sections */
.explore-section-1 {
    background: url("../images/img10.jpg") center/cover no-repeat;
    position: relative;
}

.explore-section-1::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(10, 27, 42, 0.85);
}

.explore-section-1 .container {
    position: relative;
    z-index: 2;
}

.explore-section-2 {
    background: #f8f9fa;
}

.explore-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.3s ease;
    border-top: 4px solid var(--gold);
    color: var(--brand);
}

.explore-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.explore-icon {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

/* Carousel Controls Customization */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.3s ease;
}

.hero-carousel:hover .carousel-control-prev,
.hero-carousel:hover .carousel-control-next {
    opacity: 1;
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

/* Animation delays for staggered effects */
.animate-delay-1 {
    animation-delay: 0.2s;
}

.animate-delay-2 {
    animation-delay: 0.4s;
}

.animate-delay-3 {
    animation-delay: 0.6s;
}

.animate-delay-4 {
    animation-delay: 0.8s;
}

@media screen and (max-width: 767px) {
    .dropdown-menu-large {
        width: 300px !important;
        min-width: 299px !important;
        height: 400px;
        overflow-y: scroll;
        padding: 1.5rem;
        margin-left: 0px;
    }
}

.product-card {
    position: relative;
}
.product-container {
    position: relative;
    z-index: 0;
}
.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

#productCarousel img {
    width: 100%;
    height: 400px;
    object-fit: contain;
    position: relative;
    z-index: -1;
}
