/* ==========================================================================
   Variables & Global Defaults
========================================================================== */
:root {
    --primary-color: #11A792;
    --secondary-color: #87B964;
    --accent-color: #AAD044;
    --dark-green: #328370;
    --text-main: #333333;
    --text-muted: #6c757d;
    --white: #ffffff;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    margin: 0;
    padding: 0;
    font-family: sans-serif; /* Added default font */
}

.fw-bold { font-weight: 700; }
.fw-semibold { font-weight: 600; }
.text-muted { color: var(--text-muted) !important; }

/* ========================================================================== 
   Navbar
========================================================================== */
.custom-navbar {
    padding: 15px 0;
}

.custom-navbar .navbar-brand img {
    max-height: 45px;
}

.custom-navbar .nav-link {
    font-weight: 500;
    color: var(--text-main);
    margin: 0 10px;
    transition: var(--transition);
}

.custom-navbar .nav-link:hover {
    color: var(--primary-color);
}

.nav-btn {
    background-color: var(--primary-color);
    border: none;
    border-radius: 50px;
    padding: 8px 20px;
    font-weight: 600;
}

.nav-btn:hover {
    background-color: var(--dark-green);
}

#header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* ==========================================================================
   SLIDER
========================================================================== */
.slider-element {
    background-color: #fcfcfc;
}

.slider-inner .swiper-slide {
    min-height: 75vh;
    display: flex;
    align-items: center;
}

.slide-content {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    padding: 0 5%;
}

.slider-caption {
    flex: 1;
}

.slider-caption h2 {
    color: var(--primary-color);
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.slider-caption p,
.slider-caption li {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-main);
}

.slider-caption ul {
    padding-left: 20px;
}

.slider-image,
.slider-image-multiple {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slider-image img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.slider-image-multiple {
    gap: 15px;
}

.slider-image-multiple img {
    width: 30%;
    border-radius: 15px;
    object-fit: cover;
    box-shadow: var(--shadow);
}

/* ==========================================================================
   Features Section
========================================================================== */
.feature-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}
/* ==========================================================================
   How It Works - Refined Hover Effect
========================================================================== */

.feature-box {
    background: var(--white);
    border-radius: 20px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1); /* Smooth spring transition */
    border: 1px solid #eee;
    height: 100%;
    z-index: 1;
}

.step-number {
    position: absolute;
    top: -22px;
    left: 50%;
    transform: translateX(-50%);
    width: 45px;
    height: 45px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(17, 167, 146, 0.3);
    transition: all 0.4s ease;
}

.feature-box-img {
    padding: 40px 20px 20px;
    background: #f9f9f9;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
}

.feature-box-img img {
    transition: transform 0.4s ease; /* Matches the card transition */
}

/* --- THE NEW UNIFIED HOVER EFFECT --- */

.zoom-out-effect {
    cursor: pointer;
}

.zoom-out-effect:hover {
    /* Lift the whole card up and scale it slightly */
    transform: translateY(-10px) scale(1.02); 
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
    border-color: var(--primary-color) !important;
    z-index: 5; /* Ensures the lifted card stays on top of others */
}

/* Subtle image interaction - moves slightly with the card */
.zoom-out-effect:hover .feature-box-img img {
    transform: scale(1.05);
}

/* Number reacts to the card lift */
.zoom-out-effect:hover .step-number {
    background-color: var(--secondary-color);
    box-shadow: 0 8px 20px rgba(135, 185, 100, 0.4);
    transform: translateX(-50%) translateY(-5px); /* Moves up with the card */
}

.zoom-out-effect:hover .feature-box-content h4 {
    color: var(--primary-color);
}


/* ==========================================================================
   Our Story Section
========================================================================== */
.story-card {
    border-radius: 20px;
}

.story-image-bg {
    background: url('images/story-bg.jpg') center/cover;
    min-height: 400px;
}

.story-lead-text {
    color: var(--primary-color);
    font-weight: 500;
}

.story-quote {
    border-color: var(--primary-color) !important;
    font-style: italic;
    font-size: 0.95rem;
    background-color: #f8fdfc;
}

/* ==========================================================================
   App Section
========================================================================== */
.app-section {
    background: linear-gradient(135deg, var(--dark-green), var(--secondary-color));
    color: var(--white);
    border-radius: 40px 40px 0 0;
    padding: 70px 0;
}

.app-mockup {
    border-radius: 20px;
}

.app-section h2 {
    color: var(--accent-color);
    font-size: 2.5rem;
}

.app-features li i {
    color: var(--accent-color);
    margin-right: 12px;
}

.app-section .btn {
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    transition: var(--transition);
}

.app-section .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* ==========================================================================
   RESPONSIVE
========================================================================== */
@media (max-width: 1199px) {
    .slider-caption h2 { font-size: 2.5rem; }
}

@media (max-width: 991px) {
    .slide-content {
        flex-direction: column-reverse;
        text-align: center;
        gap: 30px;
        padding: 60px 20px;
    }
    .slider-caption { max-width: 100%; }
    .slider-image img, .slider-image-multiple {
        max-width: 80%;
        margin: 0 auto;
    }
    .slider-image-multiple img { width: 100px; }
    .app-section { text-align: center; border-radius: 20px 20px 0 0; }
    .app-section .app-mockup { margin-bottom: 40px; max-width: 70%; }
    .app-features { display: inline-block; text-align: left; }
}

@media (max-width: 767px) {
       #how-it-works .col-md-4 {
        margin-top: 45px; 
        margin-bottom: 10px;
    }
    .slider-caption h2 { font-size: 2rem; }
    .story-content-padding { padding: 30px !important; }
    .heading-block h2 { font-size: 1.75rem; }
    .step-number {
        top: -20px;
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .slider-caption h2 { font-size: 1.6rem; }
    .app-section h2 { font-size: 1.8rem; }
    .app-section .btn { display: block; width: 100%; margin-bottom: 10px; }
}