/* =========================================================
   HEALTHHOME WEBSITE
   MAIN CSS FILE
   ========================================================= */


/* =========================================================
   PART 1 — GLOBAL RESET & VARIABLES
   ========================================================= */

/* Remove default browser spacing */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* Smooth scrolling */

html {
    scroll-behavior: smooth;
}


/* Main website variables */

:root {

    /* Brand Colors */
    --primary: #00C2CB;
    --primary-dark: #009FA8;
    --secondary: #0879D9;
    --secondary-dark: #075FA8;

    /* Logo / healthcare colors */
    --green: #24B47E;
    --green-light: #E8FAF3;

    --blue-light: #EAF7FF;
    --teal-light: #E9FBFA;
    --purple-light: #F1EEFF;
    --orange-light: #FFF4E7;

    /* Text */
    --dark: #092B49;
    --dark-blue: #0B3558;
    --text: #475569;
    --text-light: #64748B;

    /* Background */
    --white: #FFFFFF;
    --background: #F8FCFD;
    --section-light: #F2FBFB;

    /* Borders */
    --border: #E5EEF1;

    /* Shadows */
    --shadow-small: 0 5px 20px rgba(9, 43, 73, 0.06);
    --shadow-medium: 0 12px 35px rgba(9, 43, 73, 0.10);
    --shadow-large: 0 20px 55px rgba(9, 43, 73, 0.14);

    /* Radius */
    --radius-small: 10px;
    --radius-medium: 18px;
    --radius-large: 28px;

    /* Container */
    --container-width: 1180px;
}


/* Body */

body {

    font-family: "Inter", Arial, sans-serif;

    background: var(--white);

    color: var(--text);

    line-height: 1.6;

    overflow-x: hidden;

}


/* Images */

img {
    max-width: 100%;
    display: block;
}


/* Links */

a {
    text-decoration: none;
    color: inherit;
}


/* Buttons */

button,
input,
textarea {
    font-family: inherit;
}


/* Container */

.container {

    width: 90%;

    max-width: var(--container-width);

    margin: 0 auto;

}


/* Common section spacing */

section {
    position: relative;
}


/* =========================================================
   PART 2 — COMMON TYPOGRAPHY
   ========================================================= */


/* Section heading */

.section-heading {

    max-width: 700px;

    margin: 0 auto 55px;

    text-align: center;

}


/* Small section label */

.section-label {

    color: var(--green);

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 1.2px;

    text-transform: uppercase;

    margin-bottom: 10px;

}


/* Section heading */

.section-heading h2 {

    color: var(--dark);

    font-size: clamp(30px, 4vw, 44px);

    line-height: 1.2;

    font-weight: 800;

    margin-bottom: 16px;

}


/* Section paragraph */

.section-heading p:not(.section-label) {

    color: var(--text-light);

    font-size: 16px;

    line-height: 1.7;

}


/* =========================================================
   PART 3 — NAVIGATION BAR
   ========================================================= */

.navbar {

    width: 100%;

    position: fixed;

    top: 0;

    left: 0;

    z-index: 1000;

    background: rgba(255, 255, 255, 0.95);

    backdrop-filter: blur(15px);

    -webkit-backdrop-filter: blur(15px);

    border-bottom: 1px solid transparent;

    transition: all 0.3s ease;

}


/* Navbar when scrolling */

.navbar.scrolled {

    border-bottom-color: var(--border);

    box-shadow: var(--shadow-small);

}


/* Navbar container */

.navbar-container {

    min-height: 78px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;

}


/* Logo */

.logo {

    display: flex;

    align-items: center;

    gap: 9px;

    flex-shrink: 0;

}


/* Logo image */

.logo-image {

    width: 39px;

    height: 39px;

    object-fit: contain;

}


/* Logo text */

.logo-text {

    color: var(--dark);

    font-size: 20px;

    font-weight: 800;

    letter-spacing: -0.4px;

}


/* Logo HealthHome accent */

.logo-text span {

    color: var(--primary);

}


/* Navigation menu */

.nav-menu {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 32px;

    margin-left: auto;

}


/* Navigation links */

.nav-link {

    position: relative;

    color: var(--dark-blue);

    font-size: 13px;

    font-weight: 600;

    padding: 28px 0;

    transition: color 0.3s ease;

}


/* Navigation hover */

.nav-link:hover {

    color: var(--primary-dark);

}


/* Active navigation */

.nav-link.active {

    color: var(--primary-dark);

}


/* Active underline */

.nav-link.active::after {

    content: "";

    position: absolute;

    left: 0;

    right: 0;

    bottom: 19px;

    height: 2px;

    border-radius: 20px;

    background: var(--primary);

}


/* Navigation download */

.nav-download-btn {

    display: flex;

    align-items: center;

    gap: 8px;

    padding: 11px 17px;

    border-radius: 9px;

    background: #111827;

    color: var(--white);

    font-size: 12px;

    font-weight: 600;

    transition: all 0.3s ease;

    white-space: nowrap;

}


.nav-download-btn i {

    color: #7DD3FC;

    font-size: 15px;

}


.nav-download-btn:hover {

    transform: translateY(-2px);

    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.2);

}


/* Mobile menu button */

.mobile-menu-btn {

    display: none;

    border: none;

    background: transparent;

    color: var(--dark);

    font-size: 23px;

    cursor: pointer;

    padding: 8px;

}


/* =========================================================
   PART 4 — HERO SECTION
   ========================================================= */

.hero-section {

    min-height: 760px;

    padding-top: 150px;

    padding-bottom: 100px;

    background:

        radial-gradient(
            circle at 80% 25%,
            rgba(0, 194, 203, 0.10),
            transparent 30%
        ),

        linear-gradient(
            180deg,
            #FFFFFF 0%,
            #F7FCFD 100%
        );

    overflow: hidden;

}


/* Hero container */

.hero-container {

    min-height: 560px;

    display: grid;

    grid-template-columns: 1fr 0.95fr;

    align-items: center;

    gap: 60px;

}


/* Hero content */

.hero-content {

    max-width: 620px;

}


/* Small hero heading */

.hero-small-title {

    color: var(--green);

    font-size: 15px;

    font-weight: 600;

    margin-bottom: 15px;

}


/* Hero main title */

.hero-title {

    color: var(--dark);

    font-size: clamp(42px, 5vw, 67px);

    line-height: 1.08;

    letter-spacing: -2.5px;

    font-weight: 800;

    margin-bottom: 24px;

}


/* Hero title accent */

.hero-title span {

    color: var(--primary-dark);

}


/* Hero description */

.hero-description {

    max-width: 590px;

    color: var(--text);

    font-size: 16px;

    line-height: 1.8;

    margin-bottom: 30px;

}


/* Hero buttons */

.hero-buttons {

    display: flex;

    align-items: center;

    gap: 15px;

    flex-wrap: wrap;

}


/* Primary button */

.primary-btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    padding: 14px 23px;

    border-radius: 10px;

    background: linear-gradient(
        135deg,
        var(--primary),
        var(--primary-dark)
    );

    color: var(--white);

    font-size: 14px;

    font-weight: 700;

    box-shadow: 0 10px 25px rgba(0, 194, 203, 0.22);

    transition: all 0.3s ease;

}


.primary-btn:hover {

    transform: translateY(-3px);

    box-shadow: 0 15px 30px rgba(0, 194, 203, 0.30);

}


/* Secondary button */

.secondary-btn {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 13px 21px;

    border: 1px solid var(--border);

    border-radius: 10px;

    background: var(--white);

    color: var(--dark);

    font-size: 14px;

    font-weight: 600;

    transition: all 0.3s ease;

}


.secondary-btn:hover {

    border-color: var(--primary);

    color: var(--primary-dark);

    transform: translateY(-2px);

}


/* Hero trust */

.hero-trust {

    display: flex;

    align-items: center;

    gap: 20px;

    margin-top: 35px;

    flex-wrap: wrap;

}


/* Trust item */

.trust-item {

    display: flex;

    align-items: center;

    gap: 7px;

    color: var(--text-light);

    font-size: 12px;

    font-weight: 500;

}


.trust-item i {

    color: var(--primary-dark);

    font-size: 14px;

}


/* Hero image area */

.hero-image-container {

    position: relative;

    min-height: 530px;

    display: flex;

    align-items: center;

    justify-content: center;

}


/* Hero decorative circles */

.hero-circle {

    position: absolute;

    border-radius: 50%;

    z-index: 0;

}


.hero-circle-one {

    width: 440px;

    height: 440px;

    background: rgba(0, 194, 203, 0.10);

    top: 50px;

    right: 20px;

}


.hero-circle-two {

    width: 250px;

    height: 250px;

    background: rgba(36, 180, 126, 0.08);

    bottom: 15px;

    left: 30px;

}


/* App mockup */

.hero-app-image {

    position: relative;

    z-index: 2;

    width: 390px;

    max-height: 530px;

    object-fit: contain;

    filter: drop-shadow(
        0 25px 35px rgba(9, 43, 73, 0.18)
    );

    animation: floatingPhone 5s ease-in-out infinite;

}


/* Phone floating animation */

@keyframes floatingPhone {

    0%,
    100% {

        transform: translateY(0);

    }

    50% {

        transform: translateY(-12px);

    }

}


/* Floating cards */

.floating-card {

    position: absolute;

    z-index: 4;

    display: flex;

    align-items: center;

    gap: 10px;

    background: rgba(255, 255, 255, 0.95);

    padding: 12px 15px;

    border-radius: 13px;

    box-shadow: var(--shadow-medium);

    border: 1px solid rgba(255, 255, 255, 0.7);

    animation: floatingCard 4s ease-in-out infinite;

}


.floating-card strong {

    display: block;

    color: var(--dark);

    font-size: 12px;

}


.floating-card small {

    display: block;

    color: var(--text-light);

    font-size: 10px;

}


.floating-card-one {

    top: 120px;

    left: 20px;

}


.floating-card-two {

    right: 5px;

    bottom: 110px;

    animation-delay: 1s;

}


@keyframes floatingCard {

    0%,
    100% {

        transform: translateY(0);

    }

    50% {

        transform: translateY(-8px);

    }

}


/* Floating icon */

.floating-icon {

    width: 38px;

    height: 38px;

    border-radius: 10px;

    display: flex;

    align-items: center;

    justify-content: center;

}


.blue-icon {

    color: var(--secondary);

    background: var(--blue-light);

}


.green-icon {

    color: var(--green);

    background: var(--green-light);

}


/* =========================================================
   PART 5 — SERVICES SECTION
   ========================================================= */

.services-section {

    padding: 100px 0;

    background: var(--white);

}


/* Services grid */

.services-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;

}


/* Service card */

.service-card {

    position: relative;

    padding: 32px 25px;

    min-height: 290px;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: var(--radius-medium);

    box-shadow: var(--shadow-small);

    transition: all 0.35s ease;

    overflow: hidden;

}


/* Decorative line */

.service-card::before {

    content: "";

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 3px;

    background: linear-gradient(
        90deg,
        var(--primary),
        var(--secondary)
    );

    transform: scaleX(0);

    transform-origin: left;

    transition: transform 0.35s ease;

}


.service-card:hover {

    transform: translateY(-8px);

    box-shadow: var(--shadow-medium);

    border-color: rgba(0, 194, 203, 0.20);

}


.service-card:hover::before {

    transform: scaleX(1);

}


/* Service icon */

.service-icon {

    width: 60px;

    height: 60px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 23px;

    margin-bottom: 22px;

}


.blue-service {

    color: var(--secondary);

    background: var(--blue-light);

}


.green-service {

    color: var(--green);

    background: var(--green-light);

}


.purple-service {

    color: #7764D8;

    background: var(--purple-light);

}


.orange-service {

    color: #E78A2E;

    background: var(--orange-light);

}


/* Service title */

.service-card h3 {

    color: var(--dark);

    font-size: 18px;

    margin-bottom: 10px;

    font-weight: 700;

}


/* Service paragraph */

.service-card p {

    color: var(--text-light);

    font-size: 13px;

    line-height: 1.7;

    margin-bottom: 18px;

}


/* Service link */

.service-link {

    display: inline-flex;

    align-items: center;

    gap: 7px;

    color: var(--primary-dark);

    font-size: 12px;

    font-weight: 700;

}


.service-link i {

    transition: transform 0.3s ease;

}


.service-link:hover i {

    transform: translateX(4px);

}


/* =========================================================
   PART 6 — FAMILY HEALTHCARE
   ========================================================= */

.family-section {
    padding: 100px 0;
    background: var(--section-light);
}


/* Family container */

.family-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 75px;
}


/* Family image container */

.family-image-container {
    position: relative;
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Background decoration */

.family-image-bg {
    position: absolute;
    width: 80%;
    height: 80%;

    background: linear-gradient(
        135deg,
        rgba(0, 194, 203, 0.15),
        rgba(36, 180, 126, 0.10)
    );

    border-radius: 40% 60% 55% 45%;
    transform: rotate(-5deg);
}


/* =========================================================
   FAMILY IMAGE — COMPLETE IMAGE / NO CROPPING
   ========================================================= */

.family-image {
    position: relative;
    z-index: 2;

    width: 88%;
    max-width: 100%;

    /*
       IMPORTANT:
       Do NOT use a fixed height.
       The original image ratio will be preserved.
    */
    height: auto;

    /*
       Show the complete image instead of cropping it.
    */
    object-fit: contain;

    display: block;

    border-radius: 30px;
    box-shadow: var(--shadow-medium);
}


/* Family content */

.family-content {
    max-width: 550px;
}


/* Family title */

.family-content h2 {
    color: var(--dark);
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 20px;
}


.family-content h2 span {
    color: var(--primary-dark);
}


/* Family paragraph */

.family-content > p:not(.section-label) {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 25px;
}


/* Family features */

.family-features {
    display: flex;
    flex-direction: column;
    gap: 13px;
    margin-bottom: 28px;
}


/* Family feature */

.family-feature {
    display: flex;
    align-items: center;
    gap: 12px;

    color: var(--dark-blue);

    font-size: 13px;
    font-weight: 500;
}


/* Feature check */

.family-feature i {
    width: 24px;
    height: 24px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--green-light);
    color: var(--green);

    font-size: 11px;
}


/* Text button */

.text-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: var(--primary-dark);

    font-size: 13px;
    font-weight: 700;
}


.text-btn i {
    transition: transform 0.3s ease;
}


.text-btn:hover i {
    transform: translateX(5px);
}

/* =========================================================
   PART 7 — WHY HEALTHHOME
   ========================================================= */

.why-section {

    padding: 100px 0;

    background: var(--white);

}


/* Why grid */

.why-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 18px;

}


/* Why card */

.why-card {

    padding: 28px 22px;

    text-align: center;

    border: 1px solid var(--border);

    border-radius: var(--radius-medium);

    background: var(--white);

    transition: all 0.3s ease;

}


.why-card:hover {

    transform: translateY(-6px);

    box-shadow: var(--shadow-small);

    border-color: rgba(0, 194, 203, 0.25);

}


/* Why icon */

.why-icon {

    width: 55px;

    height: 55px;

    margin: 0 auto 18px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 16px;

    background: var(--teal-light);

    color: var(--primary-dark);

    font-size: 20px;

}


/* Why title */

.why-card h3 {

    color: var(--dark);

    font-size: 16px;

    margin-bottom: 8px;

}


/* Why paragraph */

.why-card p {

    color: var(--text-light);

    font-size: 12px;

    line-height: 1.7;

}


/* =========================================================
   PART 8 — HOW IT WORKS
   ========================================================= */

.how-section {

    padding: 100px 0;

    background: #F7FBFC;

}


/* Steps */

.steps-container {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 25px;

    position: relative;

}


/* Connecting line */

.steps-container::before {

    content: "";

    position: absolute;

    top: 52px;

    left: 12%;

    right: 12%;

    height: 1px;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 194, 203, 0.4),
        transparent
    );

    z-index: 0;

}


/* Step card */

.step-card {

    position: relative;

    z-index: 1;

    text-align: center;

    background: transparent;

}


/* Step number */

.step-number {

    position: absolute;

    top: -8px;

    right: 22px;

    color: rgba(0, 194, 203, 0.16);

    font-size: 30px;

    font-weight: 800;

}


/* Step icon */

.step-icon {

    width: 72px;

    height: 72px;

    margin: 0 auto 20px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: var(--white);

    color: var(--primary-dark);

    border: 1px solid rgba(0, 194, 203, 0.20);

    box-shadow: var(--shadow-small);

    font-size: 24px;

}


/* Step title */

.step-card h3 {

    color: var(--dark);

    font-size: 16px;

    margin-bottom: 8px;

}


/* Step paragraph */

.step-card p {

    max-width: 200px;

    margin: auto;

    color: var(--text-light);

    font-size: 12px;

    line-height: 1.7;

}


/* =========================================================
   PART 9 — DOWNLOAD APP
   ========================================================= */

.download-section {

    padding: 90px 0;

    background:

        linear-gradient(
            120deg,
            #EFFBFB,
            #F4FAFF
        );

    overflow: hidden;

}


/* Download container */

.download-container {

    min-height: 390px;

    display: grid;

    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 50px;

    border-radius: 30px;

}


/* Download content */

.download-content {

    max-width: 540px;

}


/* Download title */

.download-content h2 {

    color: var(--dark);

    font-size: clamp(34px, 4vw, 50px);

    line-height: 1.15;

    font-weight: 800;

    margin-bottom: 20px;

}


.download-content h2 span {

    color: var(--primary-dark);

}


/* Download paragraph */

.download-content > p:not(.section-label) {

    color: var(--text-light);

    font-size: 14px;

    line-height: 1.8;

    margin-bottom: 25px;

}


/* Google Play button */

.google-play-btn {

    width: fit-content;

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 10px 17px;

    border-radius: 9px;

    background: #111827;

    color: var(--white);

    transition: all 0.3s ease;

}


.google-play-btn i {

    color: #7DD3FC;

    font-size: 23px;

}


.google-play-btn small {

    display: block;

    font-size: 8px;

    line-height: 1;

    opacity: 0.8;

}


.google-play-btn strong {

    display: block;

    font-size: 17px;

    line-height: 1.2;

}


.google-play-btn:hover {

    transform: translateY(-3px);

    box-shadow: 0 12px 25px rgba(17, 24, 39, 0.22);

}


/* Download image */

.download-image-container {

    min-height: 330px;

    display: flex;

    align-items: center;

    justify-content: center;

}


/* App screenshots */

.download-app-image {

    width: 480px;

    max-height: 350px;

    object-fit: contain;

    filter: drop-shadow(
        0 20px 25px rgba(9, 43, 73, 0.12)
    );

}


/* =========================================================
   PART 10 — ABOUT US
   ========================================================= */

.about-section {

    padding: 100px 0;

    background: var(--white);

}


/* About header */

.about-header {

    max-width: 720px;

    margin-bottom: 70px;

}


.about-header h2 {

    color: var(--dark);

    font-size: clamp(34px, 4vw, 50px);

    line-height: 1.15;

    margin-bottom: 18px;

    font-weight: 800;

}


.about-header h2 span {

    color: var(--primary-dark);

}


.about-header > p:not(.section-label) {

    color: var(--text-light);

    max-width: 620px;

    font-size: 15px;

    line-height: 1.8;

}


/* Vision */

.about-vision {

    display: grid;

    grid-template-columns: 1fr 0.7fr;

    gap: 60px;

    align-items: center;

    margin-bottom: 80px;

}


/* Vision content */

.vision-content {

    max-width: 650px;

}


.vision-content h3 {

    color: var(--dark);

    font-size: 30px;

    line-height: 1.2;

    margin-bottom: 15px;

}


.vision-content p:not(.section-label) {

    color: var(--text-light);

    font-size: 14px;

    line-height: 1.8;

}


/* Vision card */

.vision-card {

    display: flex;

    align-items: center;

    gap: 20px;

    padding: 30px;

    background: var(--section-light);

    border-radius: 20px;

    border: 1px solid rgba(0, 194, 203, 0.12);

}


.vision-icon {

    width: 70px;

    height: 70px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 18px;

    color: var(--green);

    background: var(--green-light);

    font-size: 28px;

}


.vision-card strong {

    display: block;

    color: var(--dark);

    font-size: 15px;

}


.vision-card span {

    display: block;

    color: var(--green);

    font-size: 13px;

}


/* Subsection heading */

.subsection-heading {

    margin-bottom: 30px;

}


.subsection-heading h3 {

    color: var(--dark);

    font-size: 27px;

    font-weight: 700;

}


/* Building section */

.building-section {

    margin-bottom: 75px;

}


/* Building grid */

.building-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 18px;

}


/* Building card */

.building-card {

    padding: 25px 20px;

    background: #FBFEFE;

    border: 1px solid var(--border);

    border-radius: 15px;

    transition: all 0.3s ease;

}


.building-card:hover {

    transform: translateY(-5px);

    box-shadow: var(--shadow-small);

}


/* Building icon */

.building-icon {

    width: 45px;

    height: 45px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 12px;

    color: var(--primary-dark);

    background: var(--teal-light);

    margin-bottom: 16px;

}


.building-card h4 {

    color: var(--dark);

    font-size: 15px;

    margin-bottom: 6px;

}


.building-card p {

    color: var(--text-light);

    font-size: 11px;

    line-height: 1.7;

}


/* Approach */

.approach-section {

    margin-bottom: 10px;

}


/* Approach grid */

.approach-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 18px;

}


/* Approach card */

.approach-card {

    display: flex;

    align-items: center;

    gap: 15px;

    padding: 25px;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: 16px;

}


.approach-card > i {

    width: 45px;

    height: 45px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 12px;

    background: var(--green-light);

    color: var(--green);

}


.approach-card h4 {

    color: var(--dark);

    font-size: 14px;

    margin-bottom: 4px;

}


.approach-card p {

    color: var(--text-light);

    font-size: 11px;

    line-height: 1.6;

}


/* =========================================================
   PART 11 — CONTACT SECTION
   ========================================================= */

.contact-section {

    padding: 100px 0;

    background: var(--section-light);

}


/* Contact container */

.contact-container {

    display: grid;

    grid-template-columns: 0.75fr 1.25fr;

    gap: 45px;

    align-items: start;

}


/* Contact information */

.contact-info {

    padding-top: 15px;

}


/* Contact item */

.contact-item {

    display: flex;

    align-items: flex-start;

    gap: 15px;

    margin-bottom: 28px;

}


/* Contact icon */

.contact-icon {

    width: 48px;

    height: 48px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 13px;

    color: var(--primary-dark);

    background: var(--white);

    box-shadow: var(--shadow-small);

}


.contact-item h4 {

    color: var(--dark);

    font-size: 14px;

    margin-bottom: 4px;

}


.contact-item p,
.contact-item a {

    color: var(--text-light);

    font-size: 13px;

}


.contact-item a:hover {

    color: var(--primary-dark);

}


/* Contact form container */

.contact-form-container {

    padding: 35px;

    background: var(--white);

    border-radius: 20px;

    border: 1px solid var(--border);

    box-shadow: var(--shadow-small);

}


/* Contact form */

.contact-form {

    display: flex;

    flex-direction: column;

    gap: 17px;

}


/* Form group */

.form-group {

    display: flex;

    flex-direction: column;

    gap: 7px;

}


/* Labels */

.form-group label {

    color: var(--dark);

    font-size: 12px;

    font-weight: 600;

}


/* Inputs */

.form-group input,
.form-group textarea {

    width: 100%;

    padding: 13px 15px;

    border: 1px solid var(--border);

    border-radius: 9px;

    outline: none;

    background: #FBFEFE;

    color: var(--dark);

    font-size: 13px;

    transition: all 0.3s ease;

}


/* Textarea */

.form-group textarea {

    resize: vertical;

    min-height: 120px;

}


/* Placeholder */

.form-group input::placeholder,
.form-group textarea::placeholder {

    color: #94A3B8;

}


/* Focus */

.form-group input:focus,
.form-group textarea:focus {

    border-color: var(--primary);

    background: var(--white);

    box-shadow: 0 0 0 3px rgba(0, 194, 203, 0.08);

}


/* Submit button */

.submit-btn {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    width: 100%;

    padding: 14px;

    border: none;

    border-radius: 9px;

    cursor: pointer;

    background: linear-gradient(
        135deg,
        var(--green),
        #169F6C
    );

    color: var(--white);

    font-size: 13px;

    font-weight: 700;

    transition: all 0.3s ease;

}


.submit-btn:hover {

    transform: translateY(-2px);

    box-shadow: 0 10px 20px rgba(36, 180, 126, 0.20);

}


/* Form message */

.form-message {

    text-align: center;

    font-size: 12px;

    min-height: 18px;

    color: var(--green);

}


/* =========================================================
   PART 12 — FINAL CALL TO ACTION
   ========================================================= */

.final-cta {

    padding: 80px 0;

    background: var(--white);

}


/* CTA container */

.final-cta-container {

    position: relative;

    overflow: hidden;

    padding: 60px 70px;

    border-radius: 28px;

    background:

        radial-gradient(
            circle at 90% 50%,
            rgba(0, 194, 203, 0.16),
            transparent 35%
        ),

        linear-gradient(
            135deg,
            #EFFBFB,
            #F5FAFF
        );

    border: 1px solid rgba(0, 194, 203, 0.12);

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

}


/* CTA content */

.final-cta-content {

    max-width: 650px;

}


.final-cta-content h2 {

    color: var(--dark);

    font-size: clamp(32px, 4vw, 46px);

    line-height: 1.15;

    font-weight: 800;

    margin-bottom: 15px;

}


.final-cta-content h2 span {

    color: var(--primary-dark);

}


.final-cta-content p:not(.section-label) {

    color: var(--text-light);

    font-size: 14px;

    line-height: 1.7;

    margin-bottom: 25px;

}


/* CTA icon */

.final-cta-icon {

    width: 150px;

    height: 150px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.85);

    color: var(--primary);

    font-size: 70px;

    box-shadow: var(--shadow-small);

}


/* =========================================================
   PART 13 — FOOTER
   ========================================================= */

.footer {

    background: #F7FBFC;

    border-top: 1px solid var(--border);

}


/* Footer top */

.footer-top {

    display: grid;

    grid-template-columns: 1.4fr 0.8fr 1fr 1fr;

    gap: 50px;

    padding: 65px 0 45px;

}


/* Footer brand */

.footer-brand {

    max-width: 260px;

}


/* Footer logo */

.footer-logo {

    display: flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 15px;

}


.footer-logo img {

    width: 36px;

    height: 36px;

    object-fit: contain;

}


.footer-logo > span {

    color: var(--dark);

    font-size: 18px;

    font-weight: 800;

}


.footer-logo > span span {

    color: var(--primary);

}


.footer-brand p {

    color: var(--text-light);

    font-size: 12px;

    line-height: 1.7;

}


/* Footer column */

.footer-column {

    display: flex;

    flex-direction: column;

    gap: 10px;

}


/* Footer headings */

.footer-column h4 {

    color: var(--dark);

    font-size: 14px;

    margin-bottom: 7px;

}


/* Footer links */

.footer-column a {

    width: fit-content;

    color: var(--text-light);

    font-size: 12px;

    transition: color 0.3s ease;

}


.footer-column a:hover {

    color: var(--primary-dark);

}


/* Footer download paragraph */

.footer-download p {

    color: var(--text-light);

    font-size: 11px;

    line-height: 1.6;

    margin-bottom: 4px;

}


/* Footer Google Play */

.footer-play-btn {

    display: flex !important;

    align-items: center;

    justify-content: center;

    gap: 8px;

    padding: 10px 13px;

    border-radius: 8px;

    background: #111827;

    color: var(--white) !important;

}


.footer-play-btn i {

    color: #7DD3FC;

    font-size: 16px;

}


/* Footer bottom */

.footer-bottom {

    min-height: 65px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    border-top: 1px solid var(--border);

}


/* Copyright */

.footer-bottom p {

    color: #94A3B8;

    font-size: 10px;

}


/* Footer bottom links */

.footer-bottom-links {

    display: flex;

    gap: 20px;

}


.footer-bottom-links a {

    color: #94A3B8;

    font-size: 10px;

    transition: color 0.3s ease;

}


.footer-bottom-links a:hover {

    color: var(--primary-dark);

}


/* =========================================================
   PART 14 — SCROLL ANIMATION SUPPORT
   ========================================================= */


/*
   JavaScript will add the "visible" class
   to these elements.
*/

.service-card,
.why-card,
.step-card,
.building-card,
.approach-card,
.contact-item,
.family-content,
.family-image-container {

    opacity: 0;

    transform: translateY(25px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;

}


/* Visible state */

.service-card.visible,
.why-card.visible,
.step-card.visible,
.building-card.visible,
.approach-card.visible,
.contact-item.visible,
.family-content.visible,
.family-image-container.visible {

    opacity: 1;

    transform: translateY(0);

}


/* =========================================================
   PART 15 — TABLET RESPONSIVE DESIGN
   ========================================================= */

@media (max-width: 1000px) {


    /* ---------- NAVBAR ---------- */

    .nav-menu {

        gap: 20px;

    }


    .nav-link {

        font-size: 12px;

    }


    .nav-download-btn span {

        display: none;

    }


    .nav-download-btn {

        padding: 11px 13px;

    }


    /* ---------- HERO ---------- */

    .hero-container {

        grid-template-columns: 1fr 0.8fr;

        gap: 30px;

    }


    .hero-title {

        font-size: 48px;

    }


    .hero-app-image {

        width: 320px;

    }


    .hero-circle-one {

        width: 350px;

        height: 350px;

    }


    /* ---------- SERVICES ---------- */

    .services-grid {

        grid-template-columns: repeat(2, 1fr);

    }


    /* ---------- WHY ---------- */

    .why-grid {

        grid-template-columns: repeat(2, 1fr);

    }


    /* ---------- FAMILY ---------- */

    .family-container {

        gap: 40px;

    }


    /* ---------- STEPS ---------- */

    .steps-container {

        grid-template-columns: repeat(2, 1fr);

        row-gap: 45px;

    }


    .steps-container::before {

        display: none;

    }


    /* ---------- BUILDING ---------- */

    .building-grid {

        grid-template-columns: repeat(2, 1fr);

    }


    /* ---------- FOOTER ---------- */

    .footer-top {

        grid-template-columns: repeat(2, 1fr);

    }

}


/* =========================================================
   PART 16 — MOBILE RESPONSIVE DESIGN
   ========================================================= */

@media (max-width: 768px) {


    /* =====================================================
       MOBILE NAVBAR
       ===================================================== */

    .navbar-container {

        min-height: 70px;

    }


    .nav-menu {

        position: absolute;

        top: 70px;

        left: 0;

        width: 100%;

        padding: 15px 5% 20px;

        background: rgba(255, 255, 255, 0.98);

        backdrop-filter: blur(15px);

        display: none;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        border-bottom: 1px solid var(--border);

        box-shadow: var(--shadow-medium);

    }


    /* Menu opened by JavaScript */

    .nav-menu.open {

        display: flex;

    }


    .nav-link {

        width: 100%;

        padding: 14px 0;

        font-size: 14px;

        border-bottom: 1px solid #F0F4F5;

    }


    .nav-link:last-child {

        border-bottom: none;

    }


    .nav-link.active::after {

        display: none;

    }


    .nav-download-btn {

        display: none;

    }


    .mobile-menu-btn {

        display: block;

    }


    /* =====================================================
       MOBILE HERO
       ===================================================== */

    .hero-section {

        padding-top: 120px;

        padding-bottom: 70px;

    }


    .hero-container {

        grid-template-columns: 1fr;

        text-align: center;

    }


    .hero-content {

        margin: auto;

    }


    .hero-title {

        font-size: 42px;

        letter-spacing: -1.5px;

    }


    .hero-description {

        margin-left: auto;

        margin-right: auto;

        font-size: 14px;

    }


    .hero-buttons {

        justify-content: center;

    }


    .hero-trust {

        justify-content: center;

    }


    .hero-image-container {

        min-height: 430px;

        margin-top: 20px;

    }


    .hero-app-image {

        width: 300px;

        max-height: 430px;

    }


    .hero-circle-one {

        width: 340px;

        height: 340px;

    }


    .floating-card-one {

        left: 5%;

        top: 70px;

    }


    .floating-card-two {

        right: 3%;

        bottom: 65px;

    }


    /* =====================================================
       MOBILE SECTION HEADINGS
       ===================================================== */

    .section-heading {

        margin-bottom: 40px;

    }


    .section-heading h2 {

        font-size: 32px;

    }


    /* =====================================================
       MOBILE SERVICES
       ===================================================== */

    .services-section {

        padding: 75px 0;

    }


    .services-grid {

        grid-template-columns: 1fr;

    }


    .service-card {

        min-height: auto;

    }


/* =====================================================
   MOBILE FAMILY — COMPLETE IMAGE
   ===================================================== */

.family-section {
    padding: 75px 0;
}


.family-container {
    grid-template-columns: 1fr;
    gap: 45px;

    width: 90%;
    max-width: 100%;

    margin: 0 auto;
}


/* Family image container */

.family-image-container {
    position: relative;

    width: 100%;
    min-height: auto;
    height: auto;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: visible;
}


/* Decorative background */

.family-image-bg {
    position: absolute;

    width: 85%;
    height: 85%;

    z-index: 0;
}


/* =====================================================
   FAMILY IMAGE — NO CROPPING ON MOBILE
   ===================================================== */

.family-image {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 100%;

    height: auto;

    object-fit: contain;

    display: block;

    border-radius: 25px;

    box-shadow: var(--shadow-medium);
}


/* Family content */

.family-content {
    width: 100%;
    max-width: 100%;

    text-align: center;
}


.family-content h2 {
    font-size: 32px;
    line-height: 1.2;
}


.family-content > p:not(.section-label) {
    font-size: 14px;
    line-height: 1.7;
}


/* Family features */

.family-features {
    align-items: flex-start;
    display: inline-flex;
    text-align: left;
}

/* =====================================================
   FAMILY IMAGE — SHOW COMPLETE IMAGE
   ===================================================== */

.family-image {
    position: relative;
    z-index: 2;

    width: 88%;
    max-width: 100%;

    /* IMPORTANT: don't force a fixed height */
    height: auto;

    /* Show the complete image */
    object-fit: contain;

    display: block;

    border-radius: 30px;
    box-shadow: var(--shadow-medium);
}


/* Family content */

.family-content {

    width: 100%;

    max-width: 100%;

    text-align: center;

}


.family-content h2 {

    font-size: 32px;

    line-height: 1.2;

}


.family-content > p:not(.section-label) {

    font-size: 14px;

    line-height: 1.7;

}


/* Family features */

.family-features {

    align-items: flex-start;

    display: inline-flex;

    text-align: left;

}



   


    /* =====================================================
       MOBILE WHY
       ===================================================== */

    .why-section {

        padding: 75px 0;

    }


    .why-grid {

        grid-template-columns: 1fr;

    }


    /* =====================================================
       MOBILE HOW IT WORKS
       ===================================================== */

    .how-section {

        padding: 75px 0;

    }


    .steps-container {

        grid-template-columns: 1fr;

        gap: 45px;

    }


    /* =====================================================
       MOBILE DOWNLOAD
       ===================================================== */

    .download-section {

        padding: 65px 0;

    }


    .download-container {

        grid-template-columns: 1fr;

        text-align: center;

        gap: 40px;

    }


    .download-content {

        margin: auto;

    }


    .google-play-btn {

        margin: auto;

    }


    .download-image-container {

        min-height: 250px;

    }


    .download-app-image {

        width: 350px;

    }


    /* =====================================================
       MOBILE ABOUT
       ===================================================== */

    .about-section {

        padding: 75px 0;

    }


    .about-header {

        margin-bottom: 50px;

    }


    .about-header h2 {

        font-size: 34px;

    }


    .about-vision {

        grid-template-columns: 1fr;

        gap: 30px;

        margin-bottom: 60px;

    }


    .building-grid {

        grid-template-columns: 1fr;

    }


    .approach-grid {

        grid-template-columns: 1fr;

    }


    /* =====================================================
       MOBILE CONTACT
       ===================================================== */

    .contact-section {

        padding: 75px 0;

    }


    .contact-container {

        grid-template-columns: 1fr;

        gap: 40px;

    }


    .contact-form-container {

        padding: 25px 20px;

    }


    /* =====================================================
       MOBILE FINAL CTA
       ===================================================== */

    .final-cta {

        padding: 60px 0;

    }


    .final-cta-container {

        padding: 45px 25px;

        flex-direction: column;

        text-align: center;

    }


    .final-cta-icon {

        width: 110px;

        height: 110px;

        font-size: 50px;

    }


    /* =====================================================
       MOBILE FOOTER
       ===================================================== */

    .footer-top {

        grid-template-columns: 1fr;

        gap: 35px;

        padding: 50px 0 35px;

    }


    .footer-brand {

        max-width: 100%;

    }


    .footer-bottom {

        padding: 18px 0;

        flex-direction: column;

        justify-content: center;

        text-align: center;

    }


}


/* =========================================================
   PART 17 — SMALL MOBILE DEVICES
   ========================================================= */

@media (max-width: 480px) {


    /* Logo */

    .logo-text {

        font-size: 18px;

    }


    .logo-image {

        width: 35px;

        height: 35px;

    }


    /* Hero */

    .hero-title {

        font-size: 36px;

    }


    .hero-description {

        font-size: 13px;

    }


    .hero-buttons {

        flex-direction: column;

        width: 100%;

    }


    .hero-buttons a {

        width: 100%;

    }


    .hero-trust {

        flex-direction: column;

        gap: 10px;

    }


    .hero-image-container {

        min-height: 370px;

    }


    .hero-app-image {

        width: 260px;

    }


    .hero-circle-one {

        width: 280px;

        height: 280px;

    }


    .floating-card {

        transform: scale(0.85);

    }


    .floating-card-one {

        left: -5px;

    }


    .floating-card-two {

        right: -5px;

    }


    /* Sections */

    .section-heading h2 {

        font-size: 28px;

    }


    /* Family */

    .family-content h2 {

        font-size: 32px;

    }


    /* Download */

    .download-content h2 {

        font-size: 34px;

    }


    /* CTA */

    .final-cta-content h2 {

        font-size: 32px;

    }


    /* Contact */

    .contact-item {

        gap: 10px;

    }


    .contact-form-container {

        padding: 22px 16px;

    }


    /* Footer */

    .footer-bottom-links {

        flex-direction: column;

        gap: 8px;

    }

}


/* =========================================================
   PART 18 — ACCESSIBILITY / FOCUS STATES
   ========================================================= */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {

    outline: 3px solid rgba(0, 194, 203, 0.35);

    outline-offset: 3px;

}


/* =========================================================
   PART 19 — REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {

        scroll-behavior: auto;

    }


    *,
    *::before,
    *::after {

        animation-duration: 0.01ms !important;

        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;

    }

}

/* =========================================================
   PART 20 — FINAL RESPONSIVE IMAGE FIX
   ========================================================= */

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}


/* Prevent containers from creating horizontal overflow */

.hero-container,
.family-container,
.download-container,
.contact-container,
.final-cta-container {
    min-width: 0;
    max-width: 100%;
}


/* All images remain inside their container */

img {
    max-width: 100%;
    height: auto;
}


/* =========================================================
   FAMILY IMAGE — DESKTOP
   ========================================================= */

.family-image {
    width: 88%;
    max-width: 100%;
    height: auto;

    object-fit: contain;

    display: block;
}


/* =========================================================
   FAMILY IMAGE — TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .family-image-container {
        width: 100%;
        min-height: auto;
        height: auto;
    }

    .family-image {
        width: 100%;
        max-width: 100%;
        height: auto;

        object-fit: contain;
    }
}


/* =========================================================
   FAMILY IMAGE — MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .family-image-container {
        width: 100%;
        min-height: auto;
        height: auto;

        overflow: visible;
    }

    .family-image {
        width: 100%;
        max-width: 100%;
        height: auto;

        object-fit: contain;

        border-radius: 25px;
    }
}


/* =========================================================
   FAMILY IMAGE — SMALL PHONES
   ========================================================= */

@media (max-width: 480px) {

    .family-image-container {
        width: 100%;
        min-height: auto;
        height: auto;

        padding: 0;
    }

    .family-image {
        width: 100%;
        max-width: 100%;
        height: auto;

        object-fit: contain;

        border-radius: 22px;
    }

    .family-image-bg {
        width: 80%;
        height: 80%;
    }
}
