/* Main Consolidated CSS for Rapid IT Website */
/* This file consolidates all custom styles to prevent conflicts and overlaps */

/* Hero Section Styles */
.hero-area {
    background: linear-gradient(135deg, rgba(43, 57, 144, 0.85) 0%, rgba(55, 65, 90, 0.9) 100%);
}

.hero-area h1 {
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-area p {
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-buttons {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.hero-content {
    text-align: center;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.hero-area .btn-outline-light {
    color: #000000;
    border-color: #ffffff;
    font-size: 18px;
    padding: 16px 40px;
    margin: 0 10px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* Feature Box Styles */
.feature-box-ultra-white {
    background: #ffffff;
    padding: 45px 40px;
    border-radius: 15px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    margin-bottom: 30px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    height: 420px;
    min-height: 420px;
    max-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    overflow: hidden;
}

.feature-box-ultra-white:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.15);
    border: 3px solid rgba(0, 0, 0, 0.1);
}

.feature-box-ultra-white .feature-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(43, 57, 144, 0.1), rgba(74, 144, 226, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.feature-box-ultra-white:hover .feature-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
}

.feature-box-ultra-white .feature-icon i {
    font-size: 3rem;
    color: #4A90E2;
    transition: all 0.3s ease;
    z-index: 2;
    position: relative;
}

.feature-box-ultra-white h4 {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0 0 25px 0;
    color: #2b3990;
    text-shadow: none;
    line-height: 1.3;
    flex-shrink: 0;
    min-height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 10px;
}

.feature-box-ultra-white p {
    font-size: 1rem;
    color: #555555;
    line-height: 1.6;
    margin: 0;
    font-weight: 400;
    flex-grow: 1;
    display: flex;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

/* Service Box Styles */
.service-box,
.service-box:hover {
    transform: none;
    transition: none;
}

.service-box {
    margin-bottom: 30px;
}

/* Section Spacer */
.section-spacer {
    height: 60px;
    width: 100%;
    display: block;
    clear: both;
}

/* About Section Styles */
.about-content-centered {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.section-badge-center {
    display: inline-block;
    background-color: rgba(43, 57, 144, 0.1);
    color: #2b3990;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 5px 15px;
    border-radius: 20px;
    margin-bottom: 15px;
}

.lead-text-center {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 25px;
    line-height: 1.6;
}

.description-text {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.7;
}

/* CTA Button Styles */
.cta-buttons-centered {
    display: flex;
    gap: 25px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

.cta-buttons-centered .btn {
    display: inline-block;
    font-weight: 600;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    border: 2px solid transparent;
    padding: 16px 36px;
    font-size: 1.2rem;
    line-height: 1.5;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin: 0 15px 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    text-decoration: none;
}

.cta-buttons-centered .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
    text-decoration: none;
}

.cta-buttons-centered .btn-white {
    background-color: #ffffff;
    color: #2b3990;
    border-color: #ffffff;
}

.cta-buttons-centered .btn-white:hover {
    background-color: #f8f9fa;
    color: #2b3990;
    border-color: #f8f9fa;
}

.cta-buttons-centered .btn-outline-light {
    background-color: transparent;
    color: #ffffff;
    border-color: #ffffff;
    border-width: 2px;
}

.cta-buttons-centered .btn-outline-light:hover {
    background-color: #ffffff;
    color: #2b3990;
    border-color: #ffffff;
}

/* Vision Mission Styles */
.vision-mission-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 40px;
    margin-top: 30px;
}

.vm-item {
    padding: 25px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid transparent;
}

.vm-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.vm-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.vm-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2b3990, #00A551);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.vm-item h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2b3990;
    margin: 0;
}

.vm-item p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .feature-boxes-area {
        margin-top: -60px;
    }
    
    .feature-box-ultra-white {
        margin-bottom: 20px;
        padding: 30px 20px;
        min-height: 320px;
        height: 320px;
        max-height: 320px;
    }
    
    .feature-box-ultra-white .feature-icon {
        font-size: 3.5rem;
        margin-bottom: 20px;
    }
    
    .feature-box-ultra-white h4 {
        font-size: 1.4rem;
        margin-bottom: 15px;
        min-height: 55px;
    }
    
    .feature-box-ultra-white p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .feature-box-ultra-white:hover {
        transform: translateY(-5px);
    }
    
    .about-content-centered h2 {
        font-size: 1.6rem;
        line-height: 1.3;
    }
    
    .lead-text-center {
        font-size: 1.05rem;
    }
    
    .description-text {
        font-size: 1rem;
    }
    
    .cta-buttons-centered {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons-centered .btn {
        width: 100%;
    }
    
    .section-spacer {
        height: 30px;
    }
}

@media (min-width: 769px) and (max-width: 991px) {
    .feature-box-ultra-white {
        height: 400px;
        min-height: 400px;
        max-height: 400px;
    }
}

@media (max-width: 991px) {
    .about-content-enhanced {
        padding-left: 0;
        margin-top: 40px;
    }
}
