/* 
 * Responsive CSS
 * Ivara Innovation
 */

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* Large devices (desktops, 992px and up) */
@media (max-width: 1199.98px) {
    .display-1 {
        font-size: 4.5rem;
    }
    
    .display-2 {
        font-size: 4rem;
    }
    
    .display-3 {
        font-size: 3.5rem;
    }
    
    .display-4 {
        font-size: 3rem;
    }
    
    .display-5 {
        font-size: 2.5rem;
    }
    
    .display-6 {
        font-size: 2rem;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (max-width: 991.98px) {
    /* Navigation */
    .navbar-collapse {
        background: white;
        padding: 1rem;
        border-radius: 1rem;
        margin-top: 1rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    
    .navbar-nav {
        align-items: flex-start !important;
        gap: 1rem !important;
    }
    
    .navbar-nav .btn {
        width: 100%;
        text-align: center;
        margin: 0.5rem 0;
    }
    
    /* Hero Section */
    .hero-section {
        align-items: initial;
    }
    
    .hero-section .display-1 {
        font-size: 3.5rem;
    }
    
    /* Services Section */
    .service-block {
        padding: 50px 0;
    }
    
    /* Process Steps */
    .process-node {
        margin-bottom: 30px;
    }
    
    .process-number {
        left: 20px;
    }
    
    /* Case Studies */
    .case-content {
        padding: 2rem;
    }
    
    /* Team Section */
    .team-card {
        text-align: center;
    }
    
    .team-img {
        width: 200px;
        height: 200px;
        margin: 0 auto;
    }
    
    /* Contact Page */
    .contact-card {
        padding: 2rem;
    }
    
    /* Footer */
    footer .row {
        text-align: center;
    }
    
    footer .col-md-4 {
        margin-bottom: 1rem;
    }
    
    footer .text-md-end {
        text-align: center !important;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 767.98px) {
    /* Typography */
    .display-1 {
        font-size: 2.8rem;
    }
    
    .display-2 {
        font-size: 2.5rem;
    }
    
    .display-3 {
        font-size: 2.2rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.8rem;
    }
    
    .display-6 {
        font-size: 1.5rem;
    }
    
    /* Hero Section */
    .hero-section {
        padding: 80px 0;
    }
    
    .hero-section .display-1 {
        font-size: 2.5rem;
    }
    
    /* Buttons */
    .btn-lg {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    /* Cards */
    .value-card,
    .blog-card,
    .case-card {
        padding: 1.5rem;
    }
    
    .value-card h4 {
        font-size: 1.3rem;
    }
    
    /* Process Section */
    .process-node {
        padding: 1.5rem;
    }
    
    .process-node h5 {
        font-size: 1.2rem;
    }
    
    /* Stats Section */
    .stats-number {
        font-size: 2rem;
    }
    
    /* FAQ */
    .accordion-button {
        font-size: 1rem;
        padding: 1rem;
    }
    
    /* Contact Form */
    .form-control-lg {
        padding: 0.75rem 1rem;
    }
    
    .info-item {
        flex-direction: row;
        text-align: left;
    }
    
    .info-icon {
        margin-right: 15px !important;
        margin-bottom: 1rem;
        
    }
    
    
    .contact-meta-card{
        padding:20px;
    }
    /* CTA Box */
    .cta-box {
        padding: 3rem 1rem !important;
        border-radius: 2rem !important;
    }
    
    .cta-box .display-3 {
        font-size: 2rem;
    }
    .sticky-top
    {
        position: relative !important;
       
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    /* Navigation */
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    /* Hero Section */
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-section .display-1 {
        font-size: 2rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
    }
    
    /* Service Icons */
    .service-icon-box {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    /* Result Items */
    .result-val {
        font-size: 1.2rem;
    }
    
    .result-label {
        font-size: 0.7rem;
    }
    
    /* Filter Buttons */
    .filter-btn {
        padding: 6px 12px;
        font-size: 0.7rem;
    }
    
    /* Social Icons */
    .social-circle {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    /* Gallery */
    .gallery {
        grid-template-columns: 1fr;
    }
    
    /* Comments */
    .comment {
        padding: 1rem;
    }
    
    .comment-author img {
        width: 40px;
        height: 40px;
    }
    
    /* Footer */
    footer {
        padding: 2rem 0 !important;
    }
    
    footer .brand-font {
        font-size: 1.2rem;
    }
}

/* Landscape mode for phones */
@media (max-height: 600px) and (orientation: landscape) {
    .hero-section {
        min-height: auto;
        padding: 100px 0;
    }
    
    .scroll-indicator {
        display: none;
    }
}

/* Print styles */
@media print {
    .navbar,
    .footer,
    .btn,
    .video-container,
    .cta-box {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    a {
        text-decoration: none;
        color: black;
    }
    
    h1, h2, h3 {
        page-break-after: avoid;
    }
    
    img {
        max-width: 100% !important;
        page-break-inside: avoid;
    }
}


@media screen and (max-width:991.99px) {
    .mobile-vid-container{display: block; aspect-ratio: 16/9; position: relative;}
    .mobile-overlay{background:url('../images/desktop-iphone-landscape.png') center center/cover no-repeat; width: 100%; height: 100%;}
    .vid-container{ aspect-ratio: 9/16; padding: 25px 15px;}
    
}

@media screen and (max-width:1399px) {
    .scroll-indicator-container { display: none;}
}