/* WhyUs Page Enhanced Styles with Mobile Responsiveness */

.whyus-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
    padding: 80px 0;
    position: relative;
}

.whyus-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2980b9, #e74c3c, #27ae60);
}

.whyus-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.whyus-header {
    text-align: center;
    margin-bottom: 60px;
}

.whyus-header h1 {
    font-size: 3rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    position: relative;
}

.whyus-header h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #e74c3c);
    border-radius: 2px;
}

.whyus-subtitle {
    font-size: 1.3rem;
    color: #5a6c7d;
    max-width: 800px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}

.stats-banner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #3498db;
    display: block;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    color: #5a6c7d;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.reason-card {
    background: white;
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.reason-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2980b9);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.reason-card:hover::before {
    transform: scaleX(1);
}

.reason-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.reason-card.featured {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    transform: scale(1.02);
}

.reason-card.featured h2,
.reason-card.featured p,
.reason-card.featured .reason-details li {
    color: white;
}

.reason-card.featured .reason-icon {
    background: rgba(255, 255, 255, 0.2);
}

.reason-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.reason-card h2 {
    font-size: 1.6rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.3;
}

.reason-card p {
    color: #5a6c7d;
    margin-bottom: 20px;
    line-height: 1.7;
    font-size: 1rem;
}

.reason-details {
    margin-top: 20px;
}

.reason-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.reason-details li {
    color: #27ae60;
    margin-bottom: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.reason-details li::before {
    content: '✓';
    margin-right: 10px;
    font-weight: bold;
    color: #27ae60;
}

.reason-card.featured .reason-details li::before {
    color: #f1c40f;
}

.certifications-section {
    background: white;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.certifications-section h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 600;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    align-items: center;
}

.certification-item {
    text-align: center;
    padding: 20px;
    border: 2px solid #ecf0f1;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.certification-item:hover {
    border-color: #3498db;
    transform: translateY(-3px);
}

.certification-logo {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #3498db;
}

.certification-name {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9rem;
}

.cta-section {
    text-align: center;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 50px 40px;
    border-radius: 16px;
    margin-top: 40px;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(180deg); }
}

.cta-section h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button.primary {
    background: #e74c3c;
    color: white;
}

.cta-button.primary:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
    text-decoration: none;
    color: white;
}

.cta-button.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-button.secondary:hover {
    background: white;
    color: #2c3e50;
    text-decoration: none;
}

/* Mobile Responsiveness */

/* Tablet Styles */
@media screen and (max-width: 1024px) {
    .reasons-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
    }
    
    .whyus-header h1 {
        font-size: 2.5rem;
    }
    
    .reason-card {
        padding: 30px;
    }
    
    .stats-banner {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 20px;
        padding: 25px;
    }
}

/* Mobile Styles */
@media screen and (max-width: 768px) {
    .whyus-section {
        padding: 60px 0 40px 0;
    }
    
    .whyus-container {
        padding: 0 15px;
    }
    
    .whyus-header {
        margin-bottom: 40px;
    }
    
    .whyus-header h1 {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .whyus-subtitle {
        font-size: 1.1rem;
    }
    
    .reasons-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }
    
    .reason-card {
        padding: 25px;
        margin: 0 5px;
    }
    
    .reason-card h2 {
        font-size: 1.4rem;
    }
    
    .reason-card p {
        font-size: 0.95rem;
    }
    
    .reason-icon {
        width: 60px;
        height: 60px;
        font-size: 1.6rem;
    }
    
    .stats-banner {
        grid-template-columns: repeat(2, 1fr);
        padding: 20px;
        margin-bottom: 40px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .certifications-section {
        padding: 30px 20px;
    }
    
    .certifications-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .cta-section {
        padding: 40px 25px;
        margin: 20px 5px 0 5px;
    }
    
    .cta-section h3 {
        font-size: 1.8rem;
    }
    
    .cta-section p {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 1rem;
        width: 100%;
        max-width: 250px;
    }
}

/* Small Mobile Styles */
@media screen and (max-width: 480px) {
    .whyus-section {
        padding: 40px 0 30px 0;
    }
    
    .whyus-container {
        padding: 0 10px;
    }
    
    .whyus-header h1 {
        font-size: 1.8rem;
    }
    
    .whyus-subtitle {
        font-size: 1rem;
    }
    
    .reason-card {
        padding: 20px;
        margin: 0;
    }
    
    .reason-card h2 {
        font-size: 1.3rem;
    }
    
    .reason-icon {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }
    
    .stats-banner {
        grid-template-columns: 1fr;
        padding: 15px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .certifications-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-section {
        padding: 30px 15px;
        margin: 15px 0 0 0;
    }
    
    .cta-section h3 {
        font-size: 1.6rem;
    }
    
    .cta-button {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
}

/* Animation for better UX */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reason-card {
    animation: fadeInUp 0.6s ease-out;
}

.reason-card:nth-child(even) {
    animation-delay: 0.1s;
}

.reason-card:nth-child(odd) {
    animation-delay: 0.2s;
}

.stat-item {
    animation: fadeInUp 0.8s ease-out;
}

.stat-item:nth-child(1) { animation-delay: 0.1s; }
.stat-item:nth-child(2) { animation-delay: 0.2s; }
.stat-item:nth-child(3) { animation-delay: 0.3s; }
.stat-item:nth-child(4) { animation-delay: 0.4s; }

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .whyus-section {
        background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    }
    
    .reason-card {
        background: #34495e;
        border-color: #4a5f7a;
        color: #ecf0f1;
    }
    
    .reason-card h2 {
        color: #ecf0f1;
    }
    
    .reason-card p {
        color: #bdc3c7;
    }
    
    .stats-banner,
    .certifications-section {
        background: #34495e;
        color: #ecf0f1;
    }
    
    .certifications-section h3 {
        color: #ecf0f1;
    }
    
    .certification-item {
        border-color: #4a5f7a;
        background: #2c3e50;
    }
}

/* Print styles */
@media print {
    .whyus-section {
        background: none !important;
        padding: 20px 0;
    }
    
    .reason-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .cta-section {
        display: none;
    }
    
    .stats-banner {
        break-inside: avoid;
    }
}

/* Accessibility improvements */
.reason-card:focus-within {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

.cta-button:focus {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}
