/* GENERAL */
section {
    padding: 80px 20px;
    background-color: grey;
}

h2,
h3 {
    color: #111;
}

p {
    /* color: #555  ; */
    line-height: 1.7;
}

/* ABOUT SECTION */
.about-section {
    position: relative;
    min-height: 100vh;
    background: url("./images/image-Picsart-AiImageEnhancer (1).png") no-repeat center;
    background-size: cover;
    display: flex;
    align-items: center;
    z-index: 1;
}

/* Dark overlay for readability */
.about-overlay {
    position: absolute;
    inset: 0;
    background: rgba(218, 217, 217, 0.6);
    z-index: 1;
}

.about-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: auto;
    display: flex;
    gap: 50px;
    align-items: center;
    justify-content: space-between
        /* padding: 80px 20px; */
}

/* TEXT COLOR FIX */
.about-content {
    flex: 1;
    color: black;
}

.about-content h2 {
    color: red;
}

.about-content p {
    color: black;
}

.about-subtitle {
    color: black;
    font-size: 25px;
    font-weight: 600;
    line-height: 2.4;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
}

/* RESPONSIVE */
@media (max-width: 991px) {
    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .about-section {
        min-height: auto;
    }
}

/* MISSION & VISION */
.mv-section {
    padding: 80px 20px;
    background: #f7f9fc;
}

.mv-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    gap: 30px;
    justify-content: center;
}

.mv-card {
    background: #fff;
    padding: 40px 30px;
    text-align: center;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    flex: 1;
    max-width: 500px;
}

.mv-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, #007bff, #00c6ff);
    transition: 0.5s;
    z-index: 0;
}

.mv-card:hover::before {
    left: 0;
}

.mv-card * {
    position: relative;
    z-index: 1;
}

.mv-card:hover {
    transform: translateY(-12px);
}

.mv-card:hover h3,
.mv-card:hover p,
.mv-card:hover .mv-icon {
    color: #fff;
}

.mv-icon {
    font-size: 50px;
    margin-bottom: 20px;
    transition: 0.4s;
}

.mv-card h3 {
    font-size: 26px;
    margin-bottom: 15px;
    color: #222;
    transition: 0.4s;
}

.mv-card p {
    font-size: 16px;
    color: #555;
    line-height: 1.7;
    transition: 0.4s;
}

/* 📱 Responsive */
@media (max-width: 768px) {
    .mv-container {
        flex-direction: column;
    }

    .mv-card {
        max-width: 100%;
    }
}

/* SKILLS */
.service-section {
    padding: 80px 20px;
    background: #fff;
}

.service-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 50px;
}

.service-content {
    flex: 1;
}

.service-content h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #111;
}

.service-content p {
    font-size: 16px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 40px;
}

/* Skill Bar */
.skill {
    margin-bottom: 30px;
}

.skill-title {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    margin-bottom: 8px;
    color: red;
}

.skill-bar {
    width: 100%;
    height: 6px;
    background: #ddd;
    border-radius: 10px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    width: 0;
    background: red;
    border-radius: 10px;
    animation-duration: 2s;
    animation-fill-mode: forwards;
}

/* Animations */
.progress-95 {
    animation-name: progress95;
}

.progress-80 {
    animation-name: progress80;
}

.progress-75 {
    animation-name: progress75;
}

@keyframes progress95 {
    to {
        width: 95%;
    }
}

@keyframes progress80 {
    to {
        width: 80%;
    }
}

@keyframes progress75 {
    to {
        width: 75%;
    }
}

/* Image */
.service-image {
    flex: 1;
}

.service-image img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
}

/* Responsive */
@media (max-width: 900px) {
    .service-container {
        flex-direction: column;
    }

    .service-content h2 {
        font-size: 32px;
    }
}
