/* ============================================================
   iTUKcare — PSD Replica Design System
   Pixel-perfect match of Itukcare-Webpage-design-Final.png
   ============================================================ */

/* ---- Design Tokens ---- */
:root{
    /* Brand Colors */
    --teal: #115858;
    --teal-dark: #0c5654;
    --teal-light: #eef7f6;
    --coral: #f4513d;
    --coral-dark: #d43c2e;
    --coral-accent: #f15a24;
    --gold: #f4c51a;
    --brown: #76501f;

    /* Background & Card Surfaces */
    --cream: #fffaf2;
    --cream-2: #fff3dc;
    --cream-card: #fef9f4;
    --cream-alt: #fffbf8;
    --cream-banner: #fff7e9;
    --white: #ffffff;

    /* Sand Borders, Badges, Tabs & Circles */
    --sand: #ebdcc8;
    --sand-border: #ebdcc8;
    --sand-header: #f8eee1;
    --sand-tab: #eedfcb;
    --sand-tab-border: #dfcfbc;
    --sand-circle: #f5ecda;
    --sand-badge: #e8e4d5;
    --border-light: #ebe5d8;
    --border-banner: #f9edd7;

    /* Typography Colors */
    --text: #252525;
    --text-dark: #1a202c;
    --text-title: #26292b;
    --text-body: #444444;
    --text-muted: #555e68;

    /* Spacing, Radius & Shadows */
    --radius: 14px;
    --radius-lg: 20px;
    --shadow: 0 3px 14px rgba(0, 0, 0, .08);
    --shadow-md: 0 6px 24px rgba(0, 0, 0, .12);
    --transition: .22s ease;
}

/* ---- Reset & Base ---- */
*,
*::before,
*::after{
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
    overflow-x: clip;
    max-width: 100%;
}

body{
    margin: 0;
    background: var(--cream);
    color: var(--text);
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    overflow-x: clip;
    max-width: 100%;
}

/* ---- Shared Font Utility Classes ---- */
h1,
h2,
h3,
h4,
h5,
h6,
.section-title h2,
.feature-card-title,
.trust-title,
.support-heading{
    font-family: 'Effra Trial', 'Effra', 'Poppins', sans-serif;
}

body,
p,
span,
a,
input,
button{
    font-family: 'Poppins', sans-serif;
}

main{
    overflow-x: clip;
}

.container{
    max-width: 1320px;
}

/* ---- Reusable Section Spacing System ---- */
.section-pad{
    padding-top: 75px;
    padding-bottom: 75px;
}

.section-content-mt{
    margin-top: 75px !important;
}

/* Navbar & Header styles moved to separate header.css */

/* ---- Primary brand button ---- */
.btn-brand{
    background: var(--teal);
    color: #fff;
    border: none;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    padding: .55rem 1.6rem;
    display: inline-block;
    text-decoration: none;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn-brand:hover{
    background: var(--teal-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15, 103, 101, .25);
}

/* ============================================================
   SHARED HERO / BANNER SYSTEM (Used across all pages)
   Page CSS only overrides the background-image (and unique extras).
   ============================================================ */
.hero-section{
    min-height: clamp(520px, 40vw, 700px);
    position: relative;
    overflow: hidden;
    background-color: var(--cream);
    background-repeat: no-repeat;
    background-position: right center;
    background-size: contain;
    display: flex;
    align-items: center;
    padding: 40px 0 60px;
}

/* Homepage background */
.hero-section:not([class*="-hero-section"]){
    background-image: url('../images/hero-family.png');
    background-blend-mode: multiply;
}

/* Page banner backgrounds — layout/typography stay shared above */
.rsa-hero-section{
    background-color: #ffffff;
    background-image: url('../images/rsa/rsa-hero-bg.png');
    background-position: right center;
    background-size: cover;
}

.wellness-hero-section{
    background-color: #ffffff;
    background-image: url('../images/wellenss/wellenss-banner-bg.png');
    background-position: center bottom;
    background-size: 100% 100%;
}

.wills-hero-section{
    background-color: #ffffff;
    background-image: url('../images/wills/wills-bg-image.png');
    background-position: center bottom;
    background-size: 100% 100%;
}

.financing-hero-section{
    background-color: #ffffff;
    background-image: url('../images/financing/financing-hero-bg.png');
    background-position: center bottom;
    background-size: 100% 100%;
}

.faq-hero-section{
    background-color: #fef8f0;
    background-image: url('../images/faq/faqs-banner-bg.png');
    background-position: center bottom;
    background-size: 100% 100%;
}

.hero-inner{
    z-index: 2;
    min-height: clamp(440px, 34vw, 600px);
    width: 100%;
    display: flex;
    align-items: center;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.hero-inner > .row{
    width: 100%;
    align-items: center;
}

.hero-copy{
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 0 !important;
}

.hero-title,
.hero-copy h1{
    font-family: 'Effra Trial', 'Effra', 'Poppins', sans-serif;
    font-size: 52px;
    line-height: 1.15;
    font-weight: 800;
    color: var(--teal);
    letter-spacing: -0.5px;
    margin-top: 0;
    margin-bottom: 16px;
}

.hero-tagline{
    font-family: 'Brittany Signature', 'BrittanySignatureRegular', 'Dancing Script', cursive, serif;
    font-size: clamp(2rem, 3.4vw, 2.85rem);
    color: var(--coral);
    margin: 0 0 28px;
    line-height: 1.2;
    font-weight: 600;
}

.hero-desc{
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.6;
    color: var(--text-dark);
    max-width: 440px;
    margin-top: 24px;
    margin-bottom: 0;
}

.hero-actions{
    margin-top: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-btn{
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 700;
    padding: 13px 36px;
    border-radius: 999px;
    background: var(--teal);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(17, 88, 88, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 0;
    letter-spacing: 0.2px;
    width: fit-content;
    text-decoration: none;
    border: none;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.hero-btn:hover,
.hero-btn:focus{
    background: var(--teal-dark);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(15, 103, 101, 0.3);
}

.btn-wellness-cta,
.btn-wills-cta,
.btn-financing-cta{
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 700;
    padding: 13px 36px;
    border-radius: 999px;
    background: var(--teal);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(17, 88, 88, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.2px;
    width: fit-content;
    text-decoration: none;
    border: none;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn-wellness-cta:hover,
.btn-wellness-cta:focus,
.btn-wills-cta:hover,
.btn-wills-cta:focus,
.btn-financing-cta:hover,
.btn-financing-cta:focus{
    background: var(--coral);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(244, 81, 61, 0.32);
}

/* Decorative leaf graphics for sections */
.decor-wrap{
    position: absolute;
    z-index: 2;
    pointer-events: none;
    user-select: none;
}

.decor-img{
    width: 100%;
    height: auto;
    display: block;
}

.decor-hero-left{
    position: absolute;
    left: -20px;
    bottom: 0;
    top: auto;
    width: 125px;
    height: auto;
    max-width: 15vw;
    z-index: 2;
    transform: rotate(0deg);
    filter: saturate(1.2);
    display: block !important;
    pointer-events: none;
}

.decor-hero-left .decor-img{
    animation: floatLeafHero 5.5s ease-in-out infinite alternate;
    will-change: transform;
}

/* ============================================================
   FEATURE CARDS (QUICK SERVICES)
   ============================================================ */
.quick-services{
    position: relative;
    z-index: 5;
}

.feature-card{
    background: #ffffff;
    border: none;
    border-radius: 26px;
    box-shadow: 0px 0px 11.52px 0.48px rgba(0, 0, 0, 0.09);
    padding: 18px 26px 22px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    transition: transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover{
    transform: translateY(-6px);
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.10);
}

/* Reusable Icon Circle */
.feature-card-icon{
    display: flex;
    width: 90px;
    height: 90px;
    margin: 0 auto 20px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-card-icon img{
    width: 90px;
    height: 90px;
    object-fit: contain;
}

/* Light pastel circle backgrounds matching PSD design */
.fi-teal,
.fi-coral{
    background: transparent;
}

/* Reusable Card Title */
.feature-card-title{
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 12px;
    letter-spacing: -0.3px;
}

.fc-title-teal{
    color: var(--teal-dark);
}

.fc-title-coral{
    color: var(--coral);
}

/* Reusable Card Text */
.feature-card-text{
    font-size: 15px;
    font-weight: 500;
    line-height: 1.55;
    color: #4a5568;
    margin: 0;
}

/* ============================================================
   SECTION TITLE (leaf-flanked)
   ============================================================ */
.section-title{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
}

.section-title h2,
.about-title{
    margin: 0 0 16px;
    color: var(--teal-dark);
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -0.5px;
    font-family: 'Effra Trial', 'Effra', 'Poppins', sans-serif;
}

.section-title h2{
    margin: 0;
}

.title-leaf{
    width: 44px;
    height: auto;
    object-fit: contain;
    opacity: 1;
    display: inline-block;
    vertical-align: middle;
}

.title-leaf-left{
    transform: scaleX(-1) rotate(110deg) !important;
}

.title-leaf-right{
    transform: rotate(110deg) !important;
}

/* ============================================================
   WHY FAMILIES TRUST US
   ============================================================ */
.trust-section{
    position: relative;
    overflow: hidden;
}

.decor-trust-left{
    position: absolute;
    left: -20px;
    top: 32%;
    width: 110px;
    height: auto;
    z-index: 1;
    pointer-events: none;
}

.trust-row{
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

.trust-item{
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 10px 32px;
    border-right: 1.5px solid #bdc5be;
}

.trust-item-last,
.trust-item:last-child{
    border-right: 0;
}

.trust-icon{
    width: 72px;
    height: 72px;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    background: transparent;
    transition: transform var(--transition);
}

.trust-icon-img{
    width: 72px;
    height: 72px;
    object-fit: contain;
    transition: transform var(--transition);
}

.trust-item:hover .trust-icon{
    border-color: transparent;
    background: transparent;
}

.trust-item:hover .trust-icon-img{
    transform: scale(1.08);
}

.trust-title{
    font-size: 18px;
    color: var(--teal-dark);
    font-weight: 700;
    margin: 0 0 6px;
    line-height: 1.25;
    letter-spacing: -0.3px;
}

.trust-text{
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
    margin: 0;
    color: #4a5568;
}

/* ============================================================
   SUPPORT / INFORMATION STRIP
   ============================================================ */
.support-strip{
    background: #0c5654;
    border-radius: 20px;
    padding: 24px 28px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(12, 86, 84, 0.15);
}

.support-item{
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 0 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.4);
}

.support-item-last,
.support-item:last-child{
    border-right: 0;
}

.support-icon-img{
    width: 48px;
    height: 48px;
    object-fit: contain;
    flex-shrink: 0;
}

.support-heading{
    display: block;
    color: #f7d318;
    font-size: 18px;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.2px;
}

.support-text{
    display: block;
    color: #ffffff;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.45;
    margin-top: 4px;
}

.decor-trust-left{
    left: -3px;
    bottom: 18px;
    width: 120px;
    transform: rotate(3deg);
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section{
    position: relative;
    /* overflow: hidden; */
}

.about-image-wrapper{
    width: 100%;
    height: 100%;
    min-height: 340px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.about-image{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 24px;
}

.about-card{
    background: #fff7e9;
    border-radius: 28px;
    padding: 42px 38px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

/* .about-title styled via unified section-title h2 rule */

.about-text{
    font-size: 15px;
    line-height: 1.65;
    color: #4a5568;
    margin-bottom: 16px;
}

.about-btn{
    font-size: 15px;
    font-weight: 700;
    padding: 12px 32px;
    border-radius: 999px;
    background: var(--teal);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 6px 20px rgba(15, 103, 101, 0.25);
    transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
    text-decoration: none;
}

.about-btn:hover{
    background: var(--teal-dark);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(15, 103, 101, 0.35);
}

.decor-about-right{
    position: absolute;
    right: 0px;
    top: -80px;
    width: 162px;
    height: auto;
    transform: rotate(-73deg);
    z-index: 1;
    pointer-events: none;
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-section{
    position: relative;
    overflow: hidden;
}

.view-all{
    color: #f4513d;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    font-size: 15px;
    transition: color var(--transition);
}

.view-all:hover{
    color: #d43c2e;
}

.services-grid{
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1rem;
}

.service-card{
    position: relative;
    z-index: 5;
    background: #fff7e9;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover{
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.09);
}

.service-card-image{
    width: 100%;
    height: 320px;
    display: block;
    object-fit: cover;
}

.service-card-content{
    background: #fcedd3;
    padding: 20px 24px 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 8px;
    flex-grow: 1;
    border-bottom-left-radius: 28px;
    border-bottom-right-radius: 28px;
}

.service-card-title{
    font-size: 24px;
    margin: 0;
    font-weight: 800;
    color: #2c2c2c;
    line-height: 1.25;
    letter-spacing: -0.3px;
}

.service-card-link{
    color: #f4513d;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color var(--transition), transform var(--transition);
    margin-top: 2px;
}

.service-card-link:hover{
    color: #d43c2e;
    transform: translateX(3px);
}

.decor-services-left{
    position: absolute;
    left: -15px;
    bottom: 38%;
    width: 120px;
    height: auto;
    z-index: 0 !important;
    pointer-events: none;
}

.services-section .container{
    position: relative;
    z-index: 5;
}

.decor-services-right{
    position: absolute;
    right: 0px;
    top: 60px;
    width: 110px;
    height: auto;
    z-index: 0 !important;
    opacity: 1;
    transform: rotate(65deg);
    pointer-events: none;
}

.decor-partner-right{
    position: absolute;
    right: 0;
    top: -170px;
    width: 140px;
    height: auto;
    z-index: 0 !important;
    pointer-events: none;
    opacity: 0.95;
}

.partners-section .container{
    position: relative;
    z-index: 2;
}

/* ============================================================
   PARTNERS SECTION
   ============================================================ */
.partners-section{
    position: relative;
    z-index: 1;
    padding-top: 50px;
    padding-bottom: 70px;
    /* overflow: hidden; */
}

.partners-wrapper{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 1140px;
    margin: 0 auto;
    position: relative;
}

.partners-overflow{
    overflow: hidden;
    width: 100%;
    max-width: 960px;
}

.partner-track{
    display: flex;
    align-items: center;
    gap: 30px;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

.partner-card{
    flex: 0 0 calc((100% - 60px) / 3);
    min-width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition);
}

.partner-card:hover{
    transform: translateY(-3px);
}

.partner-logo-img{
    max-width: 180px;
    height: 76px;
    object-fit: contain;
    display: block;
    transition: transform var(--transition);
}

.partner-card:hover .partner-logo-img{
    transform: scale(1.05);
}

.partner-arrow{
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid #dcdcdc;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #115858;
    font-size: 20px;
    cursor: pointer;
    flex-shrink: 0;
    z-index: 10;
    transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}

.partner-arrow:hover{
    background: #115858;
    color: #ffffff;
    border-color: #115858;
    transform: scale(1.06);
}

/* ============================================================
   CONTINUOUS FLOATING ANIMATIONS FOR DECORATIVE LEAF GRAPHICS
   ============================================================ */
.decor-hero-left .decor-img{
    animation: floatLeafHero 4.8s ease-in-out infinite alternate;
    will-change: transform;
}

.decor-trust-left .decor-img{
    animation: floatLeafTrust 5.2s ease-in-out infinite alternate;
    will-change: transform;
}

.decor-about-right .decor-img{
    animation: floatLeafAbout 4.6s ease-in-out infinite alternate;
    will-change: transform;
}

.decor-services-left .decor-img{
    animation: floatLeafServicesLeft 5s ease-in-out infinite alternate;
    will-change: transform;
}

.decor-services-right .decor-img{
    animation: floatLeafServicesRight 4.4s ease-in-out infinite alternate;
    will-change: transform;
}

.decor-partner-right .decor-img{
    animation: floatLeafPartner 5.4s ease-in-out infinite alternate;
    will-change: transform;
}

@keyframes floatLeafHero {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-12px) rotate(2deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

@keyframes floatLeafTrust {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes floatLeafAbout {
    0% {
        transform: translateY(0px) rotate(-73deg);
    }

    50% {
        transform: translateY(-12px) rotate(-70deg);
    }

    100% {
        transform: translateY(0px) rotate(-73deg);
    }
}

@keyframes floatLeafServicesLeft {
    0% {
        transform: translateY(0px) rotate(205deg);
    }

    50% {
        transform: translateY(-10px) rotate(208deg);
    }

    100% {
        transform: translateY(0px) rotate(205deg);
    }
}

@keyframes floatLeafServicesRight {
    0% {
        transform: translateY(0px) rotate(65deg);
    }

    50% {
        transform: translateY(-12px) rotate(68deg);
    }

    100% {
        transform: translateY(0px) rotate(65deg);
    }
}

@keyframes floatLeafPartner {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Footer styles moved to separate footer.css */

/* Responsive breakpoint rules moved to separate responsive.css */
