/* ===========================================
   ABOUT PAGE ISOLATION WRAPPER
=========================================== */
.about-page-wrapper {
    background: #fff;
    width: 100%;
    color: #333;
}

.about-page-wrapper .container {
    max-width: 1000px; /* Slightly narrower content width for readability */
    margin: 0 auto;
    padding: 0 20px;
}

/* ===========================================
   INTRO SECTION
=========================================== */
.about-page-wrapper .about-intro-section {
    padding: 80px 0;
    text-align: center;
}

/* Title with Blue Underline */
.about-page-wrapper .section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 30px;
    position: relative;
    display: inline-block; /* Allows underline to size to text */
}

.about-page-wrapper .section-title::after {
    content: '';
    display: block;
    width: 140px;
    height: 3px;
    background: #00b4d8; /* The CareLine Blue */
    margin: 15px auto 0;
}

/* Text Block */
.about-page-wrapper .about-intro-text p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 25px;
    text-align: center; /* Ensures center alignment */
}

/* Stats Grid */
.about-page-wrapper .about-stats-grid {
    display: flex;
    justify-content: center;
    align-items: center; /* Aligns dividers and numbers vertically */
    margin-top: 60px;
}

.about-page-wrapper .stat-item {
    text-align: center;
    padding: 0 60px; /* Spacing between dividers */
}

/* The Big Blue Numbers */
.about-page-wrapper .stat-number {
    display: block;
    font-size: 4rem; /* Large size */
    font-weight: 300; /* Thin font weight matches image */
    color: #00b4d8;
    line-height: 1;
    margin-bottom: 15px;
}

/* Description Text */
.about-page-wrapper .stat-desc {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.4;
    display: block;
}

/* Vertical Divider Lines */
.about-page-wrapper .stat-divider {
    width: 2px;
    height: 100px; /* Height of the line */
    background-color: #ccc;
}

/* Responsive Tweak for Mobile */
@media (max-width: 768px) {
    .about-page-wrapper .about-stats-grid {
        flex-direction: column;
        gap: 40px;
    }
    
    .about-page-wrapper .stat-divider {
        width: 60px;
        height: 2px; /* Horizontal line on mobile */
        margin: 0 auto;
    }
    
    .about-page-wrapper .stat-item {
        padding: 0;
    }
}
/* ===========================================
   SIGNATURE INNOVATIONS SECTION
=========================================== */
.about-page-wrapper .innovations-section {
    padding: 60px 0 80px;
    background: #fff;
    text-align: center;
}

/* Intro Text */
.about-page-wrapper .innovations-intro {
    max-width: 900px;
    margin: 0 auto 50px;
    color: #666;
    font-size: 1rem;
    line-height: 1.7;
}

.about-page-wrapper .innovations-intro p {
    margin-bottom: 20px;
}

/* Grid Layout */
.about-page-wrapper .innovations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 Equal Columns */
    gap: 20px;
    align-items: start;
}

/* General Card Style */
.about-page-wrapper .innovation-card {
    position: relative;
    overflow: hidden;
    height: 450px; /* Fixed height for uniformity */
}

.about-page-wrapper .innovation-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- Left & Right Cards (Bottom Text) --- */
.about-page-wrapper .bottom-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.85); /* Semi-transparent white */
    padding: 20px 10px;
    text-align: center;
}

.about-page-wrapper .bottom-overlay h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: #000;
    margin-bottom: 5px;
}

.about-page-wrapper .bottom-overlay p {
    font-size: 0.9rem;
    color: #444;
    line-height: 1.4;
    margin: 0;
}

/* --- Center Card (Dark Overlay + Button) --- */
.about-page-wrapper .center-card .full-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark Overlay */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    color: #fff;
}

/* Underline specifically for this section */
.about-page-wrapper .innovations-section .section-title::after {
    content: '';
    display: block;
    width: 400px;       /* Fixed 160px Width */
    height: 3px;
    background: #00b4d8; 
    margin: 15px auto 30px;
}
.about-page-wrapper .center-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}

.about-page-wrapper .center-card .sub-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #00b4d8; /* CareLine Blue Highlight */
    display: block;
    margin-bottom: 15px;
    line-height: 1.4;
}

.about-page-wrapper .center-card .desc {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 25px;
    opacity: 0.9;
}

/* Mauve Button */
.about-page-wrapper .btn-mauve {
    background: #918296; /* Mauve Color */
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 4px; /* Slight rounding */
    transition: background 0.3s ease;
}

.about-page-wrapper .btn-mauve:hover {
    background: #7a6b7e;
}

/* Responsive */
@media (max-width: 900px) {
    .about-page-wrapper .innovations-grid {
        grid-template-columns: 1fr; /* Stack vertically on mobile */
        height: auto;
    }
    
    .about-page-wrapper .innovation-card {
        height: 400px;
    }
}
/* ===========================================
   NATURE-INSPIRED CARE SECTION
=========================================== */
.about-page-wrapper .naturals-section {
    padding: 80px 0;
    background-color: #EFF5F0; /* Light Sage Green Background */
    color: #333;
}

.about-page-wrapper .naturals-section .section-title {
    display: block;
    text-align: center;
    margin-bottom: 40px;
}
/* ADD THIS to define the underline specifically for this section */
.about-page-wrapper .naturals-section .section-title::after {
    content: '';
    display: block;
    width: 600px;       /* Fixed 160px Width */
    height: 3px;
    background: #00b4d8; 
    margin: 15px auto 30px;
}
.about-page-wrapper .naturals-intro {
    max-width: 900px;
    margin: 0 auto 50px;
    text-align: center;
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
}

/* Main Grid Layout */
.about-page-wrapper .naturals-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Split 50/50 */
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
}

/* Left Column: Image Collage Styles */
.about-page-wrapper .naturals-images {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.about-page-wrapper .img-top img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.about-page-wrapper .img-bottom-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.about-page-wrapper .img-bottom-row img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    display: block;
}

/* Right Column: Content Styles */
.about-page-wrapper .naturals-content p {
    margin-bottom: 20px;
    line-height: 1.7;
    color: #444;
}

.about-page-wrapper .naturals-content strong {
    display: block;
    margin-bottom: 15px;
    color: #1a1a1a;
    font-weight: 700;
}

/* Custom List with Blue Arrows */
.about-page-wrapper .naturals-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-page-wrapper .naturals-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    line-height: 1.5;
    color: #555;
}

.about-page-wrapper .naturals-list li::before {
    content: '➔'; /* Arrow Icon */
    position: absolute;
    left: 0;
    top: 0;
    color: #00b4d8; /* CareLine Blue */
    font-weight: bold;
}

/* Bottom Centered Quote */
.about-page-wrapper .naturals-quote {
    text-align: center;
    font-family: 'Georgia', serif; /* Serif font for elegance */
    font-style: italic;
    font-size: 1.3rem;
    color: #444;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .about-page-wrapper .naturals-grid {
        grid-template-columns: 1fr; /* Stack vertically on mobile */
        gap: 30px;
    }
    
    .about-page-wrapper .img-top img {
        height: 200px;
    }
}
/* ===========================================
   AWARD-WINNING INNOVATION SECTION
=========================================== */
.about-page-wrapper .award-section {
    padding: 80px 0;
    background: #fff;
}

.about-page-wrapper .award-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr; /* Image is slightly narrower than text */
    gap: 60px;
    align-items: center;
}

/* Image Style */
.about-page-wrapper .award-image img {
    width: 100%;
    height: auto;
    max-height: 550px; /* Controls height to match design */
    object-fit: cover;
    display: block;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); /* Subtle shadow for depth */
}

/* Content Style */
.about-page-wrapper .award-content {
    padding-right: 20px;
}

/* Left-Aligned Title with Blue Underline */
.about-page-wrapper .section-title-left {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.about-page-wrapper .section-title-left::after {
    content: '';
    display: block;
    width: 100%;
    height: 3px;
    background: #00b4d8; /* CareLine Blue */
    margin-top: 10px;
}

.about-page-wrapper .award-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 25px;
}

/* Bold Highlight Text */
.about-page-wrapper .award-highlight {
    font-weight: 700;
    color: #333;
    font-size: 1.05rem;
}

/* Badge Positioning */
.about-page-wrapper .badge-wrapper {
    text-align: right; /* Pushes badge to the right */
    margin-top: 10px;
}

.about-page-wrapper .badge-wrapper img {
    width: 120px; 
    height: auto;
    display: block;      
    margin-left: auto;   
}

/* Responsive */
@media (max-width: 900px) {
    .about-page-wrapper .award-grid {
        grid-template-columns: 1fr; /* Stack vertically */
        gap: 40px;
    }

    .about-page-wrapper .award-image {
        text-align: center;
    }
    
    .about-page-wrapper .award-image img {
        max-height: 400px; /* Smaller image on mobile */
        width: auto;
        max-width: 100%;
        margin: 0 auto;
    }
}
/* ===========================================
   OUR VALUES SECTION
=========================================== */
.about-page-wrapper .values-section {
    padding: 80px 0;
    background: #fff;
}

.about-page-wrapper .values-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr; /* Left column narrower than list */
    gap: 60px;
    align-items: start;
}

/* --- Left Column Styles --- */
.about-page-wrapper .values-heading {
    font-family: 'Georgia', serif;
    font-style: italic;
    font-size: 1.4rem;
    color: #444;
    line-height: 1.5;
    margin-bottom: 30px;
    font-weight: 500;
}

.about-page-wrapper .values-image img {
    width: 100%;
    height: auto;
    max-width: 350px; /* Limits image size as per design */
    max-height:250px;
    object-fit: cover;
    display: block;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* --- Right Column (List) Styles --- */
.about-page-wrapper .values-list {
    border-top: 1px solid #999; /* Top line of the first item */
}

.about-page-wrapper .value-item {
    border-bottom: 1px solid #999; /* Divider lines */
    padding: 25px 0;
}

.about-page-wrapper .value-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    display: flex;
    align-items: center;
    gap: 15px; /* Space between square and text */
    margin: 0;
}

/* The Blue Square Bullet */
.about-page-wrapper .value-item h4::before {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    background-color: #00b4d8; /* CareLine Blue */
    flex-shrink: 0;
}

/* Description Text (for Precision & Quality) */
.about-page-wrapper .value-item p {
    margin-top: 10px;
    padding-left: 27px; /* Aligns text with heading text (skips square) */
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
    .about-page-wrapper .values-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-page-wrapper .values-image img {
        max-width: 100%; /* Full width on mobile */
    }
}
/* ===========================================
   OUR MISSION SECTION
=========================================== */
.about-page-wrapper .mission-section {
    padding: 80px 0;
    background: #fff;
}

.about-page-wrapper .mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Split 50/50 */
    gap: 0; /* No gap because right side has background */
}

/* --- Left Column Styles --- */
.about-page-wrapper .mission-content {
    padding-right: 50px;
    padding-top: 20px;
}

/* Reuse the Left-Aligned Title Style from Award Section */
.about-page-wrapper .section-title-left {
    margin-bottom: 40px;
}

.about-page-wrapper .mission-item {
    margin-bottom: 40px;
}

.about-page-wrapper .mission-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

/* Blue Arrow Icon */
.about-page-wrapper .mission-item h4::before {
    content: '▶'; /* Triangle Arrow */
    font-size: 0.8rem;
    color: #00b4d8;
}

/* The Horizontal Line Divider */
.about-page-wrapper .mission-divider {
    height: 1px;
    width: 100%;
    background-color: #999;
    margin-bottom: 15px;
}

.about-page-wrapper .mission-item p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #666;
}

/* --- Right Column (Image) Styles --- */
.about-page-wrapper .mission-image-wrapper {
    background-color: #F2F2F2; /* Light Grey Background */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 700px; /* Ensures tall box like design */
    padding: 10px;
}

.about-page-wrapper .mission-image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: contain;
    mix-blend-mode: multiply; /* Optional: Helps image blend if it has white bg */
}

/* Responsive */
@media (max-width: 900px) {
    .about-page-wrapper .mission-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-page-wrapper .mission-content {
        padding-right: 0;
    }

    .about-page-wrapper .mission-image-wrapper {
        min-height: 300px;
        order: -1; /* Optional: Puts image on top on mobile if desired */
    }
}
/* ===========================================
   OUR STORY SECTION
=========================================== */
.about-page-wrapper .story-section {
    padding: 80px 0;
    background: #fff;
}

/* Intro Text Block */
.about-page-wrapper .story-intro {
    max-width: 900px;
    margin: 0 auto 60px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #555;
    text-align: left; /* Aligns text block naturally */
}

.about-page-wrapper .story-intro p {
    margin-bottom: 20px;
}

/* Grid Layout */
.about-page-wrapper .story-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr; /* Image narrower than text */
    gap: 60px;
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
}

/* Founder Image */
.about-page-wrapper .story-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: block;
}

/* Right Column Content */
.about-page-wrapper .question-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.about-page-wrapper .story-quote {
    font-family: 'Georgia', serif;
    font-style: italic;
    font-size: 1.8rem;
    color: #1a1a1a;
    margin: 0 0 25px 0;
    font-weight: 600;
}

.about-page-wrapper .story-message p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

/* Signature Block */
.about-page-wrapper .signature-block {
    margin-top: 40px;
}

.about-page-wrapper .signature-block img {
    width: 150px;
    height: auto;
    display: block;
    margin-bottom: 10px;
}

.about-page-wrapper .founder-info strong {
    display: block;
    font-size: 0.9rem;
    color: #000;
    font-weight: 700;
}

.about-page-wrapper .founder-info span {
    display: block;
    font-size: 0.85rem;
    color: #666;
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    .about-page-wrapper .story-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-page-wrapper .story-image {
        max-width: 300px;
        margin: 0 auto;
    }
}
/* ===========================================
   FINAL BANNER SECTION
=========================================== */
.about-page-wrapper .about-final-banner {
    position: relative;
    /* Replace with your specific blue bio-tech background image */
    background-image: url('https://www.careline.com/wp-content/uploads/2026/01/biological-scene.jpg'); 
    background-size: cover;
    background-position: center;
    padding: 120px 20px;
    color: #fff;
    text-align: center;
}

/* The Dark Teal/Blue Overlay */
.about-page-wrapper .about-final-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(14, 66, 82, 0.85); /* Deep Teal Overlay */
}

.about-page-wrapper .banner-content {
    position: relative;
    z-index: 2; /* Ensures text sits on top of overlay */
    max-width: 900px;
    margin: 0 auto;
}

.about-page-wrapper .banner-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
    font-weight: 400;
}

.about-page-wrapper .banner-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.4;
    text-transform: capitalize;
}

/* ===========================================
   VALUES ACCORDION LOGIC
=========================================== */

/* Make the Header Clickable */
.about-page-wrapper .value-item h4 {
    cursor: pointer;
    transition: color 0.3s ease;
    position: relative;
}

.about-page-wrapper .value-item h4:hover {
    color: #00b4d8; /* Blue on hover */
}

/* Animate the Blue Square on Active */
.about-page-wrapper .value-item.active h4::before {
    transform: rotate(45deg); /* Optional: Rotates the square for effect */
    transition: transform 0.3s ease;
}

/* Hide Content by Default */
.about-page-wrapper .value-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.5s ease;
}

.about-page-wrapper .value-content p {
    padding-left: 27px; /* Aligns with text */
    padding-top: 10px;
    margin: 0;
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* Active State (Open) */
.about-page-wrapper .value-item.active .value-content {
    max-height: 200px; /* Enough height for text */
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .about-page-wrapper .about-final-banner {
        padding: 80px 20px;
    }

    .about-page-wrapper .banner-content p {
        font-size: 1rem;
    }
    
    .about-page-wrapper .banner-content h3 {
        font-size: 1.2rem;
    }
}