
/* Simple & Perfect Mobile Navigation */
@media screen and (max-width: 768px) {
    /* Header */
    header {
        padding: 1rem 0;
        background: white;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    .header-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* Logo styles for all screen sizes */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

.logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

/* Simple & Perfect Mobile Navigation */
@media screen and (max-width: 768px) {
    /* Logo specific styles for mobile */
    .logo {
        font-size: 1.4rem !important;
        color: var(--primary-color);
        font-weight: bold;
    }

    .logo-img {
        height: 45px !important;
    }

    /* Header */
    header {
        padding: 1rem 0;
        background: white;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    .header-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* Simple Mobile Menu Button */
    .mobile-menu-btn {
        display: block !important;
        background: var(--primary-color);
        border: none;
        width: 40px;
        height: 40px;
        border-radius: 5px;
        color: white;
        font-size: 1.2rem;
        cursor: pointer;
        transition: background-color 0.3s;
    }

    .mobile-menu-btn:hover {
        background: var(--accent-color);
    }

    /* Simple Dropdown Menu */
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        border-radius: 0 0 10px 10px;
        padding: 1rem 0;
        z-index: 999;
    }

    .nav-menu.active {
        display: block;
        animation: slideDown 0.3s ease;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-menu li {
        margin: 0;
    }

    .nav-menu li a {
        display: block;
        padding: 12px 20px;
        color: var(--text-dark);
        text-decoration: none;
        font-size: 1rem;
        border-bottom: 1px solid #f0f0f0;
        transition: all 0.3s;
    }

    .nav-menu li:last-child a {
        border-bottom: none;
    }

    .nav-menu li a:hover,
    .nav-menu li a.active {
        background: var(--primary-color);
        color: white;
        padding-left: 30px;
    }

    /* Hide desktop nav */
    .desktop-nav {
        display: none;
    }

    /* Rest of mobile styles */
    .container {
        padding: 0 1rem;
        max-width: 100%;
    }

    h1 {
        font-size: 2rem !important;
        line-height: 1.2;
    }

    h2 {
        font-size: 1.8rem !important;
        line-height: 1.3;
        margin-bottom: 1.5rem !important;
    }

    .section {
        padding: 3rem 0 !important;
    }

    /* Convert all grids to single column */
    div[style*="grid-template-columns: 1fr 1fr"],
    div[style*="grid-template-columns: repeat(2, 1fr)"],
    div[style*="grid-template-columns: repeat(3, 1fr)"],
    div[style*="grid-template-columns: repeat(4, 1fr)"],
    div[style*="grid-template-columns: repeat(auto-fit, minmax(300px, 1fr))"],
    div[style*="grid-template-columns: repeat(auto-fit, minmax(350px, 1fr))"] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    /* Buttons */
    .btn {
        width: 100% !important;
        margin-bottom: 1rem !important;
        padding: 1rem !important;
        font-size: 1rem !important;
    }

    /* Button groups */
    div[style*="display: flex"][style*="gap"] {
        flex-direction: column !important;
    }

    /* Images */
    img {
        width: 100% !important;
        height: auto !important;
    }

    /* Hero section */
    .hero {
        height: 60vh !important;
        min-height: 400px !important;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.2rem !important;
        margin-bottom: 1rem !important;
    }

    .hero-content p {
        font-size: 1.1rem !important;
    }

    /* Cards */
    div[style*="padding: 2rem"],
    div[style*="padding: 2.5rem"],
    div[style*="padding: 3rem"] {
        padding: 1.5rem !important;
    }

    /* FAQ Section */
    .faq-question {
        padding: 1rem !important;
    }

    .faq-question h4 {
        font-size: 1rem !important;
    }

    /* Stats */
    div[style*="font-size: 2.5rem"] {
        font-size: 2rem !important;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        text-align: center;
    }

    /* Form elements */
    form div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }

    input, textarea, select {
        font-size: 16px !important; /* Prevents zoom on iOS */
    }

    /* Center content on mobile */
    div[style*="display: flex"][style*="align-items: center"] {
        flex-direction: column !important;
        text-align: center !important;
    }

    /* Process steps */
    div[style*="display: flex; align-items: center; gap: 2rem"] {
        flex-direction: column !important;
        text-align: center !important;
        gap: 1rem !important;
    }

    /* Remove excessive spacing */
    div[style*="margin-bottom: 4rem"] {
        margin-bottom: 2rem !important;
    }

    div[style*="margin-bottom: 3rem"] {
        margin-bottom: 1.5rem !important;
    }
}

/* Tablet styles */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .logo-img {
        height: 38px;
    }

    .mobile-menu-btn {
        display: none !important;
    }

    .nav-menu {
        display: flex !important;
        position: static;
        background: none;
        box-shadow: none;
        padding: 0;
        border-radius: 0;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .nav-menu li a {
        padding: 0.5rem 1rem;
        border: none;
        color: var(--text-dark);
    }
}

/* Desktop styles */
@media screen and (min-width: 1025px) {
    .logo-img {
        height: 45px;
    }

    .mobile-menu-btn {
        display: none !important;
    }

    .nav-menu {
        display: flex !important;
        position: static;
        background: none;
        box-shadow: none;
        padding: 0;
        border-radius: 0;
    }

    .nav-menu li a {
        padding: 0.5rem 1rem;
        border: none;
        color: var(--text-dark);
    }
}

    /* Simple Mobile Menu Button */
    .mobile-menu-btn {
        display: block !important;
        background: var(--primary-color);
        border: none;
        width: 40px;
        height: 40px;
        border-radius: 5px;
        color: white;
        font-size: 1.2rem;
        cursor: pointer;
        transition: background-color 0.3s;
    }

    .mobile-menu-btn:hover {
        background: var(--accent-color);
    }

    /* Simple Dropdown Menu */
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        border-radius: 0 0 10px 10px;
        padding: 1rem 0;
        z-index: 999;
    }

    .nav-menu.active {
        display: block;
        animation: slideDown 0.3s ease;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-menu li {
        margin: 0;
    }

    .nav-menu li a {
        display: block;
        padding: 12px 20px;
        color: var(--text-dark);
        text-decoration: none;
        font-size: 1rem;
        border-bottom: 1px solid #f0f0f0;
        transition: all 0.3s;
    }

    .nav-menu li:last-child a {
        border-bottom: none;
    }

    .nav-menu li a:hover,
    .nav-menu li a.active {
        background: var(--primary-color);
        color: white;
        padding-left: 30px;
    }

    /* Hide desktop nav */
    .desktop-nav {
        display: none;
    }

    /* Rest of mobile styles */
    .container {
        padding: 0 1rem;
        max-width: 100%;
    }

    h1 {
        font-size: 2rem !important;
        line-height: 1.2;
    }

    h2 {
        font-size: 1.8rem !important;
        line-height: 1.3;
        margin-bottom: 1.5rem !important;
    }

    .section {
        padding: 3rem 0 !important;
    }

    /* Convert all grids to single column */
    div[style*="grid-template-columns: 1fr 1fr"],
    div[style*="grid-template-columns: repeat(2, 1fr)"],
    div[style*="grid-template-columns: repeat(3, 1fr)"],
    div[style*="grid-template-columns: repeat(4, 1fr)"],
    div[style*="grid-template-columns: repeat(auto-fit, minmax(300px, 1fr))"],
    div[style*="grid-template-columns: repeat(auto-fit, minmax(350px, 1fr))"] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    /* Buttons */
    .btn {
        width: 100% !important;
        margin-bottom: 1rem !important;
        padding: 1rem !important;
        font-size: 1rem !important;
    }

    /* Button groups */
    div[style*="display: flex"][style*="gap"] {
        flex-direction: column !important;
    }

    /* Images */
    img {
        width: 100% !important;
        height: auto !important;
    }

    /* Hero section */
    .hero {
        height: 60vh !important;
        min-height: 400px !important;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.2rem !important;
        margin-bottom: 1rem !important;
    }

    .hero-content p {
        font-size: 1.1rem !important;
    }

    /* Cards */
    div[style*="padding: 2rem"],
    div[style*="padding: 2.5rem"],
    div[style*="padding: 3rem"] {
        padding: 1.5rem !important;
    }

    /* FAQ Section */
    .faq-question {
        padding: 1rem !important;
    }

    .faq-question h4 {
        font-size: 1rem !important;
    }

    /* Stats */
    div[style*="font-size: 2.5rem"] {
        font-size: 2rem !important;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        text-align: center;
    }

    /* Form elements */
    form div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }

    input, textarea, select {
        font-size: 16px !important; /* Prevents zoom on iOS */
    }

    /* Center content on mobile */
    div[style*="display: flex"][style*="align-items: center"] {
        flex-direction: column !important;
        text-align: center !important;
    }

    /* Process steps */
    div[style*="display: flex; align-items: center; gap: 2rem"] {
        flex-direction: column !important;
        text-align: center !important;
        gap: 1rem !important;
    }

    /* Remove excessive spacing */
    div[style*="margin-bottom: 4rem"] {
        margin-bottom: 2rem !important;
    }

    div[style*="margin-bottom: 3rem"] {
        margin-bottom: 1.5rem !important;
    }
}

/* Tablet styles */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .mobile-menu-btn {
        display: none !important;
    }

    .nav-menu {
        display: flex !important;
        position: static;
        background: none;
        box-shadow: none;
        padding: 0;
        border-radius: 0;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .nav-menu li a {
        padding: 0.5rem 1rem;
        border: none;
        color: var(--text-dark);
    }
}

/* Desktop styles */
@media screen and (min-width: 1025px) {
    .mobile-menu-btn {
        display: none !important;
    }

    .nav-menu {
        display: flex !important;
        position: static;
        background: none;
        box-shadow: none;
        padding: 0;
        border-radius: 0;
    }

    .nav-menu li a {
        padding: 0.5rem 1rem;
        border: none;
        color: var(--text-dark);
    }
}