/* about.css - About Section Styles */

.about-section {
    padding: var(--section-padding);
    position: relative;
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* About Content */
.about-content {
    z-index: 2;
}

.about-content .section-header {
    text-align: left;
    margin-bottom: 30px;
}

.about-description {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 40px;
    color: #1e293b !important; /* Same as services section description */
    font-weight: 500 !important;
    opacity: 1 !important;
}

/* About Stats - Blue Theme (Same as regular service cards) */
.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.stat-box {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition-smooth);
    background: linear-gradient(135deg,
        rgba(59, 130, 246, 0.25),
        rgba(59, 130, 246, 0.20),
        rgba(59, 130, 246, 0.15)
    ) !important;
    border: 2px solid rgba(59, 130, 246, 0.4) !important;
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.3) !important;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.stat-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(59, 130, 246, 0.08));
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.4) !important;
    border-color: rgba(59, 130, 246, 0.55) !important;
}

.stat-box:hover::before {
    opacity: 1;
}

.stat-box i {
    font-size: 24px;
    color: #0f172a !important;
    font-weight: 600 !important;
    position: relative;
    z-index: 2;
}

.stat-box div {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a !important; /* Same dark color as service cards */
    font-family: var(--font-display);
}



/* Only target stat labels in the about section */
.about-section .stat-label {
    font-size: 12px;
    color: #1e293b !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500 !important;
    text-align: left; /* Left align the text */
    line-height: 1.2; /* Control line spacing */
}

.about-section .stat-box div {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Left align the entire text block */
    position: relative;
    z-index: 2;
}

/* About Values - Pink Theme (Same as featured service card) */
.about-values h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #0f172a !important;
    font-weight: 700 !important;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.value-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: linear-gradient(135deg,
        rgba(244, 114, 182, 0.25),
        rgba(244, 114, 182, 0.20),
        rgba(244, 114, 182, 0.15)
    ) !important;
    border: 2px solid rgba(244, 114, 182, 0.4) !important;
    box-shadow: 0 0 25px rgba(244, 114, 182, 0.3) !important;
    border-radius: 15px;
    transition: var(--transition-smooth);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.value-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(244, 114, 182, 0.08));
    border-radius: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(244, 114, 182, 0.4) !important;
    border-color: rgba(244, 114, 182, 0.55) !important;
}

.value-item:hover::before {
    opacity: 1;
}

.value-item i {
    font-size: 24px;
    color: #0f172a !important;
    font-weight: 600 !important;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
}

.value-item:hover i {
    transform: scale(1.2) rotate(10deg);
}

.value-item span {
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    color: #1e293b !important; /* Same as service card text */
    position: relative;
    z-index: 2;
}

/* About Visual - Centered and aligned with slight downward positioning */
.about-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 70px; /* Bring video down a bit */
}

.team-showcase {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    height: 400px; /* Reduced height for better proportion */
    width: 100%;
    max-width: 500px; /* Control max width */
}

.team-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    background: linear-gradient(135deg, var(--penn-blue), var(--mustard));
}

.team-showcase:hover .team-image {
    transform: scale(1.05);
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-showcase:hover .team-overlay {
    opacity: 1;
}

/* Play Button - Pink Color */
.play-btn {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #F472B6, #EC4899) !important; /* Pink gradient */
    border: none;
    border-radius: 50%;
    color: white !important;
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(244, 114, 182, 0.4) !important;
}

.play-btn:hover {
    background: linear-gradient(135deg, #EC4899, #BE185D) !important;
    transform: scale(1.1);
    box-shadow: 0 10px 40px rgba(244, 114, 182, 0.6) !important;
}

.team-overlay span {
    color: #F8FAFC !important; /* Light blue-white text - same as services badge */
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) !important; /* Add shadow for better readability */
}

/* Experience Badge - Removed */
/* Tablet improvements */
@media (max-width: 1024px) {
    .about-wrapper {
        gap: 50px;
    }

    .about-stats {
        gap: 18px;
    }

    .stat-box {
        padding: 18px;
    }

    .stat-value {
        font-size: 22px;
    }

    .values-grid {
        gap: 18px;
    }

    .value-item {
        padding: 18px;
    }
}
/* Responsive */
@media (max-width: 768px) {
    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-content .section-header {
        text-align: center;
    }

    /* KEEP 3 columns for stats - DO NOT change to single column */
    .about-stats {
        grid-template-columns: repeat(3, 1fr); /* Keep side by side */
        gap: 15px; /* Reduce gap for mobile */
        margin-bottom: 35px; /* Reduce margin */
    }

    /* Make stat boxes more compact */
    .stat-box {
        padding: 15px 12px; /* Compact padding */
        gap: 10px; /* Smaller gap */
        border-radius: 10px; /* Smaller radius */
    }

    .stat-box i {
        font-size: 20px; /* Smaller icon */
    }

    .stat-value {
        font-size: 18px; /* Smaller value */
        font-weight: 600; /* Reduce weight */
    }

    .about-section .stat-label {
        font-size: 10px; /* Smaller label */
        letter-spacing: 0.5px; /* Reduce spacing */
    }

    /* Compact values grid */
    .values-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on mobile */
        gap: 15px; /* Smaller gap */
    }

    .value-item {
        padding: 15px; /* Compact padding */
        gap: 8px; /* Smaller gap */
        border-radius: 12px; /* Smaller radius */
    }

    .value-item i {
        font-size: 20px; /* Smaller icon */
    }

    .value-item span {
        font-size: 12px; /* Smaller text */
    }

    /* Compact team showcase */
    .team-showcase {
        height: 300px; /* Smaller height */
        margin-top: 50px; /* Reduce top margin */
    }

    .play-btn {
        width: 60px; /* Smaller play button */
        height: 60px;
        font-size: 20px;
    }

    .team-overlay span {
        font-size: 16px; /* Smaller text */
        letter-spacing: 1px; /* Reduce spacing */
    }
}

@media (max-width: 640px) {
    .about-stats {
        grid-template-columns: repeat(3, 1fr); /* Keep 3 columns */
        gap: 10px; /* Minimal gap */
        margin-bottom: 30px;
    }

    /* Very compact stat boxes */
    .stat-box {
        padding: 12px 8px; /* Very compact */
        gap: 8px; /* Minimal gap */
        border-radius: 8px;
        flex-direction: column; /* Stack icon and text vertically for more space */
        align-items: center; /* Center everything */
        text-align: center; /* Center text */
    }

    .stat-box i {
        font-size: 18px; /* Smaller icon */
        margin-bottom: 5px; /* Space below icon */
    }

    .stat-value {
        font-size: 16px; /* Smaller value */
        margin-bottom: 2px; /* Minimal margin */
    }

    .about-section .stat-label {
        font-size: 9px; /* Very small label */
        letter-spacing: 0.3px;
        line-height: 1.1; /* Tight line height */
    }

    /* Adjust div alignment for vertical layout */
    .about-section .stat-box div {
        align-items: center; /* Center align for vertical layout */
        text-align: center; /* Center text */
    }

    /* Values grid - keep 2 columns but smaller */
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .value-item {
        padding: 12px;
        gap: 6px;
    }

    .value-item i {
        font-size: 18px;
    }

    .value-item span {
        font-size: 11px;
    }

    .team-showcase {
        height: 250px; /* Even smaller */
        margin-top: 40px;
    }

    .play-btn {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }

    .team-overlay span {
        font-size: 14px;
        letter-spacing: 0.5px;
    }
}

/* Extra small mobile */
@media (max-width: 480px) {
    .about-section {
        padding: 40px 0; /* Reduce section padding */
    }

    /* Ultra-compact stats - STILL side by side */
    .about-stats {
        grid-template-columns: repeat(3, 1fr); /* Keep 3 columns */
        gap: 8px; /* Minimal gap */
        margin-bottom: 25px;
    }

    .stat-box {
        padding: 10px 6px; /* Ultra-compact */
        gap: 6px;
        border-radius: 6px;
    }

    .stat-box i {
        font-size: 16px; /* Very small icon */
    }

    .stat-value {
        font-size: 14px; /* Very small value */
    }

    .about-section .stat-label {
        font-size: 8px; /* Tiny label */
        letter-spacing: 0.2px;
    }

    .values-grid {
        gap: 10px;
    }

    .value-item {
        padding: 10px;
        gap: 5px;
    }

    .value-item i {
        font-size: 16px;
    }

    .value-item span {
        font-size: 10px;
    }

    .team-showcase {
        height: 200px;
        margin-top: 30px;
    }

    .play-btn {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }

    .team-overlay span {
        font-size: 12px;
        letter-spacing: 0.3px;
    }

    .about-description {
        font-size: 16px; /* Smaller description */
        margin-bottom: 30px;
    }

    .about-values h3 {
        font-size: 18px; /* Smaller heading */
        margin-bottom: 15px;
    }
}

/* Ultra small screens */
@media (max-width: 360px) {
    /* Even more compact stats but STILL 3 columns */
    .about-stats {
        gap: 6px;
    }

    .stat-box {
        padding: 8px 4px;
        gap: 4px;
    }

    .stat-box i {
        font-size: 14px;
    }

    .stat-value {
        font-size: 12px;
    }

    .about-section .stat-label {
        font-size: 7px;
        letter-spacing: 0.1px;
    }

    .value-item {
        padding: 8px;
    }

    .value-item i {
        font-size: 14px;
    }

    .value-item span {
        font-size: 9px;
    }
}