/* ===== ABOUT PAGE STYLES ===== */

/* Global Styles */
html, body {
    overflow-x: hidden;
    width: 100%;
    scroll-behavior: smooth;
}

/* Ensure all elements stay within viewport */
.container {
    max-width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

/* Extra protection for images */
img {
    max-width: 100%;
    height: auto;
}

/* ===== ABOUT HERO SECTION ===== */
.about-hero {
    padding-top: 76px;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.9) 0%, rgba(52, 152, 219, 0.9) 100%), 
                url('../images/web-development-company.jpg') center/cover no-repeat;
    color: white;
    text-align: center;
}

.about-hero h1,
.about-hero .lead {
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* ===== MISSION, VISION & VALUES CARDS ===== */
.mission-card,
.vision-card,
.values-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
}

.mission-card:hover,
.vision-card:hover,
.values-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
}

.icon-wrapper {
    transition: transform 0.3s ease;
}

.mission-card:hover .icon-wrapper,
.vision-card:hover .icon-wrapper,
.values-card:hover .icon-wrapper {
    transform: scale(1.1);
}

/* ===== PROCESS CARDS ===== */
.process-card {
    transition: transform 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
}

.process-card:hover {
    transform: translateY(-5px);
}

.step-number {
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.process-card:hover .step-number {
    transform: scale(1.1);
}

/* ===== PROGRESS BARS ===== */
.progress {
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    transition: width 1.5s ease-in-out;
}

/* ===== COUNTER ANIMATION ===== */
.counter-value {
    font-weight: 700;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 768px) {
    .about-hero {
        min-height: 70vh;
        text-align: center;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
    
    /* Adjust padding for mobile */
    .py-5 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Staggered animation delays for process cards */
.process-card:nth-child(1) {
    animation-delay: 0.1s;
}

.process-card:nth-child(2) {
    animation-delay: 0.2s;
}

.process-card:nth-child(3) {
    animation-delay: 0.3s;
}

.process-card:nth-child(4) {
    animation-delay: 0.4s;
}

/* ===== SCROLL TO TOP BUTTON ===== */
#scrollToTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    z-index: 1000;
    transition: all 0.3s ease;
}

#scrollToTop:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* ===== CUSTOM UTILITIES ===== */
.min-vh-80 {
    min-height: 80vh;
}

.text-shadow {
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
a:focus,
button:focus {
    outline: 2px solid #0d6efd;
    outline-offset: 2px;
}