/* =====================================================
   DHRUVA PROFESSIONAL SERVICES
   MOBILE.CSS
   Mobile + Tablet Responsive Layout
===================================================== */

/* ==========================================
   LARGE TABLETS
========================================== */

@media screen and (max-width: 1200px) {

    .hero {
        padding: 120px 40px;
        gap: 40px;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }

    .hero-content h2 {
        font-size: 1.8rem;
    }

    .robot-container {
        transform: scale(0.9);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* ==========================================
   TABLETS
========================================== */

@media screen and (max-width: 992px) {

    .navbar {
        padding: 15px 25px;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        justify-content: center;
        min-height: auto;
        padding-top: 150px;
        padding-bottom: 100px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: 3rem;
        line-height: 1.2;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .robot-container {
        margin-top: 50px;
        transform: scale(0.85);
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 30px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* ==========================================
   MOBILE DEVICES
========================================== */

@media screen and (max-width: 768px) {

    html {
        scroll-behavior: smooth;
    }

    body {
        overflow-x: hidden;
    }

    .navbar {
        padding: 15px 20px;
    }

    .logo {
        font-size: 1.4rem;
    }

    .cta-btn {
        padding: 10px 18px;
        font-size: 0.85rem;
    }

    .hero {
        padding: 120px 20px 80px;
        gap: 30px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
        line-height: 1.15;
    }

    .hero-content h2 {
        font-size: 1.3rem;
    }

    .hero-content p {
        font-size: 0.95rem;
        line-height: 1.8;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

    .hero-buttons a {
        width: 100%;
        text-align: center;
    }

    .robot-container {
        transform: scale(0.75);
        margin-top: 20px;
    }

    .section-title {
        font-size: 2rem;
        text-align: center;
    }

    .section-subtitle {
        font-size: 1rem;
        text-align: center;
    }

    .service-card {
        padding: 25px;
    }

    .service-card h3 {
        font-size: 1.2rem;
    }

    .service-card p {
        font-size: 0.95rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stat-card {
        padding: 25px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .contact-container {
        flex-direction: column;
        gap: 30px;
    }

    .contact-card {
        width: 100%;
    }

    .footer {
        text-align: center;
        padding: 40px 20px;
    }

}


/* ==========================================
   SMALL PHONES
========================================== */

@media screen and (max-width: 576px) {

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content h2 {
        font-size: 1.1rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    .robot-container {
        transform: scale(0.60);
    }

    .section-title {
        font-size: 1.8rem;
    }

    .service-card {
        padding: 20px;
    }

    .service-card h3 {
        font-size: 1.1rem;
    }

    .service-card p {
        font-size: 0.9rem;
    }

    .consultation-card {
        padding: 25px;
    }

    .consultation-card h2 {
        font-size: 1.6rem;
    }

    .consultation-card p {
        font-size: 0.9rem;
    }

}


/* ==========================================
   EXTRA SMALL DEVICES
========================================== */

@media screen and (max-width: 400px) {

    .hero {
        padding-left: 15px;
        padding-right: 15px;
    }

    .hero-content h1 {
        font-size: 1.7rem;
    }

    .hero-content h2 {
        font-size: 1rem;
    }

    .hero-content p {
        font-size: 0.85rem;
    }

    .robot-container {
        transform: scale(0.50);
    }

    .logo {
        font-size: 1.2rem;
    }

    .cta-btn {
        font-size: 0.75rem;
        padding: 8px 15px;
    }

}


/* ==========================================
   LANDSCAPE MOBILE
========================================== */

@media screen and (max-height: 500px) and (orientation: landscape) {

    .hero {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .robot-container {
        transform: scale(0.60);
    }

}


/* ==========================================
   TOUCH DEVICE IMPROVEMENTS
========================================== */

@media (hover: none) {

    .service-card:hover {
        transform: none;
    }

    .cta-btn:hover {
        transform: none;
    }

    .hero-buttons a:hover {
        transform: none;
    }

}


/* ==========================================
   MOBILE PERFORMANCE MODE
========================================== */

@media screen and (max-width: 768px) {

    .particle,
    .background-particle,
    .heavy-glow,
    .large-hologram {
        display: none;
    }

    .floating-element {
        animation-duration: 6s;
    }

}


#transformation .transformation-grid {

    grid-template-columns: 1fr;
}

.transform-arrow {

    transform: rotate(90deg);
}




.floating-consultation {

    right: 20px;

    bottom: 20px;

    padding: 15px 22px;

    font-size: .9rem;
}

