/* static/css/about.css */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: rgb(249, 246, 246);
    min-height: 100vh;
    color: #333;
    line-height: 1.6;
}

/* Navbar Styles - Removed: All navbar styles are now in index.css */

/* Main Content Styles */
.main-content {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.hero-section {
    background: linear-gradient(45deg, #f5070f, #d53509, #e83b0b);
    padding: 4rem 2rem;
    text-align: center;
    border-radius: 20px;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(231, 12, 12, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    animation: float 20s infinite linear;
}

@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(-50px, -50px) rotate(360deg); }
}

.hero-section h1 {
    font-size: 3.5rem;
    color: #2d3436;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(107, 105, 105, 0.986) bottom;
    
    background: rgb(249, 246, 246);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-section p {
    font-size: 1.3rem;
    color: #eaf2f5;
    max-width: 800px;
    margin: 0 auto;
}

/* About Cards Section */
.about-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #ff6b6b, #d70d32, #da092f, #d90c13);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.card h3 {
    color: #2d3436;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.card p {
    color: #636e72;
    line-height: 1.8;
}

/* Team Section */
.team-section {
    background: linear-gradient(135deg, #a1c4fd, #c2e9fb);
    padding: 3rem;
    border-radius: 20px;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.team-section h2 {
    text-align: center;
    color: #2d3436;
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-member {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.team-member h4 {
    color: #2d3436;
    margin-bottom: 0.5rem;
}

.team-member p {
    color: #636e72;
}


/* Footer Styles - Removed: All footer styles are now in index.css */

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section p {
        font-size: 1.1rem;
    }
    
    .main-content {
        padding: 0 1rem;
    }
    
}

@media (max-width: 480px) {
    .hero-section {
        padding: 2rem 1rem;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .about-cards {
        grid-template-columns: 1fr;
    }
    
}



/* Animation for cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeInUp 0.6s ease-out;
}

.card:nth-child(2) {
    animation-delay: 0.2s;
}

.card:nth-child(3) {
    animation-delay: 0.4s;
}

/* Colorful highlights */
.highlight {
    background: linear-gradient(120deg, #e90a0a 0%, #fed6e3 100%);
    padding: 0.2rem 0.5rem;
    border-radius: 5px;
    font-weight: bold;
}

 
.alert {
    padding: 15px;
    margin: 20px auto;
    width: 80%;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

