/* =========================
   GLOBAL CSS
========================= */
body {
    font-family: 'Poppins', sans-serif;
    background: #fffaf5;
    color: #2c2c2c;
    /* padding-top: 90px; */
}

h2 {
    /* background: linear-gradient(91.95deg, #b8292f -10%, #7c1a1f -9.98%, #b8292f 59.49%, #73171c 139.43%, #b8292f 139.44%); */
    background: #062269;
    border-radius: 5px;
    /* height: 36px; */
    line-height: 36px;
    /* font-family: Figtree-Medium, sans-serif; */
    font-size: 1rem;
    font-weight: 500;
    color: #fff !important;
    padding: 0 1rem;
    display: inline-block;
    /* font-family: cursive; */
}

section {
    padding: 60px 0;
}

img {
    transition: 0.3s;
}

img:hover {
    /* transform: scale(1.05); */
}


/* =========================
   NAVBAR
========================= */
  .offcanvas {
    background-color: #111;
    /* background: #09101f; */
    /* background: linear-gradient(360deg, #2c0a0f, #6e1b25);
  /*change X btn-close bg-warning to btn-close bg-danger in html */
}

.offcanvas .nav-link {
    /* color: #681016; */
    color: #fff;
    font-size: 18px;
    padding: 10px 0;
}


/* GOLD NAVBAR */
.navbar {
    /* background: linear-gradient(90deg, #5a0f1c, #8b1e2d); */
    /*  background: linear-gradient(90deg, #2c0a0f, #6e1b25); */
    /* background: #09101f; */
    background: #1da3a6;
}

/* BRAND */
.navbar-brand {
    /* color: gold !important; */
    font-size: 1.2rem;
}

/* BRAND TEXT (ellipsis fix) */
.brand-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; /* prevents breaking */
    font-size: 20px;
}

/* LINKS */
.navbar .nav-link {
    color: #fff !important;
    margin-left: 10px;
    transition: 0.3s;
}

.navbar .nav-link:hover {
    color: gold !important;
}

/* TOGGLER FIX */
.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.6);
}

/* .navbar-toggler-icon {
    filter: invert(1);
} */

/* PURE WHITE ICON */
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255,1)' stroke-width='2' stroke-linecap='round' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}


/* =========================
   HERO / CAROUSEL
========================= */

/* HERO CONTAINER */
.hero {
    margin-top: 70px; /* adjust for fixed navbar */
}

/* OLD HERO IMAGE RULE (kept) */
.hero img {
    height: 700px;
    object-fit: cover;
    filter: brightness(60%);
}

/* CAROUSEL HEIGHT CONTROL */
.hero .carousel-item {
    height: 60vh;          /* desktop height */
    max-height: 500px;     /* cap like Amazon */
    transition: transform 1.1s ease;
}

/* IMAGE FIT */
.hero .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;     /* crop like Amazon */
}

/* OVERLAY */
.hero .carousel-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.1), transparent);
}

/* CAPTION */
.carousel-caption {
    bottom: 20%;
}

.carousel-caption h1 {
    font-size: 2.8rem;
    color: #ffd700;
}

.carousel-caption p {
    font-size: 1.2rem;
}

/*  Carousel HTML with Dots and Arrows */
.carousel-indicators [data-bs-target] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #fff;
    opacity: 0.8;
}

.carousel-indicators .active {
    background-color: #f5c518; /* gold color example */
    opacity: 1;
}
/* =========================
   BUTTONS
========================= */
.btn-gold {
    background: linear-gradient(45deg, #d4af37, #ffd700);
    border: none;
    color: #000;
    font-weight: 600;
}


/* =========================
   CARDS / BOXES
========================= */

/* CARDS */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* COLLECTION BOX */
.collection-box {
    /* background: #fff; */
    padding: 25px;
    border-radius: 10px;
    font-weight: 500;
    background: #1d2a4d;
    color: #fff;
}

/* WHY US */
.why-box {
    background: #fff;
    padding: 20px;
    border-left: 4px solid #d4af37;
}

/* HIGHLIGHT */
.highlight {
    /* background: linear-gradient(135deg, #8b1e2d, #d4af37);
    color: #fff; */
    font-weight: 700;
    font-size: 2rem;
    background: #fff4d7;
    color: #681016;
}


/* =========================
   GALLERY
========================= */
.gallery-img {
    width: 100%;
    height: 250px; /* Fixed height for all images */
    object-fit: cover; /* Full div, no distortion */
    border-radius: 12px;
    transition: 0.3s;
}

.gallery-img:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4);
}


/* =========================
   CERTIFICATE
========================= */
.certificate-box {
    max-width: 700px;
    margin: auto;
    padding: 15px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.certificate-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    cursor: zoom-in;
    transition: 0.3s;
}

.certificate-img:hover {
    transform: scale(1.03);
}


/* =========================
   FOOTER
========================= */
footer {
    /* background: linear-gradient(135deg, #3b0a14, #8b1e2d); */
    background: #09101f;
    color: #fff;
}

footer h5 {
    font-weight: 600;
}

footer a:hover {
    color: gold !important;
}


/* =========================
   UTILITIES
========================= */
.text-warning i {
    color: gold;
}


/* =========================
   RESPONSIVE
========================= */

/* Mobile fixes */
@media (max-width: 576px) {

    .brand-text {
        font-size: 24px;  /* font-size: 14px; dont use too big*/
        /* color: white; */
    }

    .navbar-brand img {
        width: 36px;
        height: 36px;
    }

    .navbar-toggler {
        padding: 4px 6px; /* smaller button */
    }

    .carousel-caption h1 {
        font-size: 1.2rem;
    }

    .carousel-caption p {
        font-size: 0.9rem;
    }
}

/* Tablet */
@media (max-width: 768px) {

    .gallery-img {
        height: 180px;
    }

    .hero .carousel-item {
        height: 35vh;
        max-height: 250px;
    }
}
.hero img {
    filter: brightness(105%) contrast(105%) saturate(110%);
}
.accordion-button {
    font-weight: 600;
}

.accordion-button:not(.collapsed) {
    background: #fff3cd;
    color: #000;
}

.rate-bar {
background: #ffd700; */
    /* color: #000; */
    /* font-weight: 600; */
    position: relative;
    z-index: 999;
    margin-top: 57px;
    /* font-size: 1.2rem; */
    /* display: flex; */
    background: linear-gradient(91.95deg, #b8292f -10%, #7c1a1f -9.98%, #b8292f 59.49%, #73171c 139.43%, #b8292f 139.44%);
    /* border-radius: 25px; */
    height: 36px;
    line-height: 36px;
    font-family: Figtree-Medium, sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #fff !important;
    padding: 0 1rem;
    /* display: inline-block; */
    background: #1d2a4d;
}
/* icons */
.social-icons i {
    transition: transform 0.3s, text-shadow 0.3s, filter 0.3s;
    cursor: pointer;
}
.social-icons i:hover {
    transform: scale(1.3);
    filter: drop-shadow(0 0 8px rgba(255,255,255,0.8));
}

/* back to top */
    #backToTop {
        position: fixed;
        bottom: 90px; /* above WhatsApp button */
        right: 20px;
        border-radius: 50%;
        width: 50px;
        height: 50px;
        z-index: 999;

        display: flex;
        align-items: center;
        justify-content: center;

        opacity: 0; /* hidden initially */
        pointer-events: none; /* prevent click when hidden */
        transition: opacity 0.4s ease; /* smooth fade */
    }

    #backToTop.show {
        opacity: 1;
        pointer-events: auto; /* enable click when shown */
    }

    #backToTop:hover {
        background-color: #0b5ed7;
        color: #fff;
    }

