/* Mobile Header Fix */
@media screen and (max-width: 844px) {
    body {
        padding-top: 60px; /* Reduced from previous value */
    }

    /* Header */
    header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 60px; /* Fixed height */
        background: white;
        z-index: 1000;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

    .nav-container {
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 16px;
    }

    /* Logo */
    .logo {
        height: 40px;
        display: flex;
        align-items: center;
    }

    .large-logo {
        height: 35px; /* Slightly reduced */
        width: auto;
    }

    .logo-text {
        display: none;
    }

    /* Burger Menu */
    .burger {
        width: 24px;
        height: 18px;
        position: relative;
        cursor: pointer;
        margin-left: auto;
    }

    .burger div {
        position: absolute;
        width: 24px;
        height: 2px;
        background: #333;
        transition: 0.3s ease;
    }

    .burger div:nth-child(1) { top: 0; }
    .burger div:nth-child(2) { top: 8px; }
    .burger div:nth-child(3) { top: 16px; }

    /* Mobile Navigation */
    .nav-links {
        position: fixed;
        top: 60px; /* Align with new header height */
        left: 0;
        width: 100%;
        height: calc(100vh - 60px);
        background: white;
        display: none;
        flex-direction: column;
        padding: 16px;
        overflow-y: auto;
    }

    /* Hero section adjustment */
    .hero-slider {
        margin-top: 0; /* Remove margin since we have body padding */
    }
}
    .slider-container {
        height: 300px;
    }

    .slider-container img {
        height: 300px;
        object-fit: cover;
    }

    .hero-content {
        width: 100%;
        padding: 0 20px;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 24px;
        line-height: 1.3;
        margin-bottom: 12px;
    }

    .hero-content p {
        font-size: 16px;
        line-height: 1.5;
        margin-bottom: 20px;
    }

    /* Services Section */
    .services {
        padding: 40px 0;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 8px;
        text-align: center;
    }

    .section-subtitle {
        font-size: 16px;
        margin-bottom: 24px;
        text-align: center;
        padding: 0 20px;
    }

    .services-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0 20px;
    }

    .service-card {
        background: white;
        border-radius: 12px;
        padding: 20px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    .service-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 16px;
    }

    .service-card h3 {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .service-details {
        margin: 12px 0;
    }

    .service-details li {
        margin-bottom: 8px;
        font-size: 14px;
    }

    /* About Section */
    .about {
        padding: 40px 0;
    }

    .about-text {
        font-size: 16px;
        line-height: 1.6;
        padding: 0 20px;
        margin-bottom: 32px;
    }

    .about-highlights {
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0 20px;
    }

    .highlight-item {
        background: white;
        padding: 20px;
        border-radius: 12px;
        text-align: center;
    }

    /* CEO Section */
    .ceo-section {
        padding: 40px 0;
    }

    .ceo-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0 20px;
    }

    .image-container {
        max-width: 280px;
        margin: 0 auto;
    }

    .founder-image {
        width: 100%;
        height: auto;
        border-radius: 12px;
    }

    .credentials {
        display: grid;
        gap: 16px;
    }

    .education,
    .professional {
        background: white;
        padding: 20px;
        border-radius: 12px;
    }

    /* Contact Section */
    .contact {
        padding: 40px 0;
    }

    .contact-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0 20px;
    }

    .location,
    .founder-contact {
        background: white;
        padding: 20px;
        border-radius: 12px;
    }

    .contact-form {
        background: white;
        padding: 20px;
        border-radius: 12px;
    }

    .form-group {
        margin-bottom: 16px;
    }

    input,
    textarea {
        width: 100%;
        padding: 12px;
        border: 1px solid #ddd;
        border-radius: 8px;
        font-size: 16px;
    }

    /* Buttons */
    .btn {
        display: inline-block;
        padding: 12px 24px;
        font-size: 16px;
        border-radius: 24px;
        text-align: center;
        width: auto;
        min-width: 120px;
    }

    /* Hide elements on mobile */
    .search-container,
    .logo-text {
        display: none;
    }
}

/* Small iPhone SE/5 sizes */
@media screen and (max-width: 375px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero-content h1 {
        font-size: 22px;
    }

    .service-card {
        padding: 16px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}