@import url("root.css");
.about {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5rem 10%;
    gap: 6rem;
    flex-wrap: wrap;
    max-height: 60vh;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 0.3s;
    flex-direction: row-reverse;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-content {
    max-width: 700px;
    flex: 1 1 800px;
    animation: fadeInText 1s ease-out forwards;
    animation-delay: 0.5s;
    opacity: 0;
    transform: translateY(20px);
}

.about-content h1 {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.about-content p {
    font-size: 1.8rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.about-btn {
    padding: 1rem 2.5rem;
    background-color: white;
    color: var(--secondary-color);
    border: none;
    border-radius: 8px;
    font-size: 1.6rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 5px 15px rgba(237, 235, 235, 0.15);
}

.about-btn:hover {
    transform: translateY(-3px) scale(1.05);
    background: blue;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.about-image {
    flex: 1 1 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInImg 1.2s ease-in-out forwards;
    animation-delay: 0.7s;
    opacity: 0;
    transform: scale(0.95);
}

.about-image img {
    width: 100%;
    max-width: 450px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease-in-out;
}

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

@keyframes fadeInText {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInImg {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}


/* 📱 Responsive Design */

@media (max-width: 1024px) {
    .about {
        padding: 4rem 8%;
        gap: 4rem;
    }
    .about-content h1 {
        font-size: 3.8rem;
    }
    .about-content p {
        font-size: 1.6rem;
    }
    .about-image img {
        max-width: 380px;
        display: none;
    }
}

@media (max-width: 768px) {
    .about {
        text-align: center;
        max-height: none;
    }
    .about-content h1 {
        font-size: 2.2rem;
    }
    .about-content p {
        font-size: 1.4rem;
    }
    .about-image img {
        max-width: 300px;
        display: none;
    }
    .about-btn {
        margin: 0 auto;
        display: block;
    }
}

@media (max-width: 480px) {
    .about {
        padding: 3rem 2rem;
        gap: 2rem;
    }
    .about-content h1 {
        font-size: 2rem;
    }
    .about-content p {
        font-size: 1.2rem;
    }
    .about-image img {
        max-width: 220px;
        display: none;
    }
    .about-btn {
        font-size: 1.2rem;
        padding: 0.8rem 1.8rem;
    }
}