/* Meet Dr. Mayegun Section */
.dr-mayegun-section {
    background: linear-gradient(135deg, rgba(47, 122, 62, 0.03), rgba(122, 75, 43, 0.03));
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.dr-mayegun-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/assets/images/pattern.png') repeat;
    opacity: 0.05;
    pointer-events: none;
}

.dr-mayegun-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: stretch;
    position: relative;
    z-index: 1;
}

.dr-mayegun-left {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.dr-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 600px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(47, 122, 62, 0.3);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.dr-image-container:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(47, 122, 62, 0.4);
}

.dr-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.dr-image-container:hover .dr-image {
    transform: scale(1.05);
}

.dr-image-overlay {
    position: absolute;
    bottom: 30px;
    right: 30px;
    z-index: 2;
}

.dr-badge {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-brown));
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 10px 30px rgba(47, 122, 62, 0.5);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.dr-mayegun-right {
    display: flex;
    align-items: center;
}

.dr-content {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.dr-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-green), var(--secondary-brown));
}

.dr-title {
    color: var(--primary-green);
    font-size: 2.8rem;
    margin-bottom: 2.5rem;
    position: relative;
    text-align: center;
    font-weight: 700;
}

.dr-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--secondary-brown));
    border-radius: 2px;
}

.dr-text {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #333;
    flex-grow: 1;
}

.dr-text p {
    margin-bottom: 1.8rem;
    text-align: justify;
    position: relative;
    padding-left: 1rem;
}

.dr-text p::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.8rem;
    width: 3px;
    height: 20px;
    background: linear-gradient(180deg, var(--primary-green), var(--secondary-brown));
    border-radius: 2px;
    opacity: 0.7;
}

.awards-list {
    margin: 2rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(47, 122, 62, 0.05), rgba(122, 75, 43, 0.05));
    border-radius: 15px;
    border-left: 4px solid var(--primary-green);
}

.award-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(47, 122, 62, 0.1);
    transition: all 0.3s ease;
}

.award-item:last-child {
    border-bottom: none;
}

.award-item:hover {
    transform: translateX(10px);
    color: var(--primary-green);
}

.award-item i {
    font-size: 1.3rem;
    color: var(--primary-green);
    width: 30px;
    text-align: center;
}

.award-item span {
    font-size: 1rem;
    line-height: 1.6;
}

.personal-life {
    font-weight: 600;
    color: var(--secondary-brown);
    position: relative;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(122, 75, 43, 0.05), rgba(47, 122, 62, 0.05));
    border-radius: 10px;
    border-left: 4px solid var(--secondary-brown);
    margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .dr-mayegun-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .dr-image-container {
        min-height: 500px;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .dr-content {
        padding: 2.5rem;
    }
    
    .dr-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .dr-mayegun-section {
        padding: 3rem 0;
    }
    
    .dr-mayegun-content {
        gap: 2rem;
    }
    
    .dr-image-container {
        min-height: 400px;
        max-width: 100%;
    }
    
    .dr-content {
        padding: 2rem;
    }
    
    .dr-title {
        font-size: 2.2rem;
        margin-bottom: 2rem;
    }
    
    .dr-text {
        font-size: 1.1rem;
        line-height: 1.8;
    }
    
    .dr-text p {
        margin-bottom: 1.5rem;
        padding-left: 0.8rem;
    }
    
    .awards-list {
        margin: 1.5rem 0;
        padding: 1.5rem;
    }
    
    .award-item {
        padding: 0.8rem 0;
    }
    
    .award-item i {
        font-size: 1.2rem;
        width: 25px;
    }
    
    .award-item span {
        font-size: 0.95rem;
    }
    
    .dr-badge {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .dr-mayegun-section {
        padding: 2rem 0;
    }
    
    .dr-content {
        padding: 1.5rem;
    }
    
    .dr-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .dr-text {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .dr-text p {
        margin-bottom: 1.2rem;
        padding-left: 0.5rem;
    }
    
    .dr-text p::before {
        width: 2px;
        height: 15px;
        top: 0.6rem;
    }
    
    .awards-list {
        margin: 1rem 0;
        padding: 1rem;
    }
    
    .award-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 0.6rem 0;
    }
    
    .award-item i {
        width: auto;
    }
    
    .personal-life {
        padding: 1rem;
        margin-top: 1.5rem;
    }
}

/* Enhanced Animations */
.dr-mayegun-section {
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dr-image-container {
    animation: slideInLeft 1s ease-out 0.3s both;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.dr-content {
    animation: slideInRight 1s ease-out 0.5s both;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* About Page Enhancements */

/* CSS Variables */
:root {
    --text-color: #333;
    --primary-green: #2F7A3E;
    --secondary-brown: #7A4B2B;
}

/* Our Story Section - 2 Column Layout */
.about-section .about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.about-text {
    padding-right: 2rem;
}

.about-text h2 {
    color: var(--primary-green);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-brown));
    border-radius: 2px;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

/* Enhanced Gallery */
.about-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    position: relative;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(47, 122, 62, 0.9), rgba(139, 69, 19, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 2.5rem;
    color: white;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay i {
    transform: translateY(0);
}

/* Enhanced Bio Section */
.bio-section {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: stretch;
    padding: 3rem 0;
}

.bio-column-left {
    display: flex;
    align-items: center;
    justify-content: center;
}

.bio-column-right {
    display: flex;
    align-items: center;
}

.bio-image-container {
    position: relative;
    height: 100%;
    min-height: 600px;
}

.bio-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.bio-image:hover {
    transform: scale(1.02);
}

.bio-image-overlay {
    position: absolute;
    bottom: 20px;
    right: 20px;
}

.bio-badge {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-brown));
    color: white;
    padding: 0.8rem 1.2rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(47, 122, 62, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.bio-title {
    color: var(--primary-green);
    font-size: 2.2rem;
    margin-bottom: 2rem;
    position: relative;
    text-align: center;
    width: 100%;
}

.bio-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-brown));
    border-radius: 2px;
}

.bio-text {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--text-color);
    text-align: justify;
    width: 100%;
}

.bio-text p {
    margin-bottom: 1.5rem;
}

/* Awards Section */
.bio-awards {
    margin-top: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(47, 122, 62, 0.05), rgba(139, 69, 19, 0.05));
    border-radius: 15px;
    border-left: 4px solid var(--primary-green);
    width: 100%;
    clear: both;
}

.awards-title {
    color: var(--primary-green);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.awards-title::before {
    content: '🏆';
    font-size: 1.8rem;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.award-item {
    display: flex;
    align-items: start;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.award-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.award-item i {
    font-size: 1.5rem;
    color: var(--primary-green);
    margin-top: 0.2rem;
}

.award-content h4 {
    color: var(--primary-green);
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.award-content p {
    color: var(--text-color);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Mission Section */
.bio-mission {
    margin: 2rem 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-brown));
    border-radius: 15px;
    color: white;
    text-align: center;
}

.mission-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.mission-title::before {
    content: '🎯';
}

.mission-text {
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.6;
    margin: 0;
}

/* Personal Life Section */
.bio-personal {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    border-left: 4px solid var(--secondary-brown);
}

.bio-personal p {
    margin: 0;
    color: var(--text-color);
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    .about-section .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-gallery {
        grid-template-columns: 1fr 1fr;
    }
    
    .bio-section {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 0;
    }
    
    .bio-image-container {
        min-height: 400px;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .about-text h2,
    .bio-title {
        font-size: 2rem;
    }
    
    .about-gallery {
        grid-template-columns: 1fr;
    }
    
    .awards-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item img {
        height: 250px;
    }
    
    .bio-image-container {
        min-height: 300px;
        max-width: 100%;
    }
}