/* style.css - Streamlined for About Us Page & Global Elements */
:root {
    --primary-color: #4A90E2; /* A modern, friendly blue */
    --secondary-color: #50E3C2; /* A vibrant teal/mint */
    --accent-color: #F5A623; /* A warm orange for CTAs */
    --dark-text-color: #333;
    --light-text-color: #fff;
    --background-color: #f9fafb; /* Off-white background */
    --card-background: #ffffff;
    --border-radius: 12px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --box-shadow-hover: 0 15px 40px rgba(74, 144, 226, 0.2);
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Roboto', sans-serif;
    --transition-speed: 0.4s;
    --animation-duration: 0.8s;
    --nav-height: 80px;
}

/* Basic Reset & Global Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px; /* Base font size */
}

body {
    font-family: var(--font-primary);
    color: var(--dark-text-color);
    background-color: var(--background-color);
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll from animations */
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3 {
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--primary-color);
    line-height: 1.2;
}

h1 { /* General h1 styling, can be overridden by specific sections */
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
}

h2.section-title { /* Used for "Meet Our Core Team" etc. */
    font-size: clamp(2rem, 4vw, 2.8rem);
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
}
h2.section-title-align-left { /* Used for "Our Story", "Our Mission" */
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    text-align: left;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

p.section-subtitle { /* Used under section titles */
    font-size: 1.1rem;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem auto;
    color: #555;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius); /* Soften image edges by default */
}

/* Header & Navigation (Assumed to be consistent across pages) */
header {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    height: var(--nav-height);
    transition: background-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo-container {
    display: flex;
    align-items: center;
}
.company-logo-link {
    display: flex;
    align-items: center;
}
.company-logo-img {
    height: 50px;
    margin-right: 10px;
    transition: transform var(--transition-speed) ease;
    border-radius: 50%;
}
.company-logo-img:hover {
    transform: rotate(-10deg) scale(1.1);
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}
.logo:hover {
    color: var(--secondary-color);
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    font-weight: 500;
    color: var(--dark-text-color);
    position: relative;
    padding: 5px 0;
    font-size: 0.95rem;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width var(--transition-speed) ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}
.nav-links a.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* CTA Button General Style (Kept as it's a common utility) */
.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--light-text-color) !important;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color var(--transition-speed) ease, transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    box-shadow: 0 4px 15px rgba(245, 166, 35, 0.4);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
}

.cta-button:hover {
    background-color: #e09014;
    color: var(--light-text-color) !important;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(245, 166, 35, 0.5);
}

/* Section General Styling (Padding for sections on About Us page) */
section {
    padding: 80px 0;
}

/* Footer (Assumed to be consistent across pages) */
footer {
    background-color: #2c3e50;
    color: #bdc3c7;
    padding: 40px 0;
    text-align: center;
}

.footer-links {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: #ecf0f1;
    font-weight: 500;
}
.footer-links a:hover {
    color: var(--secondary-color);
}

.copyright {
    font-size: 0.9rem;
}
footer p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

/* SEO Content - Visually Hidden (Good practice for any page) */
.seo-content {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Animations (Used by Reveal on Scroll) */
@keyframes slideInFromLeft { /* Example, if used by any About Us element */
    0% { transform: translateX(-100px); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

@keyframes popIn { /* Example, if used by any About Us element */
    0% { transform: scale(0.5); opacity: 0; }
    70% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes slideUpFadeIn { /* Used for team cards and other revealed elements */
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Reveal on Scroll - Base for JS interaction */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity var(--animation-duration) ease-out, transform var(--animation-duration) ease-out;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ======== About Us Page Specific Styles ======== */
.about-page-container {
    padding-top: calc(var(--nav-height) + 20px);
    padding-bottom: 60px;
}

.about-hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--light-text-color);
    padding: 60px 0; /* Adjusted padding for a distinct hero feel */
    text-align: center;
    margin-bottom: 0; /* Removed bottom margin to connect with next section if desired, or set to 40px */
}
.about-hero-section .main-page-title { /* Overrides global h1 for this section */
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    color: var(--light-text-color); /* Ensure title color is light */
}
.about-hero-section .section-subtitle {
    color: var(--light-text-color); /* Ensure subtitle color is light */
    margin-bottom: 0; /* Remove bottom margin if it's the end of this colored block */
}


.about-story-mission {
    padding: 60px 0; /* Give some padding to this content section */
    background-color: var(--card-background);
}

.story-mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* .story-block h2, .mission-block h2 are covered by .section-title-align-left */

.story-block p, .mission-block p {
    margin-bottom: 1rem;
    color: #555;
    line-height: 1.7;
}
.mission-block ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 1rem;
    color: #555;
}
.mission-block ul li {
    margin-bottom: 0.5rem;
}

.team-section {
    /* padding: 80px 0; uses global section padding */
    background-color: var(--background-color); /* Default page background */
}
/* .team-section .section-title and .section-subtitle use global styles */

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem; /* Space below section subtitle */
}

.team-member-card {
    background-color: var(--card-background);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2rem;
    text-align: center;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    /* Reveal on scroll for cards is handled by JS adding .is-visible and then CSS animation */
}
/* .team-member-card.is-visible is implicitly handled by .reveal-on-scroll.is-visible .team-member-card */


.team-member-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--box-shadow-hover);
}

.team-member-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.5rem auto;
    border: 4px solid var(--secondary-color);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.team-member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0; /* Image itself doesn't need radius if container is circular */
}

.team-member-name {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.team-member-title {
    font-size: 1rem;
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 1rem;
}

.team-member-bio {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
}

/* Staggered animation for team cards */
.reveal-on-scroll.is-visible .team-member-card { /* Target cards when parent section is visible */
    opacity: 0; /* Initial state for animation */
    transform: translateY(40px); /* Initial state for animation */
    animation: slideUpFadeIn var(--animation-duration) ease-out forwards;
}
.team-grid.is-visible .team-member-card:nth-child(1) { animation-delay: 0.1s; }
.team-grid.is-visible .team-member-card:nth-child(2) { animation-delay: 0.2s; }
.team-grid.is-visible .team-member-card:nth-child(3) { animation-delay: 0.3s; }
/* ======== End of About Us Page Styles ======== */


/* Responsive Design (Global and About Us specific) */
@media (max-width: 992px) {
    /* About Us Page Specific Responsive */
    .story-mission-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
     h2.section-title-align-left { /* Center titles if they were aligned left */
        text-align: center;
    }
}

@media (max-width: 768px) {
    /* Global Responsive Nav */
    .nav-links {
        position: absolute;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        background-color: var(--card-background);
        flex-direction: column;
        align-items: center;
        padding: 1rem 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        transform: translateY(-150%);
        transition: transform 0.3s ease-in-out;
        z-index: -1; /* Ensure it's behind content until active */
        display: none; /* Hidden by default, JS toggles to flex */
    }
     .nav-links.active { /* Toggled by JS for burger menu */
        transform: translateY(0);
        display: flex;
    }
    .nav-links li {
        margin: 10px 0;
        width: 100%;
        text-align: center;
    }
    .nav-links a {
        display: block;
        padding: 10px;
    }
    /* You would need a burger icon in HTML and JS to toggle .nav-links.active */


    /* About Us Page Specific Responsive */
    .about-hero-section {
        padding: 40px 0;
    }
    .team-member-image {
        width: 120px;
        height: 120px;
    }
    .team-member-name {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    /* Global Responsive Footer */
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}

/* Prefers Reduced Motion (Global) */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal-on-scroll { /* Disable reveal animation transform */
    opacity: 1;
    transform: none;
  }
  .reveal-on-scroll.is-visible .team-member-card { /* Also disable card animation */
     opacity: 1;
     transform: none;
     animation: none;
  }
}