/* ===================================
   Why Choose Us Section - Professional Responsive Design
   =================================== */

/* Section Container */
.why-choose-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.why-choose-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #38b6ff 0%, #004a94 100%);
}

/* Container */
.why-choose-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Header */
.why-choose-header {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInDown 0.8s ease-out;
}

.why-choose-title {
    font-size: 42px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
    line-height: 1.2;
    font-family: var(--cleanin-font-two, 'Exo', sans-serif);
}

.why-choose-subtitle {
    font-size: 18px;
    color: #606060;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    font-family: var(--cleanin-font, 'Heebo', sans-serif);
}

/* Grid Layout */
.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

/* Feature Card */
.why-choose-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.why-choose-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #38b6ff 0%, #004a94 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.why-choose-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(0, 74, 148, 0.15);
    border-color: #38b6ff;
}

.why-choose-card:hover::before {
    transform: scaleX(1);
}

/* Icon Container */
.why-choose-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #38b6ff 0%, #004a94 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.4s ease;
}

.why-choose-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #38b6ff 0%, #004a94 100%);
    opacity: 0.2;
    transform: scale(1.3);
    transition: all 0.4s ease;
}

.why-choose-card:hover .why-choose-icon {
    transform: scale(1.1) rotate(5deg);
}

.why-choose-card:hover .why-choose-icon::after {
    transform: scale(1.5);
    opacity: 0;
}

.why-choose-icon i {
    font-size: 36px;
    color: #ffffff;
    position: relative;
    z-index: 1;
}

/* Card Title */
.why-choose-card-title {
    font-size: 22px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 16px;
    line-height: 1.3;
    font-family: var(--cleanin-font-two, 'Exo', sans-serif);
    transition: color 0.3s ease;
}

.why-choose-card:hover .why-choose-card-title {
    color: #004a94;
}

/* Card Description */
.why-choose-card-desc {
    font-size: 18px;
    color: #606060;
    line-height: 1.7;
    font-family: var(--cleanin-font, 'Heebo', sans-serif);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.why-choose-card {
    animation: fadeInUp 0.6s ease-out backwards;
}

.why-choose-card:nth-child(1) { animation-delay: 0.1s; }
.why-choose-card:nth-child(2) { animation-delay: 0.2s; }
.why-choose-card:nth-child(3) { animation-delay: 0.3s; }
.why-choose-card:nth-child(4) { animation-delay: 0.4s; }
.why-choose-card:nth-child(5) { animation-delay: 0.5s; }
.why-choose-card:nth-child(6) { animation-delay: 0.6s; }

/* ===================================
   Responsive Design - Tablet
   =================================== */
@media screen and (max-width: 992px) {
    .why-choose-section {
        padding: 60px 0;
    }

    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .why-choose-title {
        font-size: 36px;
    }

    .why-choose-subtitle {
        font-size: 16px;
    }

    .why-choose-card {
        padding: 35px 25px;
    }

    .why-choose-icon {
        width: 70px;
        height: 70px;
    }

    .why-choose-icon i {
        font-size: 32px;
    }

    .why-choose-card-title {
        font-size: 20px;
    }

    .why-choose-card-desc {
        font-size: 17px;
    }
}

/* ===================================
   Responsive Design - Mobile
   =================================== */
@media screen and (max-width: 768px) {
    .why-choose-section {
        padding: 50px 0;
    }

    .why-choose-container {
        padding: 0 15px;
    }

    .why-choose-header {
        margin-bottom: 40px;
    }

    .why-choose-title {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .why-choose-subtitle {
        font-size: 15px;
    }

    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }

    .why-choose-card {
        padding: 30px 20px;
        border-radius: 12px;
    }

    .why-choose-icon {
        width: 65px;
        height: 65px;
        margin-bottom: 20px;
    }

    .why-choose-icon i {
        font-size: 28px;
    }

    .why-choose-card-title {
        font-size: 19px;
        margin-bottom: 12px;
    }

    .why-choose-card-desc {
        font-size: 16px;
        line-height: 1.6;
    }
}

/* ===================================
   Responsive Design - Small Mobile
   =================================== */
@media screen and (max-width: 480px) {
    .why-choose-section {
        padding: 40px 0;
    }

    .why-choose-title {
        font-size: 24px;
    }

    .why-choose-subtitle {
        font-size: 14px;
    }

    .why-choose-card {
        padding: 25px 15px;
    }

    .why-choose-icon {
        width: 60px;
        height: 60px;
    }

    .why-choose-icon i {
        font-size: 26px;
    }

    .why-choose-card-title {
        font-size: 18px;
    }

    .why-choose-card-desc {
        font-size: 15px;
    }
}

/* ===================================
   Accessibility Improvements
   =================================== */
.why-choose-card:focus {
    outline: 3px solid #38b6ff;
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .why-choose-card,
    .why-choose-header,
    .why-choose-icon,
    .why-choose-card::before,
    .why-choose-icon::after {
        animation: none !important;
        transition: none !important;
    }
}

/* ===================================
   Print Styles
   =================================== */
@media print {
    .why-choose-section {
        padding: 20px 0;
        background: #ffffff;
    }

    .why-choose-card {
        box-shadow: none;
        border: 1px solid #e0e0e0;
        page-break-inside: avoid;
    }

    .why-choose-card:hover {
        transform: none;
    }
}

/* ===================================
   Why Choose MetroShine Section
   Fully Responsive Design
   Matches Existing Theme Colors
   =================================== */

/* Main Section */
.why-choose-metroshine-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

.why-choose-metroshine-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #004a94 0%, #38b6ff 100%);
}

/* Container */
.why-choose-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Header */
.why-choose-header {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInDown 0.8s ease-out;
}

.why-choose-main-title {
    font-size: 38px;
    font-weight: 700;
    color: #38b6ff;
    margin-bottom: 20px;
    font-family: 'Exo', sans-serif;
    line-height: 1.3;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.why-choose-subtitle {
    font-size: 18px;
    color: #606060;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

/* Features Grid */
.why-choose-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

/* Feature Card */
.why-choose-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border-top: 4px solid #38b6ff;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.why-choose-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(56, 182, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.why-choose-card:hover::before {
    left: 100%;
}

.why-choose-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 74, 148, 0.15);
    border-top-color: #004a94;
}

/* Card Icon */
.why-choose-card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #38b6ff 0%, #004a94 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    box-shadow: 0 8px 24px rgba(56, 182, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.why-choose-card:hover .why-choose-card-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 32px rgba(56, 182, 255, 0.5);
}

.why-choose-card-icon i {
    font-size: 36px;
    color: #ffffff;
}

/* Card Content */
.why-choose-card-content {
    position: relative;
    z-index: 1;
}

.why-choose-card-title {
    font-size: 22px;
    font-weight: 700;
    color: #004a94;
    margin-bottom: 15px;
    font-family: 'Exo', sans-serif;
    line-height: 1.3;
}

.why-choose-card-text {
    font-size: 15px;
    color: #606060;
    line-height: 1.8;
    margin: 0;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   RESPONSIVE STYLES - Why Choose MetroShine
   =================================== */

/* Large Tablets (1024px and below) */
@media (max-width: 1024px) {
    .why-choose-main-title {
        font-size: 34px;
    }

    .why-choose-features-grid {
        gap: 25px;
    }

    .why-choose-card {
        padding: 35px 25px;
    }

    .why-choose-card-title {
        font-size: 20px;
    }

    .why-choose-card-icon {
        width: 70px;
        height: 70px;
    }

    .why-choose-card-icon i {
        font-size: 32px;
    }
}

/* Tablets (768px and below) */
@media (max-width: 768px) {
    .why-choose-metroshine-section {
        padding: 60px 0;
    }

    .why-choose-main-title {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .why-choose-subtitle {
        font-size: 16px;
    }

    .why-choose-header {
        margin-bottom: 40px;
    }

    .why-choose-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-bottom: 20px;
    }

    .why-choose-card {
        padding: 30px 20px;
    }

    .why-choose-card-title {
        font-size: 19px;
    }

    .why-choose-card-text {
        font-size: 14px;
    }

    .why-choose-card-icon {
        width: 65px;
        height: 65px;
        margin-bottom: 20px;
    }

    .why-choose-card-icon i {
        font-size: 30px;
    }
}

/* Mobile Landscape (640px and below) */
@media (max-width: 640px) {
    .why-choose-metroshine-section {
        padding: 50px 0;
    }

    .why-choose-container {
        padding: 0 15px;
    }

    .why-choose-main-title {
        font-size: 24px;
    }

    .why-choose-subtitle {
        font-size: 15px;
    }

    .why-choose-features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .why-choose-card {
        padding: 30px 25px;
    }

    .why-choose-card-title {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .why-choose-card-text {
        font-size: 14px;
        line-height: 1.7;
    }

    .why-choose-card-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }

    .why-choose-card-icon i {
        font-size: 32px;
    }

    .why-choose-card:hover {
        transform: translateY(-5px);
    }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
    .why-choose-metroshine-section {
        padding: 40px 0;
    }

    .why-choose-main-title {
        font-size: 22px;
        line-height: 1.4;
    }

    .why-choose-subtitle {
        font-size: 14px;
    }

    .why-choose-header {
        margin-bottom: 30px;
    }

    .why-choose-card {
        padding: 25px 20px;
    }

    .why-choose-card-title {
        font-size: 18px;
    }

    .why-choose-card-text {
        font-size: 13px;
    }

    .why-choose-card-icon {
        width: 60px;
        height: 60px;
    }

    .why-choose-card-icon i {
        font-size: 28px;
    }
}

/* Extra Small Mobile (360px and below) */
@media (max-width: 360px) {
    .why-choose-main-title {
        font-size: 20px;
    }

    .why-choose-subtitle {
        font-size: 13px;
    }

    .why-choose-card {
        padding: 20px 15px;
    }

    .why-choose-card-title {
        font-size: 17px;
    }

    .why-choose-card-text {
        font-size: 13px;
    }
}

/* Focus Visible for Accessibility */
.why-choose-metroshine-section :focus-visible {
    outline: 2px solid #38b6ff;
    outline-offset: 2px;
}
