/* 
 * About Page Premium Styles
 * SkyDreamix Tech Solutions
 */

.about-hero {
    background: linear-gradient(rgba(10, 15, 30, 0.75), rgba(10, 15, 30, 0.75)), url('../images/webapp-hero-v1.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 200px 0 150px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.about-hero-label {
    background: #2ea4d6;
    backdrop-filter: blur(5px);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 1px solid rgba(46, 163, 214, 0.3);
}

.about-hero h1 {
    font-size: 4rem;
    font-weight: 680;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 25px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.about-hero h1 span {
    color: var(--primary-color);
}

.about-hero p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 800px;
    line-height: 1.6;
    margin: 0 auto;
}

.mv-image-box {
    display: flex;
    justify-content: center;
}

/* Section Common Styling */
.section-header {
    margin-bottom: 60px;
}

.section-label {
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 680;
    color: #0f172a;
}

/* Our Story Section */
.story-section {
    padding: 50px 0px;
}

.story-content p {
    font-size: 1.1rem;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 20px;
}

.story-highlight {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.2rem;
    display: block;
    margin-top: 30px;
}


/* Core Values Grid */
.values-section {
    padding: 50px 0;
    background: linear-gradient(to bottom, #ffffff, #f8fafc);
    position: relative;
}

.value-card {
    padding: 40px 30px;
    border-radius: 32px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.05);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(46, 163, 214, 0.03) 0%, rgba(46, 163, 214, 0) 100%);
    opacity: 0;
    transition: all 0.5s ease;
    z-index: -1;
}

.value-card:hover {
    transform: translateY(-15px);
    border-color: rgba(46, 163, 214, 0.2);
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.08);
}

.value-card:hover::before {
    opacity: 1;
}

.value-icon-box {
    width: 80px;
    height: 80px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 30px;
    transition: all 0.5s ease;
    position: relative;
}

.v-icon-1 {
    background: rgba(46, 163, 214, 0.1);
    color: #2ea3d6;
}

.v-icon-2 {
    background: rgba(14, 165, 233, 0.1);
    color: #0ea5e9;
}

.v-icon-3 {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.v-icon-4 {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.value-card:hover .value-icon-box {
    transform: rotateY(180px) scale(1.1);
}

.value-card h3 {
    font-size: 1.4rem;
    font-weight: 750;
    margin-bottom: 18px;
    color: #0f172a;
    transition: all 0.3s ease;
}

.value-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0;
    color: #64748b;
}

/* Floating Animation for Icons */
@keyframes floatIcon {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.value-icon-box {
    animation: floatIcon 4s ease-in-out infinite;
}

.v-icon-2 {
    animation-delay: 1s;
}

.v-icon-3 {
    animation-delay: 2s;
}

.v-icon-4 {
    animation-delay: 3s;
}


/* Mission & Vision Section */
.mission-vision-section {
    padding: 50px 0;
    background: #ffffff;
    overflow: hidden;
}

.mv-content p {
    font-size: 1.1rem;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 20px;
}

.mv-image-box {
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.mv-image-box img {
    width: 100%;
    height: auto;
    transition: all 0.7s ease;
}





.mv-image-box:hover::after {
    opacity: 1;
}

@media (max-width: 991px) {
    .about-hero h1 {
        font-size: 2.5rem;
    }

    .story-section,
    .mission-vision-section {
        text-align: center;
        padding: 50px 15px; /* Added lateral padding */
    }

    .section-header {
        text-align: center;
        margin-bottom: 40px;
    }

    .mv-content {
        margin-bottom: 35px;
        padding-left: 0 !important;
    }

    .story-content {
        margin-bottom: 30px;
    }

    .flex-row-reverse {
        flex-direction: column-reverse !important;
    }

    .journy-image, 
    .mv-image-box {
        display: flex;
        justify-content: center;
        margin: 0 auto;
    }

    .cta-box h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .mv-image-box {
        width: 85%;
        margin: 0 auto;
    }

    .mv-content h2 {
        font-size: 1.8rem;
    }

    .values-section .section-header {
        text-align: center;
    }

    .value-card {
        text-align: center;
    }

    .value-icon-box {
        margin-left: auto;
        margin-right: auto;
    }

    .about-hero h1 {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .about-hero {
        padding: 120px 0 60px;
    }

    .about-hero h1 {
        font-size: 1.8rem;
    }

    .about-hero p {
        font-size: 1rem;
    }

    .mv-image-box {
        width: 100%;
    }

    .cta-box {
        padding: 50px 25px;
    }
}