/**
 * Pankaj Sharma Telecom - Responsive Stylesheet
 */

/* Large Tablets and Small Desktops */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero h1 {
        font-size: 2.75rem;
    }

    .hero-stats {
        gap: 2rem;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-intro {
        gap: 3rem;
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Mobile Menu Trigger at 1024px */
    .mobile-menu-btn {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 2rem 2rem;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1001;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu>li {
        width: 100%;
    }

    .nav-menu>li>a {
        padding: 1rem 0;
        border-bottom: 1px solid #e9ecef;
    }

    .nav-menu>li>a.active::after {
        display: none;
    }

    .nav-cta {
        margin: 1rem 0 0;
        width: 100%;
    }

    .nav-cta .btn {
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: 1rem;
        display: none;
    }

    .has-dropdown.active .dropdown-menu {
        display: block;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .top-bar-left {
        display: none;
    }

    .top-bar-right {
        width: 100%;
        justify-content: center;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero {
        min-height: 500px;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .hero p {
        font-size: 1.125rem;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .hero-stat {
        flex: 1 1 calc(50% - 1rem);
    }

    .hero-stat-number {
        font-size: 2rem;
    }

    .section {
        padding: 3rem 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .about-intro {
        grid-template-columns: 1fr;
    }

    .mission-vision {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-bottom-links {
        justify-content: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .page-header {
        padding: 3rem 0;
    }

    .page-header h1 {
        font-size: 2.25rem;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .about-stat-number {
        font-size: 2rem;
    }
}

/* Mobile Phones */
@media (max-width: 576px) {
    .top-bar {
        display: none;
    }

    .navbar {
        padding: 0.75rem 0;
    }

    .logo img {
        height: 40px;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .logo-name {
        font-size: 1.25rem;
    }

    .hero {
        min-height: 450px;
    }

    .hero h1 {
        font-size: 1.875rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-label {
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
    }

    .hero .btn-group {
        flex-direction: column;
    }

    .hero .btn {
        width: 100%;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-stat {
        flex: none;
    }

    .section {
        padding: 2.5rem 0;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
    }

    .btn-lg {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .service-card-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .pricing-card {
        padding: 1.5rem;
    }

    .pricing-price .amount {
        font-size: 2.5rem;
    }

    .why-choose-grid {
        grid-template-columns: 1fr;
    }

    .why-choose-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .form-box {
        padding: 1.5rem;
    }

    .faq-question {
        padding: 1rem;
        font-size: 0.9375rem;
    }

    .faq-answer-content {
        padding: 0 1rem 1rem;
    }

    .coverage-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .coverage-card {
        padding: 1rem;
    }

    .coverage-card i {
        font-size: 1.5rem;
    }

    .coverage-card h4 {
        font-size: 1rem;
    }

    .page-header {
        padding: 2.5rem 0;
    }

    .page-header h1 {
        font-size: 1.875rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .breadcrumb {
        font-size: 0.875rem;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 80px;
        right: 15px;
    }

    .back-to-top {
        width: 45px;
        height: 45px;
        right: 15px;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .about-stat {
        padding: 1rem 0;
        border-bottom: 1px solid #e9ecef;
    }

    .about-stat:last-child {
        border-bottom: none;
    }

    .team-image {
        width: 120px;
        height: 120px;
    }

    .contact-info-box {
        padding: 1.5rem;
    }

    .contact-info-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .contact-info-item i {
        margin: 0 auto;
    }

    .cta-content h2 {
        font-size: 1.75rem;
    }

    .cta-content p {
        font-size: 1rem;
    }
}

/* Small Mobile Phones */
@media (max-width: 375px) {
    .container {
        padding: 0 1rem;
    }

    .hero h1 {
        font-size: 1.625rem;
    }

    .coverage-grid {
        grid-template-columns: 1fr;
    }
}