:root {
    --primary-color: #033371;
    --secondary-color: #0066cc;
    --success-color: #23d160;
    --text-dark: #363636;
}

html {
    scroll-behavior: smooth;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

.navbar {
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.hero {
    padding: 20px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-header-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 1.5rem 2rem;
    position: relative;
}

.hero-header-content {
    width: 100%; 
}

.api-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 250px;
}

.api-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #23d160;
    color: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 1rem;
}

.status-badge i {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

.stats-box-container {
    padding-top: 60px  ;
    margin-top: 80px;
    margin-bottom: 80px !important;
}

.stats-box {
    
    padding: 1.5rem;
    text-align: center;
    min-height: 170px;
}

.stats-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.footer-custom {
    background: white;
    padding: 2rem 0;
    margin-top: 3rem;
    border-top: 1px solid #e8e8e8;
}

.logo-container {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    display: inline-block;
    margin-bottom: 2rem;
}

.hero-title {
    line-height: 1.2;
    margin-bottom: 1.5rem !important;
    word-wrap: break-word;
}

.hero-subtitle {
    line-height: 1.6;
    margin-bottom: 2rem !important;
    word-wrap: break-word;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}


/* Mobile Styles - Optimized for screens under 600px */
@media screen and (max-width: 600px) {
    body {
        background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
        font-size: 14px;
    }

    .hero { 
        min-height: 100vh;
    }

    .hero-header-section {
        min-height: 100vh;
        padding: 3rem 1rem 3rem;
    }

    .hero-header-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 1.5rem;
    }

    .logo-container {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }

    .logo-container img {
        height: 48px !important;
    }

    .hero-title.title.is-1 {
        font-size: 1.75rem !important;
        line-height: 1.3 !important;
        margin-bottom: 1.25rem !important;
        padding: 0 0.5rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .hero-subtitle.subtitle.is-4 {
        font-size: 1rem !important;
        line-height: 1.5 !important;
        padding: 0 1.5rem;
        margin-bottom: 1.75rem !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .status-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
        
    }

    .stats-box-container {
        margin-top: 40px !important;
        margin-bottom: 100px !important;
    }

    .stats-box {
        padding: 1rem;
        min-height: 140px;
        margin-bottom: 0.75rem;
    }

    .stats-box i {
        font-size: 1.5rem !important;
    }

    .stats-number {
        font-size: 1.5rem;
        margin: 0.5rem 0;
    }

    .stats-box p {
        font-size: 0.85rem;
    }

    .title.is-3 {
        font-size: 1.5rem !important;
        padding: 0 1rem;
    }

    .api-card {
        padding: 1.25rem;
        margin-bottom: 1rem;
    }

    .api-card:hover {
        transform: translateY(-2px);
    }

    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .api-card .title.is-5 {
        font-size: 1.1rem !important;
        margin-bottom: 0.5rem !important;
    }

    .api-card p {
        font-size: 0.9rem;
    }

    .api-card.has-text-centered[style*="gradient"] {
        padding: 1.5rem 1rem;
    }

    .api-card.has-text-centered[style*="gradient"] .title {
        font-size: 1.25rem !important;
    }

    .api-card.has-text-centered[style*="gradient"] p {
        font-size: 0.9rem;
        margin-bottom: 1rem !important;
    }

    .button.is-medium {
        font-size: 0.9rem !important;
        padding: 0.75rem 1rem;
    }

    .button.is-medium .icon {
        margin-right: 0.25rem;
    }

    .footer-custom {
        padding: 1.5rem 1rem;
        margin-top: 2rem;
    }

    .footer-custom p {
        font-size: 0.85rem;
    }

    .footer-custom .is-size-7 {
        font-size: 0.75rem !important;
    }

    /* Hide navbar on mobile or make it minimal */
    .navbar-menu {
        display: none;
    }

    .navbar-brand .navbar-item {
        font-size: 0.95rem;
    }

    /* Adjust columns for mobile */
    .column.is-10 {
        padding: 0.5rem;
    }

    .column.is-8 {
        padding: 0.5rem;
    }

    /* Ensure proper spacing on mobile */
    .mb-6 {
        margin-bottom: 2rem !important;
    }

    .mt-6 {
        margin-top: 2rem !important;
    }

    .mb-5 {
        margin-bottom: 1.5rem !important;
    }
}

/* Tablet optimization (601px - 768px) */
@media screen and (min-width: 601px) and (max-width: 768px) {
    .stats-box-container {
        margin-top: 80px;
        margin-bottom: 60px !important;
    }

    .stats-box {
        min-height: 160px;
    }

    .api-card {
        padding: 1.5rem;
    }

    .title.is-1 {
        font-size: 2.25rem !important;
    }
}

/* Touch device optimizations */
.touch-device .api-card {
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
}

.touch-device .button {
    min-height: 44px;
    min-width: 44px;
    -webkit-tap-highlight-color: transparent;
}

 

/* Small mobile devices - 320px to 480px */
@media screen and (max-width: 480px) {
    .hero-header-section {
        padding: 2.5rem 0.75rem 2rem;
    }

    .logo-container {
        padding: 0.75rem;
        margin-bottom: 1.25rem;
    }

    .logo-container img {
        height: 42px !important;
    }

    .hero-title.title.is-1 {
        font-size: 1.5rem !important;
        line-height: 1.25 !important;
        margin-bottom: 1rem !important;
        padding: 0 0.25rem;
    }

    .hero-subtitle.subtitle.is-4 {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
        padding: 0 1rem;
        margin-bottom: 1.25rem !important;
    }

    .status-badge {
        font-size: 0.7rem;
        padding: 0.35rem 0.7rem;
    }

    .stats-box {
        min-height: 130px;
        padding: 0.75rem;
    }

    .stats-number {
        font-size: 1.25rem;
    }

    .api-card {
        padding: 1rem;
    }

    .feature-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .button.is-medium {
        font-size: 0.85rem !important;
        padding: 0.6rem 0.9rem;
    }
}

/* Landscape orientation on mobile */
@media screen and (max-width: 900px) and (orientation: landscape) {
    .hero {
        padding: 1rem 0.75rem;
    }

    .hero-header-section {
        min-height: auto;
        padding: 2rem 1rem;
    }

    .stats-box-container {
        margin-top: 30px !important;
        margin-bottom: 30px !important;
    }

    .stats-box {
        min-height: 120px;
        padding: 0.75rem;
    }

    .api-card {
        padding: 1rem;
    }

    .logo-container {
        padding: 0.75rem;
        margin-bottom: 1rem;
    }

    .logo-container img {
        height: 40px !important;
    }
}
