/* Home Page Specific Styles */

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="dots" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="2" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="1000" height="1000" fill="url(%23dots)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    line-height: 1.2;
    color: #FFFDD0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    min-width: 100px;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: white;
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 1rem 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.hero-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
}

.hero-icon {
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.2);
    animation: float 6s ease-in-out infinite;
}

.hero-icon i {
    font-size: 8rem;
    color: white;
    opacity: 0.9;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Features Section */
.features-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    margin-top: -60px;
    position: relative;
    z-index: 2;
}

/* Industry Solutions & Trust Sections */
.why-choose-section,
.trust-section {
    padding: 120px 0;
    background: white;
}

.trust-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

/* Trust Metrics */
.trust-metric {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.trust-metric:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.trust-number {
    font-size: 3rem;
    font-weight: 800;
    color: #2c5aa0;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.trust-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.trust-metric p {
    color: #6c757d;
    margin: 0;
    font-size: 0.95rem;
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-title h2 {
    font-size: 3rem;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

/* Feature Cards - Override from main.css for home page */
.feature-card {
    background: white;
    border-radius: 25px;
    padding: 50px 40px;
    text-align: center;
    height: 100%;
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
    transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.feature-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 80px rgba(0,0,0,0.2);
}

.feature-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
}

.feature-card p {
    color: #6c757d;
    margin-bottom: 25px;
    line-height: 1.7;
}

/* Feature Icons */
.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin: 0 auto 25px;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

/* Feature Lists */
.feature-list {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-bottom: 30px;
}

.feature-list li {
    padding: 8px 0;
    color: #2c3e50;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.feature-list .fas.fa-check {
    color: #28a745;
    margin-right: 10px;
    font-weight: bold;
    min-width: 20px;
}

/* Benefit Cards - Ultra specific override for main.css conflicts */
body.page-content .why-choose-section .col-lg-3 .benefit-card .benefit-icon {
    width: 70px !important;
    height: 70px !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    background-color: #667eea !important;
    border-radius: 15px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 1.5rem !important;
    transition: transform 0.3s ease !important;
    position: relative !important;
    font-size: 2rem !important;
    color: white !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3) !important;
    /* Override any gradient text effects from main.css */
    -webkit-background-clip: border-box !important;
    -webkit-text-fill-color: white !important;
    background-clip: border-box !important;
}

/* Force white color on the icon text */
body.page-content .why-choose-section .col-lg-3 .benefit-card .benefit-icon .icon-text,
body.page-content .why-choose-section .col-lg-3 .benefit-card .benefit-icon span {
    font-size: 2.5rem !important;
    line-height: 1 !important;
    color: white !important;
    font-weight: bold !important;
    font-family: Arial, sans-serif !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
    border: none !important;
    text-decoration: none !important;
    font-style: normal !important;
    /* Critical overrides for main.css gradient text */
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: white !important;
    background-clip: text !important;
    background: none !important;
}

/* Hover effect */
body.page-content .why-choose-section .col-lg-3 .benefit-card:hover .benefit-icon {
    transform: scale(1.1) !important;
}

/* Even more specific - target by position if needed */
body.page-content .why-choose-section .row .col-lg-3:nth-child(1) .benefit-card .benefit-icon,
body.page-content .why-choose-section .row .col-lg-3:nth-child(2) .benefit-card .benefit-icon,
body.page-content .why-choose-section .row .col-lg-3:nth-child(3) .benefit-card .benefit-icon,
body.page-content .why-choose-section .row .col-lg-3:nth-child(4) .benefit-card .benefit-icon {
    background: #667eea !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

/* Absolutely force white text color */
body.page-content .why-choose-section .row .col-lg-3:nth-child(1) .benefit-card .benefit-icon .icon-text,
body.page-content .why-choose-section .row .col-lg-3:nth-child(2) .benefit-card .benefit-icon .icon-text,
body.page-content .why-choose-section .row .col-lg-3:nth-child(3) .benefit-card .benefit-icon .icon-text,
body.page-content .why-choose-section .row .col-lg-3:nth-child(4) .benefit-card .benefit-icon .icon-text {
    color: white !important;
    background: transparent !important;
}

.benefit-card h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.benefit-card p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Button Styling */
.feature-card .btn,
.benefit-card .btn {
    background: #2c5aa0;
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
}

.feature-card .btn:hover,
.benefit-card .btn:hover {
    background: #1e3d6f;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

.btn-outline-primary {
    border: 2px solid #2c5aa0;
    color: #2c5aa0;
    background: transparent;
}

.btn-outline-primary:hover {
    background: #2c5aa0;
    color: white;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="stars" width="80" height="80" patternUnits="userSpaceOnUse"><circle cx="40" cy="40" r="1.5" fill="rgba(255,255,255,0.15)"/></pattern></defs><rect width="1000" height="1000" fill="url(%23stars)"/></svg>');
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: white;
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    color: white;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.cta-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 1.5rem;
    }
    
    .hero-icon {
        width: 250px;
        height: 250px;
    }
    
    .hero-icon i {
        font-size: 6rem;
    }
    
    .section-title h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 100px 0 60px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-stats {
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-icon {
        width: 200px;
        height: 200px;
        margin-bottom: 2rem;
    }
    
    .hero-icon i {
        font-size: 5rem;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .feature-card {
        padding: 40px 30px;
    }
    
    .benefit-card {
        padding: 2rem 1.5rem;
    }
    
    .trust-metric {
        padding: 1.5rem;
    }
    
    .trust-number {
        font-size: 2.5rem;
    }
    
    .cta-section h2 {
        font-size: 2.5rem;
    }
    
    .cta-section p {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 80px 0 50px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
        margin-bottom: 1.5rem;
    }
    
    .stat-item {
        display: flex;
        align-items: center;
        gap: 1rem;
        min-width: auto;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .hero-icon {
        width: 150px;
        height: 150px;
    }
    
    .hero-icon i {
        font-size: 4rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .feature-card,
    .benefit-card {
        padding: 30px 20px;
    }
    
    .feature-icon,
    .benefit-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .trust-number {
        font-size: 2rem;
    }
    
    .trust-label {
        font-size: 1rem;
    }
    
    .cta-section {
        padding: 4rem 0;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .cta-section p {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
}

/* Animation effects */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.benefit-card,
.trust-metric {
    animation: fadeInUp 0.6s ease-out;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

.benefit-card:nth-child(1) { animation-delay: 0.1s; }
.benefit-card:nth-child(2) { animation-delay: 0.2s; }
.benefit-card:nth-child(3) { animation-delay: 0.3s; }
.benefit-card:nth-child(4) { animation-delay: 0.4s; }

/* Focus states for accessibility */
.feature-card:focus-within,
.benefit-card:focus-within,
.trust-metric:focus-within {
    outline: 2px solid #2c5aa0;
    outline-offset: 2px;
}

.btn:focus {
    outline: 2px solid #28a745;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .hero-section,
    .cta-section {
        background: none !important;
        color: #333 !important;
    }
    
    .hero-icon,
    .feature-icon,
    .benefit-icon {
        background: #f8f9fa !important;
        color: #333 !important;
    }
    
    .btn {
        display: none;
    }
    
    .hero-buttons,
    .cta-buttons {
        display: none;
    }
}
