/* About Page Styles */

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%), 
                url('../img/about/hero-background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

.hero-overlay {
    max-width: 900px;
    position: relative;
    z-index: 2;
    padding: 2rem;
}

.hero-title {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 700;
    font-size: 3.5rem;
    color: white !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out;
    -webkit-text-fill-color: white !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
}

.hero-subtitle {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 400;
    font-size: 1.4rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    letter-spacing: 0.5px;
    animation: fadeInUp 1s ease-out 0.3s both;
    opacity: 0.95;
}

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

/* Team Member Cards */
.team-card {
    border: 1px solid #e9ecef;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.team-photo img {
    border: 4px solid #007bff;
    transition: transform 0.3s ease;
    width: 150px;
    height: 150px;
    object-fit: cover;
}

.team-card:hover .team-photo img {
    transform: scale(1.1);
}

.team-card h4 {
    color: #2c3e50;
    font-weight: 600;
    margin-top: 1rem;
}

.team-card .text-primary {
    color: #007bff !important;
    font-weight: 600;
}

.team-card .text-muted {
    color: #6c757d !important;
    line-height: 1.6;
}

/* Service Cards */
.service-card {
    border: 1px solid #e9ecef;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.service-card h4 {
    color: #2c3e50;
    font-weight: 600;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: #6c757d;
    line-height: 1.6;
}

.service-icon img {
    max-width: 200px;
    height: auto;
}

/* Values List Styles */
.values-list .value-item h5 {
    color: #007bff;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.values-list .value-item i {
    color: #007bff;
    margin-right: 0.5rem;
}

.values-list .value-item p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 0;
}

.value-item {
    padding: 1rem;
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

.value-item:hover {
    background-color: rgba(0, 123, 255, 0.05);
}

/* Image Container Styles */
.company-image-container,
.team-image-container {
    position: relative;
}

.company-image-container img,
.team-image-container img {
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    max-width: 100%;
    height: auto;
}

.company-image-container img:hover,
.team-image-container img:hover {
    transform: scale(1.05);
}

/* CTA Section Styles */
.cta-section {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.3);
}

.cta-section h3 {
    font-weight: 600;
}

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

.cta-section .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Additional Enhancements */
.container {
    max-width: 1200px;
}

/* Enhanced spacing */
.mb-5 {
    margin-bottom: 4rem !important;
}

.py-5 {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
}

/* Smooth animations for all interactive elements */
.team-member-card,
.service-card,
.value-item,
.company-image-container,
.team-image-container {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced shadows and depth */
.shadow-lg {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

/* Better text contrast */
.text-muted {
    color: #6c757d !important;
}

/* Enhanced button styles */
.btn-primary {
    background: linear-gradient(135deg, #007bff, #0056b3);
    border: none;
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.3);
}

/* Improved image quality */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Enhanced focus states for accessibility */
a:focus,
button:focus,
.btn:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        min-height: 350px;
        background-attachment: scroll;
        border-radius: 15px;
    }
    
    .hero-overlay {
        padding: 1.5rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
        letter-spacing: 0.5px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .team-member-card,
    .service-card {
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        min-height: 300px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
}
