/* Media Query for Mobile (e.g., max-width 768px or 992px, pick your breakpoint) */
/* @media (max-width: 992px) {
    .navbar {
        flex-wrap: nowrap;
        justify-content: space-between;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: linear-gradient(90deg, #c8ffc2, #41a535);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
        z-index: 1000;

        transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
        transform: translateY(-10px);
        opacity: 0;
        pointer-events: none;
    }


    .nav-menu.active {
        display: flex;
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-links {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        text-align: center;
        margin-bottom: 20px;
    }

    .nav-links li a {
        padding: 10px 0;
        display: block;
    }

    .nav-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .btn-signin,
    .btn-getstarted {
        width: 80%;
        max-width: 250px;
        margin: 0 auto;
    }
}

 Note: We will uncomment this code when we add navbar and troggle button for mobile

*/



@media (max-width: 992px) {
    .hero-section > .container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 100px;
        line-height: 100px;
    }

    .description {
        font-size: 1em;
        text-align: justify;
    }

    .hero-buttons {
        justify-content: center;
    }

    .ratings {
        justify-content: center;
        flex-wrap: wrap;
    }

    .rating-logos {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-image {
        margin-top: 20px;
    }


    .overlay-card {
        padding: 8px 12px;
        gap: 8px;
    }

    .profile-card {
        top: 5%;
        left: 5%;
        transform: scale(0.9);
    }

    .stats-card {
        bottom: 10%;
        left: 5%;
        transform: scale(0.9);
    }

    .chat-bubble {
        bottom: 5%;
        right: 5%;
        transform: scale(0.9);
    }

    .profile-avatar, .progress-circle, .chat-avatar {
        width: 35px;
        height: 35px;
    }
}


@media (max-width: 768px) {
    .hero-section {
        padding: 80px 0;
    }

    .hero-content h1 {
        font-size: 80px;
        line-height: 80px;
    }

    .description {
        font-size: 0.95em;
        text-align: justify;
    }

    .btn-primary {
        padding: 14px 28px;
        font-size: 1.1em;
    }

    .ratings {
        flex-direction: column;
        gap: 10px;
    }

    .rating-logos {
        margin-top: 5px;
    }

    .rating-logos img {
        max-height: 50px;
    }


    .overlay-card {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 30px 0;
    }

    .hero-content h1 {
        font-size: 60px;
        line-height: 60px;
    }

    .description {
        font-size: 0.9em;
        text-align: justify;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto 30px auto;
    }

    .btn {
        width: 100%;
        margin-bottom: 10px;
    }
    .btn:last-child {
        margin-bottom: 0;
    }

    .ratings {
        flex-direction: column;
        gap: 5px;
    }

    .rating-logos {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    .rating-logos img {
        max-height: 40px;
    }
}

/* --- Responsive Adjustments for "What Does VA Do" Section --- */

@media (max-width: 992px) {
    .what-does-va-do h2 {
        font-size: 50px; /* Reduced from 70px, still large but better */
        line-height: 1.2;
        text-align: center;
        margin-bottom: 20px;
    }

    .what-does-va-do .section-description {
        font-size: 1em;
        max-width: 90%;
        text-align: center; /* Changed from justify, usually looks better on mobile for short descriptions */
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 30px;
    }

    .services-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
        max-width: 90%;
        margin: 0 auto;
    }

    .service-item {
        padding: 20px;
        gap: 20px;
        flex-direction: column; /* Stack icon and content vertically */
        align-items: center; /* Center items when stacked */
        text-align: center; /* Center text within service item */
        box-sizing: border-box;
    }

    .service-icon {
        width: 60px; /* Adjusted, was 50px */
        height: 60px;
        margin-bottom: 10px; /* Add space between icon and text */
    }

    .service-icon img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .service-item h3 {
        font-size: 1.8em; /* **CRITICAL CHANGE: Use em or rem, 40px was too large.** */
        margin-bottom: 10px;
    }

    .service-item p {
        font-size: 1em; /* **CRITICAL CHANGE: Use em or rem, 30px was too large.** */
    }
}

@media (max-width: 768px) {
    .what-does-va-do {
        padding: 40px 0;
    }

    .what-does-va-do h2 {
        font-size: 40px; /* Further decrease for smaller screens, was 60px */
        line-height: 1.2;
    }

    .what-does-va-do .section-description {
        font-size: 0.95em;
        margin-bottom: 25px;
    }

    .what-does-va-do .container {
        padding: 0 15px;
    }

    .services-grid {
        gap: 15px;
    }

    .service-item h3 {
        font-size: 1.5em; /* Adjust heading size for 768px */
    }

    .service-item p {
        font-size: 0.9em; /* Adjust paragraph size for 768px */
    }
}

@media (max-width: 480px) {
    .what-does-va-do {
        padding: 30px 0;
    }

    .what-does-va-do h2 {
        font-size: 28px; /* Further reduced, was 40px for 480px */
        line-height: 1.2;
    }

    .what-does-va-do .section-description {
        font-size: 0.85em;
        margin-bottom: 20px;
    }

    .service-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 15px;
    }

    .service-icon {
        width: 45px; /* Slightly smaller icon for tighter layouts */
        height: 45px;
        margin-bottom: 8px; /* Reduced margin */
    }

    .service-item h3 {
        font-size: 1.1em; /* This was already good here, no change needed */
        margin-bottom: 5px;
        word-break: break-word; /* Added for long words */
    }

    .service-item p {
        font-size: 0.8em; /* **CRITICAL CHANGE: Now explicitly set for 480px.** */
    }
}

@media (max-width: 375px) { /* Added breakpoint for very small devices */
    .what-does-va-do h2 {
        font-size: 24px;
        line-height: 1.2;
    }

    .what-does-va-do .section-description {
        font-size: 0.8em;
    }

    .service-item h3 {
        font-size: 1em;
    }

    .service-item p {
        font-size: 0.75em;
    }
}

/* --- Responsive Adjustments for Hiring Section --- */

@media (max-width: 992px) {
    .hiring-section {
        padding: 80px 0;
        text-align: center; /* Center align content */
    }

    .hiring h2 {
        font-size: 50px; /* Adjusted for better scaling */
        line-height: 1.2;
    }

    .hiring p {
        font-size: 1em;
        max-width: 90%;
        margin-left: auto; /* Center the block */
        margin-right: auto; /* Center the block */
        text-align: center; /* Center align for consistency */
    }

    .hiring {
        padding: 0 15px;
    }
}

@media (max-width: 768px) {
    .hiring-section {
        padding: 40px 0; /* Adjusted padding */
    }

    .hiring h2 {
        font-size: 36px;
        line-height: 1.2;
    }

    .hiring p {
        font-size: 0.95em;
        margin-bottom: 20px;
    }

    /* If you uncommented the 'We Are Hiring' button, adjust its styles here */
    /* .creative-hire-now-btn {
        padding: 14px 28px;
        font-size: 1.1em;
        margin-top: 20px;
    } */
}

@media (max-width: 480px) {
    .hiring-section {
        padding: 30px 0; /* Adjusted padding */
    }

    .hiring h2 {
        font-size: 28px;
        line-height: 1.2;
    }

    .hiring p {
        font-size: 0.85em;
        margin-bottom: 15px;
    }

    /* If you uncommented the 'We Are Hiring' button, adjust its styles here */
    /* .creative-hire-now-btn {
        width: 90%;
        padding: 12px 25px;
        font-size: 1em;
        margin-top: 15px;
    } */
}
/* --- Responsive Adjustments for Footer --- */

@media (max-width: 992px) {
    .main-footer {
        padding-top: 40px;
    }

    .main-footer .container {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }

    .footer-column {
        min-width: unset;
        width: 100%;
        text-align: center;
        margin-bottom: 0;
    }

    .brand-column {
        text-align: center;
    }

    .footer-logo img {
        margin: 0 auto 20px auto;
    }

    .social-links {
        justify-content: center;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .main-footer {
        padding-top: 30px;
        padding-bottom: 15px;
    }

    .main-footer .container {
        padding: 0 15px;
        gap: 20px;
    }

    .footer-copyright {
        padding-top: 15px;
        font-size: 0.85em;
        margin-top: 15px;
    }
}

@media (max-width: 480px) {
    .main-footer {
        padding-top: 25px;
        padding-bottom: 10px;
    }

    .main-footer .container {
        padding: 0 10px;
        gap: 15px;
    }

    .footer-logo img {
        max-width: 100px;
        margin-bottom: 15px;
    }

    .social-links a {
        width: 35px;
        height: 35px;
    }

    .social-links svg {
        width: 18px;
        height: 18px;
    }

    .footer-copyright {
        font-size: 0.8em;
    }
}