/* landing.css - MiNigh Landing Page Styles */

/* Typography */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Lora:wght@400;500&display=swap');

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

body {
    font-family: 'Lora', serif;
}

/* Color scheme */
.bg-primary-custom {
    background-color: #1E3A8A;
}

.bg-secondary-custom {
    background-color: #FFD700;
}

.text-primary-custom {
    color: #1E3A8A;
}

.text-secondary-custom {
    color: #FFD700;
}

/* Buttons */
.btn-primary-custom {
    background-color: #25270c;
    color: yellow;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary-custom:hover {
    background-color: #152a65;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 58, 138, 0.3);
}

.btn-secondary-custom {
    background-color: transparent;
    color: white;
    border: 2px solid #d3e202;
    padding: 10px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-secondary-custom:hover {
    background-color: #44472f;
    transform: translateY(-2px);
}

/* Section styling */
.hero-section {
    background: linear-gradient(135deg, #8a1e86 0%, #71871a 100%);
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQ0MCIgaGVpZ2h0PSI3MDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PHBhdHRlcm4gaWQ9ImEiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHdpZHRoPSI2MCIgaGVpZ2h0PSI2MCIgcGF0dGVyblRyYW5zZm9ybT0ic2NhbGUoMSkiPjxwYXRoIGQ9Ik0wIDYwVjBNMCAzMGg2ME0zMCAwdjYwIiBmaWxsPSJub25lIiBzdHJva2U9InJnYmEoMjU1LDI1NSwyNTUsMC4xKSIgc3Ryb2tlLXdpZHRoPSIxLjUiLz48L3BhdHRlcm4+PC9kZWZzPjxwYXRoIGZpbGw9InVybCgjYSkiIGQ9Ik0wIDBoMTQ0MHY3MDBIMHoiLz48L3N2Zz4=');
    opacity: 0.3;
    z-index: -1;
}

.content-section {
    padding: 80px 0;
}

.section-heading {
    position: relative;
    margin-bottom: 40px;
}

.section-heading::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 80px;
    height: 4px;
    background-color: #FFD700;
}

.section-heading.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Feature cards */
.feature-card {
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 3rem;
    color: #1E3A8A;
    margin-bottom: 20px;
}

/* Comparison table */
.comparison-table {
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.comparison-table th {
    background-color: #1E3A8A;
    color: white;
    font-weight: 600;
}

.comparison-table .feature-name {
    font-weight: 600;
}

.check-icon {
    color: #28a745;
    font-size: 1.2rem;
}

.warning-icon {
    color: #ffc107;
    font-size: 1.2rem;
}

.x-icon {
    color: #dc3545;
    font-size: 1.2rem;
}

/* Testimonial carousel */
.testimonial-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    margin: 20px;
}

.testimonial-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 20px;
}

/* Stats counter */
.stats-counter {
    background-color: #505050;
    color: white;
    padding: 40px 0;
}

.counter-item {
    text-align: center;
}

.counter-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #FFD700;
}

.counter-item p {
    margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 80px 20px !important;
        /* Increased padding from both sides */
        text-align: center;
        /* Center content in mobile */
        margin-top: 0 !important;
        /* Reset overlap for better mobile spacing */
    }

    .hero-section .d-flex {
        justify-content: center;
        /* Center buttons */
    }

    .hero-section .btn {
        margin-right: 0 !important;
        margin-bottom: 15px;
        width: 100%;
        /* Full width buttons for better thumb reach */
        max-width: 300px;
    }

    .hero-section h1 {
        font-size: 2.2rem;
        /* Better scaling for mobile */
    }

    .content-section {
        padding: 60px 20px;
    }

    .feature-card {
        margin-bottom: 30px;
    }

    .counter-item {
        margin-bottom: 30px;
    }
}

/* Table responsiveness */
.comparison-table-wrapper {
    overflow-x: auto;
}

/* Visual elements */
.globe-animation {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.animated-dots {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: #FFD700;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Safety icons */
.safety-icon {
    font-size: 3rem;
    color: #1E3A8A;
    margin-bottom: 20px;
}

/* Bar chart */
.bar-chart {
    width: 100%;
    height: 400px;
    position: relative;
    margin-top: 40px;
}

.chart-bar {
    position: absolute;
    bottom: 0;
    width: 30px;
    background: linear-gradient(to top, #1E3A8A, #2a4cad);
    border-radius: 4px 4px 0 0;
    transition: height 1s ease-in-out;
}

.chart-label {
    position: absolute;
    bottom: -30px;
    text-align: center;
    width: 80px;
    transform: translateX(-50%);
    font-size: 0.9rem;
}