/* 
   RESPONSIVE STYLES 
   All media queries for mobile/tablet layouts
*/

/* ============================================
   TABLET & MOBILE (max-width: 992px)
   ============================================ */
@media (max-width: 992px) {

    /* Global fixes */
    body {
        font-size: 14px;
    }

    /* Navbar Fixes */
    .navbar {
        padding: 0.5rem 0 !important;
    }

    .navbar-brand img {
        height: 25px !important;
    }

    .start-project-btn {
        padding: 6px 16px !important;
        font-size: 0.8rem !important;
        margin-left: 10px;
    }

    /* Hero Section */
    .hero-section {
        min-height: 80vh;
        padding: 5rem 0 3rem;
    }

    .hero-title {
        font-size: 2.2rem !important;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        padding: 0 1rem;
        margin-bottom: 2rem !important;
    }

    .hero-canvas {
        opacity: 0.2;
    }

    /* Hero Feature Badges - Stack vertically */
    .feature-badges {
        flex-direction: column !important;
        align-items: center !important;
        gap: 0.75rem !important;
    }

    .feature-badge {
        width: 100%;
        max-width: 260px;
        justify-content: center;
        padding: 10px 20px;
    }

    /* Connector Icons & Lines - Hide on mobile to prevent clutter */
    .static-connectors,
    .connector-group,
    .connector-wrapper,
    .bg-squares {
        display: none !important;
    }

    /* Impact Cards */
    .impact-card {
        height: auto;
        min-height: auto;
        position: relative;
        top: 0 !important;
        margin-bottom: 30px;
        padding: 2rem 1.5rem !important;
    }

    /* Impact Card CTA Buttons — stack vertically on mobile */
    .impact-card .card-content .d-flex.align-items-center.gap-3 {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0.75rem !important;
    }

    .impact-card .card-content .d-flex.align-items-center.gap-3 .btn-primary {
        width: 100%;
        text-align: center;
        justify-content: center;
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .impact-card .card-content .d-flex.align-items-center.gap-3 .btn-link {
        width: 100%;
        text-align: center;
        justify-content: center;
        display: flex;
        align-items: center;
        padding: 10px 0;
        font-size: 0.85rem;
    }

    .card-images {
        height: 250px;
        margin-top: 2rem;
    }

    /* Timeline - Fix overflow and spacing */
    .process-section {
        overflow-x: hidden;
        padding: 4rem 0 !important;
    }

    .timeline {
        padding: 20px 0;
        margin-top: 2rem;
    }

    .timeline-line,
    .timeline-line-progress {
        left: 20px !important;
        transform: none !important;
    }

    .timeline-node {
        width: 40px !important;
        height: 40px !important;
        font-size: 0.9rem !important;
        left: 20px !important;
        transform: translateX(-50%) !important;
        margin-left: 0 !important;
    }

    .timeline-item {
        margin-bottom: 2rem;
        flex-direction: column;
        align-items: flex-start !important;
        padding-left: 50px !important;
        width: 100% !important;
    }

    .timeline-item .col-lg-2 {
        display: none;
        /* Hide date/label col on mobile if needed, or keep it */
    }

    .timeline-item .col-lg-5 {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .timeline-content {
        padding: 1.25rem !important;
        border-radius: 12px !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
    }

    /* Leadership Slider */
    .leadership-section {
        padding: 4rem 0 !important;
    }

    .slider-wrapper .leadership-card .row .p-5 {
        padding: 0rem !important;
    }

    .controls-container {
        margin-top: 1.5rem !important;
        position: relative !important;
        bottom: 0 !important;
        transform: none !important;
        left: 0 !important;
        justify-content: center !important;
    }

    .nav-arrow {
        width: 44px;
        height: 44px;
    }

    .leadership-card {
        padding: 1.5rem !important;
    }

    .leadership-card .row {
        flex-direction: column-reverse;
    }

    .stack-layer {
        display: none;
    }

    .user-image-col {
        height: 280px;
        margin-bottom: 1.5rem;
    }

    .leadership-card {
        text-align: center;
    }

    .social-buttons {
        justify-content: center;
    }

    .glow-bg {
        width: 100%;
        top: 0;
        height: 50%;
    }

    .mobile-view {
        display: flex;
        justify-content: center;
    }

    /* Footer */
    .footer-section {
        text-align: center;
    }

    .footer-section .display-5 {
        font-size: 1.8rem;
        text-align: center;
    }

    .footer-socials {
        justify-content: center;
        margin: 2rem 0;
    }

    .footer-section hr {
        margin: 2rem 0 !important;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ============================================
   MOBILE ONLY (max-width: 576px)
   ============================================ */
@media (max-width: 576px) {

    /* Hero Section */
    .hero-title {
        font-size: 1.8rem !important;
    }

    /* Timeline - Even tighter */
    .timeline-item {
        padding-left: 40px !important;
    }

    .timeline-line,
    .timeline-line-progress,
    .timeline-node {
        left: 15px !important;
    }

    /* Footer Bottom Links */
    .list-inline-item {
        margin: 0 5px !important;
    }

    .list-inline-item a {
        font-size: 0.75rem;
    }
}