body {
    background-color: #fff;
    color: black;
}

.footer_text {
    color: black;
}

video {
    margin-top: 54px;
    width: 100%;
    height: max-content;
    -o-object-fit: cover;
    object-fit: cover;
    /*position: absolute;*/
    z-index: 0;
}

.video-mobile {
    display: none;
}

#front_breadcrumb {
    display: none !important;
}

.front_slider img {
    margin-top: 50px;
    width: 100%;
    height: 100%;
    /*height: 500px;*/
}

.cards_section {
    margin-top: 20px;
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 20px;
}

.cards_section .card {
    height: auto;
    width: 100%;
    border: none;
    flex: 1;
    min-width: 250px !important;
    max-width: 600px;
    border-radius: 15px !important;
    text-align: center;
}

.cards_section .card a {
    all: unset;
    color: black;
    cursor: pointer;
}

.cards_section .card a:hover {
    all: unset !important;
}

.cards_section .card img {
    width: 100%;
    min-width: 250px;
    height: auto;
}

.cards_section .card .card-sub {
    margin-top: -40px;
}

.cards_section .card .card-sub h4 {
    text-shadow: 5px 5px 15px 15px;
    font-weight: 600;
    color: white;

}

.title_text {
    font-weight: 600;
    font-size: 35px;
    margin-top: 4%;
    letter-spacing: 2px;

}

.home-content .content {
    text-align: center;
    width: 80%;
    margin: 50px auto;
}

.home-content .content h2 {
    font-size: 50px;
}

.home-content .content p {
    font-size: 1.2em;
}

.home-content .front_slider img {
    margin: 0;
}

.front-footer {
    position: relative;
}

.front-footer .footer-mobile {
    display: none;
}

.footer_img_text {
    position: absolute;
    top: 50%;
    transform: translatey(-50%);
    padding: 70px 70px;
    width: 50%;
    color: white;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
}

.footer_img_text .footer-1, .footer_img_text .footer-2 {
    width: 500px;
}

.footer_img_text h2 {
    text-transform: uppercase;
    font-size: 35px;
    font-weight: 600;
}

.footer_img_text p {
    font-size: 20px;
}

.book_appointment {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.book_appointment img.book-desk {
    border-radius: 20px;
    height: 170px;
}

.book_appointment img {
    border-radius: 20px !important;
}

.book_appointment .book_div {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60%;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.front-book .book-mobile {
    display: none;
}

.book_appointment .book_div h2 {
    font-size: 30px;
    text-align: center;
}

.book_appointment .book_div .book-btn a {
    text-decoration: none;
    color: black;
}

.book_appointment .book_div .book-btn {
    all: unset;
    margin-top: 15px;
    color: #007D79FF;
    background-color: white;
    padding: 10px 25px;
    font-size: 17px;
    border-radius: 50px !important;
}

.book-text.desk {
    margin: 0;
}

.book-text.mob {
    display: none;
}

/* Card to text view */

.cards_section .card{
    max-width: 450px;
}
.card-body.nat{
    background-color: #007D79FF;
}
.card-body.lab{
    background-color: #A47E43FF;
}
.card-body {
    width: 100%;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    padding: 10px;
}
.card-body .card-title{
    font-size : clamp(0.2rem, 5vw, 2rem);
    color: white;text-transform: uppercase;
    font-weight: 600;
    background-color: transparent;
    border: 2px solid white;
    border-radius: 2em !important;
    padding: 20px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.card-body .card-title svg{
    width: 2em;
    height: 2em;
}

  :root {
    --teal: #1a8a72;
    --teal-dark: #0f5f50;
    --gold: #b8953a;
    --gold-dark: #8c6e25;
    --gold-light: #d4a94a;
    --bg: #f5f3ef;
    --bg-dark: #1a2624;
    --silver: #9aa0a6;
    --silver-light: #c8cdd1;
    --shadow-md: 0 8px 32px rgba(26,42,36,0.12);
    --shadow-lg: 0 20px 60px rgba(26,42,36,0.16);
    --radius: 16px;
  }
 
  * { margin: 0; padding: 0; box-sizing: border-box; }
 

 
  .main-container {
    max-width: 2254px;
    padding: 48px 24px 80px;
    margin: 0 auto;
  }
 
  /* SECTION */
  .section {
    margin-bottom: 52px;
    animation: fadeUp 0.6s ease both;
  }
  .section:nth-child(1) { animation-delay: 0.08s; }
  .section:nth-child(2) { animation-delay: 0.16s; }
  .section:nth-child(3) { animation-delay: 0.24s; }
  .section:nth-child(4) { animation-delay: 0.32s; }
  .section:nth-child(5) { animation-delay: 0.40s; }
 
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
  }
 
  /* PILL HEADER */
  .section-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
  }
 
  .section-pill {
    font-family: 'Jost', sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 50px;
    white-space: nowrap;
    flex-shrink: 0;
  }
 
  .section-pill.teal {
    color: var(--teal-dark);
    background: rgba(26,138,114,0.1);
    border: 1px solid rgba(26,138,114,0.28);
  }
  .section-pill.gold {
    color: var(--gold-dark);
    background: rgba(184,149,58,0.1);
    border: 1px solid rgba(184,149,58,0.28);
  }
  .section-pill.silver {
    color: #4e5a60;
    background: rgba(154,160,166,0.1);
    border: 1px solid rgba(154,160,166,0.28);
  }
 
  .section-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, rgba(26,42,36,0.1), transparent);
  }
 
  /* GRID */
  .cards-grid { display: grid; gap: 14px; }
  .cards-grid-5 { grid-template-columns: repeat(5, 1fr); }
  .cards-grid-4 { grid-template-columns: repeat(4, 1fr); }
  .cards-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .cards-grid-2 { grid-template-columns: repeat(2, 1fr); }
 
  .cards-row-gap {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
 
  /* CARD */
  .card {
    position: relative;
    border-radius: 10px !important;
    padding: 26px 22px;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.35s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 88px;
    text-decoration: none;
  }
 
  .card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.13) 0%, transparent 55%);
    pointer-events: none;
  }
 
  .card::after {
    content: '';
    position: absolute;
    bottom: -40px; right: -40px;
    width: 120px; height: 120px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    pointer-events: none;
    transition: transform 0.4s ease;
  }
 
  .card:hover { transform: translateY(-4px) scale(1.01); box-shadow: var(--shadow-lg);text-decoration: none; }
  .card:hover::after { transform: scale(1.5); }
 
  .card.teal {
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
    box-shadow: 0 4px 20px rgba(26,138,114,0.22);
  }
  .card.gold {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-dark) 100%);
    box-shadow: 0 4px 20px rgba(184,149,58,0.22);
  }
  .card.dark {
    background: linear-gradient(135deg, #1a2624 0%, #0d1614 100%);
    box-shadow: 0 4px 20px rgba(0,0,0,0.35);
    border: 1px solid rgba(255,255,255,0.06);
  }
  .card.dark .card-arrow {
    background: rgba(255,255,255,0.08);
  }
 
  .card-label {
    font-family: 'Jost', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: rgba(255,255,255,0.95);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    line-height: 1.5;
    flex: 1;
  }
 
  .card-arrow {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    margin-left: 14px;
    transition: background 0.3s, transform 0.3s;
  }
  .card:hover .card-arrow { background: rgba(255,255,255,0.28); transform: translateX(4px); }
  .card-arrow svg {
    width: 15px; height: 15px;
    fill: none; stroke: white; stroke-width: 2.5;
    stroke-linecap: round; stroke-linejoin: round;
  }
 
  /* Black diamond center wrapper */
  .black-diamond-center {
    display: flex;
    justify-content: center;
  }
  .black-diamond-center .card {
    width: calc(33.33% - 5px);
  }
 
  /* LOOSE CARD */
  .loose-card {
    border-radius: var(--radius);
    background: var(--bg-dark);
    padding: 32px;
    color: white;
    box-shadow: var(--shadow-md);
  }
  .loose-card-body {
    font-size: 13px;
    color: rgba(255,255,255,0.58);
    line-height: 1.9;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
    font-weight: 300;
  }
  .loose-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: var(--teal-dark);
    border: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-family: 'Jost', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  .loose-btn:hover {
    background: var(--teal);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(26,138,114,0.4);
  }

 
  /* ── RESPONSIVE ── */
 
  /* Large desktop */
  @media (max-width: 1400px) {
    .cards-grid-4 { grid-template-columns: repeat(4, 1fr); }
    .cards-grid-3 { grid-template-columns: repeat(3, 1fr); }
  }
 
  /* Tablet landscape */
  @media (max-width: 1100px) {
    .cards-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .black-diamond-center .card { width: calc(50% - 7px); }
  }
 
  /* Tablet portrait */
  @media (max-width: 768px) {
    .main-container { padding: 28px 16px 56px; }
    .section-pill { font-size: 10px; letter-spacing: 2px; }
    .cards-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .cards-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .card { min-height: 76px; padding: 18px 16px; }
    .card-label { font-size: 10px; letter-spacing: 1px; }
    .black-diamond-center .card { width: calc(50% - 7px); }
  }
 
  /* Mobile */
  @media (max-width: 480px) {
    .main-container { padding: 20px 12px 48px; }
    .cards-grid-5,
    .cards-grid-4,
    .cards-grid-3,
    .cards-grid-2 { grid-template-columns: 1fr; }
    .black-diamond-center .card { width: 100%; }
    .section-pill { font-size: 11px; padding: 5px 12px; letter-spacing: 1.5px; }
    .card { min-height: 68px; padding: 16px 14px; }
    .card-label { font-size: 11px; }
  }

@media only screen and (max-width: 1024px) {
    .video-desk {
        display: none;
    }

    .video-mobile {
        display: block;
    }

    .book-desk {
        height: 170px !important;
    }

    .book-text.desk {
        display: none !important;
    }

    .book-text.mob {
        display: block !important;
    }

    .book_appointment .book_div .book-btn a {
        color: white;
    }

    .footer-desk {
        display: none;
    }

    .front-footer .footer-mobile, .front-book .book-mobile {
        display: block;
    }

    .footer_img_text {
        position: relative;
        color: black;
        top: 0;
        transform: none;
        width: 100%;
        padding: 20px;
    }

    .book_appointment .book_div {
        width: 100%;
    }

    .footer_img_text h2, .book_appointment .book_div h2 {
        font-size: 25px;
    }

    .footer_img_text .footer-1, .footer_img_text .footer-2 {
        width: 100%;
        padding: 0 20px;
    }

    .book_appointment .book_div .book-btn {
        background-color: black;
        color: white;
    }

    .book_appointment {
        width: 100% !important;
        display: block;
    }

    .book_appointment img {
        border-radius: 0 !important;
        width: 100% !important;
    }

    .dsm_app {
        display: flex;
        gap: 10px;
    }

    .dsm_app a {
        flex: 1;
        max-width: 200px;
    }

    .dsm_app a img {
        width: 100% !important;
    }
    .card-body {
        height: 100px;
    }
    .card-body .card-title{
        padding: 10px 20px;
        gap: 5px;
    }
    .card-body .card-title svg{
        width: 1.2em;
        height: 1.2em;
    }
    :root {
            --brand-natural: #007D79; 
            --brand-lab: #A47E43;    
            --brand-black: #9CA3AF;  
            --bg-color: #fafafa;
        }
    .section-header {
            font-size: 1.5rem;
            font-weight: 800;
            margin-top: 3.5rem;
            margin-bottom: 2rem;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            color: #111827;
            text-align: center;
            position: relative;
        }
    .cards-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 1.25rem;
            margin-bottom: 2rem;
            /* align-items: stretch is default in grid, which enforces equal height in rows */
        }
        
}
