/* ======================================================================
   index.css — Diet Maestro Homepage
   ====================================================================== */

/* ── Hero Slide 1: keep Priyanka visible on mobile ── */
@media (max-width: 767px) {
    .main-slider .tp-banner li:first-child .defaultimg {
        background-position: right top !important;
        object-position: right top !important;
    }
}

/* ── Success Stories Slider (CS Slider) ── */
.cs-section {
    padding: 80px 0 60px;
    background: linear-gradient(135deg, #fafdf2 0%, #f0f6dc 100%);
}
.cs-slider-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}
.cs-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scrollbar-width: none;
    gap: 24px;
    flex: 1;
    min-width: 0;
}
.cs-track::-webkit-scrollbar { display: none; }
.cs-slide {
    flex: 0 0 calc(33.333% - 16px);
    scroll-snap-align: start;
    min-width: 0;
}
@media (max-width: 991px) { .cs-slide { flex: 0 0 calc(50% - 12px); } }
@media (max-width: 767px) { .cs-slide { flex: 0 0 100%; } .cs-track { gap: 0; } }

.cs-arrow {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(14,157,99,.35);
    background: #fff;
    color: #0e9d63;
    cursor: pointer;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .25s ease;
    box-shadow: 0 2px 10px rgba(14,157,99,.12);
}
.cs-arrow:hover { background: #0e9d63; color: #fff; border-color: #0e9d63; }
.cs-arrow:disabled { opacity: 0.28; cursor: default; pointer-events: none; }
@media (max-width: 767px) { .cs-arrow { width: 36px; height: 36px; font-size: 13px; } }

.cs-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(40,52,10,.08);
    border: 1px solid rgba(178,221,76,.2);
    display: flex;
    flex-direction: column;
    transition: transform .3s ease, box-shadow .3s ease;
    position: relative;
}
.cs-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, #0e9d63 0%, #b2dd4c 100%);
    z-index: 5;
}
.cs-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(40,52,10,.16); }

.cs-img-strip { display: flex; position: relative; height: 260px; flex-shrink: 0; }
.cs-before, .cs-after { flex: 1; background-size: cover; background-position: center top; position: relative; }
.cs-single-img { flex: 1; background-size: cover; background-position: center top; }
.cs-label { position: absolute; top: 10px; padding: 3px 10px; border-radius: 4px; font-size: 10px; font-weight: 800; letter-spacing: 1px; }
.cs-label-before { left: 10px;  background: rgba(15,23,42,.80); color: #fff; }
.cs-label-after  { right: 10px; background: #b2dd4c;            color: #1a2e00; }

.cs-weight-bar {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(10,30,10,.88), transparent);
    padding: 14px 14px 10px;
    display: flex; align-items: center; gap: 8px;
    color: #fff; font-size: 12px;
}
.cs-wb-item        { display: flex; flex-direction: column; align-items: center; line-height: 1.2; }
.cs-wb-item strong { font-size: 16px; font-weight: 800; color: #fff; }
.cs-wb-after strong{ color: #b2dd4c; }
.cs-wb-arrow       { color: #b2dd4c; font-size: 14px; flex-shrink: 0; }
.cs-wb-lost { margin-left: auto; background: #b2dd4c; color: #1a2e00; font-weight: 800; font-size: 13px; padding: 4px 10px; border-radius: 20px; }

.cs-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.cs-meta-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.cs-type-badge { padding: 4px 12px; border-radius: 20px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; background: #f0f6dc; color: #4a7c20; border: 1px solid #b2dd4c; }
.cs-featured-badge { padding: 4px 12px; border-radius: 20px; font-size: 11px; font-weight: 700; background: linear-gradient(135deg, #0e9d63, #b2dd4c); color: #fff; }
.cs-name        { font-size: 17px; font-weight: 700; color: #0f172a !important; margin-bottom: 4px; }
.cs-client-meta { font-size: 12px; color: #6b7280 !important; margin-bottom: 8px; }
.cs-client-meta .fa { color: #0e9d63 !important; margin-right: 3px; }
.cs-short-title { font-size: 13px; color: #475569 !important; font-style: italic; line-height: 1.5; margin-bottom: 10px; }
.cs-stars       { color: #f59e0b; font-size: 14px; margin-bottom: 12px; }
.cs-read-btn {
    display: inline-flex; align-items: center; gap: 7px; margin-top: auto;
    padding: 10px 20px; border-radius: 25px; background: #0e9d63;
    color: #fff !important; font-size: 13px; font-weight: 700;
    text-decoration: none !important; align-self: flex-start; transition: all .25s ease;
}
.cs-read-btn:hover { background: #0a7d4f; transform: translateX(3px); color: #fff !important; }

.cs-dots { display: flex; justify-content: center; gap: 7px; margin-top: 6px; }
.cs-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(14,157,99,.2); border: none; cursor: pointer; padding: 0; transition: all .3s ease; }
.cs-dot.active { background: #0e9d63; width: 22px; border-radius: 4px; }

.cs-cta-row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.cs-cta-row .ghost-btn,
.cs-cta-row .ghost-btn-alt { display: inline-flex; width: auto; white-space: nowrap; }

.ghost-btn, .ghost-btn-alt {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 28px; border-radius: 30px; font-size: 14px; font-weight: 600;
    text-decoration: none !important; transition: all .25s ease; border: 2px solid #0e9d63;
}
.ghost-btn-alt { background: transparent; color: #0e9d63 !important; }
.ghost-btn-alt:hover { background: #0e9d63; color: #fff !important; }

.cs-empty-state { text-align: center; padding: 60px 20px; color: #6b7280; }
.cs-empty-state .fa { font-size: 48px; color: #0e9d63; margin-bottom: 16px; display: block; }

.eyebrow { display: block; font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #0e9d63; margin-bottom: 10px; }
.display-heading { font-size: 32px; font-weight: 800; color: #0f172a; line-height: 1.2; margin-bottom: 12px; }
.display-heading .accent-green { color: #0e9d63; }
.lead-text { font-size: 15px; color: #6b7280; margin-top: 10px; }


/* ======================================================================
   Why Choose Diet Maestro Section
   ====================================================================== */
.dm-why-us {
    background: #fff;
}

.dm-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #0e9d63;
    background: #f0faf4;
    border: 1px solid rgba(14,157,99,.2);
    border-radius: 20px;
    padding: 5px 16px;
    margin-bottom: 14px;
}

.dm-green { color: #0e9d63; }

/* Stats bar */
.dm-stats-bar {
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    background: transparent;
    border-radius: 0;
    padding: 8px 0 48px;
    margin: 16px 0 0;
    box-shadow: none;
}

.dm-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    min-width: 140px;
    max-width: 200px;
    padding: 28px 20px;
    background: #fff;
    border: 1px solid #e8f5e9;
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(14,157,99,.09);
    transition: transform .25s ease, box-shadow .25s ease;
}

.dm-stat:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(14,157,99,.16);
}

.dm-stat-num {
    font-size: 38px;
    font-weight: 800;
    color: #0e9d63;
    line-height: 1;
    margin-bottom: 8px;
}

.dm-stat-plus {
    font-size: 24px;
    font-weight: 700;
    color: #0e9d63;
    vertical-align: super;
    line-height: 0;
}

.dm-stat-label {
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    text-align: center;
    letter-spacing: .3px;
}

.dm-stat-divider { display: none; }

@media (max-width: 767px) {
    .dm-stats-bar { gap: 12px; padding-bottom: 32px; }
    .dm-stat { min-width: calc(50% - 12px); max-width: none; padding: 20px 12px; }
    .dm-stat-num { font-size: 28px; }
}
@media (max-width: 359px) {
    .dm-stat { min-width: 100%; }
}

/* ======================================================================
   Pillars Section
   ====================================================================== */
.dm-pillars-section {
    padding: 70px 0 60px;
    background: #f8faf8;
}

.dm-pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

@media (max-width: 991px) { .dm-pillars-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px)  { .dm-pillars-grid { grid-template-columns: 1fr; } }

.dm-pillar-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px 28px;
    border: 1px solid #eef2ee;
    box-shadow: 0 2px 12px rgba(0,0,0,.05);
    transition: transform .28s ease, box-shadow .28s ease;
}

.dm-pillar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(14,157,99,.12);
    border-color: rgba(14,157,99,.2);
}

.dm-pillar-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    font-size: 22px;
}

.dm-pillar-card h4 {
    font-size: 17px;
    font-weight: 700;
    color: #1b1b1b;
    margin: 0 0 10px 0;
}

.dm-pillar-card p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.7;
    margin: 0;
}

/* ======================================================================
   How It Works Section
   ====================================================================== */
.dm-how-section {
    padding: 70px 0 60px;
    background: #fff;
}

.dm-steps-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    margin-top: 40px;
    flex-wrap: wrap;
}

.dm-step-card {
    flex: 1;
    min-width: 180px;
    max-width: 220px;
    text-align: center;
    padding: 32px 20px 28px;
    background: #fff;
    border: 1px solid #eef2ee;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,.05);
    position: relative;
    transition: transform .28s ease, box-shadow .28s ease;
}

.dm-step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(14,157,99,.12);
    border-color: rgba(14,157,99,.2);
}

.dm-step-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 24px;
}

.dm-step-num {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #0e9d63;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.dm-step-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: #1b1b1b;
    margin: 0 0 10px;
}

.dm-step-card p {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.7;
    margin: 0;
}

.dm-step-connector {
    flex: 0 0 40px;
    height: 2px;
    background: linear-gradient(90deg, #0e9d63, #b2dd4c);
    align-self: center;
    margin-top: -20px;
    border-radius: 2px;
}

@media (max-width: 767px) {
    .dm-steps-grid { flex-direction: column; align-items: center; gap: 16px; }
    .dm-step-connector { width: 2px; height: 32px; flex: 0 0 32px; margin: 0; }
    .dm-step-card { max-width: 100%; width: 100%; }
}

/* ======================================================================
   Contact Section
   ====================================================================== */
.dm-contact-section {
    padding: 70px 0;
    background: #f8faf8;
}

.dm-contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,0,0,.10);
}

@media (max-width: 991px) {
    .dm-contact-wrap { grid-template-columns: 1fr; }
}

/* Left info panel */
.dm-contact-info {
    background: linear-gradient(155deg, #0e9d63 0%, #1b5e20 100%);
    padding: 48px 40px;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dm-contact-info h2 {
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
    margin: 0;
}

.dm-contact-info > p {
    font-size: 15px;
    color: rgba(255,255,255,.82);
    line-height: 1.7;
    margin: 0;
}

.dm-contact-details {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 8px 0;
}

.dm-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.dm-contact-item .fa {
    font-size: 18px;
    color: #b2dd4c;
    margin-top: 2px;
    flex-shrink: 0;
}

.dm-contact-item div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dm-contact-item strong {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,.6);
    font-weight: 600;
}

.dm-contact-item a,
.dm-contact-item span {
    font-size: 15px;
    color: #fff;
    text-decoration: none;
}

.dm-contact-item a:hover { color: #b2dd4c; }

.dm-contact-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    background: #fff;
    color: #0e9d63 !important;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all .25s ease;
    align-self: flex-start;
    margin-top: 8px;
}

.dm-contact-cta:hover {
    background: #b2dd4c;
    color: #1a2e00 !important;
}

/* Right form */
.dm-contact-form-wrap {
    background: #fff;
    padding: 48px 40px;
}

.dm-contact-form-wrap h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1b1b1b;
    margin: 0 0 28px;
}

.dm-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

@media (max-width: 575px) { .dm-form-row { grid-template-columns: 1fr; } }

.dm-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.dm-form-group label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .8px;
    color: #6b7280;
}

.dm-form-group input,
.dm-form-group textarea {
    padding: 11px 14px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14px;
    color: #1b1b1b;
    background: #fafafa;
    transition: border-color .2s ease, box-shadow .2s ease;
    width: 100%;
    outline: none;
    box-sizing: border-box;
}

.dm-form-group input:focus,
.dm-form-group textarea:focus {
    border-color: #0e9d63;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(14,157,99,.1);
}

.dm-form-group textarea { resize: vertical; }

.dm-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 32px;
    background: #0e9d63;
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all .25s ease;
    margin-top: 4px;
}

.dm-submit-btn:hover {
    background: #0a7d4f;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14,157,99,.3);
}

/* ── Contact responsive ── */
@media (max-width: 991px) {
    .dm-contact-info  { padding: 36px 28px; }
    .dm-contact-form-wrap { padding: 36px 28px; }
    .dm-contact-cta { align-self: stretch; justify-content: center; }
}
@media (max-width: 575px) {
    .dm-contact-section { padding: 48px 0; }
    .dm-contact-info  { padding: 28px 16px; gap: 14px; }
    .dm-contact-form-wrap { padding: 28px 16px; }
    .dm-contact-info h2 { font-size: 22px; }
    .dm-contact-form-wrap h3 { font-size: 17px; margin-bottom: 20px; }
    .dm-submit-btn { width: 100%; justify-content: center; }
    .dm-contact-cta { font-size: 13px; padding: 11px 20px; }
}

/* ======================================================================
   Instagram Reels Section — Redesigned
   ====================================================================== */
.ig-section {
    padding: 70px 0 60px;
    background: #fff;
    position: relative;
    overflow: hidden;
}

/* Subtle geometric accent */
.ig-section::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 260px; height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(46,125,50,.07) 0%, transparent 70%);
    pointer-events: none;
}

.ig-header {
    text-align: center;
    margin-bottom: 44px;
}
.ig-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: linear-gradient(135deg, #f9f0ff, #fce4ec);
    border: 1px solid rgba(193,53,132,.2);
    border-radius: 30px;
    padding: 6px 18px;
    font-size: 13px;
    font-weight: 700;
    color: #c13584;
    letter-spacing: .5px;
    margin-bottom: 16px;
}
.ig-badge .fa-instagram { font-size: 15px; }
.ig-title {
    font-size: 30px;
    font-weight: 800;
    color: #1b1b1b;
    margin: 0 0 10px 0;
    line-height: 1.2;
}
.ig-title span {
    background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.ig-subtitle {
    font-size: 15px;
    color: #6b7280;
    margin: 0;
}

/* Grid */
.ig-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1060px;
    margin: 0 auto 40px;
}
@media (min-width: 768px) and (max-width: 991px) {
    .ig-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; max-width: 720px; }
}
@media (max-width: 767px) {
    .ig-grid { grid-template-columns: 1fr; max-width: 420px; }
    .ig-title { font-size: 24px; }
    .ig-reel-card iframe { height: 480px; }
}

.ig-reel-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0,0,0,.10);
    background: #000;
    transition: transform .3s ease, box-shadow .3s ease;
}
.ig-reel-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,.18);
}

/* Instagram gradient border on hover */
.ig-reel-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    border: 3px solid transparent;
    background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity .3s ease;
    pointer-events: none;
}
.ig-reel-card:hover::after { opacity: 1; }

.ig-reel-card iframe {
    display: block;
    width: 100%;
    height: 560px;
    border: 0;
}

/* Follow CTA */
.ig-follow-wrap {
    text-align: center;
}
.ig-follow-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    border-radius: 32px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none !important;
    color: #fff !important;
    background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
    box-shadow: 0 6px 20px rgba(131,58,180,.30);
    transition: transform .25s ease, box-shadow .25s ease;
    letter-spacing: .3px;
}
.ig-follow-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(131,58,180,.40);
    color: #fff !important;
}
.ig-follow-btn .fa-instagram { font-size: 18px; }
.ig-follower-count {
    display: block;
    margin-top: 12px;
    font-size: 13px;
    color: #9ca3af;
}
