/* =======================
   Color Theme & Utilities
========================== */
:root {
    --bs-primary: #172949;
    /* Deep Blue */
    --bs-secondary: #00BFFF;
    /* Aqua Blue */
    --bs-danger: #ed1c24;
    /* Supportive Red */
    --bs-dark: #333333;
    /* Neutral Grey */
    --bs-warning: #FF8000;
    /* Accent Orange */

    /* Optional: define your own custom ones */
    --bs-supportive: #ed1c24;
    --bs-neutral: #333333;
    --bs-accent: #FF8000;
}

.bg-light-sky {
    background-color: #e6f7ff;
    /* very light sky blue */
}

.bg-accent {
    background-color: var(--bs-accent) !important;
}

.bg-dark-blue {
    background-color: var(--bs-primary) !important;
}

.bg-light-blue {
    background-color: var(--bs-secondary) !important;
}

.bg-dark {
    background-color: var(--bs-dark);
}

.bg-info-subtle {
    background-color: #e8f9e9 !important;
}

.text-primary {
    color: var(--bs-primary) !important;
}

.text-primary-custom {
    color: var(--bs-danger);
}

.text-secondary {
    color: var(--bs-secondary) !important;
}

.category-section {
    background-color: #ebdfdd;
}

/* =======================
   Buttons
========================== */
.btn-outline-primary {
    color: var(--bs-primary);
    /* text in primary color */
    border: 2px solid var(--bs-primary);
    /* border in primary */
    background-color: transparent;
    /* no fill */
    transition: all 0.3s ease;
    /* smooth transition */
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background-color: var(--bs-primary);
    /* filled */
    color: #fff;
    /* white text */
    border-color: var(--bs-primary);
    /* keep border same */
}


.btn-accent {
    background-color: var(--bs-danger) !important;
    color: #fff;
    border: none;
}

.btn-accent:hover {
    background-color: var(--bs-danger) !important;
    color: #fff;
}

.topbar {
    border-bottom: 1px solid var(--bs-secondary);
}

/* =======================
   Navbar & Logo
========================== */
/* Brand Logo */
.navbar-brand img {
    height: 100px;
}

@media (max-width: 768px) {
    .navbar-brand img {
        height: 60px;
    }
}

/* Nav links */
.navbar .nav-link {
    color: white;
    padding: 8px 16px;
    border-radius: 0;
    min-width: 60px;
    position: relative;
    transition: color 0.3s ease;
    font-weight: 700;
}

/* Underline effect (hover only) */
.navbar .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 4px;
    width: 0%;
    height: 2px;
    background-color: var(--bs-danger);
    /* red underline */
    transition: width 0.3s ease;
}

/* 🔹Underline only on hover (not on active) */
.navbar .nav-link:hover::after {
    width: 100%;
}

/* Active link styling (no underline) */
.navbar .nav-link.active {
    color: var(--bs-danger) !important;

    background: none !important;
}

/* Dropdown menu open on hover */
.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
    /* aligns dropdown flush */
}

/* Optional: dropdown hover effect */
.dropdown-menu {
    border-radius: 0;
    border: none;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

.dropdown-item:hover {
    background-color: transparent;
    color: var(--bs-danger);
}

/* Remove default caret everywhere */
.navbar .dropdown-toggle::after {
    display: none !important;
}

/* Product Category Cards */
.card img {
    transition: transform 0.4s ease;
}

.card:hover img {
    transform: scale(1.08);
}

.card {
    overflow: hidden;
}

/* =======================
   Carousel Styling
========================= */

/* Center arrows at bottom */
.carousel-control-prev,
.carousel-control-next {
    position: absolute;
    top: auto;
    bottom: 120px;
    /* adjust spacing from bottom */
    transform: translateY(0);
    width: 50px;
    height: 50px;
    background-color: rgba(208, 205, 205, 0.5);
    /* dark semi-transparent bg */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Place them side by side */
/* Default for desktop */
.carousel-control-prev {
    left: 45%;
}

.carousel-control-next {
    right: 45%;
}

/* Adjust for mobile and tablets */
@media (max-width: 768px) {
    .carousel-control-prev {
        left: 5%;
    }

    .carousel-control-next {
        right: 5%;
    }
}

/* Icon styling */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1);
    /* makes icon white */
    width: 20px;
    height: 20px;
}

/* Optional hover effect */
.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: rgba(220, 53, 69, 0.8);
    /* Bootstrap danger tone */
    transition: background-color 0.3s ease;
}


.carousel-inner,
.carousel-item,
.carousel-image-wrapper {
    height: 100%;
}

.carousel-item img {
    height: 100vh;
    width: 100%;
    /* make sure it doesn’t overflow */
    max-width: 100%;
    /* prevent extra width */
    object-fit: cover;
    display: block;
    /* removes inline gaps */
}

html,
body {
    overflow-x: hidden;
    /* no horizontal scroll */
}

.carousel-caption {
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
    z-index: 2;
    width: 100%;
}

.caption-overlay {
    background: var(--bs-accent) !important;
    /* Your dark blue overlay */
    padding: 20px;
    border-radius: 10px;
    display: inline-block;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: background-color 0.3s ease, padding 0.3s ease;
}

/* Solid background after scroll */
header.scrolled {
    background: var(--bs-primary);
    /* dark blue or your brand color */
}



/* Make sure carousel goes under header */
.carousel {
    margin-top: 0;
    /* header overlays */
}








/* =======================
   Sticky Footer Layout Fix
========================== */
html,
body {

    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* =======================
   Products Page
========================== */




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


/* VISON Section  */

.vision-section {
    background-color: #ebdfdd;
}

.text-dark-blue {
    color: #152949;
    /* Adjust if needed */
}

.contact-map {
    width: 100%;
    height: 350px;
    border: 0;
    border-radius: 8px;
    display: block;
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 28px;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

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

/* Optional: adjust height on smaller screens */
@media (max-width: 576px) {
    .contact-map {
        height: 250px;
    }
}



/* =======================
   Footer
========================== */
footer {
    background-color: #2e368f;
    color: white;
    margin-top: auto;
    padding: 20px 0;
}
