/* Mobile First Responsive Design */

/* Extra Large devices (1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* Large devices (992px and up) */
@media (max-width: 991.98px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero-section {
        text-align: center;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        width: calc(100% - 40px);
        left: 40px !important;
    }
    
    .timeline-year {
        left: -20px !important;
        right: auto !important;
    }
}

/* Medium devices (768px and up) */
@media (max-width: 767.98px) {
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    .hero-section {
        padding: 2rem 0;
        min-height: auto;
    }
    
    .service-card, .feature-card, .price-card {
        margin-bottom: 2rem;
    }
    
    .price-card.featured {
        transform: none;
        margin-bottom: 2rem;
    }
    
    .team-member {
        margin-bottom: 2rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .shape-1, .shape-2 {
        display: none;
    }
}

/* Small devices (576px and up) */
@media (max-width: 575.98px) {
    .container {
        padding: 0 15px;
    }
    
    .navbar-brand {
        font-size: 1.1rem;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    h2 {
        font-size: 1.25rem;
    }
    
    .btn-lg {
        padding: 0.5rem 1.5rem;
        font-size: 1rem;
    }
    
    .hero-actions .btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
    }
    
    .service-card, .feature-card, .price-card,
    .review-card, .case-study-card, .blog-card,
    .career-card, .info-card, .faq-card {
        padding: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .contact-info {
        padding: 1.5rem;
        text-align: center;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .timeline-item {
        padding: 1.5rem;
    }
    
    .timeline-year {
        position: relative;
        left: 0 !important;
        right: 0 !important;
        top: 0;
        transform: none;
        margin-bottom: 1rem;
        display: inline-block;
    }
}

/* Extra Small devices (less than 480px) */
@media (max-width: 479.98px) {
    .navbar-toggler {
        padding: 0.25rem 0.5rem;
    }
    
    .navbar-collapse {
        text-align: center;
        margin-top: 1rem;
    }
    
    .hero-section {
        padding: 1rem 0;
    }
    
    .hero-image {
        margin-top: 2rem;
    }
    
    .price-display {
        font-size: 2rem;
    }
    
    .team-member img {
        width: 100px;
        height: 100px;
    }
    
    .contact-item {
        margin-bottom: 2rem;
    }
    
    .gallery-item {
        margin-bottom: 1rem;
    }
}

/* Animation disabling for mobile */
@media (max-width: 767.98px) {
    @media (prefers-reduced-motion: no-preference) {
        [data-sal] {
            animation: none !important;
            transform: none !important;
            opacity: 1 !important;
        }
    }
    
    .service-card:hover, .feature-card:hover, .price-card:hover {
        transform: none;
    }
    
    .case-study-card:hover, .blog-card:hover, .info-card:hover {
        transform: none;
    }
    
    #gallery img:hover {
        transform: none;
    }
}

/* Print Styles */
@media print {
    .navbar, .hero-shapes, .btn, #footer {
        display: none !important;
    }
    
    body {
        color: black !important;
        background: white !important;
    overflow-x: hidden;
}
    
    .hero-section {
        background: white !important;
        min-height: auto !important;
    }
    
    .service-card, .feature-card, .price-card,
    .review-card, .case-study-card, .blog-card {
        box-shadow: none !important;
        border: 1px solid #ccc !important;
    }
} 

.hero-section h1 {
    padding-top: 150px;
}