/* About Page Styles */
.about-main {
    padding-top: 80px; /* Account for fixed navbar */
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
}

/* Hero Section */
.about-hero {
    padding: 4rem 0 3rem; /* Reduced padding for better spacing */
    background: linear-gradient(135deg, #E62A38 0%, #dc3545 100%); /* Project theme colors */
    color: white;
    position: relative;
    overflow: hidden;
}

.about-hero::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="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.about-title {
    font-size: 3rem; /* Reduced from 3.5rem for better proportion */
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease-out;
}

.about-subtitle {
    font-size: 1.1rem; /* Reduced from 1.25rem for better proportion */
    font-weight: 400;
    opacity: 0.9;
    margin-bottom: 0;
    animation: fadeInUp 1s ease-out 0.2s both;
}

/* Mission Section */
.about-mission {
    padding: 3.5rem 0; /* Reduced from 5rem for better spacing */
    background: white;
}

.mission-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 2.5rem; /* Reduced from 3rem for better proportion */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1); /* Reduced shadow */
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(230, 42, 56, 0.1) 0%, rgba(220, 53, 69, 0.1) 100%); /* Project theme colors */
    transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.mission-card:hover::before {
    left: 0;
}

.mission-card:hover {
    transform: translateY(-8px); /* Reduced from -10px for subtle effect */
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.mission-icon {
    width: 70px; /* Reduced from 80px for better proportion */
    height: 70px;
    background: linear-gradient(135deg, #E62A38 0%, #dc3545 100%); /* Project theme colors */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem; /* Reduced margin */
    font-size: 1.75rem; /* Reduced from 2rem */
    color: white;
    box-shadow: 0 8px 25px rgba(230, 42, 56, 0.3); /* Project theme colors */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mission-card:hover .mission-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(230, 42, 56, 0.4);
}

.mission-title {
    font-size: 2.25rem; /* Reduced from 2.5rem for better proportion */
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1.25rem; /* Reduced margin */
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mission-text {
    font-size: 1rem; /* Reduced from 1.1rem for better readability */
    line-height: 1.7; /* Reduced from 1.8 for better spacing */
    color: #5a6c7d;
    margin-bottom: 0;
    font-weight: 400;
}

/* Platform Section */
.about-platform {
    padding: 3.5rem 0; /* Reduced from 5rem for better spacing */
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.platform-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 2.5rem; /* Reduced from 3rem for better proportion */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.platform-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(230, 42, 56, 0.1) 0%, rgba(220, 53, 69, 0.1) 100%); /* Project theme colors */
    transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.platform-card:hover::before {
    left: 0;
}

.platform-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.platform-icon {
    width: 70px; /* Reduced from 80px for better proportion */
    height: 70px;
    background: linear-gradient(135deg, #E62A38 0%, #dc3545 100%); /* Project theme colors */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.75rem;
    color: white;
    box-shadow: 0 8px 25px rgba(230, 42, 56, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.platform-card:hover .platform-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 12px 35px rgba(230, 42, 56, 0.4);
}

.platform-title {
    font-size: 2.25rem; /* Reduced from 2.5rem for better proportion */
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.platform-text {
    font-size: 1rem; /* Reduced from 1.1rem for better readability */
    line-height: 1.7;
    color: #5a6c7d;
    margin-bottom: 0;
    font-weight: 400;
}

/* Partnership Section */
.about-partnership {
    padding: 3.5rem 0; /* Reduced from 5rem for better spacing */
    background: white;
}

.partnership-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 2.5rem; /* Reduced from 3rem for better proportion */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.partnership-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(230, 42, 56, 0.1) 0%, rgba(220, 53, 69, 0.1) 100%); /* Project theme colors */
    transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.partnership-card:hover::before {
    left: 0;
}

.partnership-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.partnership-icon {
    width: 70px; /* Reduced from 80px for better proportion */
    height: 70px;
    background: linear-gradient(135deg, #E62A38 0%, #dc3545 100%); /* Project theme colors */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.75rem;
    color: white;
    box-shadow: 0 8px 25px rgba(230, 42, 56, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.partnership-card:hover .partnership-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(230, 42, 56, 0.4);
}

.partnership-title {
    font-size: 2.25rem; /* Reduced from 2.5rem for better proportion */
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.partnership-text {
    font-size: 1rem; /* Reduced from 1.1rem for better readability */
    line-height: 1.7;
    color: #5a6c7d;
    margin-bottom: 0;
    font-weight: 400;
}

/* Vision Section */
.about-vision {
    padding: 3.5rem 0; /* Reduced from 5rem for better spacing */
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.vision-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 2.5rem; /* Reduced from 3rem for better proportion */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(230, 42, 56, 0.1) 0%, rgba(220, 53, 69, 0.1) 100%); /* Project theme colors */
    transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.vision-card:hover::before {
    left: 0;
}

.vision-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.vision-icon {
    width: 70px; /* Reduced from 80px for better proportion */
    height: 70px;
    background: linear-gradient(135deg, #E62A38 0%, #dc3545 100%); /* Project theme colors */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.75rem;
    color: white;
    box-shadow: 0 8px 25px rgba(230, 42, 56, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.vision-card:hover .vision-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 12px 35px rgba(230, 42, 56, 0.4);
}

.vision-title {
    font-size: 2.25rem; /* Reduced from 2.5rem for better proportion */
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.vision-text {
    font-size: 1rem; /* Reduced from 1.1rem for better readability */
    line-height: 1.7;
    color: #5a6c7d;
    margin-bottom: 0;
    font-weight: 400;
}

/* CTA Section */
.about-cta {
    padding: 3.5rem 0; /* Reduced from 5rem for better spacing */
    background: linear-gradient(135deg, #E62A38 0%, #dc3545 100%); /* Project theme colors */
    color: white;
    position: relative;
    overflow: hidden;
}

.about-cta::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="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.cta-title {
    font-size: 2.25rem; /* Reduced from 2.5rem for better proportion */
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.cta-text {
    font-size: 1rem; /* Reduced from 1.1rem for better readability */
    opacity: 0.9;
    margin-bottom: 1.5rem; /* Reduced from 2rem for better spacing */
    position: relative;
    z-index: 1;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    color: #E62A38; /* Project theme color */
    text-decoration: none;
    padding: 0.875rem 1.75rem; /* Reduced padding for better proportion */
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem; /* Reduced from 1.1rem for better proportion */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2); /* Reduced shadow */
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(240, 240, 240, 0.2) 100%);
    transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-button:hover::before {
    left: 0;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
    color: #E62A38;
}

.cta-button i {
    transition: transform 0.3s ease;
}

.cta-button:hover i {
    transform: translateX(5px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-title {
        font-size: 2.25rem; /* Reduced from 2.5rem */
    }
    
    .about-subtitle {
        font-size: 1rem; /* Reduced from 1.1rem */
    }
    
    .mission-title,
    .platform-title,
    .partnership-title,
    .vision-title,
    .cta-title {
        font-size: 1.75rem; /* Reduced from 2rem */
    }
    
    .mission-card,
    .platform-card,
    .partnership-card,
    .vision-card {
        padding: 2rem; /* Reduced from 2rem */
        margin: 0 1rem;
    }
    
    .about-hero {
        padding: 3rem 0 2.5rem; /* Reduced padding */
    }
    
    .about-mission,
    .about-platform,
    .about-partnership,
    .about-vision,
    .about-cta {
        padding: 2.5rem 0; /* Reduced padding */
    }
}

@media (max-width: 576px) {
    .about-title {
        font-size: 1.75rem; /* Reduced from 2rem */
    }
    
    .mission-title,
    .platform-title,
    .partnership-title,
    .vision-title,
    .cta-title {
        font-size: 1.5rem; /* Reduced from 1.75rem */
    }
    
    .mission-text,
    .platform-text,
    .partnership-text,
    .vision-text,
    .cta-text {
        font-size: 0.95rem; /* Reduced from 1rem */
    }
    
    .mission-card,
    .platform-card,
    .partnership-card,
    .vision-card {
        padding: 1.5rem;
    }
    
    .cta-button {
        padding: 0.75rem 1.5rem; /* Reduced padding */
        font-size: 0.95rem; /* Reduced font size */
    }
}

/* Hover Effects for Cards */
.mission-card,
.platform-card,
.partnership-card,
.vision-card {
    cursor: pointer;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus states for accessibility */
.cta-button:focus {
    outline: 3px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

/* Loading animation for cards */
.mission-card,
.platform-card,
.partnership-card,
.vision-card {
    animation: fadeInUp 0.8s ease-out;
}

.mission-card {
    animation-delay: 0.1s;
}

.platform-card {
    animation-delay: 0.2s;
}

.partnership-card {
    animation-delay: 0.3s;
}

.vision-card {
    animation-delay: 0.4s;
}

/* Modal Custom Styling */
.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.modal-header {
    padding: 1.5rem 1.5rem 1rem;
}

.modal-title {
    color: #E62A38; /* Project theme color */
}

.btn-close-custom {
    background-color: #dc3545 !important;
    border-radius: 50% !important;
    width: 24px !important;
    height: 24px !important;
    opacity: 1 !important;
}

.modal-body {
    padding: 0 1.5rem 1.5rem;
}
