/* Import the header and footer styles from Home.css */
@import url('Home.css');

/* About page specific styles */
.about-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
    margin-bottom: 50px;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    padding: 0 20px;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-text h1 {
    font-size: 48px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 700;
    animation: fadeInUp 0.8s ease;
}

.hero-text p {
    font-size: 24px;
    color: #E41B23;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.hero-text .hero-description {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.learn-more-button {
    display: inline-block;
    background-color: #E41B23;
    color: white;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease 0.6s forwards;
    opacity: 0;
}

.learn-more-button:hover {
    background-color: #C41820;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 140, 0, 0.3);
}

.hero-image {
    flex: 1;
    max-width: 500px;
    animation: fadeIn 1s ease 0.8s forwards;
    opacity: 0;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.hero-image img:hover {
    transform: scale(1.02);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-text h1 {
        font-size: 36px;
    }

    .hero-text p {
        font-size: 20px;
    }

    .hero-image {
        max-width: 100%;
    }
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-section {
    display: flex;
    align-items: center;
    gap: 100px;
    margin-bottom: 80px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 36px;
    color: #333;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 18px;
    line-height: 1.6;
    color: #666;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.mission-vision {
    display: flex;
    gap: 30px;
    margin-bottom: 80px;
}

.mission, .vision {
    flex: 1;
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
}

.mission h3, .vision h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 24px;
}

.mission p, .vision p {
    color: #666;
    line-height: 1.6;
}

.why-choose-us {
    text-align: center;
    margin-bottom: 80px;
}

.why-choose-us h2 {
    font-size: 36px;
    color: #333;
    margin-bottom: 40px;
}

.features {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin: 0 -20px;
    padding: 20px;
}

.features::-webkit-scrollbar {
    display: none;
}

.feature {
    flex: 0 0 auto;
    width: 300px;
    min-width: 300px;
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 20px;
}

.feature p {
    color: #666;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-section {
        flex-direction: column;
    }

    .mission-vision {
        flex-direction: column;
    }

    .about-hero h1 {
        font-size: 36px;
    }

    .about-hero p {
        font-size: 20px;
    }

    .features {
        margin: 0 -15px;
        padding: 15px;
    }

    .feature {
        width: 280px;
        min-width: 280px;
    }
}

/* Footer Styles */
.footer {
    background-color: #333;
    color: white;
    padding: 50px 0 20px;
    margin-top: 50px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 0 20px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin: 20px;
}

.footer-section h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #007bff;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: #fff;
    border-radius: 50%;
    transition: background-color 0.3s ease;
     /* Added border to make container visible */
}

.social-links a:hover {
    transform: scale(1.25); /* Increases size by 25% */ /* Optional: adds shadow on hover */
}

.social-icon {
    width: 100%;
    height: 100%;
    display: block;
    transition: all 0.3s ease;
}


.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #555;
}

.footer-bottom p {
    margin: 0;
    font-size: 14px;
}

@media (max-width: 768px) {
    .footer-section {
        min-width: 200px;
    }
}
