:root {
    --primary-gold: #d4af37;
    --soft-pink: #f8edeb;
    --deep-ocean: #1a3a5f;
    --text-dark: #333;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
}

/* --- Hero Section --- */
.about-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('https://images.unsplash.com/photo-1513364776144-60967b0f800f?auto=format&fit=crop&q=80&w=1920');
    /* Replace with a photo of your workshop */
    background-size: cover;
    background-position: center;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

/* --- Content Sections --- */
.section-padding {
    padding: 80px 0;
}

.icon-box {
    padding: 30px;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    height: 100%;
}

.icon-box:hover {
    transform: translateY(-10px);
}

.icon-box i {
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: 20px;
}

.highlight-text {
    color: var(--primary-gold);
    font-weight: 600;
}

/* --- Call to Action --- */
.cta-section {
    background-color: var(--soft-pink);
    border-radius: 20px;
    padding: 50px;
}

.learn-us {
    background-color: #59cec8
}

.learnwith-us {
    background-color: #59cec8
}



@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

body {
    background-color: #a1f5f1;
}

header {
    background-color: #6FD0C6 !important;
    display: flex;
    align-items: center !important;
    justify-content: space-between;
    flex-wrap: nowrap;
}

/* HEADER */
/* logo */
.logo {
    width: 5rem;
    /* slightly smaller */
    margin-top: 0.1rem;
    margin-left: 1rem;
}

/* nav */
/* Fix search icon inside rounded input */
.input-group.input-group-sm.rounded-pill {
    overflow: hidden;
    background: #f8f9fa;
    border-radius: .45rem;
    /* slightly tighter pill */
    padding: .12rem .18rem;
    /* small inner padding to tighten height */
}

.input-group.input-group-sm.rounded-pill .input-group-text {
    border: 0;
    background: transparent;
    padding-left: 0.6rem;
    padding-right: 0.4rem;
    align-items: center;
    display: inline-flex;
    height: 100%;
}

.input-group.input-group-sm.rounded-pill .form-control {
    border: 0;
    box-shadow: none;
    padding-top: .22rem;
    padding-bottom: .22rem;
    background: transparent;
    font-size: .92rem;
}

.input-group.input-group-sm.rounded-pill .form-control:focus {
    box-shadow: 0 0 0 0.16rem rgba(99, 102, 241, 0.10);
    outline: none;
}

/* Professional nav link styles */
.main-nav .nav-link {
    color: #374151;
    /* slate-700 */
    padding: .32rem .6rem;
    /* smaller */
    border-radius: .45rem;
    font-weight: 500;
    font-size: .95rem;
    letter-spacing: .2px;
    transition: all .12s ease;
}

.main-nav .nav-link:hover {
    color: #ffffff;
    /* indigo */
    background: linear-gradient(90deg, #2FA7A0, #268b86);
    box-shadow: 0 6px 18px rgba(99, 102, 241, 0.14);
    transform: translateY(-1px);
    text-decoration: none;
}

.main-nav .nav-link.active {
    color: #fff;
    background: linear-gradient(90deg, #2FA7A0, #268b86);
    box-shadow: 0 6px 18px rgba(99, 102, 241, 0.14);
}

/* Layout helpers */
/* Allow wrapping on small screens; enforce single-row on md+ via media query */
.header-nav {
    display: flex;
    align-items: center;
    gap: .6rem;
    flex-wrap: wrap;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: .4rem;
    flex-wrap: nowrap;
}

.form1 {
    margin-left: .4rem;
    /* width: 100%; */
    max-width: 100%;
}

/* spacing between logo and header */
.logo {
    margin-right: .75rem;
}

@media (min-width: 390px) and (max-width: 50) {
    .form1 {
        visibility: hidden;
    }
}

/* Responsive: allow wrapping on small screens */
@media (min-width: 620px) {
    .logo {
        margin-left: 1rem;
    }

    .form1 {
        flex: 0 0 15rem;
        max-width: 20rem;
        margin-left: -0.6rem;
    }

    .navbar-toggler-icon {
        width: 1.5rem;
        font-weight: bolder;
    }

    .navbar-toggler {
        margin-right: 1rem;
    }

    .plutonium {
        width: 2.7rem !important;
    }

    .header-icon {
        margin-left: 5em;
    }

}

/* md+ (tablet only): force one-row header */
@media (min-width: 770px) and (max-width: 1060px) {

    .top-bar,
    .navbar,
    .navbar .container,
    .navbar .container-fluid {
        display: flex;
        align-items: center;
        flex-wrap: nowrap !important;
    }

    .logo {
        width: 3.5rem;
        flex-shrink: 0;
    }

    .form1 {
        flex: 1 1 12rem;
        /* ✅ FIXED */
        max-width: 10rem;
        min-width: 5.5rem;
        /* ✅ FIXED */
        margin-left: 1rem;
    }

    .nav-link {
        font-size: 12px !important;
        padding: 0 0.4rem;
        white-space: nowrap;
    }

    .plutonium,
    .settings {
        flex-shrink: 0;
    }
}



/* second middle */
@media (min-width: 1061px) {
    .logo {
        margin-left: .5rem;
    }

    .form1 {
        flex: 0 0 10rem;
        max-width: 15rem;
        margin-left: 0.5rem;
    }


    .nav-link {
        margin-left: 0.05rem;
    }

    .plutonium {
        width: 3rem !important;
    }
}

/* middle */
@media (min-width: 1240px) and (max-width: 1320px) {
    .logo {
        margin-left: 0.5rem;
    }

    .form1 {
        flex: 0 0 15rem;
        max-width: 20rem;
    }

    .nav-link {
        margin-left: 0.6rem;
    }

    .settings {
        /* margin-right: 4rem !important; */
        margin-left: 0.6rem !important;
    }

    .header-icon {
        margin-right: 1rem;
    }

    .plutonium {
        width: 3rem !important;
    }
}

/*  2 d lg+ larger form width */
@media (min-width: 1315px) {
    .logo {
        margin-left: 1rem;
    }

    .form1 {
        flex: 0 0 15rem;
        max-width: 20rem;
    }

    .header-nav {
        margin-left: 1.5rem;
    }

    .main-nav {
        margin-left: 6rem !important;
    }

    .nav-link {
        margin-left: 0.5rem;
    }

    .settings {
        margin-left: 5rem !important;
    }

    .header-icon {
        margin-right: 2rem;
        margin-left: 2rem;
    }

    .favourate {
        margin-left: 1rem !important;
    }

    .plutonium {
        width: 3rem !important;
    }
}

/* lg+ larger form width */
@media (min-width: 1465px) {
    .logo {
        margin-left: 3rem;
    }

    .form1 {
        flex: 0 0 22rem;
        max-width: 30rem;
    }

    .plutonium {
        width: 3rem !important;
    }

    .settings {
        margin-left: 12rem;
    }
}



/* PLUTONIUM */
.plutonium {
    width: 2rem;
}

/* Favorite button */
.fav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: .5rem;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    color: #6b7280;
    box-shadow: 0 5px 14px rgba(15, 23, 42, 0.06);
    transition: transform .12s ease, background .12s ease, color .12s ease, box-shadow .12s ease;
    cursor: pointer;
}

.fav-btn i {
    font-size: .95rem;
    line-height: 1;
}

.fav-btn:hover {
    background-color: #268b86;
    color: #fff;
}

.fav-btn:focus {
    outline: none;
    box-shadow: 0 0 0 0.12rem rgba(239, 68, 68, 0.06);
}

.fav-btn.favorited {
    background: linear-gradient(90deg, #ef4444, #fb7185);
    color: #fff;
    box-shadow: 0 8px 18px rgba(239, 68, 68, 0.14);
    border-color: transparent;
}

.fav-btn.favorited:hover {
    transform: translateY(-2px);
    filter: brightness(0.98);
}

/* Settings dropdown button */
.settings-btn {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .32rem .56rem;
    border-radius: .5rem;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    color: #374151;
    font-weight: 500;
    font-size: .95rem;
    transition: transform .12s ease, background .12s ease, box-shadow .12s ease, color .12s ease;
    margin-right: 1rem;
}

.settings-btn i {
    font-size: .95rem;
}

.settings-btn:hover {
    background-color: #268b86;
    color: #f8f9fa;
}

.settings-btn:focus {
    outline: none;
    box-shadow: 0 0 0 0.12rem rgba(99, 102, 241, 0.06);
}

/* mobile: show icon-only to save space */
@media (max-width: 575.98px) {
    .settings-btn {
        padding: .35rem;
    }

    .settings-btn span {
        display: none !important;
    }
}

/* Right-side scroll indicator */
#scroll-indicator {
    position: fixed;
    right: 0.6rem;
    /* moved closer to right edge */
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: .6rem;
    z-index: 1040;
    pointer-events: none;
    /* avoid blocking clicks (buttons inside override) */
}

#scroll-indicator .progress-wrap {
    width: 6px;
    height: 120px;
    background: rgba(15, 23, 42, 0.06);
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}

#scroll-indicator .progress-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.95), rgba(139, 92, 246, 0.9));
    transition: height .15s linear;
}

.scroll-top-btn {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    color: #374151;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
    transform: translateY(6px);
    opacity: 0;
    transition: opacity .18s ease, transform .18s ease, box-shadow .12s ease;
    font-size: 0.85rem;
}

.scroll-top-btn.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-top-btn:focus {
    outline: none;
    box-shadow: 0 0 0 0.12rem rgba(99, 102, 241, 0.08);
}

/* Keep indicator hidden on small screens so it doesn't affect layout */
@media (max-width: 767.98px) {
    #scroll-indicator {
        display: none;
    }
}

/* Sticky header */
header {
    position: sticky;
    top: 0;
    z-index: 1030;
    /* above normal content, under modals */
    background: rgba(255, 255, 255, 0.98);
    /* slightly translucent for depth */
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
    border-bottom: 1px solid rgba(15, 23, 42, 0.03);
    transition: box-shadow .18s ease, background .18s ease;
}

/* Slightly reduce shadow on very small screens */
@media (max-width: 575.98px) {
    header {
        box-shadow: 0 6px 14px rgba(15, 23, 42, 0.05);
    }
}

footer {
    background-color: #0b3331;
    color: var(--light-card-bg);
    padding: 2.5rem 1rem 0;
    line-height: 1.6;
}

.main-footer {
    margin-bottom: -3.5rem;
}

/* --- Footer Column Headings --- */
.footer-h1 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- Footer Text & Links --- */
.footer-content {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.footer-content a {
    color: #fff;
    text-decoration: none;
}

.footer-content a:hover {
    color: var(--primary-blue);
}

/* --- Footer Row Separator --- */
.footer-row {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #2FA7A0;
}

/* --- COPYRIGHT AREA --- */
.copyright-section {
    margin-top: 1.5rem;
}

.copyright {
    height: 4rem;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 0;
    border-top: 1px solid #2FA7A0;
}

.copyright p {
    margin: 0;
    padding: 0;
    line-height: 1;
}

/* --- RESPONSIVE FOOTER --- */
@media (max-width: 768px) {
    footer {
        padding: 2rem 1rem 0;
    }

    .footer-h1 {
        font-size: 1.1rem;
        text-align: center;
    }

    .footer-content {
        text-align: center;
        font-size: 0.95rem;
    }

    .footer-row {
        margin-bottom: 2rem;
        padding-bottom: 1rem;
    }

    .copyright {
        font-size: 0.9rem;
        height: auto;
        padding: 1rem 0;
    }
}

.icon-popover {
    position: relative;
    display: inline-block;
}

/* ICON */
.info-icon {
    width: 3rem;
    cursor: pointer;
    margin-right: 1rem;
}

/* POPUP */
.popup-box {
    position: absolute;
    top: 35px;
    right: 0;
    width: 220px;
    background: #ffffff;
    color: #333;
    border-radius: 10px;
    padding: 12px 14px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    display: none;
    z-index: 1055;
}

/* CLOSE BUTTON */
.close-btn {
    position: absolute;
    top: 6px;
    right: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #888;
}

.close-btn:hover {
    color: #000;
}

.show-more-btn {
    color: white !important;
}

.show-less-btn {
    color: #000 !important;
}

/* ===============================
   📱 MOBILE FIX (REALME / ≤412px)
   =============================== */
@media (max-width: 412px) {

    /* HEADER */
    header {
        height: auto !important;
    }

    .navbar {
        flex-wrap: wrap !important;
        /* ✅ allow dropdown */
        align-items: center;
    }

    .navbar-collapse {
        width: 100%;
        background: #6FD0C6;
        padding: 0.75rem 1rem;
        margin-top: 0.5rem;
        border-radius: 0.5rem;
    }

    /* hide desktop stuff */
    .form1,
    .main-nav {
        display: none !important;
    }

    .logo {
        width: 2.6rem !important;
    }

    .navbar-toggler {
        margin-left: auto;
        flex-shrink: 0;
    }

    /* HERO */
    .hero {
        height: 88vh;
    }

    .hero-content {
        max-width: 100% !important;
        padding: 0 1rem !important;
        align-items: center !important;
        text-align: center !important;
    }

    .hero-title {
        font-size: 1.35rem !important;
    }

    .hero-actions {
        display: flex;
        flex-direction: column;
        gap: 0.6rem;
        width: 100%;
    }

    .hero-actions a,
    .hero-actions button {
        width: 90%;
        max-width: 280px;
    }

    /* COLLECTION (FIX HUGE IMAGES) */
    .collection-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .collection-card img {
        aspect-ratio: 4 / 3;
        max-height: 140px;
        object-fit: cover;
    }

    .collection-card h3 {
        font-size: 0.85rem;
        margin-top: 0.35rem;
    }

    .hero-actions {
        display: flex;
        flex-direction: column;
        gap: 0.8rem;
        /* consistent spacing between buttons */
        width: 100%;
        align-items: center;
        /* center buttons horizontally */
    }

    .hero-actions a {
        width: 90%;
        max-width: 280px;
        text-align: center;
        /* center text */
    }

    .callout-card .btn1,
    .callout-card .btn2 {
        height: 2.5rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-top: 0.5rem;
    }

    /* 1️⃣ Header must be flexible in height */
    header {
        height: auto !important;
    }

    /* 2️⃣ Navbar stays one fixed row */
    .navbar {
        display: flex !important;
        flex-wrap: nowrap !important;
        /* 🔒 keeps one row */
        align-items: center !important;
        position: relative;
    }

    /* 3️⃣ Lock toggler position */
    .navbar-toggler {
        margin-left: auto !important;
        position: relative;
        top: 0;
        right: 0;
        z-index: 1051;
    }

    /* 4️⃣ Force collapse to absolute layer BELOW header */
    .navbar-collapse {
        position: absolute;
        top: 100%;
        /* 👈 opens downward */
        left: 0;
        width: 100%;
        background: #6FD0C6;
        padding: 0.75rem 1rem;
        border-radius: 0 0 0.6rem 0.6rem;
        box-shadow: 0 10px 24px rgba(0, 0, 0, .15);
    }

    /* 5️⃣ Prevent collapse from pushing layout */
    .navbar-collapse.collapse:not(.show) {
        display: none;
    }

}