/* =============================================
   ABOUT SECTION - CIRCULAR DESIGN
   WITH ANIMATED ARTISTIC BACKGROUND
   ============================================= */

.about-section-modern {
    background: linear-gradient(135deg, #2D3748 0%, #1A202C 100%);
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

/* Animated Decorative curved background elements */
.about-section-modern::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -150px;
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, rgba(246,173,85,0.2), rgba(237,137,54,0.15));
    border-radius: 50%;
    z-index: 0;
    animation: floatBackground 8s ease-in-out infinite;
    will-change: transform;
}

.about-section-modern::after {
    content: '';
    position: absolute;
    bottom: -150px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, rgba(246,173,85,0.15), rgba(237,137,54,0.1));
    border-radius: 50%;
    z-index: 0;
    animation: floatBackgroundReverse 10s ease-in-out infinite;
    will-change: transform;
}

/* Additional animated decorative circles */
.about-modern-container::before {
    content: '';
    position: absolute;
    top: 20%;
    right: 10%;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(246,173,85,0.05));
    border-radius: 50%;
    z-index: 0;
    animation: pulseGlow 7s ease-in-out infinite;
    will-change: transform, opacity;
}

.about-modern-container::after {
    content: '';
    position: absolute;
    bottom: 10%;
    left: 15%;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(246,173,85,0.12), rgba(237,137,54,0.08));
    border-radius: 50%;
    z-index: 0;
    animation: pulseGlow 5s ease-in-out infinite;
    animation-delay: 1s;
    will-change: transform, opacity;
}

@keyframes pulseGlow {
    0%, 100% {
        transform: scale(1) translateY(0);
        opacity: 0.4;
    }
    50% {
        transform: scale(1.3) translateY(-10px);
        opacity: 0.7;
    }
}

/* Keyframe Animations */
@keyframes floatBackground {
    0% {
        transform: translateY(0) translateX(0) scale(1);
    }
    25% {
        transform: translateY(-20px) translateX(10px) scale(1.05);
    }
    50% {
        transform: translateY(-40px) translateX(-10px) scale(1.1);
    }
    75% {
        transform: translateY(-20px) translateX(10px) scale(1.05);
    }
    100% {
        transform: translateY(0) translateX(0) scale(1);
    }
}

@keyframes floatBackgroundReverse {
    0% {
        transform: translateY(0) translateX(0) scale(1) rotate(0deg);
    }
    25% {
        transform: translateY(20px) translateX(-10px) scale(1.05) rotate(5deg);
    }
    50% {
        transform: translateY(40px) translateX(10px) scale(1.1) rotate(10deg);
    }
    75% {
        transform: translateY(20px) translateX(-10px) scale(1.05) rotate(5deg);
    }
    100% {
        transform: translateY(0) translateX(0) scale(1) rotate(0deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.4);
        opacity: 0.8;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-modern-container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* === LEFT SIDE - CIRCULAR IMAGE WITH FRAME === */
.about-media {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    width: 500px;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Animated decorative curved element behind image */
.about-image-wrapper::before {
    content: '';
    position: absolute;
    top: -30px;
    left: -80px;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #F6AD55, #ED8936);
    border-radius: 50% 0% 50% 50%;
    opacity: 0.8;
    z-index: 0;
    animation: floatShape 6s ease-in-out infinite;
    will-change: transform;
}

@keyframes floatShape {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) rotate(3deg);
    }
    50% {
        transform: translateY(-25px) rotate(5deg);
    }
    75% {
        transform: translateY(-15px) rotate(3deg);
    }
}

/* Circular image container */
.about-image {
    width: 450px;
    height: 450px;
    border-radius: 50%;
    object-fit: cover;
    border: 12px solid white;
    box-shadow: 0 25px 60px rgba(0,0,0,0.3);
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.about-image:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}

/* === RIGHT SIDE - TEXT CONTENT === */
.about-content {
    color: white;
    position: relative;
    z-index: 1;
}

.about-content h2 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #F6AD55, #FFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInUp 0.8s ease;
}

.about-subtitle {
    font-size: 1.8rem;
    color: #F6AD55;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: fadeInUp 1s ease;
}

.about-description {
    font-size: 1.4rem;
    color: rgba(255,255,255,0.9);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 550px;
    animation: fadeInUp 1.2s ease;
}

/* Fade in animation for text */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Buttons */
.about-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    animation: fadeInUp 1.4s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #F6AD55, #ED8936);
    color: white;
    padding: 1.2rem 3rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 10px 30px rgba(246,173,85,0.4);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(246,173,85,0.5);
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 1.2rem 3rem;
    border: 2px solid white;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background: white;
    color: #2D3748;
    transform: translateY(-5px);
}

/* =============================================
   TABLET RESPONSIVE (768px - 1024px)
   ============================================= */
   
@media (max-width: 1024px) {
    .about-section-modern {
        padding: 5rem 2rem;
    }
    
    .about-modern-container {
        gap: 3rem;
        padding-left: 5rem;
    }
    
    .about-image-wrapper {
        width: 400px;
        height: 400px;
    }
    
    .about-image-wrapper::before {
        width: 350px;
        height: 350px;
        left: -60px;
    }
    
    .about-image {
        width: 350px;
        height: 350px;
        border: 10px solid white;
    }
    
    .about-content h2 {
        font-size: 2.8rem;
    }
    
    .about-subtitle {
        font-size: 1.5rem;
    }
    
    .about-description {
        font-size: 1.05rem;
        padding: 3rem 0;
    }
}

/* =============================================
   MOBILE RESPONSIVE (MAX 768px)
   OPTIMIZED FOR BEST MOBILE EXPERIENCE
   ============================================= */
@media (max-width: 768px) {
    .about-section-modern {
        padding: 4rem 2rem;
        background: linear-gradient(135deg, #2D3748 0%, #1A202C 100%);
    }
    
    /* Smaller animated backgrounds on mobile */
    .about-section-modern::before {
        width: 350px;
        height: 350px;
        top: -80px;
        left: -100px;
    }
    
    .about-section-modern::after {
        width: 400px;
        height: 400px;
        bottom: -100px;
        right: -80px;
    }
    
    /* Stack Vertically - CENTERED */
    .about-modern-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
        max-width: 600px;
        padding: 0 1.5rem;
    }
    
    .about-modern-container::before,
    .about-modern-container::after {
        display: none; /* Hide extra circles on mobile */
    }
    
    /* === IMAGE SECTION - TOP, CENTERED === */
    .about-media {
        order: 1;
        width: 100%;
        justify-content: center;
    }
    
    .about-image-wrapper {
        width: 100%;
        max-width: 350px;
        height: 350px;
        margin: 0 auto;
    }
    
    /* Orange curved shape - smaller on mobile */
    .about-image-wrapper::before {
        width: 280px;
        height: 280px;
        top: -20px;
        left: 50%;
        transform: translateX(-60%);
        opacity: 0.7;
    }
    
    .about-image {
        width: 320px;
        height: 320px;
        border: 10px solid white;
    }
    
    /* === TEXT CONTENT - BELOW IMAGE, CENTERED === */
    .about-content {
        order: 2;
        text-align: center;
        max-width: 100%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .about-content h2 {
        font-size: 2.7rem;
        text-align: center;
        margin-bottom: 0.75rem;
        width: 100%;
        line-height: 1.15;
        margin-right: -75px;
    }
    
    .about-subtitle {
        font-size: 1.2rem;
        text-align: center;
        margin-bottom: 1.25rem;
        width: 100%;
        margin-right: -75px;
    }
    
    .about-description {
        font-size: 1.5rem;
        text-align: center;
        margin-left: 50px;
        margin-right:  -25px;
        max-width: 100%;
        line-height: 1.65;
        padding: 0 1.5rem;
        width: 100%;
        position: relative;
        
    }
    
    /* Buttons - Stacked vertically, centered */
    .about-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-top: 1.75rem;
        width: 100%;
        margin-right: -75px;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 280px;
        text-align: center;
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

/* =============================================
   SMALL MOBILE (MAX 480px)
   ============================================= */
@media (max-width: 480px) {
    .about-section-modern {
        padding: 3.5rem 1.5rem;
    }
    
    .about-section-modern::before {
        width: 250px;
        height: 250px;
    }
    
    .about-section-modern::after {
        width: 300px;
        height: 300px;
    }
    
    .about-modern-container {
        gap: 2.5rem;
        max-width: 100%;
        padding: 0 1rem;
    }
    
    /* Image - Optimized for small screens */
    .about-image-wrapper {
        max-width: 300px;
        height: 300px;
    }
    
    .about-image-wrapper::before {
        width: 240px;
        height: 240px;
        top: -15px;
        left: 50%;
        transform: translateX(-55%);
    }
    
    .about-image {
        width: 280px;
        height: 280px;
        border: 8px solid white;
    }
    
    /* Text - Smaller but still readable */
    .about-content {
        padding: 0 1rem;
    }
    
    .about-content h2 {
        font-size: 1.9rem;
        letter-spacing: -0.5px;
        line-height: 1.1;
        margin-bottom: 0.65rem;
    }
    
    .about-subtitle {
        font-size: 1rem;
        letter-spacing: 0.5px;
        margin-bottom: 1rem;
    }
    
    .about-description {
        font-size: 1rem;
        padding: 0 1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
        text-align: center;
    }
    
    /* Buttons - Full width on very small screens */
    .about-buttons {
        gap: 0.85rem;
        margin-top: 1.5rem;
        padding: 0 1rem;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 100%;
        padding: 0.95rem 2rem;
        font-size: 0.95rem;
    }
}

/* =============================================
   EXTRA SMALL DEVICES (MAX 360px)
   ============================================= */
@media (max-width: 360px) {
    .about-section-modern {
        padding: 3rem 1.25rem;
    }
    
    .about-section-modern::before {
        width: 200px;
        height: 200px;
    }
    
    .about-section-modern::after {
        width: 250px;
        height: 250px;
    }
    
    .about-modern-container {
        gap: 2rem;
        padding: 0 0.75rem;
    }
    
    /* Image - Smaller for very small screens */
    .about-image-wrapper {
        max-width: 260px;
        height: 260px;
    }
    
    .about-image-wrapper::before {
        width: 210px;
        height: 210px;
        top: -12px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .about-image {
        width: 240px;
        height: 240px;
        border: 6px solid white;
    }
    
    /* Text - Compact but clear */
    .about-content {
        padding: 0 0.75rem;
    }
    
    .about-content h2 {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }
    
    .about-subtitle {
        font-size: 1rem;
        margin-bottom: 1.25rem;
    }
    
    .about-description {
        font-size: 0.95rem;
        padding: 0 0.75rem;
        line-height: 1.6;
    }
    
    /* Buttons - Optimized spacing */
    .about-buttons {
        gap: 0.9rem;
        margin-top: 1.5rem;
        padding: 0 0.75rem;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 0.9rem 1.75rem;
        font-size: 0.95rem;
    }
}

/* =============================================
   LANDSCAPE MOBILE (Small Height)
   ============================================= */
@media (max-width: 768px) and (max-height: 500px) {
    .about-section-modern {
        padding: 2rem 1.5rem;
    }
    
    .about-modern-container {
        gap: 2rem;
    }
    
    .about-image-wrapper {
        max-width: 200px;
        height: 200px;
    }
    
    .about-image {
        width: 180px;
        height: 180px;
    }
    
    .about-content h2 {
        font-size: 1.6rem;
    }
    
    .about-subtitle {
        font-size: 0.95rem;
    }
    
    .about-description {
        font-size: 0.9rem;
    }
}