/* Tablet Styles (768px - 991px) */
@media (max-width: 991px) {
    /* Header adjustments for tablet */
    .menu {
        display: none;
    }
    
    .bar-icon {
        display: flex;
    }
    
    /* Hide login button in header when sidebar is available */
    .readmore_btn .btn_1 {
        display: none;
    }
    
    .readmore_btn {
        display: flex;
        align-items: center;
        gap: 15px;
    }
    
    /* Hero section adjustments */
    .hero-box {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .stats-container {
        justify-content: center;
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .section-header h2 {
        font-size: 2.5rem;
    }
    
    /* Sidebar adjustments for tablet */
    .sidebar {
        width: 320px;
        right: -320px;
    }
    
    .sidebar.open {
        right: 0;
    }
}

/* Mobile Landscape (576px - 767px) */
@media (max-width: 767px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .word span {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .about-content h3 {
        font-size: 2rem;
    }
    
    .stats-container {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .footer-bottom .row {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    /* Sidebar adjustments for mobile landscape */
    .sidebar {
        width: 300px;
        right: -300px;
    }
}

/* Mobile Portrait (max-width: 575px) */
@media (max-width: 575px) {
    .sidebar {
        width: 280px;
        right: -280px;
        padding: 20px;
    }
    
    .nav-header img {
        width: 120px;
    }
    
    .hero-content h1 {
        font-size: 0.6rem;
    }
    
    .word span {
        font-size: 2rem;
    }
    
    .stats-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .feature {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .highlight {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    /* FAQ adjustments for mobile */
    .faq-question {
        padding: 15px 20px;
    }
    
    .faq-question h4 {
        font-size: 1rem;
    }
    
    .faq-answer {
        padding: 0 20px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 20px 15px;
    }
    
    /* Contact sidebar adjustments */
    .contact-sidbar li a {
        font-size: 13px;
        align-items: flex-start;
    }
    
    .contact-sidbar li a i {
        margin-top: 3px;
    }
}

/* Large Desktop Adjustments (min-width: 992px) */
@media (min-width: 992px) {
    /* Hide sidebar login button on desktop */
    .sidebar .header_btn {
        display: none;
    }
    
    /* Ensure regular menu and login button are visible */
    .menu {
        display: block;
    }
    
    .readmore_btn .btn_1 {
        display: inline-block;
    }
    
    .bar-icon {
        display: none;
    }
}

/* Small Mobile Devices (max-width: 380px) */
@media (max-width: 380px) {
    .sidebar {
        width: 260px;
        right: -260px;
        padding: 15px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .word span {
        font-size: 1.8rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .nav-header img {
        width: 100px;
    }
    
    .sibde_links li a {
        font-size: 15px;
    }
    
    .contact-sidbar h3 {
        font-size: 16px;
    }
}

/* Height adjustments for very small screens */
@media (max-height: 600px) {
    .sidebar {
        padding-top: 20px;
        padding-bottom: 20px;
    }
    
    .nav-header {
        margin-bottom: 20px;
    }
    
    .sibde_links {
        margin-bottom: 20px;
    }
    
    .sibde_links li {
        margin-bottom: 10px;
    }
    
    .contact-sidbar {
        margin-bottom: 20px;
    }
    
    .contact-sidbar li {
        margin-bottom: 10px;
    }
}

/* About Page Responsive Styles */

/* Tablet Styles (768px - 991px) */
@media (max-width: 991px) {
    /* .about_breadcrumb {
        padding: 200px 0 50px;
    } */
    
    .breadcrump_content h2 {
        font-size: 2.5rem;
    }
    
    .roadmap-box {
        padding: 25px;
    }
    
    .subscribe-content h3 {
        font-size: 2rem;
    }
    
    .newsletter-form form {
        flex-direction: column;
        border-radius: 15px;
        gap: 10px;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        border-radius: 10px;
        text-align: center;
    }
}

/* Mobile Landscape (576px - 767px) */
@media (max-width: 767px) {
    /* .about_breadcrumb {
        padding: 200px 0 40px;
    } */
    
    .breadcrump_content h2 {
        font-size: 2rem;
    }
    
    .breadcrump_content ul {
        flex-wrap: wrap;
    }
    
    .roadmap-row {
        gap: 20px;
    }
    
    .roadmap-box {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .roadmap-icon {
        margin: 0 auto;
    }
    
    .subscribe-content h3 {
        font-size: 1.8rem;
    }
    
    .feature-list li {
        font-size: 1rem;
        padding-left: 25px;
    }
}

/* Mobile Portrait (max-width: 575px) */
@media (max-width: 575px) {
    /* .about_breadcrumb {
        padding: 200px 0 30px;
    } */
    
    .breadcrump_content h2 {
        font-size: 1.8rem;
    }
    
    .breadcrump_content ul {
        font-size: 0.9rem;
    }
    
    .roadmap-box {
        padding: 20px;
    }
    
    .roadmap-content h4 {
        font-size: 1.1rem;
    }
    
    .subscribe-content h3 {
        font-size: 1.6rem;
    }
    
    .subscribe-content p {
        font-size: 1rem;
    }
    
    .newsletter-form input {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .newsletter-form button {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
}

/* Small Mobile Devices (max-width: 380px) */
@media (max-width: 380px) {
    /* .breadcrump_content h2 {
        font-size: 1.6rem;
    } */
    
    .roadmap-content ul li {
        font-size: 0.85rem;
    }
    
    .subscribe-content h3 {
        font-size: 1.4rem;
    }
}

/* Height adjustments for very small screens */
@media (max-height: 600px) {
    /* .about_breadcrumb {
        padding: 100px 0 40px;
    } */
}

/* Services Page Responsive Styles */

/* Tablet Styles (768px - 991px) */
@media (max-width: 991px) {
    .services-hero-section {
        padding: 80px 0;
    }
    
    .services-hero-content h2 {
        font-size: 2.5rem;
    }
    
    .services-hero-content p {
        font-size: 1.1rem;
    }
    
    .feature-highlight {
        padding: 20px;
    }
    
    .highlight-icon {
        width: 50px;
        height: 50px;
    }
    
    .highlight-icon img {
        width: 25px;
        height: 25px;
    }
    
    .tech-content h3 {
        font-size: 2rem;
    }
    
    .tech-graphic {
        height: 350px;
    }
    
    .cta-section h2 {
        font-size: 2.3rem;
    }
}

/* Mobile Landscape (576px - 767px) */
@media (max-width: 767px) {
    .services-hero-section {
        padding: 60px 0;
    }
    
    .services-hero-content h2 {
        font-size: 2rem;
    }
    
    .services-hero-content p {
        font-size: 1rem;
    }
    
    .feature-highlight {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .services-section .service-card {
        padding: 30px 20px;
    }
    
    .tech-content h3 {
        font-size: 1.8rem;
    }
    
    .tech-features .feature {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .cta-section p {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Mobile Portrait (max-width: 575px) */
@media (max-width: 575px) {
    .services-hero-content h2 {
        font-size: 1.8rem;
    }
    
    .services-hero-content p {
        font-size: 0.95rem;
    }
    
    .services-section .service-card h4 {
        font-size: 1.2rem;
    }
    
    .services-section .service-card p {
        font-size: 0.9rem;
    }
    
    .tech-content h3 {
        font-size: 1.6rem;
    }
    
    .tech-content p {
        font-size: 1rem;
    }
    
    .tech-graphic {
        height: 300px;
    }
    
    .cta-section h2 {
        font-size: 1.8rem;
    }
    
    .cta-section p {
        font-size: 1rem;
    }
}

/* Small Mobile Devices (max-width: 380px) */
@media (max-width: 380px) {
    .services-hero-content h2 {
        font-size: 1.6rem;
    }
    
    .services-section .service-card {
        padding: 25px 15px;
    }
    
    .services-section .service-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }
    
    .services-section .service-icon img {
        width: 35px;
        height: 35px;
    }
    
    .tech-content h3 {
        font-size: 1.4rem;
    }
    
    .cta-section h2 {
        font-size: 1.6rem;
    }
}

/* Height adjustments for very small screens */
@media (max-height: 600px) {
    .services-hero-section {
        padding: 80px 0;
    }
    
    .services-section {
        padding: 80px 0;
    }
    
    .technology-section {
        padding: 80px 0;
    }
    
    .cta-section {
        padding: 80px 0;
    }
}

/* Contact Page Responsive Styles */

/* Tablet Styles (768px - 991px) */
@media (max-width: 991px) {
    .contact-section {
        padding: 80px 0;
    }
    
    .contact-info,
    .contact-form {
        padding: 30px;
    }
    
    .contact-info h3,
    .contact-form h3 {
        font-size: 1.8rem;
    }
    
    .contact-item {
        padding: 20px;
    }
    
    .map-section {
        padding: 80px 0;
    }
    
    .cta-section h2 {
        font-size: 2.3rem;
    }
}

/* Mobile Landscape (576px - 767px) */
@media (max-width: 767px) {
    .contact-section {
        padding: 90px 0;
    }
    
    .contact-info,
    .contact-form {
        padding: 25px;
        margin-bottom: 30px;
    }
    
    .contact-info h3,
    .contact-form h3 {
        font-size: 1.6rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .contact-icon {
        margin: 0 auto;
    }
    
    .social-media .social-links {
        justify-content: center;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px 15px;
    }
    
    .map-section {
        padding: 60px 0;
    }
    
    .map-container iframe {
        height: 400px;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .cta-section p {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Mobile Portrait (max-width: 575px) */
@media (max-width: 575px) {
    .contact-info,
    .contact-form {
        padding: 20px;
    }
    
    .contact-info h3,
    .contact-form h3 {
        font-size: 1.4rem;
    }
    
    .contact-info > p {
        font-size: 1rem;
    }
    
    .contact-item {
        padding: 15px;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .social-media .social-links a {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-group label {
        font-size: 0.9rem;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 0.9rem;
        padding: 10px 15px;
    }
    
    .contact-form .cta-btn {
        padding: 15px 25px;
        font-size: 1rem;
    }
    
    .map-container iframe {
        height: 350px;
    }
    
    .cta-section h2 {
        font-size: 1.8rem;
    }
    
    .cta-section p {
        font-size: 1rem;
    }
}

/* Small Mobile Devices (max-width: 380px) */
@media (max-width: 380px) {
    .contact-info,
    .contact-form {
        padding: 15px;
    }
    
    .contact-info h3,
    .contact-form h3 {
        font-size: 1.3rem;
    }
    
    .contact-details {
        margin-bottom: 30px;
    }
    
    .contact-item {
        margin-bottom: 20px;
    }
    
    .social-media .social-links {
        gap: 10px;
    }
    
    .social-media .social-links a {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .map-container iframe {
        height: 300px;
    }
    
    .cta-section h2 {
        font-size: 1.6rem;
    }
}

/* Height adjustments for very small screens */
@media (max-height: 600px) {
    .contact-section {
        padding: 80px 0;
    }
    
    .map-section {
        padding: 80px 0;
    }
    
    .cta-section {
        padding: 80px 0;
    }
}

/* Form focus states for accessibility */
@media (prefers-reduced-motion: reduce) {
    .contact-item,
    .form-group input,
    .form-group textarea,
    .contact-form .cta-btn {
        transition: none;
    }
}