/* Exact requested premium color variables */
:root {
    --color-primary: #1e293b;    /* Rich Slate Blue (Deep Base / Typography / Back of Cards) */
    --color-secondary: #475569;  /* Muted Slate Blue (Subtitles & Borders) */
    --color-accent: #be185d;     /* Elegant Dark Pink / Rose (Highlights, Icons, Accents) */
    --color-accent-hover: #9d174d;/* Deeper Pink for active hover states */
    --color-bg-light: #f8fafc;   /* Crisp, Clean Ice White with a Hint of Slate */
    --font-sans: 'Inter', sans-serif;
}

body {
    font-family: var(--font-sans);
    background-color: #faf9f6;
    margin: 0;
    padding: 0;
}
.banner-img {
  height: auto;
  object-fit: cover;
}
.hero{
    padding-top: 120px;
}

/* Mobile fix */
@media (max-width: 576px) {
  .banner-img {
    height: auto;
  }
   .hero{
    padding-top: 80px;
  }
}

/* ========================================== */
/* ABOUT US RESPONSIVE MOBILE 576 STYLING */
/* ========================================== */
.premium-about-section {
    padding: 80px 0;
    background-color: var(--color-bg-light);
    overflow: hidden;
}

/* --- FADE-UP INITIAL STATE --- */
.fade-up-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), 
                transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.fade-up-element.reveal-active {
    opacity: 1;
    transform: translateY(0);
}

/* --- COHESIVE FRAMED IMAGE --- */
.image-frame-container {
    position: relative;
    padding: 10px;
    margin-bottom: 20px;
}

.image-frame-container::before {
    content: '';
    position: absolute;
    width: 85%;
    height: 85%;
    border: 2px solid var(--color-accent);
    bottom: 0;
    left: 0;
    z-index: 1;
    border-radius: 12px;
    pointer-events: none;
}

.about-clinic-img {
    position: relative;
    z-index: 2;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(30, 41, 59, 0.05);
    width: 85%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

/* --- TYPOGRAPHY STRUCTURING --- */
.about-tagline {
    color: var(--color-accent);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
    display: block;
}

.about-heading {
    color: var(--color-primary);
    font-size: 2rem;
    font-weight: 300;
    line-height: 1.3;
    margin-bottom: 1rem;
}
.about-heading strong { font-weight: 700; }

.about-description {
    color: var(--color-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* --- GRID CARDS ACCESSIBILITY --- */
.feature-metric-card {
    background: #ffffff;
    border: 1px solid rgba(194, 155, 104, 0.2);
    border-radius: 10px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(30, 41, 59, 0.01);
}

.badge-icon-frame {
    width: 40px;
    height: 40px;
    background-color: var(--color-bg-light);
    border: 1px solid rgba(194, 155, 104, 0.2);
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.badge-icon-frame i { color: var(--color-accent); font-size: 1.1rem; }
.badge-card-text { color: var(--color-primary); font-weight: 600; font-size: 0.8rem; margin: 0; }

/* --- PREMIUM LINK CTA BUTTON --- */
.btn-luxury-glide {
    background-color: var(--color-accent);
    color: #ffffff !important;
  
    
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 12px 24px;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    width: auto;
    justify-content: center;
}

.btn-luxury-glide:hover {
    background-color: var(--color-primary);
    color: #ffffff !important;
    transform: translateY(-2px);
}
.btn-luxury-glide i { transition: transform 0.2s ease; }
.btn-luxury-glide:hover i { transform: translateX(4px); }


/* ========================================== */
/* MEDIA SCREEN RESPONSIVE RECONSTRUCTION    */
/* ========================================== */

/* Desktop refinements (Scales beautifully up from medium displays) */
@media (min-width: 576px) {
    .feature-metric-card {
        flex-direction: row;
        text-align: left;
        padding: 15px;
        gap: 12px;
    }
    .badge-card-text { font-size: 0.88rem; }
}

@media (min-width: 768px) {
    .about-heading { font-size: 2.4rem; }
    .about-description { font-size: 0.95rem; }
    .about-clinic-img { height: 450px; }
}

@media (min-width: 992px) {
    .premium-about-section { padding: 100px 0; }
    .about-heading { font-size: 2.6rem; }
    .image-frame-container { margin-bottom: 0; padding: 15px; }
    .image-frame-container:hover .about-clinic-img { transform: scale(1.02) translateY(-4px); }
    .about-clinic-img { height: 480px; }
}
.dynamic-showcase-section {
    padding: 80px 0;
    overflow: hidden;
}

/* --- TYPOGRAPHY HEADER (Luxury Layout) --- */
.showcase-tagline {
    color: var(--color-accent);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    display: block;
}

.showcase-heading {
    color: var(--color-primary);
    font-size: 2.2rem;
    font-weight: 300;
    margin-top: 8px;
}
.showcase-heading strong {
    font-weight: 700;
}

.accent-line {
    width: 50px;
    height: 3px;
    background-color: var(--color-accent);
    margin-top: 12px;
    border-radius: 5px;
}

/* ========================================== */
/* MARQUEE CONTAINER WRAPPERS                 */
/* ========================================== */
.ticker-wrapper-left-to-right,
.image-ticker-wrapper-right-to-left {
    width: 100%;
    overflow: hidden;
    display: flex;
    padding: 12px 0;
}

/* Pause animations cleanly on hover */
.ticker-wrapper-left-to-right:hover .ticker-track-left,
.image-ticker-wrapper-right-to-left:hover .image-ticker-track-right {
    animation-play-state: paused;
}

/* ========================================== */
/* ROW 1: TEXT BADGES (LEFT TO RIGHT)         */
/* ========================================== */
.ticker-track-left {
    display: flex;
    white-space: nowrap;
    gap: 20px;
    animation: scrollLeftToRight 30s linear infinite;
    width: max-content;
}

.ticker-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    padding: 12px 28px;
    border-radius: 50px;
    border: 1px solid rgba(194, 155, 104, 0.25);
    box-shadow: 0 4px 15px rgba(30, 41, 59, 0.02);
}

.ticker-card i {
    color: var(--color-accent);
    font-size: 1.1rem;
}

.ticker-card span {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

@keyframes scrollLeftToRight {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0%); }
}

/* ========================================== */
/* ROW 2: IMAGE MARQUEE (RIGHT TO LEFT)       */
/* ========================================== */
.image-ticker-track-right {
    display: flex;
    white-space: nowrap;
    gap: 24px;
    animation: scrollRightToLeft 28s linear infinite;
    width: max-content;
}

/* Custom vertical rectangular aspect boxes matching your layout reference */
.img-marquee-card {
    width: 260px;
    height: 350px;
    flex-shrink: 0;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(194, 155, 104, 0.15);
    box-shadow: 0 12px 30px rgba(30, 41, 59, 0.06);
    cursor: pointer;
}

.img-marquee-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* STRICT RULE: Minimal scale animation on hover with zero text overlays */
.img-marquee-card:hover img {
    transform: scale(1.04);
}

@keyframes scrollRightToLeft {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-50%); }
}

/* ========================================== */
/* 4. RESPONSIVE VIEW ALL TRIGGER BUTTON      */
/* ========================================== */
.btn-view-all {
   background-color: var(--color-accent);
    color: #ffffff !important;
  
   
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 14px 40px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
    justify-content: center;
}

.btn-view-all:hover {
    background: var(--color-primary);
    color: #ffffff !important;
    box-shadow: 0 8px 25px rgba(30, 41, 59, 0.15);
}

/* ========================================== */
/* 5. LIGHTBOX OVERLAY WINDOW STYLE           */
/* ========================================== */
.lightbox-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.96);
    z-index: 2000;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
    padding: 24px;
}

.lightbox-overlay.lightbox-active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content-img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 12px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.4);
}

.close-lightbox-btn {
    position: absolute;
    top: 20px; right: 25px;
    background: none; border: none;
    color: #ffffff; font-size: 3rem;
    cursor: pointer; line-height: 1;
}
.close-lightbox-btn:hover { color: var(--color-accent); }

/* ========================================== */
/* RESPONSIVE RESPONSIVENESS BREAKPOINTS     */
/* ========================================== */
@media (min-width: 576px) {
    .btn-view-all { width: auto; }
    .img-marquee-card { width: 290px; height: 390px; }
    .showcase-heading { font-size: 2.6rem; }
}

.derma-services-section {
    padding: 80px 0;
}

/* --- HEADER STYLES --- */
.services-tagline {
    color: var(--color-accent);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    display: block;
}

.services-heading {
    color: var(--color-primary);
    font-size: 2.2rem;
    font-weight: 300;
    margin-top: 8px;
}
.services-heading strong {
    font-weight: 700;
}

.accent-line {
    width: 50px;
    height: 3px;
    background-color: var(--color-accent);
    margin-top: 12px;
    border-radius: 5px;
}

/* ========================================== */
/* 3D FLIP CARD ARCHITECTURE                  */
/* ========================================== */
.flip-card-container {
    background-color: transparent;
    height: 400px;
    perspective: 1000px; /* Essential for 3D depth effect */
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    transform-style: preserve-3d;
}

/* Trigger flip animation smoothly on hover and focus */
.flip-card-container:hover .flip-card-inner {
    transform: rotateY(180deg);
}

/* Base side properties */
.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden; /* Safari optimization */
    backface-visibility: hidden;
    border-radius: 20px;
    border: 1px solid rgba(194, 155, 104, 0.15);
    box-shadow: 0 10px 30px rgba(30, 41, 59, 0.05);
    overflow: hidden;
}

/* ========================================== */
/* FRONT SIDE STYLING                         */
/* ========================================== */
.flip-card-front {
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    padding: 24px;
}

/* Premium Icon Badge over the image */
.card-icon-badge {
    width: 46px;
    height: 46px;
    background: var(--color-bg-light);
    border: 1px solid rgba(194, 155, 104, 0.3);
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 36px;
    left: 36px;
    z-index: 5;
    color: var(--color-accent);
    font-size: 1.2rem;
}

.card-img-wrapper {
    width: 100%;
    height: 260px;
    border-radius: 14px;
    overflow: hidden;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-title-front {
    color: var(--color-primary);
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: auto;
    margin-bottom: 8px;
}

/* ========================================== */
/* BACK SIDE STYLING                          */
/* ========================================== */
.flip-card-back {
    background-color: var(--color-primary);
    color: #ffffff;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 30px;
}

.service-title-back {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
}

.service-info {
    font-size: 0.92rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

/* Minimalist Champagne Read More Button */
.btn-read-more {
      background-color: var(--color-accent);
    color: #ffffff !important;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
    border-radius: 50px;
     padding: 14px 40px;
    
}

.btn-read-more i {
    transition: transform 0.3s ease;
}

.btn-read-more:hover {
    color: #ffffff;
    border-color: #ffffff;
}

.btn-read-more:hover i {
    transform: translateX(4px);
}

/* ========================================== */
/* RESPONSIVENESS                             */
/* ========================================== */
@media (min-width: 576px) {
    .services-heading { font-size: 2.6rem; }
    .flip-card-container { height: 420px; }
}

.derma-contact-section {
    padding: 100px 0;
    background-color: var(--color-bg-light);
}

/* --- TYPOGRAPHY HEADER --- */
.contact-tagline {
    color: var(--color-accent);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    display: block;
}

.contact-heading {
    color: var(--color-primary);
    font-size: 2.2rem;
    font-weight: 300;
    margin-top: 8px;
}
.contact-heading strong {
    font-weight: 700;
}

.accent-line {
    width: 50px;
    height: 3px;
    background-color: var(--color-accent);
    margin-top: 12px;
    border-radius: 5px;
}

/* ========================================== */
/* LEFT SIDE: CONTACT INFO LAYOUT             */
/* ========================================== */
.info-title {
    color: var(--color-primary);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.info-desc {
    color: var(--color-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.info-cards-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Info Item Cards */
.info-item-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #ffffff;
    padding: 20px;
    border-radius: 16px;
    border: 1px solid rgba(71, 85, 105, 0.08);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Prevent text color breakage on links */
.info-item-card:not(.static-card) {
    cursor: pointer;
}

.info-item-card:hover:not(.static-card) {
    transform: translateX(6px);
    border-color: rgba(190, 24, 93, 0.2);
    box-shadow: 0 10px 25px rgba(30, 41, 59, 0.04);
}

/* Icon Container Boxes */
.info-icon-box {
    width: 50px;
    height: 50px;
    background-color: rgba(190, 24, 93, 0.06); /* Soft pink tint */
    color: var(--color-accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.info-item-card:hover .info-icon-box {
    background-color: var(--color-accent);
    color: #ffffff;
}

/* Static Cards override (Hours box) */
.static-card:hover .info-icon-box {
    background-color: rgba(190, 24, 93, 0.06);
    color: var(--color-accent);
}

.info-text-box h4 {
    color: var(--color-primary);
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 4px 0;
}

.info-text-box p {
    color: var(--color-secondary);
    font-size: 0.9rem;
    margin: 0;
}

/* ========================================== */
/* RIGHT SIDE: PREMIUM FLOATING CONTACT FORM  */
/* ========================================== */
.contact-form-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(71, 85, 105, 0.06);
    box-shadow: 0 20px 50px rgba(30, 41, 59, 0.03);
}

/* Custom Floating Label Inputs Architecture */
.form-group-custom {
    position: relative;
    margin-bottom: 4px;
}

.form-control-custom {
    width: 100%;
    background-color: var(--color-bg-light);
    border: 1px solid rgba(71, 85, 105, 0.12);
    border-radius: 12px;
    padding: 16px 18px;
    color: var(--color-primary);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    outline: none;
}

/* Dynamic floating text transition rules */
.form-group-custom label {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-secondary);
    font-size: 0.92rem;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Drop-fix alignment for textareas labels */
.form-group-custom textarea ~ label {
    top: 26px;
}

/* Input Focus & Placeholder Element Activity States */
.form-control-custom:focus {
    border-color: var(--color-accent);
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(190, 24, 93, 0.06);
}

.form-control-custom:focus ~ label,
.form-control-custom:not(:placeholder-shown) ~ label {
    top: 0;
    left: 14px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-accent);
    background-color: #ffffff;
    padding: 2px 8px;
    transform: translateY(-50%);
    border-radius: 4px;
}

/* ========================================== */
/* DARK PINK ACTION BUTTON SUBMIT             */
/* ========================================== */
.btn-submit-contact {
    background-color: var(--color-accent);
    color: #ffffff;
    border: none;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 16px 36px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 6px 20px rgba(190, 24, 93, 0.25);
}

.btn-submit-contact:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(190, 24, 93, 0.35);
}

.btn-submit-contact i {
    transition: transform 0.3s ease;
}

.btn-submit-contact:hover i {
    transform: translate(3px, -3px); /* Elegant flight effect on send arrow */
}

/* ========================================== */
/* RESPONSIVENESS DESIGN MEDIA CODES          */
/* ========================================== */
@media (max-width: 991px) {
    .contact-form-card {
        padding: 30px 24px;
    }
}

@media (min-width: 576px) {
    .contact-heading { font-size: 2.6rem; }
   

}
