/* About Page Specific Styles */
:root {
    --primary-color: #041125;
    --gold-color: #D4AF37;
    --white-color: #ffffff;
    --light-bg: #f8f9fa;
    --text-on-dark: #ffffff;
    --text-on-light: #333333;
    --border-color: #e0e0e0;
    --card-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-on-light);
    background-color: var(--light-bg);
}

main {
    min-height: 80vh;
    padding: 2rem 5%;
}

/* Section Headers - Same as home page for consistency */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-divider {
    width: 80px;
    height: 4px;
    background-color: var(--gold-color);
    margin: 0 auto 1.5rem;
    position: relative;
}

.section-divider::before,
.section-divider::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: var(--gold-color);
    border-radius: 50%;
    top: -2px;
}

.section-divider::before {
    left: -4px;
}

.section-divider::after {
    right: -4px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

/* About Section Styles */
.about-section {
    padding: 4rem 0;
    margin-bottom: 3rem;
    background-color: var(--white-color);
    border-radius: 12px;
    box-shadow: var(--card-shadow);
}

.about-content {
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-text {
    width: 100%;
    text-align: center;
    margin-bottom: 3rem;
}

.about-text h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.about-text h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--gold-color);
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    color: #555;
}

/* Values Section */
.about-values {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
}

.value-item {
    flex: 1;
    min-width: 200px;
    padding: 1.5rem;
    background-color: var(--light-bg);
    border-radius: 8px;
    box-shadow: var(--card-shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.value-item i {
    font-size: 2rem;
    color: var(--gold-color);
    margin-bottom: 1rem;
}

.value-item h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.value-item p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
    padding: 0 2rem;
}

.service-card {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 1;
}

.service-icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background-color: rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    z-index: -1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.4;
    }
    100% {
        transform: scale(1);
        opacity: 0.8;
    }
}

.service-icon i {
    font-size: 2rem;
    color: var(--gold-color);
}

.service-card h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: #555;
    font-size: 0.95rem;
}

/* CTA Container */
.cta-container {
    text-align: center;
    margin-top: 2rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--primary-color);
    color: var(--white-color);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    margin-top: 1rem;
}

.btn:hover {
    background-color: transparent;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-gold {
    background-color: var(--gold-color);
    border-color: var(--gold-color);
    color: var(--primary-color);
}

.btn-gold:hover {
    background-color: transparent;
    color: var(--gold-color);
}

/* Mission and Vision Section */
.mission-vision {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
    padding: 0 2rem;
}

.mission-box, .vision-box {
    flex: 1;
    min-width: 300px;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
}

.mission-box {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.vision-box {
    background-color: var(--light-bg);
    border: 2px solid var(--gold-color);
}

.mission-box h3, .vision-box h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.mission-box h3 {
    color: var(--gold-color);
}

.vision-box h3 {
    color: var(--primary-color);
}

.mission-box h3::after, .vision-box h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
}

.mission-box h3::after {
    background-color: var(--gold-color);
}

.vision-box h3::after {
    background-color: var(--primary-color);
}

.mission-box p, .vision-box p {
    margin-bottom: 1rem;
}

/* Impact Statement */
.impact-statement {
    max-width: 900px;
    margin: 0 auto;
    padding: 2.5rem;
    background-color: var(--light-bg);
    border-radius: 8px;
    box-shadow: var(--card-shadow);
    position: relative;
}

.impact-statement h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.impact-statement h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--gold-color);
}

.impact-statement p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    color: #555;
}

.expanded-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.expanded-content.expanded {
    max-height: 500px;
}

.toggle-content-btn {
    background-color: transparent;
    color: var(--gold-color);
    border: none;
    font-weight: 600;
    cursor: pointer;
    padding: 0.5rem 0;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.toggle-content-btn::after {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--gold-color);
    border-bottom: 2px solid var(--gold-color);
    margin-left: 8px;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

.toggle-content-btn:hover {
    color: var(--primary-color);
}

/* Founders Section Styles */
.founders-section {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding: 0 2rem;
}

.founders-title {
    text-align: center;
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 2.5rem;
    position: relative;
}

.founders-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--gold-color);
}

.founders-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
}

/* Founder Card with Hover Effect */
.founder-card {
    position: relative;
    width: 350px;
    height: 450px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

.founder-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.founder-image {
    width: 100%;
    height: 100%;
}

.founder-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.founder-card:hover .founder-image img {
    transform: scale(1.05);
}

.founder-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(4, 17, 37, 0.9), rgba(4, 17, 37, 0.7) 60%, transparent);
    color: var(--white-color);
    padding: 2rem;
    transition: all 0.5s ease;
    height: 80px;
    overflow: hidden;
}

.founder-card:hover .founder-overlay {
    height: 100%;
    background: rgba(4, 17, 37, 0.9);
}

.founder-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.founder-name::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--gold-color);
    transition: width 0.3s ease;
}

.founder-card:hover .founder-name::after {
    width: 80px;
}

.founder-bio {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease 0.1s;
}

.founder-card:hover .founder-bio {
    opacity: 1;
    transform: translateY(0);
}

.founder-bio p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .founders-container {
        gap: 2rem;
    }
    
    .founder-card {
        width: 320px;
        height: 420px;
    }

    .founder-name {
        font-size: 1.2rem;
    }

    .founder-overlay p {
        font-size: .75rem;
    }
}

@media (max-width: 480px) {
    .founder-card {
        width: 100%;
        height: 400px;
    }
    
    .founders-section {
        padding: 0 1rem;
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-content, .mission-vision {
        flex-direction: column;
        max-width: 100vw;
    }
    
    .about-text {
        width: 100%;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-values {
        flex-direction: column;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }

    .mission-vision {
        flex-direction: column;
        padding: 0 1rem;
    }
    
    .mission-box, .vision-box {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }
}

@media (max-width: 480px) {
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .about-text h3, .mission-box h3, .vision-box h3, .impact-statement h3 {
        font-size: 1.5rem;
    }
    
    .about-section {
        padding: 3rem 0;
    }
    
    .about-content, .services-grid, .mission-vision {
        padding: 0 1rem;
    }
    
    .impact-statement {
        padding: 1.5rem;
    }
}
