/**
 * About Page Styles
 * Color Palette: Cool Blues & Grays
 * Primary: Deep Blue (#3A5199)
 * Secondary: Bright Blue (#4D7CFE)
 * Dark: Dark Navy (#1E2C4F)
 * Light: Soft Gray (#F5F7FA)
 * Neutral: Light Blue Gray (#E9EEF6)
 */

/* General Styles */
.about-page-wrapper {
    max-width: 100%;
    overflow: hidden;
    font-family: 'Montserrat', sans-serif;
    color: #1E2C4F;
    font-weight: 400;
    background-color: #F5F7FA;
    position: relative;
}

.about-badge {
    display: inline-block;
    background-color: rgba(77, 124, 254, 0.1);
    color: #4D7CFE;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 5px 15px;
    border-radius: 20px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dr-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
    box-sizing: border-box;
}

/* Hero Section */
.about-hero {
    background-color: #3A5199;
    text-align: center;
    padding: 50px 0;
    position: relative;
    overflow: hidden;
    color: white;
}

.about-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/Untitled-design.png.webp');
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    filter: blur(5px);
}

.about-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 44, 79, 0.9) 0%, rgba(58, 81, 153, 0.8) 100%);
}

.about-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.about-hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    margin-bottom: 0;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    letter-spacing: 1px;
    display: inline-block;
    font-family: 'Raleway', sans-serif;
    color: white;
}

.page-title span {
    color: #4D7CFE;
    position: relative;
    display: inline-block;
}

.page-title span:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #4D7CFE;
    border-radius: 3px;
}

/* Section spacing */
.about-content-section {
    position: relative;
}

/* About Content Section */
.about-content-section {
    padding: 60px 0;
    background-color: #F5F7FA;
    position: relative;
}

/* About Grid */
.about-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    position: relative;
    margin-bottom: 50px;
}

.about-text-header {
    margin-bottom: 25px;
}

.about-heading {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: #3A5199;
    font-family: 'Raleway', sans-serif;
    letter-spacing: 1px;
}

.about-text-body {
    position: relative;
}

.about-text {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 25px;
    color: #1E2C4F;
    font-family: 'Montserrat', sans-serif;
}

/* Stats Section */
.about-stats {
    display: flex;
    justify-content: space-between;
    margin: 30px 0;
    background-color: #E9EEF6;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(77, 124, 254, 0.1);
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #4D7CFE;
    margin-bottom: 5px;
    font-family: 'Raleway', sans-serif;
}

.stat-label {
    font-size: 0.9rem;
    color: #1E2C4F;
    font-weight: 500;
}

/* About Image */
.about-image-container {
    flex: 0 0 auto;
    width: 40%;
    position: relative;
    z-index: 2;
    margin: 0;
    display: flex;
    justify-content: center;
}

.about-text-container {
    flex: 1;
    min-width: 300px;
    order: 1;
    position: relative;
    z-index: 2;
    padding-right: 20px;
}

.about-image-frame {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(77, 124, 254, 0.15);
    width: 100%;
    max-width: 350px;
}

.about-profile-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image-frame:hover .about-profile-image {
    transform: scale(1.03);
}

/* Philosophy Section */
.about-philosophy-section {
    margin-bottom: 60px;
}

.philosophy-header {
    margin-bottom: 25px;
}

.about-text-container {
    flex: 1;
    min-width: 300px;
}

/* Quote Section */
.about-quote-section {
    padding: 80px 0;
    text-align: center;
    position: relative;
    background-color: #3A5199;
    margin: 40px 0;
    border-radius: 10px;
    overflow: hidden;
    color: white;
}

.quote-decoration {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: rgba(77, 124, 254, 0.2);
    z-index: 1;
}

.quote-decoration.left {
    top: -50px;
    left: -50px;
}

.quote-decoration.right {
    bottom: -50px;
    right: -50px;
}

.about-quote {
    font-size: 1.8rem;
    font-weight: 600;
    font-style: italic;
    color: white;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    font-family: 'Raleway', sans-serif;
    letter-spacing: 1px;
    z-index: 2;
}

.about-quote cite {
    display: block;
    font-size: 1rem;
    margin-top: 20px;
    font-weight: 400;
    opacity: 0.8;
}

.about-quote:before,
.about-quote:after {
    content: '"';
    font-size: 4rem;
    color: #4D7CFE;
    opacity: 0.5;
    position: absolute;
    z-index: 1;
}

.about-quote:before {
    top: -30px;
    left: -20px;
}

.about-quote:after {
    bottom: -50px;
    right: -20px;
}

.about-quote p {
    position: relative;
    z-index: 1;
    line-height: 1.5;
}

/* Content Sections */
.about-subheading {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 40px 0 20px;
    color: #3A5199;
    position: relative;
    padding-bottom: 10px;
    font-family: 'Raleway', sans-serif;
    letter-spacing: 1px;
}

.about-subheading:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: #4D7CFE;
    border-radius: 2px;
}

/* Feature Grid */
.about-features {
    margin: 50px 0;
}

.about-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.about-feature {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(77, 124, 254, 0.15);
    position: relative;
    height: 280px;
}

.feature-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.about-feature:hover .feature-image {
    transform: scale(1.05);
}

.feature-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(30,44,79,0.9) 0%, rgba(30,44,79,0) 100%);
    color: white;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    transform: translateY(20px);
    opacity: 0.9;
    transition: all 0.3s ease;
}

.about-feature:hover .feature-title {
    transform: translateY(0);
}

/* Text Section */
.about-text-section {
    margin: 40px 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Social Section */
.about-social-section {
    text-align: center;
    padding: 30px 0;
    background-color: #E9EEF6;
    border-radius: 10px;
    margin-top: 40px;
    margin-bottom: 20px;
}

.social-content {
    max-width: 600px;
    margin: 0 auto;
}

.social-heading {
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-family: 'Raleway', sans-serif;
    letter-spacing: 1px;
    font-weight: 600;
    color: #3A5199;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.social-icon {
    display: inline-block;
    width: 50px;
    height: 50px;
    background-color: #F5F7FA;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    font-size: 1.5rem;
    color: #3A5199;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(77, 124, 254, 0.1);
}

.social-icon:hover {
    background-color: #4D7CFE;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(77, 124, 254, 0.3);
}



/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    font-family: 'Raleway', sans-serif;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: #3A5199;
    color: white !important;
    border: 2px solid #3A5199;
    margin-top: 20px;
}

.btn-primary:hover {
    background-color: transparent;
    color: #4D7CFE !important;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(77, 124, 254, 0.3);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-hero {
        padding: 60px 0 40px;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .about-grid {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 40px;
    }
    
    .about-text-container {
        order: 2;
        flex: 0 0 100%;
        max-width: 100%;
        padding-right: 0;
    }
    
    .about-image-container {
        order: 1;
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
    }
    
    .about-image-frame {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .about-hero {
        padding: 60px 0 40px;
    }
    
    .page-title {
        font-size: 2.2rem;
    }
    
    .about-hero-subtitle {
        font-size: 1rem;
    }
    
    .about-heading {
        font-size: 2rem;
    }
    
    .about-feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-quote-section {
        padding: 60px 0;
    }
    
    .about-quote {
        font-size: 1.5rem;
    }
    
    .about-quote:before,
    .about-quote:after {
        font-size: 3rem;
    }
    
    .about-quote:before {
        top: -20px;
        left: -10px;
    }
    
    .about-quote:after {
        bottom: -40px;
        right: -10px;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat-item {
        padding: 15px 0;
        border-bottom: 1px solid rgba(77, 124, 254, 0.1);
    }
    
    .stat-item:last-child {
        border-bottom: none;
    }
    

}

@media (max-width: 576px) {
    .about-hero {
        padding: 50px 0 30px;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
    
    .about-hero-subtitle {
        font-size: 0.9rem;
    }
    
    .about-heading {
        font-size: 1.8rem;
    }
    
    .about-feature-grid {
        grid-template-columns: 1fr;
    }
    
    .about-feature {
        height: 280px;
    }
    
    .about-quote-section {
        padding: 40px 15px;
        margin: 40px 0;
    }
    
    .about-quote {
        font-size: 1.3rem;
    }
    
    .about-quote cite {
        font-size: 0.9rem;
    }
    
    .quote-decoration {
        width: 100px;
        height: 100px;
    }
    
    .social-icons {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .social-icon {
        width: 45px;
        height: 45px;
        line-height: 45px;
        font-size: 1.2rem;
    }
    
    .social-heading {
        font-size: 1.3rem;
    }
    
    .social-text {
        font-size: 0.9rem;
    }
    
    .about-content-section,
    .about-social-section {
        padding: 40px 0;
    }
    
    .about-badge {
        font-size: 0.7rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.8rem;
    }
}
