/* About Us Page Styles */

/* Hero Section */
.about-hero {
   position: relative;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: #fff;
    width: 100%;
}

.about-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}
.about-module2-image{
    width: 100%;
    height: 400px;
}
.about-module2-image img{
    width: 100%;
    height: 100%;
}
.about-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-hero-left {
    flex: 1;
}

.about-hero-right {
    flex: 1;
    max-width: 500px;
}

.about-hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-hero-description {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.about-hero-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Common Module Styles */
.about-module {
    padding: 60px 0;
        width: 100%;
}

.about-module-header {
    text-align: center;
    margin-bottom: 50px;
}

.about-module-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.about-module-description {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

/* Module 1 - 3 Cards */
.about-cards-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.about-card {
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.about-card-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.about-card-description {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

/* Module 2 - Cards with Image */
.about-card-with-image {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.about-card-header {
    padding: 20px;
    border-radius: 8px 8px 0 0;
}

.about-card-body {
    flex: 1;
    padding: 20px;
}

.about-card-image {
    margin-top: 20px;
}

.about-card-image img {
    width: 100%;
    height: auto;
    border-radius: 0 0 8px 8px;
}

/* Module 3 - Text Blocks (2 columns) */
.about-text-blocks {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.about-text-block {
    padding: 25px;
    border-radius: 8px;
    background-color: #f9f9f9;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-text-block-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.about-text-block-description {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

/* Module 4 - Button and Description */
.about-module-4 {
    background-color: #f8f9fa;
    text-align: center;
}

.about-module-4-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-module-4-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    margin-bottom: 20px;
    transition: background-color 0.3s ease;
}

.about-module-4-button:hover {
    background-color: #555;
}

.about-module-4-description {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .about-hero-right {
        margin-top: 30px;
        max-width: 100%;
    }
    
    .about-cards-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-hero {
        min-height: 500px;
    }
    
    .about-hero-title {
        font-size: 36px;
    }
    
    .about-module {
        padding: 60px 0;
    }
    
    .about-module-title {
        font-size: 28px;
    }
    
    .about-cards-3 {
        grid-template-columns: 1fr;
    }
    
    .about-text-blocks {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .about-hero-title {
        font-size: 28px;
    }
    
    .about-module {
        padding: 40px 0;
    }
    
    .about-module-title {
        font-size: 24px;
    }
    
    .about-card {
        padding: 20px;
    }
}

/* Module 2 Image */
.about-module2-image {
    margin-top: 40px;
    text-align: center;
}

.about-module2-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}
