/* ==========================================================================
   CAREMED ABOUT US PAGE - PREMIUM STYLES
   ========================================================================== */

/* Variables & Base Styles */
:root {
    --about-primary: #1e3a5f;
    --about-green: #4CAF50;
    --about-green-light: rgba(76, 175, 80, 0.1);
    --about-gradient: linear-gradient(135deg, #4CAF50, #022a2a);
    --about-bg-light: #f8fbfb;
    --about-white: #ffffff;
    --about-text-dark: #2c3e50;
    --about-text-muted: #6c757d;
    --about-shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.05);
    --about-shadow-hover: 0 15px 50px rgba(0, 150, 136, 0.15);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.4);
}

.about-page-wrapper {
    background-color: var(--about-bg-light);
    color: var(--about-text-dark);
    font-family: 'Outfit', sans-serif;
    /* overflow-x: hidden; */
}

/* ==========================================================================
   1. HERO SECTION
   ========================================================================== */
.about-hero {
    position: relative;
    padding: 160px 0 100px;
    /* background: linear-gradient(45deg, rgb(9 144 133 / 56%), rgb(76 175 80 / 51%)), url(https://images.unsplash.com/photo-1551076805-e1869033e561?auto=format&fit=crop&q=80&w=2000) center / cover no-repeat; */
    /* background: linear-gradient(45deg, rgb(4 4 4 / 81%), rgb(67 136 128 / 88%)), url(../images/banner2.webp) center / cover 
    no-repeat; */
    background: radial-gradient(circle at 31% 49%, rgba(0, 168, 168, 0.1) 0%, rgb(61 203 114 / 12%) 28%, rgb(2 2 2 / 60%) 45%, rgba(0, 0, 0, 0.9) 100%), url(../images/services/background1.png) center / cover no-repeat;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 50px 50px 50px 50px;
    margin: 10px;
}

.about-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: inherit;
    filter: blur(3px);
    transform: scale(1);
    z-index: -1;
}

.about-hero-blobs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.about-blob {
    position: absolute;
    filter: blur(60px);
    border-radius: 50%;
    opacity: 0.4;
    animation: floatBlob 15s linear-in-out infinite alternate;
}

.about-blob-1 {
    top: -10%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(76, 175, 80, 0.3);
}

.about-blob-2 {
    bottom: -20%;
    right: 10%;
    width: 500px;
    height: 500px;
    background: rgba(0, 150, 136, 0.2);
}

@keyframes floatBlob {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(50px, 50px) scale(1.1);
    }
}

.about-hero-content {
    position: relative;
    z-index: 2;
}

.about-hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 20px;
}

.about-hero-subtitle {
    font-size: 1.25rem;
    color: #fff;
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 500px;
}

.about-floating-icon {
    position: absolute;
    background: white;
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    color: var(--caremed-bluish);
    font-size: 1.5rem;
    z-index: 3;
    animation: floatUpDown 4s linear-in-out infinite;
}

.afi-1 {
    top: 20%;
    right: 15%;
    animation-delay: 0s;
    WIDTH: 50px;
    height: 50px;
    text-align: center;
}

.afi-2 {
    bottom: 30%;
    right: 35%;
    animation-delay: 1.5s;
    WIDTH: 50px;
    height: 50px;
    text-align: center;
}

.afi-3 {
    top: 50%;
    right: 5%;
    animation-delay: 0.7s;
    WIDTH: 50px;
    height: 50px;
    text-align: center;
}

@keyframes floatUpDown {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* ==========================================================================
   2. OUR STORY SECTION
   ========================================================================== */
.about-stat-icon {
    width: 55px;
    height: 55px;
    min-width: 55px;
    border-radius: 50%;
    background: var(--caremed-orange-gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 10px 20px rgba(30, 58, 95, 0.15);
    transition: transform 0.3s ease;
}

.about-stats-block:hover .about-stat-icon {
    transform: scale(1.05);
}

.about-story-section {
    padding: 100px 0;
    position: relative;
}

.story-image-wrapper {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--about-shadow-soft);
}

.story-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.7s linear;
}

.story-image-wrapper:hover img {
    transform: scale(1.05);
}

.story-glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 50px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 3;
    margin-left: -100px;
    margin-top: 50px;
}

@media (max-width: 991px) {
    .story-glass-card {
        margin-left: 0;
        margin-top: -50px;
    }
}

/* ==========================================================================
   3. MISSION & VISION
   ========================================================================== */
.mission-vision-section {
    padding: 100px 0;
    background: var(--about-white);
}

.mv-card {
    background: var(--about-white);
    border-radius: 24px;
    padding: 50px 40px;
    height: 100%;
    box-shadow: var(--about-shadow-soft);
    position: relative;
    transition: all 0.4s linear;
    border: 1px solid rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.mv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--about-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s linear;
}

.mv-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--about-shadow-hover);
}

.mv-card:hover::before {
    transform: scaleX(1);
}

.mv-icon {
    width: 70px;
    height: 70px;
    background: var(--about-green-light);
    color: var(--about-green);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 30px;
    transition: all 0.4s linear;
}

.mv-card:hover .mv-icon {
    background: var(--about-gradient);
    color: white;
    transform: rotateY(180deg);
}

/* ==========================================================================
   4. CORE VALUES
   ========================================================================== */
.core-values-section {
    padding: 100px 0;
    /* background: var(--about-bg-light); */
    background: radial-gradient(circle, rgb(255 193 7 / 6%) 0%, rgb(0 150 73 / 17%) 100%);
}

.premium-value-card {
    background: var(--about-white);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    height: 100%;
    box-shadow: var(--about-shadow-soft);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.premium-value-card:hover {
    transform: translateY(-10px);
    border-color: rgba(76, 175, 80, 0.3);
    box-shadow: 0 15px 40px rgba(76, 175, 80, 0.15), 0 0 20px rgba(76, 175, 80, 0.1);
}

.premium-value-card .icon-wrapper {
    width: 70px;
    height: 70px;
    background: rgb(255 152 0 / 10%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    transition: all 0.4s linear;
}

.premium-value-card:hover .icon-wrapper {
    background: linear-gradient(135deg, var(--caremed-green), var(--caremed-bluish));
    transform: scale(1.1);
}

.premium-value-card .premium-svg {
    width: 32px;
    height: 32px;
    color: var(--caremed-orange);
    transition: all 0.4s linear;
}

.premium-value-card:hover .premium-svg {
    color: var(--about-white);
}

/* ==========================================================================
   5. WHY CHOOSE CAREMED
   ========================================================================== */
.why-choose-section {
    padding: 100px 0;
    background: var(--about-white);
}

.feature-card {
    background: linear-gradient(145deg, #ffffff, #f5f8f8);
    border-radius: 20px;
    padding: 30px;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.3s linear;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    box-shadow: var(--about-shadow-hover);
    background: linear-gradient(135deg, rgb(183 228 164 / 14%) 0%, rgb(0 150 136 / 28%) 100%);
}

.feature-card::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(76, 175, 80, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.feature-icon-wrapper {
    width: 50px;
    height: 50px;
    background: var(--caremed-green-gradient);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

/* ==========================================================================
   6. CARE PHILOSOPHY (TIMELINE)
   ========================================================================== */
.philosophy-section {
    padding: 120px 0;
    background: var(--about-primary);
    color: white;
    position: relative;
    overflow: hidden;
    background: url(../images/background1.jpg) no-repeat, linear-gradient(184deg, rgb(14 150 115) 0%, rgb(226 190 26) 100%);

    background: url(../images/services/package-banner.png) no-repeat, linear-gradient(184deg, #eca74e96 0%, rgb(34 33 32 / 69%) 100%);
    background-blend-mode: multiply;
    background-size: cover;
}

.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 60px auto 0;
}

/* Animated connected line */
.timeline-line {
    position: absolute;
    top: 35px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 1;
}

.timeline-line-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: var(--about-green);
    box-shadow: 0 0 10px var(--about-green);
    transition: width 1.5s linear;
}

.timeline-step {
    position: relative;
    z-index: 2;
    text-align: center;
}

.step-number {
    width: 70px;
    height: 70px;
    /* background: #4CAF50; */
    background: var(--caremed-orange-gradient);
    border: 2px solid var(--about-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 30px;
    box-shadow: 0 0 0 8px rgba(76, 175, 80, 0.2);
    transition: all 0.4s linear;
}

.timeline-step:hover .step-number {
    background: var(--about-green);
    box-shadow: 0 0 0 12px rgba(76, 175, 80, 0.3);
    transform: scale(1.1);
}

.step-content {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px 20px;
    transition: all 0.3s linear;
}

.timeline-step:hover .step-content {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

@media (max-width: 767px) {
    .timeline-line {
        display: none;
    }

    .timeline-step {
        margin-bottom: 40px;
    }
}

/* ==========================================================================
   7. ACHIEVEMENTS
   ========================================================================== */
.achievements-section {
    padding: 100px 0;
    /* background: var(--about-white); */

}

.bg-light-greenish {
    background: radial-gradient(circle, rgb(255 193 7 / 6%) 0%, rgb(0 150 73 / 17%) 100%);
}

.achievement-box {
    text-align: center;
    padding: 30px;
}

.achievement-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--about-primary);
    margin-bottom: 10px;
    display: inline-block;
}

.achievement-plus {
    font-size: 2.5rem;
    color: var(--about-green);
    vertical-align: super;
}

/* ==========================================================================
   8. CERTIFICATIONS
   ========================================================================== */
.certifications-section {
    padding: 100px 0;
    background: var(--about-bg-light);
}

.cert-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--about-shadow-soft);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    transition: transform 0.3s linear;
}

.cert-card:hover {
    transform: translateY(-5px);
}

.cert-logo {
    font-size: 3rem;
    color: var(--about-text-muted);
    margin-bottom: 15px;
    opacity: 0.7;
    transition: opacity 0.3s linear;
}

.cert-card:hover .cert-logo {
    opacity: 1;
    color: var(--about-green);
}

.cert-logo-img {
    /* width: 80px; */
    height: 80px;
    object-fit: contain;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.cert-card:hover .cert-logo-img {
    transform: scale(1.1);
}

/* ==========================================================================
   9. FINAL CTA
   ========================================================================== */
.about-cta-section {
    padding: 120px 0;
    position: relative;
    background: url('https://images.unsplash.com/photo-1579684385127-1ef15d508118?auto=format&fit=crop&q=80&w=2000') center/cover no-repeat fixed;
}

.about-cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: rgba(30, 58, 95, 0.85); */
    background: linear-gradient(135deg, #009688a6 0%, #51b036b8 100%);
    /* Dark blue overlay */
    backdrop-filter: blur(5px);
}

.cta-glass-panel {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    padding: 60px;
    text-align: center;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

/* Utility */
.text-gradient-about {
    background: linear-gradient(135deg, var(--caremed-bluish), var(--caremed-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* ==========================================================================
   STITCH MISSION & VISION SECTION
   ========================================================================== */
.stitch-purpose-section {
    padding: 50px 0;
    background-color: #fff;
    z-index: 1;
}

.stitch-bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.5;
}

.glow-primary {
    top: 10%;
    left: -5%;
    width: 400px;
    height: 400px;
    background-color: rgba(30, 58, 95, 0.1);
}

.glow-secondary {
    bottom: 10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background-color: rgba(76, 175, 80, 0.1);
}

.glow-tertiary {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background-color: rgba(211, 228, 254, 0.3);
}

.stitch-subtitle {
    font-size: 14px;
    font-weight: 600;
    color: var(--about-primary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 16px;
}

.stitch-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--about-text-dark);
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .stitch-title {
        font-size: 36px;
    }
}

.stitch-desc {
    font-size: 18px;
    color: var(--about-text-muted);
    max-width: 700px;
}

.card-mission {
    background: #00968824;
}

.card-vision {
    background: #f7f5e8;
}

.stitch-solid-card {
    border-radius: 16px;
    padding: 50px 30px;
    box-shadow: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: none;
    will-change: transform, box-shadow;
}

.stitch-solid-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .stitch-solid-card {
        padding: 40px 20px;
    }
}

.stitch-icon-box {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #FF9800;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: transform;
}

.stitch-solid-card:hover .stitch-icon-box {
    transform: scale(1.1);
}

.stitch-card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1A202C !important;
}

.stitch-card-text {
    font-size: 18px;
    color: #4A5568 !important;
    line-height: 1.7;
    margin-bottom: 0;
}

.text-primary-caremed {
    color: var(--about-primary);
}

.text-secondary-caremed {
    color: var(--about-green);
}

.stitch-image-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 3rem;
    padding: 1rem;
    height: 400px;
}

.stitch-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2.5rem;
}