/* ==========================================================================
   About Us Page Styles (about-us-styles.css)
   ========================================================================== */

/* --- General Page Setup --- */
.about-us-page {
    font-family: 'Inter', 'Noto Sans', sans-serif;
    color: #374151; /* Tailwind gray-700 */
    line-height: 1.7;
    background-color: #f9fafb; /* Tailwind gray-50 - Default page background */
}

.about-us-page .container {
    max-width: 1200px;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    width: auto !important;
}

/* --- Typography --- */
.about-us-page h1,
.about-us-page h2,
.about-us-page h3 {
    font-weight: 700;
    color: #111827; /* Tailwind gray-900 */
    margin-bottom: 0.75em;
    line-height: 1.3;
}
.about-us-page h2{
	text-align: center;
}
    
.about-us-page h1 { /* For Hero Section Title */
    font-size: 2.5rem;
    letter-spacing: -0.025em;
    text-align: center;
    margin-bottom: 1em;
}

.about-us-page h2.section-main-title { /* Common class for main section titles */
    font-size: 2.25rem; /* Tailwind text-4xl approx */
    font-weight: 800; /* Extra-bold */
    text-align: center;
    margin-bottom: 1rem;
    color: #1f2937; /* Darker gray for titles */
    position: relative;
    padding-bottom: 0.75rem;
}

.about-us-page h2.section-main-title::after { /* Decorative underline */
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background-color: #0c7ff2; /* Primary blue */
    border-radius: 2px;
}

.about-us-page p.section-subtitle { /* Common class for section subtitles */
    text-align: center;
    font-size: 1.125rem; /* Tailwind text-lg */
    color: #6b7280; /* Tailwind gray-500 */
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
}

.about-us-page h3 {
    font-size: 1.25rem;
}

.about-us-page p {
    margin-bottom: 1rem;
    color: #4b5563; /* Tailwind gray-600 */
    font-size: 1.05rem;
}

.about-us-page .aboutp {
    font-size: 1.125rem;
    line-height: 1.8;
    max-width: 768px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* --- Hero Section --- */
.about-us-page .about-hero {
    background-color: #f4a800;
    color: #ffffff;
    padding: 4rem 1rem;
    text-align: center;
}
.about-us-page .about-hero .container {
    max-width: 800px !important;
    width: auto !important;
}
.about-us-page .about-hero h1 {
    color: #ffffff;
    font-weight: 900;
}
.about-us-page .about-hero p {
    font-size: 1.125rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 1rem auto 0;
}

/* --- Founder Note Section --- */
.about-us-page .founder-note {
    padding: 4rem 1rem;
    background-color: #ffffff;
}
/* ... (Keep other founder note styles from your existing CSS, ensure they fit the overall design) ... */
.about-us-page .founder-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}
.about-us-page .founder-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #f4a800;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}
.about-us-page .founder-message {
    text-align: center;
    max-width: 700px;
}
.about-us-page .founder-message h3 {
    color: #f4a800;
    font-size: 1.75rem;
}
.about-us-page .founder-message p:nth-of-type(1) {
    font-style: italic;
    color: #6b7280;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}
.about-us-page .founder-message p:nth-of-type(2) {
    font-size: 1.05rem;
    line-height: 1.8;
}
.about-us-page .founder-social {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}
.about-us-page .founder-social .social-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #4b5563;
    padding: 0.6rem 1.2rem;
    border: 1px solid #d1d5db;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
	width: auto;
	background: #ffffff;
}
.about-us-page .founder-social .social-icon i {
    font-size: 1.125rem;
}
.about-us-page .founder-social .social-icon:hover {
    background-color: #f4a800;
    color: #ffffff;
    border-color: #f4a800;
    transform: translateY(-2px);
}


/* --- Our Mission Section --- */
.about-us-page .our-mission {
    padding: 4rem 1rem;
    background-color: #f9fafb;
}
.about-us-page .our-mission p.aboutp {
    margin-bottom: 0;
}

/* --- What We Do Section --- */
.about-us-page .what-we-do-section {
    padding: 4rem 1rem;
    background-color: #ffffff;
}
.about-us-page .what-we-do-section .container {
    max-width: 1140px;
}
.about-us-page .what-we-do-grid {
    list-style: none;
    padding-left: 0;
    margin-top: 3rem;
    display: grid;
    gap: 2rem;
}
@media (min-width: 640px) {
    .about-us-page .what-we-do-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .about-us-page .what-we-do-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
.about-us-page .what-we-do-item {
    background-color: #ffffff;
    padding: 2rem 1.5rem;
    border-radius: 0.75rem;
    text-align: center;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.about-us-page .what-we-do-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
}
.about-us-page .what-we-do-item .item-icon-wrapper {
    background-color: #e0f2fe; /* Light blue (Tailwind blue-100) */
    border-radius: 50%;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #0c7ff2; /* Primary blue for the icon */
    flex-shrink: 0;
    box-shadow: 0 4px 8px rgba(12, 127, 242, 0.15);
}
.about-us-page .what-we-do-item .material-icons {
    font-size: 2.25rem;
}
.about-us-page .what-we-do-item .item-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}
.about-us-page .what-we-do-item .item-description {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.6;
    flex-grow: 1;
}

/* ==================================================
   STYLES FOR "OUR STORY" & "OUR VALUES" (NEW - Box Style)
   ================================================== */

/* --- "Our Story" Timeline Section --- */
/* Main section container uses Tailwind classes: py-16 sm:py-24 bg-gray-50 */
.about-us-page section.py-16.bg-gray-50:first-of-type { /* Assuming Story is the first section with this bg */
    padding-top: 4rem;
    padding-bottom: 4rem;
}
.about-us-page section.py-16.bg-gray-50 .text-center h2.section-main-title {
    /* Uses common .section-main-title style */
}

.about-us-page .our-story-timeline-wrapper .flow-root { /* Targeting the specific flow-root in your PHP */
    max-width: 768px; /* Max width for the timeline content */
    margin-left: auto;
    margin-right: auto;
}

.about-us-page .our-story-timeline-wrapper ul.-mb-8 { /* The list itself */
    position: relative; /* For the main timeline bar */
}

/* The main vertical timeline bar - styled on the UL's ::before pseudo-element */
.about-us-page .our-story-timeline-wrapper ul.-mb-8::before {
    content: '';
    position: absolute;
    left: 1.125rem; /* (Icon width 2.5rem / 2) - (Line width 2px / 2) = 1.25rem - 0.0625rem approx */
    /* This centers the 2px line with the center of the 40px (2.5rem) icon circle */
    /* Adjust if icon size changes */
    top: 0.625rem; /* Align with top of first icon circle's center */
    bottom: 0.625rem; /* Align with bottom of last icon circle's center */
    width: 2px;
    background-color: #d1d5db; /* Tailwind gray-300 */
    z-index: 0;
}

.about-us-page .our-story-timeline-wrapper li {
    position: relative; /* For z-indexing of content over line */
    z-index: 1;
	list-style: none;
}

.about-us-page .our-story-timeline-wrapper .relative.pb-8 { /* Container for each timeline item */
   /* padding-bottom is handled by Tailwind's pb-8 */
}

/* Icon circle for timeline - from your HTML: flex h-10 w-10 items-center justify-center rounded-full bg-[#bfd6ec] ring-4 ring-gray-50 */
.about-us-page .our-story-timeline-wrapper .flex.h-10.w-10.items-center.justify-center.rounded-full {
    background-color: #ffffff !important; /* White background for icon circle */
    border: 2px solid #0c7ff2; /* Primary blue border */
    box-shadow: 0 0 0 3px #ffffff; /* White ring to make it pop from the line */
    /* Tailwind's ring-4 ring-gray-50 might conflict, ensure this takes precedence or adjust Tailwind */
    width: 40px; /* Explicit size */
    height: 40px;
    flex-shrink: 0; /* Prevent shrinking */
}
.about-us-page .our-story-timeline-wrapper .flex.h-10.w-10 .material-icons {
    color: #0c7ff2 !important; /* Primary blue for the icon color */
    font-size: 20px;
}

/* Timeline item content box - from your HTML: min-w-0 flex-1 py-1.5 */
.about-us-page .our-story-timeline-wrapper .min-w-0.flex-1 {
    background-color: #ffffff;
    padding: 1rem 1.5rem; /* More padding */
    border-radius: 0.5rem; /* Tailwind rounded-lg */
    box-shadow: 0 4px 10px rgba(0,0,0,0.07);
    border: 1px solid #e5e7eb; /* Tailwind gray-200 */
    margin-left: 1.5rem; /* Space from the icon area */
}
.about-us-page .our-story-timeline-wrapper .font-semibold.text-gray-900 {
    color: #111827; /* Darker title */
    font-size: 1.125rem; /* text-lg */
    font-weight: 600; /* semibold */
    margin-bottom: 0.375rem;
}
.about-us-page .our-story-timeline-wrapper p.mt-1.text-base.text-gray-600 {
    color: #4b5563; /* Tailwind gray-600 */
    font-size: 0.95rem;
    line-height: 1.6;
}


/* --- "Our Values" Cards Section --- */
/* Main section container uses Tailwind classes: py-16 sm:py-24 bg-gray-50 */
.about-us-page section.py-16.bg-gray-50:last-of-type { /* Assuming Values is the last section with this bg */
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.about-us-page section.py-16.bg-gray-50 .text-center h2.section-main-title {
    /* Uses common .section-main-title style */
}
.about-us-page section.py-16.bg-gray-50 .text-center p.section-subtitle {
    /* Uses common .section-subtitle style */
}


/* Value card - from your HTML: flex flex-col items-center text-center p-6 bg-white rounded-xl shadow-lg */
.about-us-page section.py-16 .grid > div.value-card { /* Add class 'value-card' to each value div in PHP */
    background-color: #ffffff;
    padding: 2rem; /* Tailwind p-8 */
    border-radius: 0.75rem; /* Tailwind rounded-xl */
    box-shadow: 0 6px 12px rgba(0,0,0,0.06);
    border: 1px solid #f3f4f6; /* Lighter border */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex; /* Ensure flex context for alignment */
    flex-direction: column;
    align-items: center;
	width: 250px;
}
.about-us-page section.py-16 .grid > div.value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}

/* Icon circle for values - from your HTML: flex h-12 w-12 items-center justify-center rounded-full bg-[#bfd6ec] text-gray-900 */
.about-us-page section.py-16 .grid .value-card .item-icon-wrapper { /* Reusing class for consistency */
    background-color: #e0f2fe; /* Light blue (Tailwind blue-100) */
    border-radius: 50%;
    width: 64px; /* Slightly smaller than "What We Do" for visual hierarchy */
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: #0c7ff2; /* Primary blue for the icon */
    flex-shrink: 0;
}
.about-us-page section.py-16 .grid .value-card .material-icons {
    font-size: 2rem; /* text-3xl */
}

/* Value title - from your HTML: mt-6 text-lg font-semibold leading-7 text-gray-900 */
.about-us-page section.py-16 .grid .value-card h3.item-title { /* Reusing class */
    color: #1f2937; /* Tailwind gray-800 */
    font-size: 1.25rem; /* text-xl */
    font-weight: 600; /* semibold */
    margin-top: 0; /* Reset Tailwind margin if item-icon-wrapper provides it */
    margin-bottom: 0.5rem;
}

/* Value description - from your HTML: mt-2 text-base leading-7 text-gray-600 */
.about-us-page section.py-16 .grid .value-card p.item-description { /* Reusing class */
    color: #4b5563; /* Tailwind gray-600 */
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
}


/* --- Responsive Adjustments --- */
@media (max-width: 768px) { /* md breakpoint */
    .about-us-page h1 { font-size: 2rem; }
    .about-us-page h2.section-main-title { font-size: 1.875rem; }
    .about-us-page p.section-subtitle { font-size: 1rem; margin-bottom: 2rem; }

    .about-us-page .our-story-timeline-wrapper .min-w-0.flex-1 { margin-left: 1rem; padding: 1rem;}
   /* .about-us-page .our-story-timeline-wrapper .relative.pb-8 { padding-left: 2.5rem; } */

    .about-us-page section.py-16 .grid {
        /* Tailwind's sm:grid-cols-2 should handle this. */
    }
     .about-us-page section.py-16 .grid > div.value-card {
        padding: 1.5rem;
    }
}

@media (max-width: 640px) { /* sm breakpoint */
    .about-us-page section.py-16 .grid { /* Values cards become single column */
        grid-template-columns: 1fr;
    }
}

/* Ensure Material Icons are vertically centered if needed globally */
.material-icons {
    display: inline-flex;
    vertical-align: middle;
}

