/* Responsive Adjustments */

@media (max-width: 991px) {
    .section-header h2 {
        font-size: 2rem;
    }

    /* Hero section tablet adjustments */
    .hero h1 {
        font-size: 2.5rem !important;
    }

    .hero p {
        font-size: 1rem !important;
        max-width: 600px !important;
    }

    .hero-btns {
        flex-wrap: wrap;
        gap: 12px !important;
    }

    .hero-btns .btn {
        padding: 10px 22px;
        font-size: 0.95rem;
    }

    /* About section tablet */
    .about-grid h2 {
        font-size: 1.8rem !important;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: var(--transition);
        box-shadow: inset 0 5px 10px rgba(0,0,0,0.05);
        z-index: 999;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    .btn-nav {
        display: block;
        margin-top: 20px;
    }

    .section-padding {
        padding: 50px 0;
    }

    /* Hero section mobile */
    .hero {
        padding: 100px 0 !important;
        margin-top: 60px !important;
    }

    .hero h1 {
        font-size: 2rem !important;
    }

    .hero p {
        font-size: 0.95rem !important;
        max-width: 100% !important;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
        gap: 10px !important;
    }

    .hero-btns .btn {
        width: 100%;
        max-width: 280px;
        padding: 12px 20px;
        font-size: 0.95rem;
    }

    /* About section mobile */
    .about-grid h2 {
        font-size: 1.5rem !important;
    }

    .about-grid ul li {
        font-size: 0.9rem;
    }

    /* Services section mobile */
    .services-grid .hover-card {
        padding: 20px !important;
    }

    .services-grid .hover-card h3 {
        font-size: 1.2rem;
    }

    .services-grid .hover-card p {
        font-size: 0.9rem;
    }

    /* CTA section mobile */
    .cta-section h2 {
        font-size: 1.6rem !important;
    }

    .cta-section p {
        font-size: 0.95rem !important;
        padding: 0 15px;
    }

    .cta-section .cta-btns {
        flex-direction: column;
        align-items: center;
        gap: 12px !important;
    }

    .cta-section .cta-btns .btn {
        width: 100%;
        max-width: 280px;
    }

    /* Footer mobile */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-col .logo {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .logo-text h1 {
        font-size: 1.2rem;
    }

    .logo-text p {
        font-size: 0.65rem;
    }

    .logo img {
        height: 40px !important;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .floating-actions {
        bottom: 20px;
        right: 15px;
        gap: 10px;
    }
    
    .float-btn {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }

    .section-padding {
        padding: 40px 0;
    }

    .hero {
        padding: 80px 0 !important;
    }

    .hero h1 {
        font-size: 1.6rem !important;
    }

    .hero p {
        font-size: 0.85rem !important;
    }

    .hero-btns .btn {
        max-width: 240px;
        padding: 10px 16px;
        font-size: 0.85rem;
    }

    .about-grid h2 {
        font-size: 1.3rem !important;
    }

    .section-header h2::after {
        width: 40px;
    }

    .footer {
        padding: 40px 0 15px;
    }

    .footer-col h3 {
        font-size: 1rem;
    }

    .footer-col p, .footer-col ul li a {
        font-size: 0.85rem;
    }
}

/* Very small screens (320px and below) */
@media (max-width: 360px) {
    .logo-text h1 {
        font-size: 1rem;
    }

    .logo img {
        height: 32px !important;
    }

    .hero h1 {
        font-size: 1.4rem !important;
    }

    .btn {
        padding: 10px 18px;
        font-size: 0.85rem;
    }
}

