/* Professional Color Variables - Format2Publish Inspired */
:root {
    /* Professional Brand Colors */
    --primary-navy: #1B365D;
    --primary-blue: #2B5A87;
    --primary-light: #4A7BA7;
    
    /* Professional Text Colors */
    --text-primary: #212529;
    --text-secondary: #495057;
    --text-light: #6C757D;
    --text-muted: #ADB5BD;
    
    /* Clean Background Colors */
    --bg-white: #FFFFFF;
    --bg-light: #F8F9FA;
    --bg-subtle: #F1F3F5;
    --bg-section: #FAFBFC;
    
    /* Professional Accent Colors */
    --accent-gold: #C8860D;
    --accent-success: #146C43;
    --accent-warm: #8B4513;
    
    /* Border and UI Elements */
    --border-light: #DEE2E6;
    --border-medium: #CED4DA;
    --shadow-light: rgba(0, 0, 0, 0.08);
    --shadow-medium: rgba(0, 0, 0, 0.12);
}

/* New Premium Color Palette - From User's Color Scheme */
:root {
    /* Primary Brand Colors */
    --primary-blue: #1E3A8A;
    --primary-royal: #1D4ED8;
    --primary-light: #3B82F6;
    
    /* Professional Text Colors */
    --text-primary: #1F2937;
    --text-secondary: #4B5563;
    --text-light: #6B7280;
    --text-muted: #9CA3AF;
    
    /* Clean Background Colors */
    --bg-white: #FFFFFF;
    --bg-light: #FAFAFA;
    --bg-subtle: #F9FAFB;
    --bg-section: #F3F4F6;
    
    /* Accent Colors from Palette */
    --accent-pink: #F8BBD9;
    --accent-rose: #FDA4AF;
    --accent-orange: #EA580C;
    --accent-coral: #F97316;
    
    /* Border and UI Elements */
    --border-light: #E5E7EB;
    --border-medium: #D1D5DB;
    --shadow-light: rgba(30, 58, 138, 0.08);
    --shadow-medium: rgba(30, 58, 138, 0.12);
    --shadow-accent: rgba(234, 88, 12, 0.15);
}

/* Premium Professional Color Palette - 3 Complementary Colors */
:root {
    /* Primary Brand Colors - Deep Professional Blue */
    --primary-blue: #1E3A8A;
    --primary-royal: #1D4ED8;
    --primary-light: #3B82F6;
    
    /* Premium Background Colors - Warm Cream & Sophisticated Grays */
    --bg-primary: #FDFDFD;        /* Pure white for main content */
    --bg-secondary: #F8F6F3;      /* Warm cream - premium alternative to white */
    --bg-tertiary: #F1EDE7;       /* Deeper cream for sections */
    --bg-accent: #E8E2DB;         /* Subtle cream accent */
    
    /* Professional Text Colors */
    --text-primary: #1F2937;      /* Dark charcoal for headings */
    --text-secondary: #4B5563;    /* Medium gray for body text */
    --text-light: #6B7280;        /* Light gray for supporting text */
    --text-muted: #9CA3AF;        /* Very light gray for subtle text */
    
    /* Accent Colors from Original Palette */
    --accent-pink: #F8BBD9;       /* Soft pink accent */
    --accent-rose: #FDA4AF;       /* Rose highlight */
    --accent-orange: #EA580C;     /* Bold orange for CTAs */
    --accent-coral: #F97316;      /* Warm coral for hovers */
    
    /* Professional Neutrals - Third Complementary Color */
    --neutral-warm: #A3A08A;      /* Warm taupe */
    --neutral-light: #D4D1C7;     /* Light taupe */
    --neutral-dark: #6B6B47;      /* Dark olive-taupe */
    
    /* Border and UI Elements */
    --border-light: #E8E2DB;      /* Cream borders */
    --border-medium: #D4D1C7;     /* Taupe borders */
    --border-accent: #A3A08A;     /* Dark taupe accents */
    --shadow-light: rgba(30, 58, 138, 0.08);
    --shadow-medium: rgba(30, 58, 138, 0.12);
    --shadow-warm: rgba(163, 160, 138, 0.15);
}

/* About Page Specific Styles */

.hero-about {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #c7e4fb 0%, #a8d5f0 35%, #89c4e8 70%, #6bb3e0 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(30, 58, 138, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(234, 88, 12, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-about .container {
    position: relative;
    z-index: 1;
}

.hero-about h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #1E3A8A;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(30, 58, 138, 0.1);
    line-height: 1.2;
}

.hero-about p {
    font-size: 1.3rem;
    color: #4B5563;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 400;
}

.our-story {
    padding: 80px 0;
    background: white;
}

.story-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-content h2 {
    color: #1E3A8A;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    font-weight: 700;
}

.story-content p {
    color: #4B5563;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

.story-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat {
    text-align: center;
    padding: 2rem;
    background: #c7e4fb;
    border-radius: 15px;
    transition: transform 0.3s ease;
    border: 2px solid transparent;
}

.stat:hover {
    transform: translateY(-5px);
    border-color: #1E3A8A;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #1E3A8A;
    font-family: 'Playfair Display', serif;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #4B5563;
    font-weight: 500;
    font-size: 0.95rem;
}

.story-image {
    text-align: center;
}

.story-image-container {
    position: relative;
    display: inline-block;
}

.story-professional-image {
    width: 280px;
    height: 350px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(30, 58, 138, 0.2);
    transition: transform 0.3s ease;
}

.story-professional-image:hover {
    transform: scale(1.05);
}

/* Legacy image placeholder - keeping for backward compatibility */
.image-placeholder {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #1E3A8A, #EA580C);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: white;
    font-size: 5rem;
}

.mission-values {
    padding: 80px 0;
    background: #c7e4fb;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.mission-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(30, 58, 138, 0.15);
    border-color: #c7e4fb;
}

.card-icon {
    width: 80px;
    height: 80px;
    background: #1E3A8A;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: white;
    font-size: 2rem;
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3);
    transition: all 0.3s ease;
}

.mission-card:hover .card-icon {
    background: #EA580C;
    box-shadow: 0 12px 35px rgba(234, 88, 12, 0.4);
    transform: scale(1.1);
}

.mission-card h3 {
    color: #1E3A8A;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.mission-card p {
    color: #4B5563;
    line-height: 1.7;
    margin: 0;
    font-size: 1rem;
    text-align: center;
}

.why-work {
    padding: 80px 0;
    background: white;
}

/* New Benefits Grid Layout - Based on Reference Image */
.benefits-grid-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 4rem 3rem;
    margin-top: 4rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.benefit-item-new {
    text-align: center;
    padding: 0;
    transition: transform 0.3s ease;
}

.benefit-item-new:hover {
    transform: translateY(-5px);
}

.benefit-icon-new {
    width: 80px;
    height: 80px;
    background: #4A90E2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.benefit-item-new h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.benefit-item-new p {
    color: #6c757d;
    margin: 0;
    line-height: 1.6;
    font-size: 0.95rem;
    max-width: 280px;
    margin: 0 auto;
}

/* Legacy Benefits Grid (keeping for backward compatibility) */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-item {
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.benefit-item h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.benefit-item p {
    color: #6c757d;
    margin: 0;
    line-height: 1.6;
}

.our-team {
    padding: 80px 0;
    background: #c7e4fb;
}

/* New Horizontal Team Grid */
.team-grid-horizontal {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    align-items: start;
}

.team-member-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.team-member-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: #c7e4fb;
}

.member-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), #3b82f6);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3);
    overflow: hidden;
    border: 3px solid white;
}

.member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.member-avatar i {
    font-size: 2rem;
    color: white;
}

.member-details h3 {
    color: var(--primary-blue);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.member-details h4 {
    color: #EA580C;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.member-details p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

/* Legacy Team Grid Styles */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.team-member {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.member-photo {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: white;
    font-size: 3rem;
}

.member-info h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.member-info h4 {
    color: #3498db;
    margin-bottom: 1rem;
    font-weight: 500;
}

.member-info p {
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

.about-testimonials {
    padding: 80px 0;
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: #f8f9fa;
    padding: 2.5rem;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.testimonial-content p {
    color: #2c3e50;
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.author-details h4 {
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.author-details span {
    color: #6c757d;
    font-size: 0.9rem;
}

/* Responsive Design for About Page */
@media (max-width: 768px) {
    .hero-about {
        padding: 120px 0 60px;
    }
    
    .hero-about h1 {
        font-size: 2.8rem;
    }
    
    .hero-about p {
        font-size: 1.1rem;
        max-width: 90%;
    }
    
    .story-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .story-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .story-professional-image {
        width: 220px;
        height: 280px;
    }
    
    .image-placeholder {
        width: 200px;
        height: 200px;
        font-size: 3rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .mission-card {
        padding: 2.5rem 2rem;
    }
    
    .card-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* New Benefits Grid Responsive */
    .benefits-grid-new {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        gap: 3rem 2rem;
    }
    
    .benefit-item-new p {
        max-width: 240px;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Responsive Team Grid Horizontal */
    .team-grid-horizontal {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .team-member-card {
        padding: 2rem 1.5rem;
    }
    
    .member-avatar {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .member-details h3 {
        font-size: 1.2rem;
    }
    
    .member-details h4 {
        font-size: 0.9rem;
    }
    
    .member-details p {
        font-size: 0.9rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .member-photo {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
}

@media (max-width: 1024px) {
    .team-grid-horizontal {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .story-professional-image {
        width: 180px;
        height: 230px;
    }
    
    .image-placeholder {
        width: 180px;
        height: 180px;
        font-size: 2.5rem;
    }
    
    .mission-card {
        padding: 2rem 1.5rem;
    }
    
    .card-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .mission-card h3 {
        font-size: 1.3rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    /* Mobile Benefits Grid */
    .benefits-grid-new {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(6, 1fr);
        gap: 2rem;
    }
    
    .benefit-item-new p {
        max-width: 300px;
    }
    
    /* Mobile Team Grid */
    .team-grid-horizontal {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .team-member-card {
        padding: 2rem;
    }
    
    .member-avatar {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
}