/* Responsive Styles */

@media (max-width: 992px) {
    .header .container {
        padding: 0 20px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .founder-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .founder-img {
        flex: 0 0 auto;
        width: 100%;
        max-width: 350px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .top-bar {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }

    .top-bar .container {
        flex-direction: column;
    }

    .mobile-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: var(--white);
        flex-direction: column;
        align-items: center;
        padding-top: 50px;
        transition: 0.3s;
        box-shadow: var(--box-shadow);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        font-size: 1.2rem;
    }

    .hero-slider {
        height: 500px;
    }

    .section-title {
        font-size: 2rem;
    }

    .logo-main {
        font-size: 1.4rem;
    }

    .logo-sub {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    .logo img {
        height: 40px;
    }

    .btn,
    .btn-secondary {
        padding: 12px 20px;
        font-size: 0.9rem;
        display: block;
        width: 100%;
        margin-bottom: 10px;
        text-align: center;
    }

    .hero-content div {
        width: 100%;
    }
}

/* Prevent Horizontal Scroll Globally */
html,
body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* Global Responsive Fixes */
img {
    max-width: 100%;
    height: auto;
}

table {
    display: block;
    overflow-x: auto;
    width: 100%;
}

iframe {
    max-width: 100%;
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand .social-links {
        justify-content: center;
    }

    .stat-item h3 {
        font-size: 2rem !important;
    }
}