/**
 * About Page Styles
 * Color Palette: Fresh Greens
 * Primary: Sage Green (#6B9080)
 * Secondary: Forest Green (#4D7063)
 * Dark: Deep Green (#2D4739)
 * Light: Mint Cream (#F6FFF8)
 * Neutral: Pale Sage (#CCE3DE)
 */

/* General Styles */
.about-page-wrapper {
    max-width: 100%;
    overflow: hidden;
    font-family: 'Nunito', sans-serif;
    color: #2D4739;
    font-weight: 400;
}

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

/* Hero Section */
.about-hero {
    background-color: #F6FFF8;
    text-align: center;
    padding: 25px 0 10px;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
    letter-spacing: 1px;
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    color: #2D4739;
}

.page-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #6B9080;
}

/* About Content Section */
.about-section-content {
    position: relative;
    padding: 40px 30px 40px 40px;
    background: linear-gradient(135deg, #F6FFF8 0%, #ffffff 100%);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(107, 144, 128, 0.1), inset 0 0 0 1px rgba(107, 144, 128, 0.05);
    overflow: hidden;
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.about-section-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(107, 144, 128, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(107, 144, 128, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 50% 50%, rgba(107, 144, 128, 0.03) 0%, transparent 40%),
        url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%236B9080' fill-opacity='0.03' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    opacity: 0.7;
}

.about-section-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, #6B9080, transparent 80%);
    box-shadow: 0 0 15px rgba(107, 144, 128, 0.3);
    border-radius: 0 5px 5px 0;
}

.about-section-content .about-subheading {
    position: relative;
    display: inline-block;
    margin-left: 15px;
    padding: 5px 15px 15px 0;
    transform: translateX(0);
    transition: all 0.4s ease;
    color: #2D4739;
    font-weight: 700;
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.8);
}

.about-section-content .about-subheading::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    width: 10px;
    height: 10px;
    background-color: #6B9080;
    border-radius: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

.about-section-content .about-subheading:hover {
    transform: translateX(10px);
    color: #4D7063;
}

.about-section-content .about-subheading:hover::before {
    transform: translateY(-50%) scale(1.5);
    box-shadow: 0 0 10px rgba(107, 144, 128, 0.5);
}

.about-section-content .about-text {
    position: relative;
    padding: 10px 15px 10px 25px;
    margin-bottom: 30px;
    border-left: 2px dashed rgba(107, 144, 128, 0.3);
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 0 8px 8px 0;
    transition: all 0.3s ease;
    line-height: 1.8;
}

.about-section-content .about-text::before {
    content: '❧';
    position: absolute;
    left: 5px;
    top: 10px;
    color: #6B9080;
    opacity: 0.6;
    font-size: 14px;
    transform: translateX(-5px);
    transition: all 0.3s ease;
}

.about-section-content .about-text:hover {
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 3px 3px 10px rgba(107, 144, 128, 0.1);
    transform: translateX(5px);
    border-left-color: #6B9080;
}

.about-section-content .about-text:hover::before {
    opacity: 1;
    transform: translateX(0) rotate(10deg);
    color: #4D7063;
}

.about-content-section {
    background-color: #F6FFF8;
    position: relative;
}


.about-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.about-heading {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #2D4739;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.5px;
    position: relative;
    display: inline-block;
}

.about-heading::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #6B9080;
    transition: width 0.5s ease;
}

.about-text-container:hover .about-heading::after {
    width: 100%;
}

.about-text {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 25px;
    color: #4D7063;
    font-family: 'Nunito', sans-serif;
    position: relative;
    padding-left: 10px;
    border-left: 2px solid transparent;
    transition: all 0.3s ease;
}

.about-text:hover {
    border-left-color: #CCE3DE;
    padding-left: 15px;
}

/* About Grid */
.about-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
}

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

.about-text-container::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    bottom: 5px;
    width: 4px;
    background: linear-gradient(to bottom, #6B9080, #CCE3DE);
    border-radius: 4px;
}

.about-image-container {
    flex: 1;
    min-width: 300px;
    order: 2;
    display: flex;
    justify-content: center;
    position: relative;
    padding: 10px;
}



.about-profile-image {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 50% 8px 50% 8px;
    box-shadow: 0 10px 20px rgba(107, 144, 128, 0.2);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
    border: 4px solid white;
    outline: 1px solid #6B9080;
}

.about-image-container:hover .about-profile-image {
    transform: scale(1.02) translateY(-5px);
    box-shadow: 0 15px 30px rgba(107, 144, 128, 0.3);
    border-radius: 8px 50% 8px 50%;
}

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

/* Quote Section */
.about-quote-section {
    padding: 60px 0;
    text-align: center;
    position: relative;
    background-color: #CCE3DE;
    margin: 40px 0;
    clip-path: polygon(0 15%, 100% 0, 100% 85%, 0 100%);
}

.about-quote {
    font-size: 1.8rem;
    font-weight: 600;
    font-style: italic;
    color: #2D4739;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.5px;
}

.about-quote:before,
.about-quote:after {
    content: '"';
    font-size: 4rem;
    color: #6B9080;
    opacity: 0.3;
    position: absolute;
}

.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: #2D4739;
    position: relative;
    padding-bottom: 10px;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.5px;
}

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

/* Feature Grid */
.about-features {
    margin: 60px 0 40px;
    position: relative;
    padding-top: 30px;
}

.about-features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #6B9080, transparent, #6B9080);
}

.about-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.about-feature {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(107, 144, 128, 0.15);
    position: relative;
    transition: all 0.4s ease;
    transform: translateY(0);
}

.about-feature:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(107, 144, 128, 0.25);
}

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

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

.about-feature:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(107, 144, 128, 0) 50%, rgba(45, 71, 57, 0.8) 100%);
    pointer-events: none;
    transition: opacity 0.3s ease;
    opacity: 0.7;
}

.about-feature:hover:after {
    opacity: 0.9;
}

/* Social Section */
.about-social {
    text-align: center;
    padding: 40px 0;
    background-color: #F6FFF8;
    border-radius: 8px;
    margin-top: 40px;
    position: relative;
    overflow: hidden;
}

.about-social::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, transparent, #6B9080, transparent);
}

.social-heading {
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.5px;
    font-weight: 600;
    color: #2D4739;
}

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

.social-icon {
    display: inline-block;
    width: 50px;
    height: 50px;
    background-color: #CCE3DE;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    font-size: 1.5rem;
    color: #2D4739;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.social-icon:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #6B9080;
    border-radius: 50%;
    transform: scale(0);
    transition: all 0.4s ease;
    z-index: -1;
}

.social-icon:hover {
    color: #fff;
    transform: translateY(-3px) rotate(360deg);
    box-shadow: 0 5px 15px rgba(107, 144, 128, 0.3);
}

.social-icon:hover:before {
    transform: scale(1);
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 25px;
    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: #FF9E2C;
    color: white;
    border: 2px solid #FF9E2C;
}

.btn-primary:hover {
    background-color: #F08307;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 158, 44, 0.3);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-grid {
        flex-direction: column;
    }
    
    .about-text-container {
        order: 2;
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .about-image-container {
        order: 1;
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 30px;
    }
    
    .about-profile-image {
        max-width: 350px;
        margin: 0 auto;
        display: block;
    }
}

@media (max-width: 768px) {
    .about-feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-quote {
        font-size: 1.5rem;
    }
    
    .about-heading {
        font-size: 1.8rem;
    }
    
    .about-quote:before,
    .about-quote:after {
        font-size: 3rem;
    }
    
    .about-quote:before {
        top: -20px;
        left: -10px;
    }
    
    .about-quote:after {
        bottom: -40px;
        right: -10px;
    }
}

@media (max-width: 576px) {
    .about-feature-grid {
        grid-template-columns: 1fr;
    }
    
    .about-quote {
        font-size: 1.3rem;
        padding: 0 20px;
    }
    
    .about-heading {
        font-size: 1.6rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .social-icons {
        flex-wrap: wrap;
    }
    
    .about-text {
        text-align: left;
    }
    
    .about-intro {
        padding: 0 15px;
    }
}
