/* ============================================================
   Rushabh Ayurveda — Custom Stylesheet
   Phases 1 + 2 + 3 combined
   ============================================================ */

/* -------------------------------------------------------
   LOGO — Responsive & Transparent
   ------------------------------------------------------- */

/* Header logo */
.logo a img,
.logo img {
    max-width: 160px;
    width: 100%;
    height: auto;
    display: block;
    /* Remove any white fringe via CSS blend */
    mix-blend-mode: multiply;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Sticky / scrolled header — shrink logo slightly */
.main-header.sticky-bar .logo img {
    max-width: 130px;
}

/* Footer logo */
.footer-logo img {
    max-width: 140px;
    width: 100%;
    height: auto;
    display: block;
    /* Blend mode to handle fringing on light background */
    mix-blend-mode: multiply;
    transition: opacity 0.3s ease;
}

.footer-logo img:hover {
    opacity: 0.85;
}

/* Responsive breakpoints */
@media (max-width: 1199px) {
    .logo img { max-width: 140px; }
}

@media (max-width: 991px) {
    .logo img { max-width: 120px; }
}

@media (max-width: 767px) {
    .logo img { max-width: 110px; }
    .footer-logo img { max-width: 120px; }
}


/* -------------------------------------------------------
   PHASE 1 — Testimonial Image Cards
   ------------------------------------------------------- */

.t_div {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    padding: 8px;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.t_div:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.testimonial-card-wrap {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card-wrap:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.13);
}

.testimonial-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}


/* -------------------------------------------------------
   PHASE 2 — Typography & Design Tokens
   ------------------------------------------------------- */

:root {
    --font-heading:  'Playfair Display', Georgia, serif;
    --font-body:     'Lato', sans-serif;
    --color-primary: #4a7c59;
    --color-gold:    #b5883c;
    --color-cream:   #fdf6ec;
    --color-dark:    #2c2c2c;
    --transition:    all 0.3s ease;
    --shadow-sm:     0 4px 16px rgba(0,0,0,0.08);
    --shadow-md:     0 8px 32px rgba(0,0,0,0.14);
    --shadow-lg:     0 16px 48px rgba(0,0,0,0.18);
    --radius:        10px;
}

body {
    font-family: var(--font-body);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
}

/* Active nav highlight */
.main-menu ul li.active > a {
    color: var(--color-gold) !important;
}

/* Responsive Map */
.map-responsive {
    position: relative;
    padding-bottom: 45%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius);
}

.map-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border: 0;
}

@media (max-width: 768px) {
    .map-responsive {
        padding-bottom: 65%;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 20px rgba(37,211,102,0.45);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.12);
    box-shadow: 0 6px 28px rgba(37,211,102,0.60);
    color: #fff;
}


/* -------------------------------------------------------
   PHASE 3 — Design Modernisation
   ------------------------------------------------------- */

/* --- 3.1  Inner Page Hero Banner --- */
.ra-page-hero {
    background: linear-gradient(135deg, #2e5d3f 0%, #4a7c59 50%, #7aad6c 100%);
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ra-page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../img/gallery/section_bg01.png') center/cover no-repeat;
    opacity: 0.08;
    pointer-events: none;
}

.ra-page-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.2);
    animation: fadeInDown 0.6s ease both;
}

.ra-page-hero p {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: rgba(255,255,255,0.88);
    margin: 0;
    animation: fadeInUp 0.7s ease 0.15s both;
}

.ra-page-hero .ra-breadcrumb {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.70);
    margin-top: 14px;
    animation: fadeInUp 0.7s ease 0.25s both;
}

.ra-page-hero .ra-breadcrumb a {
    color: rgba(255,255,255,0.80);
    text-decoration: none;
}

.ra-page-hero .ra-breadcrumb a:hover {
    color: #fff;
}

.ra-page-hero .ra-breadcrumb span {
    margin: 0 6px;
    color: rgba(255,255,255,0.55);
}

/* Keyframes */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}


/* --- 3.2  Section Heading Decorative Underline --- */
.section-tittle h2,
.about-caption .section-tittle h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 14px;
}

.section-tittle h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-gold));
    border-radius: 2px;
}

/* Left-aligned headings (about caption) */
.about-caption .section-tittle h2::after {
    left: 0;
    transform: none;
}


/* --- 3.3  Service Cards — Equal Height + Hover Lift & Glow --- */

/* Make all cards in the row stretch to equal height */
.service-area .row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.service-area [class*="col-"] {
    display: flex;
}

/* Card fills full column height */
.single-cat {
    background: #fff;
    border-radius: var(--radius);
    padding: 36px 28px 28px;
    transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.3s ease;
    border: 1px solid rgba(0,0,0,0.06);
    position: relative;
    overflow: hidden;
    width: 100%;

    /* Flex column so icon/text/button stack vertically */
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Push the plus-btn to the bottom of each card */
.single-cat .cat-cap {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.single-cat .cat-cap p {
    flex: 1;
}

.single-cat .plus-btn {
    margin-top: auto;
}

.single-cat::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-gold));
    transform: scaleX(0);
    transition: transform 0.32s ease;
    transform-origin: left;
}

.single-cat:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: rgba(74,124,89,0.15);
}

.single-cat:hover::before {
    transform: scaleX(1);
}

.single-cat .cat-icon img {
    transition: transform 0.35s ease;
}

.single-cat:hover .cat-icon img {
    transform: scale(1.08) rotate(-3deg);
}

.single-cat .cat-cap h5 a {
    color: var(--color-dark);
    transition: color 0.25s ease;
}

.single-cat:hover .cat-cap h5 a {
    color: var(--color-primary);
}

/* Plus button pill on hover */
.single-cat .plus-btn {
    transition: background 0.25s ease, color 0.25s ease;
}

.single-cat:hover .plus-btn {
    background: var(--color-primary);
    color: #fff;
}


/* --- 3.4  Home-Blog / Video Cards --- */
.home-blog-single {
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-blog-single:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

/* Responsive iframes inside blog cards */
.blog-img {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: #000;
}

.blog-img iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100% !important;
    height: 100% !important;
    border: 0;
}

.blog-cap {
    padding: 14px 18px 18px;
}

.blog-cap h3 a {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--color-dark);
    text-decoration: none;
    transition: color 0.25s ease;
}

.blog-cap h3 a:hover {
    color: var(--color-primary);
}

/* iframes inside .blog-img must fill the container — no hardcoded width/height needed */
.blog-img iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border: 0;
}

/* YouTube "View More" button */
.youtube-btn {
    background: #FF0000 !important;
    border-color: #FF0000 !important;
    color: #fff !important;
    border-radius: 6px !important;
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 32px !important;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: background 0.25s ease, transform 0.2s ease !important;
    text-decoration: none;
    margin-top: 20px;
}

.youtube-btn i {
    font-size: 1.3rem;
}

.youtube-btn:hover {
    background: #cc0000 !important;
    border-color: #cc0000 !important;
    color: #fff !important;
    transform: translateY(-2px);
}


/* --- 3.5  CTA Strip (wantToWork) Polish --- */
.wantToWork-area {
    background: linear-gradient(135deg, var(--color-primary) 0%, #2e5d3f 100%) !important;
    position: relative;
}

.wantToWork-area::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../img/gallery/section_bg01.png') center/cover no-repeat;
    opacity: 0.06;
    pointer-events: none;
}

.wantToWork-caption h2 {
    color: #fff !important;
    font-family: var(--font-heading);
    font-weight: 700;
}

.wantToWork-caption p {
    color: rgba(255,255,255,0.85) !important;
}

.wantToWork-area .btn {
    background: var(--color-gold) !important;
    border-color: var(--color-gold) !important;
    color: #fff !important;
    transition: background 0.25s ease, transform 0.2s ease;
}

.wantToWork-area .btn:hover {
    background: #986c28 !important;
    transform: translateY(-2px);
}


/* --- 3.6  About Section Image Polish (Homepage) --- */
.about-area2 .about-img img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-area2 .about-img img:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}


/* --- 3.7  Award Cards (About page) --- */
.home-blog-single .blog-img img {
    border-radius: var(--radius) var(--radius) 0 0;
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.35s ease;
}

.home-blog-single:hover .blog-img img {
    transform: scale(1.04);
}


/* --- 3.8  Contact Form Polish --- */
.form-contact .form-group input,
.form-contact .form-group textarea,
.form-contact .form-group select {
    border-radius: 6px;
    border: 1px solid #ddd;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-contact .form-group input:focus,
.form-contact .form-group textarea:focus,
.form-contact .form-group select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(74,124,89,0.12);
    outline: none;
}

.form-contact .button-contactForm {
    background: var(--color-primary) !important;
    border: none;
    border-radius: 6px;
    padding: 14px 36px;
    font-family: var(--font-body);
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: background 0.25s ease, transform 0.2s ease;
    cursor: pointer;
}

.form-contact .button-contactForm:hover {
    background: #2e5d3f !important;
    transform: translateY(-2px);
}



/* --- 3.10  Header Appointment Button --- */
.header-btn {
    background: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
    color: #fff !important;
    border-radius: 6px !important;
    font-weight: 700;
    letter-spacing: 0.3px;
    transition: background 0.25s ease, transform 0.2s ease !important;
}

.header-btn:hover {
    background: #2e5d3f !important;
    border-color: #2e5d3f !important;
    transform: translateY(-2px);
}


/* --- 3.11  Responsive Utility Fixes --- */
@media (max-width: 991px) {
    .ra-page-hero {
        padding: 60px 20px 40px;
    }

    .single-cat {
        margin-bottom: 24px;
    }
}

@media (max-width: 767px) {
    .ra-page-hero h1 {
        font-size: 2rem;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 18px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .blog-img {
        padding-bottom: 60%;
    }
}

/* --- 4.1 Rich Footer Layout --- */
.footer-widget {
    margin-bottom: 30px;
}
.footer-widget .widget-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
    text-transform: capitalize;
}
.footer-widget .widget-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--color-gold);
}

.footer-widget p {
    color: var(--color-dark);
    font-size: 1.4rem;
    line-height: 1.6;
}

.footer-contact {
    padding: 0;
    list-style: none;
}
.footer-contact li {
    margin-bottom: 15px;
    color: var(--color-dark);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1.4rem;
}
.footer-contact li i {
    color: var(--color-primary);
    margin-top: 5px;
}

.footer-links {
    padding: 0;
    list-style: none;
}
.footer-links li {
    margin-bottom: 12px;
}
.footer-links li a {
    color: var(--color-dark) !important;
    font-weight: 500;
    font-size: 1.4rem;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: inline-block;
}
.footer-links li a:before {
    content: '\203A'; /* right arrow */
    margin-right: 8px;
    color: var(--color-primary);
    font-weight: bold;
}
.footer-links li a:hover {
    color: var(--color-primary) !important;
    padding-left: 6px;
}

.footer-social-list {
    padding: 0;
    list-style: none;
}
.footer-social-list li {
    margin-bottom: 15px;
}
.footer-social-list li a {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--color-dark) !important;
    font-weight: 600;
    font-size: 1.4rem;
    transition: transform 0.3s ease, color 0.3s ease;
    text-decoration: none;
}
.footer-social-list li a i {
    width: 42px;
    height: 42px;
    background: #fff;
    border: 1px solid rgba(74,124,89,0.15);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 16px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}
.footer-social-list li a:hover {
    color: var(--color-primary) !important;
    transform: translateX(5px);
}
.footer-social-list li a:hover i {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
    box-shadow: 0 8px 20px rgba(74,124,89,0.3);
}

/* --- 4.0  Interactive Light Green Footer --- */
footer .footer-wrappr {
    background: #c0ecad !important; /* Top hero light green extracted from image */
    position: relative;
    border-top: 1px solid rgba(74,124,89,0.1);
}

footer .footer-wrappr::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-gold));
}

/* Adjust links for light background */
footer .main-menu2 ul li a {
    color: var(--color-dark) !important;
    font-weight: 600;
    transition: color 0.3s ease;
}

footer .main-menu2 ul li a:hover {
    color: var(--color-primary) !important;
}

.footer-copy-right p {
    color: #555 !important;
    font-size: 1.6rem;
    font-weight: 400;
}
.footer-bottom-area {
    border-top: 1px solid rgba(0,0,0,0.06);
}

/* Social Icons Interactive Styling */
.social-popup-box {
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-popup-box:hover {
    transform: translateY(-8px) scale(1.1);
}

footer .footer-social a {
    width: 48px;
    height: 48px;
    background: #fff;
    border: 1px solid rgba(74,124,89,0.15);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary) !important;
    margin-right: 14px;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-decoration: none;
}

footer .footer-social a:hover {
    background: var(--color-primary) !important;
    color: #fff !important;
    border-color: var(--color-primary);
    box-shadow: 0 10px 25px rgba(74,124,89,0.3);
}

/* --- 4.2 Reduce Footer Height Constraints --- */
/* Override heavy default template padding */
footer .footer-area.footer-padding {
    padding-top: 40px !important;
    padding-bottom: 5px !important;
}

/* Compact widget spacing */
.footer-widget {
    margin-bottom: 20px !important;
}

.footer-widget .widget-title {
    margin-bottom: 15px !important;
}

/* Restrict the map height drastically so it's not a tall block */
.footer-widget .map-responsive {
    padding-bottom: 0 !important;
    height: 140px !important;
}

.footer-social-list li {
    margin-bottom: 10px !important;
}
