/* ===================================
   MOBILE RESPONSIVE STYLES
   =================================== */

/* Mobile Menu Styles */
.mobile-menu-toggle {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
    position: relative;
}

.hamburger-line {
    width: 28px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    z-index: 1002;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-content {
    padding: 80px 30px 30px;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 30px;
}

.mobile-nav-link {
    padding: 15px 0;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    border-bottom: 1px solid #f0f0f0;
    transition: color 0.3s;
}

.mobile-nav-link:hover {
    color: var(--primary-pink);
}

.mobile-menu-cta {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Responsive Typography */
@media (max-width: 1199px) {
    .section-title {
        font-size: 2.2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 991px) {
    .section-title {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 1rem;
    }
}

@media (max-width: 767px) {
    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    .feature-title {
        font-size: 1.1rem;
    }

    .feature-desc {
        font-size: 0.9rem;
    }
}

@media (max-width: 575px) {
    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }
}

/* Header Responsive */
@media (max-width: 991px) {
    .modern-header {
        padding: 12px 0;
    }

    .header-logo img {
        height: 35px;
    }

    .modern-nav,
    .header-cta {
        display: none !important;
    }
}

/* Hero Section Responsive */
@media (max-width: 991px) {
    .modern-hero {
        padding: 80px 0 60px;
        min-height: auto;
    }

    .modern-hero-row {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        margin-bottom: 40px;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-image-wrapper {
        margin-top: 0;
    }
}

@media (max-width: 767px) {
    .modern-hero {
        padding: 70px 0 50px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-modern {
        width: 100%;
        justify-content: center;
    }

    .hero-description {
        max-width: 100%;
    }
}

/* Stats Section Responsive */
@media (max-width: 767px) {
    .stats-section {
        padding: 40px 0;
    }

    .stats-box {
        padding: 40px 20px;
    }

    .stat-item {
        padding: 15px 10px;
    }
}

/* Features Section Responsive */
@media (max-width: 991px) {
    .features-section {
        padding: 60px 0 !important;
    }

    .feature-card {
        padding: 30px 20px;
        margin-bottom: 20px;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
}

@media (max-width: 767px) {
    .features-section {
        padding: 50px 0 !important;
    }
}

/* Hardware Section Responsive */
@media (max-width: 991px) {
    .hardware-section {
        padding: 60px 0;
    }

    .hardware-card {
        min-height: 350px;
        padding: 30px 20px;
    }

    .hardware-img-wrapper {
        height: 180px;
    }
}

@media (max-width: 767px) {
    .hardware-section {
        padding: 50px 0;
    }

    .hardware-card {
        min-height: 300px;
    }
}

/* Testimonials Responsive */
@media (max-width: 991px) {
    .testimonials-section {
        padding: 60px 0;
    }

    .testimonial-card {
        padding: 25px;
        margin-bottom: 20px;
    }
}

@media (max-width: 767px) {
    .testimonials-section {
        padding: 50px 0;
    }

    .testimonial-text {
        font-size: 0.95rem;
    }
}

/* Pricing Section Responsive */
@media (max-width: 991px) {
    .pricing-m {
        margin-bottom: 30px !important;
    }

    .pricing-m .pricing-header .h3 {
        font-size: 1.3rem;
    }

    .pricing-m .price .h4 {
        font-size: 1.5rem;
    }

    .pricing-details p {
        font-size: 0.85rem;
        padding: 12px 10px;
    }
}

@media (max-width: 767px) {
    #packages {
        padding: 50px 0 !important;
    }

    .pricing-tab {
        flex-direction: column;
        gap: 10px;
    }

    .pricing-tab .nav-link {
        width: 100%;
        text-align: center;
    }
}

/* FAQ Section Responsive */
@media (max-width: 991px) {
    .faq-section {
        padding: 60px 0;
    }

    .modern-accordion .accordion-button {
        padding: 15px 20px;
        font-size: 0.95rem;
    }

    .modern-accordion .accordion-body {
        padding: 0 20px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 767px) {
    .faq-section {
        padding: 50px 0;
    }
}

/* Contact Section Responsive */
@media (max-width: 991px) {
    .contact-section {
        padding: 60px 0;
    }

    .contact-form-card {
        padding: 30px 20px;
        margin-top: 40px;
    }

    .contact-detail-item {
        margin-bottom: 25px;
    }

    .detail-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

@media (max-width: 767px) {
    .contact-section {
        padding: 50px 0;
    }

    .contact-form-card {
        padding: 25px 15px;
    }

    .form-title {
        font-size: 1.3rem;
    }

    .social-link-item {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

/* CTA Section Responsive */
@media (max-width: 991px) {
    .cta-section {
        padding: 60px 0;
    }

    .cta-section h2 {
        font-size: 2rem;
    }

    .cta-section .lead {
        font-size: 1rem;
    }
}

@media (max-width: 767px) {
    .cta-section {
        padding: 50px 0;
    }

    .cta-section h2 {
        font-size: 1.75rem;
    }
}

/* Footer Responsive */
@media (max-width: 991px) {
    .modern-footer {
        padding: 60px 0 20px;
    }

    .footer-heading {
        font-size: 1rem;
        margin-bottom: 20px;
    }
}

@media (max-width: 767px) {
    .modern-footer {
        padding: 50px 0 20px;
    }

    .footer-desc {
        font-size: 0.9rem;
    }

    .footer-links li {
        margin-bottom: 12px;
    }

    .footer-bottom {
        margin-top: 40px;
        padding-top: 20px;
        font-size: 0.85rem;
    }
}

/* Button Responsive */
@media (max-width: 767px) {
    .btn-modern {
        padding: 10px 24px;
        font-size: 0.95rem;
    }
}

/* Container Padding for Mobile */
@media (max-width: 767px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 575px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Scroll to Top Button Responsive */
@media (max-width: 767px) {
    #scrolltotop {
        width: 45px;
        height: 45px;
        font-size: 18px;
        bottom: 20px;
        right: 20px;
    }
}

/* Form Responsive */
@media (max-width: 767px) {
    .form-control-modern {
        padding: 10px 12px;
        font-size: 0.95rem;
    }

    .form-group-modern label {
        font-size: 0.85rem;
    }
}

/* Ensure no horizontal scroll */
body {
    overflow-x: hidden;
}

* {
    max-width: 100%;
}

img {
    height: auto;
}