/* ------------------
   THEME & RESET
   ------------------ */
:root {
    --bg: #F4F1EA;
    /* Premium Alabaster/Linen */
    /*#efe6d2;*/
    --bgend: #beccb180;
    --muted: #8b8577;
    --text: #2f3738;
    --dark: #1a1a1a;
    --accent: #0f692f;
    --accent-2: #589140;
    --accent-3: #96c044;
    --accent-3-1: #97c04471;
    --glass: rgba(255, 255, 255, 0.65);
    --shadow: 0px 10px 30px rgba(28, 28, 28, 0.08);
    --maxw: 1200px;
}

* {
    box-sizing: border-box
}

html,
body {
    height: 100%
}

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
}

/* scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--accent), var(--accent-2));
    border-radius: 999px
}

a:hover {
    color: var(--accent-2);

}

.container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 24px
}

/* ------------------
   HEADER
   ------------------ */
header {
    position: fixed;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    top: 18px;
    z-index: 110;
    width: calc(100% - 48px);
    max-width: var(--maxw);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 18px;
    border-radius: 18px;
    background: var(--glass);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    box-shadow: var(--shadow);
    -webkit-transition: all .28s cubic-bezier(.2, .8, .2, 1);
    transition: all .28s cubic-bezier(.2, .8, .2, 1);
    overflow: visible !important;
}

header.scrolled {
    top: 0;
    border-radius: 0 0 18px 18px
}

.header-left,
.header-center,
.header-right {
    display: flex;
    align-items: center
}

.header-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%)
}

.header-left img {
    width: 190px;
    height: 65px;
    object-fit: contain;
    border-radius: 6px;
}

.brand {
    font-weight: 700;
    margin-left: 8px
}

nav {
    display: flex;
    gap: 22px
}


nav a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 600
}

/* ------------------
   TOP NAV DROPDOWN
------------------ */
.top-nav {
    display: flex;
    gap: 22px;
    /* position: relative; */
}

.top-nav .nav-item {
    position: relative;
}

.top-nav .nav-item>a {
    font-weight: 600;
    text-decoration: none;
    color: var(--dark);
    padding: 8px 0;
}

/* Dropdown container */
.top-nav .dropdown-menu {
    position: absolute;
    top: 40px;
    left: 0;
    min-width: 200px;
    background: rgba(210, 213, 214, 0.88);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 0px 0px 14px 14px;
    box-shadow: var(--shadow);
    padding: 10px 0;
    display: none;
    flex-direction: column;
    animation: dropdownFade .25s ease;
}

/* Dropdown items */
.top-nav .dropdown-menu a {
    font-size: small;
    font-weight: normal;
    padding: 5px 6px;
    color: var(--dark);
    text-decoration: none;
    display: block;
    transition: background .2s;
}

.top-nav .dropdown-menu a:hover {
    background: rgba(0, 0, 0, 0.05);
}

/* Hover activation */
.top-nav .has-dropdown:hover .dropdown-menu {
    display: flex !important;
}

.top-nav .has-dropdown>a {
    padding-bottom: 20px;
    pointer-events: auto;
}

.top-nav nav-item:hover>a {
    color: var(--accent-2);
}

/* Optional fade animation */
@keyframes dropdownFade {
    from {
        opacity: 0;
        transform: translateY(10px)
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ------------------
   MOBILE SIDEBAR + RIBBON BUTTON (Attached)
   ------------------ */
.mobile-sidebar {
    position: fixed;
    left: 0;
    top: 10vh;
    width: 60%;
    max-width: 360px;
    height: 64vh;
    background: rgba(255, 255, 255, 0.45);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-radius: 0 18px 18px 0;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
    -webkit-transform: translateX(calc(-100% + 44px));
    transform: translateX(calc(-100% + 10px));
    -webkit-transition: transform .46s cubic-bezier(.2, .8, .2, 1);
    transition: transform .46s cubic-bezier(.2, .8, .2, 1);
    z-index: 120;
    display: none
}

.mobile-sidebar.open {
    -webkit-transform: translateX(0);
    transform: translateX(0)
}

.side-inner {
    padding: 22px;
    display: flex;
    flex-direction: column;
    height: 100%
}

.side-inner nav {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 18px
}

.side-inner nav a {
    font-size: 18px;
    font-weight: semi-bold;
    color: var(--dark);
    text-decoration: none;
    padding: 6px 8px;
    border-radius: 8px
}

.side-inner nav a:hover {
    background: rgba(0, 0, 0, 0.03)
}

/* inline→class helpers */
.side-top {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* sidebar header no longer shows a logo (kept as helper class if needed) */
.side-actions {
    margin-top: auto;
}

/* ribbon button (attached to right edge of sidebar) */
.mobile-menu-btn {
    position: absolute;
    right: -44px;
    top: 15px;
    width: 44px;
    height: 44px;
    background: var(--glass);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.14);
    border-left: 0;
    border-radius: 0 12px 12px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 121;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.10);
    -webkit-transition: -webkit-transform .28s, background .28s;
    transition: transform .28s, background .28s
}

.mobile-menu-btn .chev {
    font-size: 20px;
    color: var(--dark);
    transform-origin: center;
    -webkit-transition: transform .28s;
    transition: transform .28s
}

.mobile-menu-btn.open {
    background: var(--glass);
}

.mobile-menu-btn.open .chev {
    transform: rotate(180deg)
}

/* overlay */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(8, 8, 8, 0.22);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .24s;
    z-index: 110
}

.overlay.visible {
    opacity: 1;
    pointer-events: auto
}



/* ------------------
   MOBILE NAV DROPDOWN
------------------ */
.mobile-nav .mnav-item {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.mobile-nav .mnav-link {
    background: none;
    border: 0;
    text-align: left;
    padding: 10px 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
}

.mobile-nav .has-dropdown .mnav-dropdown {
    display: none;
    flex-direction: column;
    margin-left: 10px;
    border-left: 2px solid rgba(0, 0, 0, 0.1);
    padding-left: 10px;
}

.mobile-nav .mnav-dropdown a {
    font-weight: normal;
    padding: 8px 0;
    font-size: 12px;
    color: var(--dark);
}



/* Top Nav menu ends here  */

.header-center nav a {
    color: var(--bg);
}

.cta {
    background: var(--accent-2);
    color: #fff;
    padding: 10px 16px;
    border-radius: 30px;
    font-weight: 400;
    cursor: pointer;
    box-shadow: 2px 8px 20px rgba(158, 160, 158, 0.12);
    text-decoration: none;
}

.cta:hover {
    background-color: var(--accent-3);
    transform: translateY(-2px) !important;
    transition: all 0.3s ease !important;
}

/* ------------------
   MOBILE SIDEBAR + RIBBON BUTTON (Attached)
   ------------------ */
.mobile-sidebar {
    position: fixed;
    left: 0;
    top: 10vh;
    width: 60%;
    max-width: 360px;
    height: 64vh;
    background: rgba(255, 255, 255, 0.45);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-radius: 0 18px 18px 0;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
    -webkit-transform: translateX(calc(-100% + 44px));
    transform: translateX(calc(-100% + 10px));
    -webkit-transition: transform .46s cubic-bezier(.2, .8, .2, 1);
    transition: transform .46s cubic-bezier(.2, .8, .2, 1);
    z-index: 120;
    display: none
}

.mobile-sidebar.open {
    -webkit-transform: translateX(0);
    transform: translateX(0)
}

.side-inner {
    padding: 22px;
    display: flex;
    flex-direction: column;
    height: 100%
}

.side-inner nav {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 18px
}

.side-inner nav a {
    font-size: 18px;
    font-weight: semi-bold;
    color: var(--dark);
    text-decoration: none;
    padding: 6px 8px;
    border-radius: 8px
}

.side-inner nav a:hover {
    background: rgba(0, 0, 0, 0.03)
}

/* inline→class helpers */
.side-top {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* sidebar header no longer shows a logo (kept as helper class if needed) */
.side-actions {
    margin-top: auto;
}

/* ribbon button (attached to right edge of sidebar) */
.mobile-menu-btn {
    position: absolute;
    right: -44px;
    top: 15px;
    width: 44px;
    height: 44px;
    background: var(--glass);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.14);
    border-left: 0;
    border-radius: 0 12px 12px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 121;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.10);
    -webkit-transition: -webkit-transform .28s, background .28s;
    transition: transform .28s, background .28s
}

.mobile-menu-btn .chev {
    font-size: 20px;
    color: var(--dark);
    transform-origin: center;
    -webkit-transition: transform .28s;
    transition: transform .28s
}

.mobile-menu-btn.open {
    background: var(--glass);
}

.mobile-menu-btn.open .chev {
    transform: rotate(180deg)
}

/* overlay */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(8, 8, 8, 0.22);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .24s;
    z-index: 110
}

.overlay.visible {
    opacity: 1;
    pointer-events: auto
}



/* ------------------
HERO (FINAL CLEAN VERSION)
------------------ */

/* HERO WRAPPER */
.hero-wrap {
    width: 100%;
    overflow: hidden;
}

/* HERO CONTAINER */
.hero {
    position: relative;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* BACKGROUND SLIDES (generated from JSON) */
.kd-hero-slider {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
}

.kd-hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.08);
    /* Start slightly zoomed in */
    transition: opacity 1.2s ease-in-out, transform 8s ease-out;
    /* Slow zoom effect */
}

.kd-hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

/* GRADIENT OVERLAY */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.5) 100%);
    background-color: rgba(0, 0, 0, 0.2);
    pointer-events: none;
    z-index: 2;
}

/* HERO TEXT */
.kd-hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 3;
    color: #fff;
    width: 100%;
    max-width: 1000px;
    /* Wider for grander feel */
    padding: 0 24px;
}


.kd-hero-text h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 72px;
    line-height: 1.1;
    margin: 0;
    letter-spacing: -2px;
    font-weight: 700;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);

    /* Animation */
    opacity: 0;
    animation: kdFadeUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 0.3s;
}

.kd-hero-text .script-highlight {
    font-family: 'Great Vibes', cursive;
    font-size: 110px;
    /* Even larger */
    color: #dcfce7;
    /* Very pale green/white for elegance */
    font-weight: 400;
    display: block;
    margin-top: 0px;
    text-shadow: 0 0 30px rgba(167, 243, 208, 0.3);
    line-height: 1.2;
}

.kd-hero-text p {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    margin: 28px auto;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);

    /* Animation */
    opacity: 0;
    animation: kdFadeUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 0.5s;
}

/* CTA BUTTON */
.kd-hero-text .hero-cta {
    margin-top: 10px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    padding: 14px 36px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;

    /* Animation */
    opacity: 0;
    animation: kdFadeUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 0.7s;
}

.kd-hero-text .hero-cta:hover {
    background: #fff;
    color: var(--dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* ARROWS */
.kd-arrow {
    font-weight: 600;
    font-size: 24px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    background: rgba(255, 255, 255, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
    color: rgba(255, 255, 255, 0.8);
}

.kd-arrow:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}

.kd-prev {
    left: 32px;
}

.kd-next {
    right: 32px;
}

/* DOT INDICATORS */
.kd-dots {
    position: absolute;
    bottom: 40px;
    width: 100%;
    display: flex;
    gap: 12px;
    justify-content: center;
    z-index: 5;
}

.kd-dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all .3s;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.kd-dot.active {
    background: #fff;
    transform: scale(1.3);
    border-color: #fff;
}

/* Text Entrance Animation */
@keyframes kdFadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVE */
@media (max-width: 1000px) {
    .kd-hero-text h1 {
        font-size: 50px;
    }

    .kd-hero-text .script-highlight {
        font-size: 80px;
    }

    .kd-hero-text p {
        font-size: 18px;
    }
}

@media (max-width: 600px) {
    .kd-hero-text {
        width: 100%;
        padding: 0 16px;
    }

    .kd-hero-text h1 {
        font-size: 36px;
    }

    .kd-hero-text .script-highlight {
        font-size: 60px;
    }

    .kd-hero-text p {
        font-size: 16px;
        margin: 20px auto;
    }

    .kd-prev {
        left: 12px;
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .kd-next {
        right: 12px;
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}


/* ------------------
   SECTIONS (polish)
   ------------------ */

.service-card {
    text-align: center;
}

.service-card .service-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 14px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.service-card h3 {
    height: 70px;
}

.container-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px
}

.card {
    background: rgba(255, 255, 255, 0.55);
    /* soft white, blends with bg */
    border: 1px solid rgba(255, 255, 255, 0.35);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 32px 24px;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: transform .28s, box-shadow .28s;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.12);
}


/* contact card */
.contact-card {
    margin-top: 40px;
    background: rgba(255, 255, 255, 0.88);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    padding: 28px;
    border-radius: 20px;
    display: flex;
    gap: 24px;
    align-items: flex-start
}

.contact-card .info {
    flex: 1
}

.contact-card form {
    flex: 1
}

.contact-card input,
.contact-card textarea {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid rgba(12, 12, 12, 0.06);
    margin-bottom: 12px
}

.contact-card button {
    background: var(--accent);
    color: #011;
    padding: 12px 18px;
    border-radius: 10px;
    border: 0;
    font-weight: 800;
    cursor: pointer
}

/* moved inline rules */
.contact-card.fade-up {
    margin-top: 36px;
}

.contact-card .info h3 {
    margin: 0 0 10px;
}

.contact-card .info p {
    color: var(--muted);
    margin-bottom: 10px;
}

.contact-actions {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.secondary-btn {
    background: transparent;
    border: 1px solid rgba(12, 12, 12, 0.06);
    padding: 10px;
    border-radius: 10px;
}

.soft-panel {
    background: rgba(255, 255, 255, 0.35);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    border-radius: 24px;
    padding: 40px 30px;
    margin-bottom: 40px;
}

.section-fade {
    position: relative;
}

.section-fade::before {
    content: "";
    position: absolute;
    top: -40px;
    left: 0;
    right: 0;
    height: 40px;
    pointer-events: none;
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0.25),
            rgba(255, 255, 255, 0));
}

.section-fade::after {
    content: "";
    position: absolute;
    bottom: -40px;
    left: 0;
    right: 0;
    height: 40px;
    pointer-events: none;
    background: linear-gradient(to top,
            rgba(255, 255, 255, 0.25),
            rgba(255, 255, 255, 0));
}


.section-title {
    max-width: 100%;
    margin-bottom: 12px;
    font-size: 32px;
    font-weight: 800;
    text-align: center;
}

.muted {
    color: var(--muted);
}

.section-intro {
    max-width: 100%;
    margin-bottom: 20px;
    text-align: center;
}

.muted.small {
    max-width: 320px;
}

/* Contact Box Wrapper */
.contact-box {
    display: flex;
    justify-content: space-between;
    gap: 40px;

    padding: 40px;
    border-radius: 18px;

    background: rgba(200, 255, 220, 0.25);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);

    margin-top: 40px;
}

/* Left Side */
.contact-left {
    flex: 1;
}

.contact-left h2 {
    margin-top: 0;
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 10px;
}

.contact-left p {
    max-width: 420px;
    color: #555;
}

.contact-info {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 8px 0;
    font-size: 15px;
    color: #333;
}

.contact-info i {
    font-size: 18px;
    color: #20b15a;
}

/* Right Side Form */
.contact-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-right input,
.contact-right textarea {
    width: 100%;
    padding: 12px 14px;
    font-size: 14px;

    border: 1px solid #d6eade;
    border-radius: 8px;

    background: #fff;
}

.contact-right textarea {
    min-height: 120px;
    resize: vertical;
}

/* Submit Button */
.contact-submit {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;

    background: #20c15a;
    color: #fff;
    font-size: 15px;
    font-weight: 600;

    cursor: pointer;
    transition: 0.25s ease;
}

.contact-submit:hover {
    background: #0da648;
}

/* Responsive */
@media (max-width: 900px) {
    .contact-box {
        flex-direction: column;
        padding: 28px;
    }
}

/* ABOUT SECTION */
.about-section {
    padding: 90px 0;
    position: relative;
}

/* Layout */
.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

/* Image Wrapper with Glow */
.about-image {
    position: relative;
    flex: 1;
    display: flex;
    justify-content: center;
}

.about-image img {
    width: 100%;
    max-width: 460px;
    border-radius: 22px;
    object-fit: cover;
    transform: translateY(0);
    transition: transform .5s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Soft Glow Behind Image */
.img-glow {
    position: absolute;
    width: 90%;
    height: 90%;
    border-radius: 25px;
    background: radial-gradient(circle at center,
            rgba(0, 255, 180, 0.25),
            rgba(0, 0, 0, 0));
    filter: blur(35px);
    z-index: -1;
}

/* Floating animation */
.about-image:hover img {
    transform: translateY(-8px);
}

/* Content Area */
.about-content {
    flex: 1;
}

/* Heading Styling */
.about-content h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 18px;
}

/* Highlighted Number */
.about-highlight {
    font-size: 64px;
    font-weight: 900;
    color: #12a85c;
    padding-right: 6px;
    display: inline-block;
}

/* Decorative Accent Bar */
.about-accent {
    width: 70px;
    height: 4px;
    background: #12a85c;
    border-radius: 10px;
    margin-bottom: 20px;
}

/* Text */
.about-content p {
    font-size: 17px;
    line-height: 1.7;
    color: #37473f;
}

/* Responsive */
@media (max-width: 900px) {
    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .about-accent {
        margin: 12px auto 20px auto;
    }
}

/*.work-section {
        background: var(--bg); */
/*#f5f1e6; 
   }*/

.testimonial-container {
    text-align: center;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-meta {
    color: var(--muted);
    font-weight: 700;
    margin-top: 12px;
}



.flex-col {
    flex: 1;
    min-width: 220px;
}

/* work grid */
.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px
}

.project {
    border-radius: 12px;
    overflow: hidden;
    position: relative
}

.project img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .6s
}

.project:hover img {
    transform: scale(1.06)
}

.project .meta {
    font-weight: 600;
    position: absolute;
    left: 12px;
    bottom: 12px;
    color: #4a5053;
    background: linear-gradient(180deg, rgba(238, 236, 236, 0.836), rgba(250, 249, 249, 0.562));
    padding: 8px 12px;
    border-radius: 10px
}

/* TESTIMONIAL SLIDER */
.testimonial-section {
    padding: 80px 20px;
    text-align: center;
    position: relative;
    width: 100%;
}

.testimonial-title {
    margin-bottom: 40px;
}

.testimonial-slider {
    position: relative;
    max-width: 900px;
    margin: auto;
    background: rgba(255, 255, 255, 0.171);
    border-radius: 20px;
    box-shadow: 10px 20px 40px rgba(139, 139, 139, 0.08);
}

.ts-wrapper {
    position: relative;
    overflow: hidden;
}

.ts-slide {
    opacity: 0;
    transform: translateY(20px);
    transition: all .6s ease;
    position: absolute;
    inset: 0;
    padding: 40px 20px;
}

.ts-slide.active {
    opacity: 1;
    transform: translateY(0);
    position: relative;
}

.ts-text {
    font-size: 17px;
    color: #37473f;
    line-height: 1.7;
}

.ts-user {
    margin-top: 20px;
}

.ts-user img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 8px;
}

.ts-user h4 {
    margin: 0;
    color: var(--accent);
    font-weight: 700;
}

/* NEXT / PREV BUTTONS */
.ts-btn {
    width: 48px;
    height: 48px;
    background: #ffffff42;
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    color: var(--accent);
    font-weight: bold;
}

.ts-prev {
    left: -20px;
}

.ts-next {
    right: -20px;
}

.ts-btn:hover {
    background: var(--accent-3-1);
    color: white;
}

/* MOBILE RESPONSIVE */
@media (max-width: 600px) {
    .ts-prev {
        left: 0;
    }

    .ts-next {
        right: 0;
    }
}


/* FOOTER NEW STRUCTURE */
footer {
    background: var(--dark) url("/assets/images/bg4.png") no-repeat center center / cover;
    position: relative;
    color: #fff;
    padding: 0px 20px;
}

footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

footer>* {
    position: relative;
    z-index: 1;
}


.footer-row {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

/* Columns */
.footer-col {
    flex: 1;
    min-width: 260px;
}

.footer-col h3 {
    margin-bottom: 12px;
    font-weight: 700;
}

.footer-address span {
    margin-left: 20px;
}

/* Footer Form */
.footer-form input,
.footer-form textarea {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: none;
    margin-bottom: 10px;
}

.footer-form textarea {
    height: 100px;
}

.footer-form button {
    background: var(--accent-2);
    border: none;
    padding: 12px;
    width: 100%;
    color: #fff;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
}

.footer-form button:hover {
    background: var(--accent-3);
}

/* COPYRIGHT + LINKS ROW */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-copy {
    margin: 0;
}

.developer-line a {
    color: var(--accent-3);
    text-decoration: none;
}

.developer-line a:hover {
    color: var(--accent-3);
}

.footer-links {
    list-style: none;
    display: flex;
    gap: 18px;
    margin: 0;
}

.footer-links a {
    color: var(--accent-3);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--accent-3);
}

/* RESPONSIVE */
@media(max-width: 768px) {
    .footer-row {
        flex-direction: column;
    }

    .footer-bottom {
        text-align: center;
        flex-direction: column;
        gap: 14px;
    }

    .footer-links {
        justify-content: center;
    }
}


/* animation utilities */
.fade-up {
    opacity: 0;
    transform: translateY(18px);
    transition: all .7s cubic-bezier(.2, .8, .2, 1)
}

.fade-up.visible {
    opacity: 1;
    transform: none
}

/* responsive */
@media (max-width:1000px) {
    .hero h1 {
        font-size: 44px
    }

    .hero p {
        font-size: 16px
    }
}

@media (max-width:600px) {
    header {
        left: 12px;
        right: 12px;
        transform: none;
        width: calc(100% - 24px);
        height: 60px;
    }

    .header-center {
        display: none
    }

    .header-right {
        display: none
    }

    .mobile-sidebar {
        display: block
    }

    .brand {
        position: absolute;
        left: 50%;
        transform: translateX(-50%)
    }

    .hero h1 {
        font-size: 28px
    }

    .hero p {
        font-size: 15px
    }

    .mobile-sidebar {
        top: 10vh;
        height: 68vh
    }

    .mobile-menu-btn {
        top: 15%;
        transform: translateY(-50%)
    }

    /* center the header logo on mobile and increase the size for visibility */
    header .header-left {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        align-items: center;
    }

    header .brand {
        display: none;
    }

    header .header-left img {
        width: 190px;
        height: 65px;
    }
}

.social-logo {
    width: 32px;
    height: 32px;
    margin: 0 8px;
    display: inline-block;
}

/* ---------- PAGE INTRO ---------- */

.page-hero {
    padding: 140px 0 60px;
    text-align: center;
    position: relative;
    padding: 160px 0 90px;
    text-align: center;
    color: #fff;
    background-image:
        linear-gradient(180deg,
            rgba(0, 0, 0, 0.568),
            rgba(0, 0, 0, 0.171)),
        url("/assets/images/title-background.jpg");
    /* or a nature image */

    background-size: cover;
    background-position: center;
}

.page-hero h1 {
    font-size: 52px;
    font-weight: 800;
}

.page-hero p {
    max-width: 680px;
    margin: 14px auto 0;
    color: rgba(255, 255, 255, 0.9);
}


/* ===============================
   INNER PAGE FOOTER
   =============================== */
.rs-footer {
    background: #0f1115;
    /* dark footer like reference */
    font-family: "Montserrat", sans-serif;
    color: #eaeaea;
}

.rs-container {
    max-width: 1300px;
    margin: auto;
    padding: 80px 20px 30px;
}

/* TOP */
.rs-footer-top {
    display: grid;
    grid-template-columns: 1.1fr 2fr 1.2fr;
    align-items: center;
    gap: 10px;
}

/* LEFT */

/* Base link style */
.rs-solutions a {
    position: relative;
    color: #cfcfcf;
    text-decoration: none;
    padding-left: 0;
    /* no space initially */
    transition: color 0.25s ease,
        padding-left 0.25s ease;
}

/* Dash */
.rs-solutions a::before {
    content: "—";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-3);
    opacity: 0;
    transition: opacity 0.25s ease;
}

/* Hover */
.rs-solutions a:hover {
    color: var(--accent-3);
    padding-left: 18px;
    /* text moves right */
}

.rs-solutions a:hover::before {
    opacity: 1;
}


.rs-solutions h3 {
    font-size: 28px;
    margin-bottom: 30px;
    position: relative;
}

.rs-solutions h3::after {
    content: "";
    width: 40px;
    height: 3px;
    background: #000;
    display: block;
    margin-top: 8px;
}

.rs-solution-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.rs-solution-columns ul {
    list-style: none;
    padding: 0;
}

.rs-solution-columns li {
    margin-bottom: 14px;
    font-size: 15px;
}

/* CENTER */
.rs-logo-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    margin: auto;
}

.rs-logo-wrap img {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 140px;
    z-index: 2;
}

.rs-dots {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: url("/assets/images/footer-logo-bg-dark.png") center center / contain no-repeat;
    opacity: 1;
}

/* RIGHT */
.rs-eyebrow {
    font-size: 12px;
    letter-spacing: 1.5px;
    color: var(--accent-3);
}

.rs-about h3 {
    font-size: 32px;
    margin: 12px 0 18px;
}

.rs-about p {
    font-size: 14px;
    line-height: 1.9;
    max-width: 420px;
}

.rs-social {
    margin-top: 30px;
}

.rs-social-label {
    display: block;
    font-size: 13px;
    color: var(--accent-3);
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.rs-social-icons {
    display: flex;
    gap: 18px;
}

.rs-social-icons a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cfcfcf;
    font-size: 20px;
    transition: all 0.25s ease;
    text-decoration: none;
}

.rs-social-icons a:hover {
    color: var(--accent-3);
    border-color: var(--accent-3);
    transform: translateY(-3px);
}

/* WhatsApp */
.rs-social-icons a[href*="wa.me"]:hover {
    border-color: #25d366;
    color: #25d366;
}

/* Instagram */
.rs-social-icons a[href*="instagram"]:hover {
    border-color: #e1306c;
    color: #e1306c;
}

/* Facebook */
.rs-social-icons a[href*="facebook"]:hover {
    border-color: #1877f2;
    color: #1877f2;
}

/* LinkedIn */
.rs-social-icons a[href*="linkedin"]:hover {
    border-color: #0a66c2;
    color: #0a66c2;
}

/* =====================================
   RS FOOTER TOP – RESPONSIVE
   ===================================== */

/* Tablet */
@media (max-width: 1024px) {
    .rs-footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 40px 30px;
    }

    /* Center logo on its own row */
    .rs-logo-wrap {
        grid-column: 1 / -1;
        order: 1;
        height: 260px;
    }

    .rs-solutions {
        order: 2;
    }

    .rs-about {
        order: 3;
    }

    .rs-about p {
        max-width: 100%;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .rs-footer-top {
        grid-template-columns: 1fr;
        gap: 36px;
        text-align: center;
    }

    .rs-logo-wrap {
        order: 1;
        height: 220px;
    }

    .rs-logo-wrap img {
        width: 120px;
    }

    .rs-about {
        order: 2;
    }

    .rs-about h3 {
        font-size: 26px;
    }

    .rs-about p {
        margin-left: auto;
        margin-right: auto;
    }

    .rs-social-icons {
        justify-content: center;
    }

    .rs-solutions {
        order: 3;
    }

    .rs-solutions h3::after {
        margin-left: auto;
        margin-right: auto;
    }

    .rs-solution-columns {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.stars {
    color: #e74c3c;
    font-size: 14px;
}

.stars.gold {
    color: #f1c40f;
}

.divider {
    width: 1px;
    height: 40px;
    background: #ddd;
}

/* CONTACT ROW */
/* CONTACT ROW Styling */
.rs-contact-row {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 30px 0;
    /* background: linear-gradient(to right, #f8faff, #f4f6fc); Subtle light blue/grey gradient */
    border-radius: 8px;
    margin-top: 50px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.rs-contact-row>div {
    display: flex;
    align-items: center;
    gap: 15px;
    /* Space between icon container and text container */
}

.rs-contact-row>div>div:first-child {
    /* Icon container */
    font-size: 36px;
    color: var(--accent-3);
    /* Lighter blue for icons */
}

.rs-contact-row>div>div:last-child {
    /* Text content container */
    display: flex;
    flex-direction: column;
}

.rs-contact-row>div span {
    /* "Call Any Time" text */
    color: var(--accent-3);
    /* Slightly darker blue */
    font-size: 14px;
    margin-bottom: 3px;
    /* Smaller space between span and h6 */
    white-space: nowrap;
    /* Prevent text from wrapping */
}

.rs-contact-row>div h6 {
    /* Number/Address/Email */
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff9a;
    white-space: nowrap;
    /* Prevent text from wrapping */
}

.rs-contact-row>div h6 a {
    color: inherit;
    text-decoration: none;
}

/* ===============================
   RS CONTACT ROW – RESPONSIVE
   =============================== */

/* Tablet */
@media (max-width: 900px) {
    .rs-contact-row {
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
    }

    .rs-contact-row>div {
        width: 45%;
        justify-content: flex-start;
    }

    /* Address block takes full width */
    .rs-contact-row>div:nth-child(2) {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .rs-contact-row>div:nth-child(2) h6 {
        white-space: normal;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .rs-contact-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 22px;
        padding: 24px 0;
    }

    .rs-contact-row>div {
        width: 100%;
        align-items: flex-start;
    }

    .rs-contact-row>div>div:first-child {
        font-size: 30px;
        margin-top: 2px;
    }

    .rs-contact-row>div span {
        font-size: 13px;
        white-space: normal;
    }

    .rs-contact-row>div h6 {
        font-size: 16px;
        white-space: normal;
        /* allow address/email wrap */
        line-height: 1.5;
    }
}

/* BOTTOM */
.rs-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 25px;
    font-size: 13px;
}

.rs-footer-bottom a {
    color: #eeee;
    text-decoration: none;
}

.rs-footer-bottom a:hover {
    color: var(--accent-3);
}

.rs-links a {
    margin-left: 30px;
    text-decoration: none;
    color: #eee;
}

.rs-links a:hover {
    color: var(--accent-3);
}

/* =========================================================
   GALLERY PAGE – KADAMBARI DESIGN STUDIO
   ========================================================= */


/* ---------- LAYOUT ---------- */

.gallery-section {
    position: relative;
    padding-top: 100px;
}

.gallery-group {
    margin-bottom: 80px;
}

/* Category title */
.gallery-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 22px;
    position: relative;
}

.gallery-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent);
    border-radius: 6px;
    margin-top: 8px;
}

/* ---------- MASONRY GRID ---------- */

.gallery-grid {
    column-count: 4;
    column-gap: 18px;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 18px;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.35);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: transform .35s ease, box-shadow .35s ease;
}

/* Image */
.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform .6s ease;
}

/* Hover */
.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.14);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

/* ---------- OVERLAY ---------- */

.gallery-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 14px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.45), transparent);
    opacity: 0;
    transition: opacity .3s ease;
    pointer-events: none;
}

.gallery-overlay span {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* ---------- LAZY LOADING ---------- */

.lazy-img {
    opacity: 0;
    transition: opacity .5s ease;
}

.lazy-img.loaded {
    opacity: 1;
}



/* ---------- LIGHTBOX ---------- */

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .4);
}

.lb-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 34px;
    color: #fff;
    cursor: pointer;
}

/* ================================
   LIGHTBOX – ADVANCED
================================ */

.lb-btn {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 64px;
    height: 64px;
    background: rgba(0, 0, 0, 0.35);
    border: none;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    z-index: 10001;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.lb-prev {
    left: 0;
    border-radius: 0 50% 50% 0;
}

.lb-next {
    right: 0;
    border-radius: 50% 0 0 50%;
}

.lb-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Counter */
.lb-counter {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    opacity: 0.85;
}

/* Zoom */
.lightbox img {
    transform: translate(0, 0) scale(1);
    transition: transform 0.15s ease;
    cursor: zoom-in;
    -webkit-user-select: none;
    user-select: none;
    will-change: transform;
}

.lightbox img.zoomed {
    cursor: grab;
}

.lightbox img.dragging {
    cursor: grabbing;
}

/* ---------- REVEAL ANIMATION ---------- */

.fade-up {
    opacity: 0;
    transform: translateY(18px);
    transition: all .7s cubic-bezier(.2, .8, .2, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: none;
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 1200px) {
    .gallery-grid {
        column-count: 3;
    }
}

@media (max-width: 900px) {
    .gallery-grid {
        column-count: 2;
    }

}

@media (max-width: 480px) {
    .gallery-grid {
        column-count: 1;
    }

    .page-hero h1 {
        font-size: 34px;
    }
}


/* =========================================================
   GALLERY TIMELINE (Google Photos Style)
   ========================================================= */

.gallery-layout {
    position: relative;
    display: flex;
    align-items: flex-start;
}

/* Gallery content fills space */
.gallery-layout .container {
    flex: 1;
}

/* Timeline stays on the right */
.gallery-timeline {
    position: sticky;
    top: calc(50% + 60px);
    /* header height offset */
    transform: translateY(-50%);

    width: 44px;
    height: 60vh;
    margin-left: 24px;

    z-index: 20;
    pointer-events: none;
}


/* Allow dot clicks */
.gallery-timeline li {
    pointer-events: auto;
}

/* Ensure dots remain clickable */
.gallery-timeline li {
    pointer-events: auto;
}


/* Vertical line */
.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom,
            transparent,
            var(--accent-3),
            transparent);
    transform: translateX(-50%);
}

/* Dots list */
.gallery-timeline ul {
    list-style: none;
    padding: 0;
    margin: 0;
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}

/* Dot */
.gallery-timeline li {
    width: 10px;
    height: 10px;
    background: var(--accent-2);
    border-radius: 50%;
    cursor: pointer;
    pointer-events: auto;
    position: relative;
    transition: transform .25s ease, background .25s ease;
}

/* Hover / Active */
.gallery-timeline li:hover,
.gallery-timeline li.active {
    background: var(--accent);
    transform: scale(1.4);
}

/* Label bubble */
.gallery-timeline li::before {
    content: attr(data-label);
    position: absolute;
    right: 16px;
    white-space: nowrap;
    background: rgba(255, 255, 255, 0);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    padding: 6px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
    opacity: 0;
    transform: translateX(6px);
    transition: opacity .25s ease, transform .25s ease;
    pointer-events: none;
}

.gallery-timeline li:hover::before,
.gallery-timeline li.active::before {
    opacity: 1;
    transform: translateX(0);
}

/* Hide on mobile */
@media (max-width: 900px) {
    .gallery-timeline {
        display: none;
    }
}

/* ===============================
   EXPERTISE – EDITORIAL STUDIO
   =============================== */

.expertise-editorial {
    padding: 160px 10vw;
    background: #f5f4f1;
    display: flex;
    flex-direction: column;
    gap: 180px;
}

/* Each section */
.expertise-row {
    display: grid;
    grid-template-columns: 260px 1fr;
    align-items: flex-start;
    gap: 120px;
}

/* Left identity */
.expertise-label h2 {
    margin: 0;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.05;
}

.expertise-label span {
    display: block;
    margin-top: 14px;
    font-size: 12px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: #9a6d6f;
}

/* Content rhythm */
.expertise-content {
    display: grid;
    grid-template-columns: repeat(3, minmax(200px, 1fr));
    row-gap: 32px;
    column-gap: 80px;
}

.expertise-content p {
    margin: 0;
    font-size: 15px;
    font-weight: 400;
    color: #222;
    cursor: pointer;
}

/* Hover */
.expertise-content p:hover {
    color: var(--accent-3);
    padding-left: 0px;
    font-weight: 900;
    /* text moves right */
}

.expertise-content p:hover::before {
    opacity: 1;
}

/* Subtle hover (optional, not dominant) */
.expertise-content p:hover {
    color: var(--accent);
}

/* Responsive */
@media (max-width: 1100px) {
    .expertise-row {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .expertise-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .expertise-editorial {
        padding: 100px 6vw;
        gap: 120px;
    }

    .expertise-content {
        grid-template-columns: 1fr;
        row-gap: 22px;
    }
}

/* =========================================
   STORIES / TESTIMONIALS (Bento Redesign)
   ========================================= */

/* Hero */
.stories-hero {
    background: transparent;
    /* Seamless blend */
    padding: 160px 0 60px;
    text-align: center;
}

.stories-hero .eyebrow {
    font-size: 11px;
    letter-spacing: 2px;
    color: #e58eae;
    /* Pink from image */
    font-weight: 700;
    text-transform: uppercase;
    display: block;
    margin-bottom: 1px;
}

.stories-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 64px;
    color: #222;
    line-height: 1;
    margin-bottom: 20px;
}

.script-highlight {
    font-family: 'Great Vibes', cursive;
    font-weight: 400;
    color: #5dcbbd;
    /* Light cyan/blue from image */
    font-size: 80px;
    line-height: 0.8;
}

.stories-intro {
    max-width: 600px;
    margin: 0 auto;
    font-size: 14px;
    color: #6d6d6d;
    font-family: 'Playfair Display', serif;
    font-style: italic;
}


/* Bento Grid Container */
.bento-section {
    background: #f0ead6;
    padding-bottom: 80px;
}

.bento-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.8fr 1fr;
    /* layout columns */
    grid-template-rows: auto auto;
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

/* Card Base */
.bento-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    position: relative;
    padding: 24px;
    display: flex;
    flex-direction: column;
}

/* 1. LARGE SPLIT CARD (Spans 2 rows on left) */
.card-split {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    padding: 0;
    /* Split content handles padding */
    display: flex;
    flex-direction: row;
}

.split-image {
    width: 45%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.img-label {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: #fff;
    font-size: 12px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.img-label strong {
    display: block;
    font-size: 14px;
}

.split-content {
    width: 55%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

/* Big watermark quote */
.quote-mark {
    position: absolute;
    top: -10px;
    right: 10px;
    font-size: 140px;
    color: #e6fcf5;
    /* very light green */
    font-family: serif;
    pointer-events: none;
    z-index: 0;
}

.box-quote {
    position: relative;
    z-index: 1;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 20px;
    color: #222;
    line-height: 1.4;
    margin-top: 20px;
}

/* 2. COMPACT CARD (Top Right) */
.card-compact {
    grid-column: 2 / 4;
    /* Span across right cols top row? Actually checking image again */
    /* Image shows: Large Card (Left), Top Right Stack (2 cards on right column) */
    /* Let's adjust grid template */
}

/* Re-thinking Grid to match image:
   Col 1: Large Card (Split)
   Col 2: Column with two cards (Compact + Bordered)
   Row 2 spans full width or logic?
   Actually image shows 3 columns roughly.
   Let's Stick to:
   Row 1: [Split (2 cols)] [Compact (1 col)] -> Wait, Split is tall.
   Let's try:
   Row 1: [Split Tall] [Compact]
   Row 1: [Split Tall] [Bordered]
   Row 2: [Wide Overlay] [Dark Card]
*/

/* Correct Grid Layout match */
.bento-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    grid-template-rows: 240px 240px 280px;
    gap: 20px;
}

.card-split {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    /* Tall left */
}

.card-compact {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

.card-bordered {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    border: 2px solid #a8e6cf;
    /* Light green border */
    box-shadow: none;
}

.card-overlay {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
    background-size: cover;
    color: #fff;
    padding: 0;
}

.card-dark {
    grid-column: 2 / 3;
    grid-row: 3 / 4;
    background: #1a1a1a;
    color: #fff;
    display: flex;
    flex-direction: row;
    padding: 0;
}


/* Common Elements */
.stars {
    color: #5dcbbd;
    font-size: 18px;
    letter-spacing: 2px;
}

.stars.green {
    color: #5dcbbd;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 2px solid #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.user-info h5 {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: #222;
}

.user-info span {
    font-size: 11px;
    color: #888;
}


/* Specific Card Styles */

/* Compact */
.pink-icon {
    color: #e58eae;
    font-size: 24px;
    margin-bottom: 10px;
}

.compact-quote {
    font-size: 13px;
    color: #444;
    line-height: 1.6;
    margin-bottom: auto;
}

/* Bordered */
.card-headline {
    font-size: 16px;
    margin: 10px 0;
    font-weight: 800;
}

.serif-quote.small {
    font-size: 14px;
    color: #555;
    font-style: italic;
}

.card-footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.status-icon {
    color: #5dcbbd;
    font-size: 20px;
}

.user-info-simple strong {
    display: block;
    font-size: 13px;
}

.user-info-simple span {
    font-size: 10px;
    color: #999;
}

/* Overlay */
.overlay-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 2;
}

.overlay-gram {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
}

.serif-quote.white {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 18px;
    color: #fff;
    margin-bottom: 8px;
}

.white-label {
    font-size: 11px;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.white-icon {
    position: absolute;
    top: 20px;
    left: 20px;
    color: #fff;
    font-size: 24px;
    z-index: 2;
}

/* Dark */
.dark-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.dark-image {
    width: 140px;
    background-size: cover;
    background-position: center;
    margin: 10px;
    border-radius: 12px;
}

.dark-title {
    color: #4fc3f7;
    font-size: 16px;
    margin: 0 0 10px 0;
}

.dark-text {
    font-size: 11px;
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 14px;
}

.approval-row {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 9px;
    color: #888;
}

.avatars-stack {
    display: flex;
}

.av {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #555;
    border: 1px solid #222;
    margin-right: -6px;
}

.av.last {
    background: #777;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 8px;
}


/* TRUST SECTION */
.trust-section {
    background: #f0ead6;
    padding: 20px 0 100px;
    overflow: hidden;
}

.trust-grid {
    display: flex;
    align-items: center;
    position: relative;
    background: #fdfcf8;
    border-radius: 30px;
    padding: 60px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.03);
}

.trust-left {
    flex: 1;
    z-index: 2;
}

.trust-left h2 {
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: 800;
}

.script-pink {
    font-family: 'Great Vibes';
    color: #e58eae;
    font-weight: 400;
    transform: rotate(-4deg);
    display: inline-block;
}

.script-green {
    font-family: 'Great Vibes';
    color: #5dcbbd;
    font-weight: 400;
}

.trust-left p {
    max-width: 400px;
    color: #777;
    margin-bottom: 30px;
}

.stats-row {
    display: flex;
    gap: 20px;
}

.stat-box {
    background: #f8f6f2;
    padding: 24px;
    border-radius: 16px;
    min-width: 160px;
}

.green-stat {
    color: #5dcbbd;
    font-size: 32px;
    margin: 0;
    font-weight: 800;
}

.pink-stat {
    color: #e58eae;
    font-size: 32px;
    margin: 0;
    font-weight: 800;
}

.stat-box span {
    font-size: 10px;
    font-weight: 700;
    color: #999;
    letter-spacing: 1px;
}

.trust-right-bg {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 50%;
    z-index: 1;
    pointer-events: none;
}

.bg-icon {
    position: absolute;
    color: #efe9d5;
    font-size: 120px;
}

.i1 {
    top: -20px;
    right: 80px;
    transform: rotate(10deg);
}

.i2 {
    bottom: 20px;
    right: 200px;
    font-size: 80px;
    transform: rotate(-10deg);
}

.i3 {
    top: 40%;
    right: 20px;
    font-size: 60px;
}

/* Responsive Grid */
@media (max-width: 900px) {
    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .card-split,
    .card-compact,
    .card-bordered,
    .card-overlay,
    .card-dark {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .card-split {
        flex-direction: column;
    }

    .split-image {
        width: 100%;
        height: 200px;
    }

    .split-content {
        width: 100%;
    }

    .trust-grid {
        flex-direction: column;
        padding: 30px;
    }

    .story-hero {
        padding-top: 120px;
    }
}

/* Home Hero Override */
.home-hero-override {
    padding: 180px 0 100px;
    /* Grander spacing for home */
}

.home-hero-override .stories-title {
    font-size: 80px;
    /* Larger title */
}

.home-hero-override .script-highlight {
    font-size: 100px;
}

/* ------------------
   SIMPLE SLIDER TESTIMONIALS
   ------------------ */
.simple-slider-section {
    padding: 50px 0;
    overflow: hidden;
}

#testimonialCarousel {
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-card {
    background: #F4F1EA;
    /* Light Beige/Cream from reference */
    padding: 40px 40px;
    text-align: center;
    border-radius: 4px;
    /* Minimal border radius maybe? Or none as per image? keeping small */
    position: relative;
    /* optional subtle shadow or none for flat interaction */
}

/* Quote Icon */
.quote-icon {
    font-size: 60px;
    color: #FF8BA7;
    /* Pink/Rose color */
    margin-bottom: 24px;
    display: inline-block;
}

/* Text */
.testimonial-text {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 28px;
    line-height: 1.5;
    color: #444;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Meta */
.testimonial-meta h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #222;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.testimonial-meta span {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    color: #777;
    margin-top: 5px;
    display: block;
}

/* Indicators */
.carousel-indicators.custom-dots {
    position: static;
    /* Move below */
    margin-top: 30px;
    margin-bottom: 0;
}

.carousel-indicators.custom-dots [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ccc;
    border: none;
    margin: 0 6px;
    opacity: 0.5;
    transition: all 0.3s;
}

.carousel-indicators.custom-dots .active {
    background-color: #FF8BA7;
    /* Active pink */
    opacity: 1;
    transform: scale(1.2);
}




/* RESPONSIVE */
.hero-wrap,
.simple-slider-section {
    width: 100%;
    max-width: 100vw;
}

@media (max-width: 768px) {
    .testimonial-text {
        font-size: 20px;
        padding: 0 10px;
    }

    .testimonial-card {
        padding: 50px 20px;
    }
}