/* About Page Styles */

.page-header {
    background: linear-gradient(135deg, #dc3545, #fd7e14);
    color: white;
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="about-pattern" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23about-pattern)"/></svg>');
    z-index: 0;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.page-header .lead {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* About Content Sections */
.about-section {
    padding: 80px 0;
}

.about-section h2 {
    color: #dc3545;
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
}

.about-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #dc3545, #fd7e14);
    border-radius: 2px;
}

.about-section h3 {
    color: #dc3545;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
}

.about-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
}

/* Values Cards */
.values-section .card {
    border: none;
    border-radius: 15px;
    transition: all 0.3s ease;
    height: 100%;
    background: white;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

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

.values-section .card-body {
    padding: 2rem;
}

.values-section .fa-3x {
    color: #dc3545;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.values-section .card:hover .fa-3x {
    transform: scale(1.1);
    color: #fd7e14;
}

.values-section .card-title {
    color: #dc3545;
    font-weight: 600;
    margin-bottom: 1rem;
}

.values-section .card-text {
    color: #666;
    line-height: 1.6;
}

/* Services Section */
.services-section .d-flex {
    margin-bottom: 2rem;
}

.services-section .flex-shrink-0 {
    margin-left: 1rem;
}

.services-section .fa-2x {
    color: #dc3545;
    transition: all 0.3s ease;
}

.services-section .d-flex:hover .fa-2x {
    transform: scale(1.1);
    color: #fd7e14;
}

.services-section h5 {
    color: #dc3545;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.services-section p {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #dc3545, #fd7e14);
    color: white;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="cta-pattern" x="0" y="0" width="30" height="30" patternUnits="userSpaceOnUse"><circle cx="15" cy="15" r="2" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23cta-pattern)"/></svg>');
    z-index: 0;
}

.cta-section .card-body {
    position: relative;
    z-index: 1;
}

.cta-section h3 {
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-section .lead {
    opacity: 0.9;
    margin-bottom: 2rem;
}

.cta-section .btn {
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin: 0.5rem;
}

.cta-section .btn-success {
    background: #25d366;
    border-color: #25d366;
}

.cta-section .btn-success:hover {
    background: #128c7e;
    border-color: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.cta-section .btn-light:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.cta-section .btn-outline-light:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,255,255,0.2);
}

/* Dark Mode Support */
body.dark-mode .page-header {
    background: linear-gradient(135deg, #dc3545, #fd7e14);
}

body.dark-mode .about-section {
    background: var(--dark-bg);
    color: var(--dark-text);
}

body.dark-mode .about-section h2,
body.dark-mode .about-section h3 {
    color: #fd7e14;
}

body.dark-mode .about-section p {
    color: #adb5bd;
}

body.dark-mode .values-section .card {
    background: var(--dark-card);
    color: var(--dark-text);
}

body.dark-mode .values-section .card-title {
    color: #fd7e14;
}

body.dark-mode .values-section .card-text {
    color: #adb5bd;
}

body.dark-mode .services-section h5 {
    color: #fd7e14;
}

body.dark-mode .services-section p {
    color: #adb5bd;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-header {
        padding: 60px 0 40px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header .lead {
        font-size: 1rem;
    }
    
    .about-section {
        padding: 60px 0;
    }
    
    .about-section h2 {
        font-size: 1.8rem;
    }
    
    .about-section p {
        font-size: 1rem;
    }
    
    .values-section .card-body {
        padding: 1.5rem;
    }
    
    .cta-section .btn {
        width: 100%;
        margin: 0.5rem 0;
    }
}

@media (max-width: 576px) {
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .about-section h2 {
        font-size: 1.5rem;
    }
    
    .services-section .flex-shrink-0 {
        margin-left: 0.5rem;
    }
    
    .services-section .fa-2x {
        font-size: 1.5rem;
    }
}

/* Animation Classes */
.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}
