/* Mobile Responsive Styles */

/* Hamburger menu styles */
.hamburger {
    display: none;
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 1000;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Base mobile styles */
@media (max-width: 768px) {
    /* Container adjustments */
    .container {
        padding: 0 15px;
    }

    /* Header and Navigation */
    .header-content {
        flex-direction: column;
        padding: 10px 0;
    }

    .nav-menu {
        display: none; /* Hidden by default on mobile */
        width: 100%;
        flex-direction: column;
        padding: 20px 0;
        position: absolute;
        top: 100%;
        left: 0;
        background: white;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        margin: 10px 0;
        text-align: center;
    }

    .auth-buttons {
        margin-top: 15px;
        width: 100%;
        justify-content: center;
    }

    /* Hamburger menu button */
    .hamburger {
        display: block;
        position: absolute;
        right: 20px;
        top: 20px;
    }

    /* Grid layouts */
    .company-carousel,
    .key-benefits,
    .stats-grid,
    .steps-container,
    .testimonial-grid,
    .insights-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Cards and sections */
    .company-card,
    .benefit-card,
    .service-card,
    .testimonial-card,
    .insight-card {
        margin: 10px 0;
    }

    /* Two-column layouts */
    .company-profile,
    .drilldown-page,
    .main-content {
        grid-template-columns: 1fr;
    }

    .side-content {
        margin-top: 20px;
    }

    /* Typography adjustments */
    .page-title {
        font-size: 24px;
    }

    .section-title {
        font-size: 20px;
    }

    /* Search bar */
    .search-container {
        padding: 0 15px;
    }

    .search-bar {
        padding: 12px 15px 12px 40px;
    }

    /* Hero section */
    .hero {
        padding: 40px 0 20px;
    }

    .headline {
        font-size: 24px;
    }

    .hero-subtitle {
        font-size: 16px;
        padding: 0 15px;
    }

    /* Sidebar */
    .sidebar {
        display: none; /* Hide sidebar on mobile */
    }

    /* Tables */
    .table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Forms */
    .form-group input,
    .form-group textarea {
        width: 100%;
    }

    /* Modals */
    .modal {
        width: 90%;
        margin: 20px;
        padding: 20px;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .page-title {
        font-size: 20px;
    }

    .auth-button {
        padding: 6px 12px;
        font-size: 13px;
    }

    .company-logo {
        width: 80px;
        height: 80px;
    }

    .company-name {
        font-size: 24px;
    }
}

/* Add smooth transitions */
.nav-menu,
.sidebar,
.modal {
    transition: all 0.3s ease-in-out;
}

/* Touch-friendly elements */
button,
a,
input[type="submit"] {
    min-height: 44px;
    min-width: 44px;
}

/* Prevent horizontal scroll */
html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
} 