/* Responsive CSS */

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* Large devices (desktops, 992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    h1 {
        font-size: 2.25rem;
    }
    h2 {
        font-size: 1.75rem;
    }
    h3 {
        font-size: 1.5rem;
    }
    .hero {
        min-height: 80vh;
    }
}

/* Medium devices (tablets, 768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.5rem;
    }
    h3 {
        font-size: 1.35rem;
    }
    p {
        font-size: 0.95rem;
    }
    section {
        padding: 4rem 0;
    }
    .hero {
        min-height: 70vh;
    }
    .team-member img {
        width: 120px;
        height: 120px;
    }
    footer {
        padding: 3rem 0 1.5rem;
    }
}

/* Small devices (landscape phones, 576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    h1 {
        font-size: 1.75rem;
    }
    h2 {
        font-size: 1.4rem;
    }
    h3 {
        font-size: 1.25rem;
    }
    p {
        font-size: 0.9rem;
    }
    .navbar-brand {
        font-size: 1.3rem;
    }
    section {
        padding: 3.5rem 0;
    }
    .hero {
        min-height: auto;
        padding: 5rem 0;
    }
    .section-desc {
        margin-bottom: 2rem;
    }
    .service-item, .feature-item, .team-member, .testimonial-card,
    .blog-item, .casestudy-item, .faq-card, .gallery-item {
        margin-bottom: 1.25rem;
    }
    footer {
        padding: 2.5rem 0 1rem;
    }
    .contact-form {
        padding: 1.5rem;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575px) {
    h1 {
        font-size: 1.5rem;
    }
    h2 {
        font-size: 1.3rem;
    }
    h3 {
        font-size: 1.15rem;
    }
    p {
        font-size: 0.9rem;
    }
    .navbar-brand {
        font-size: 1.2rem;
    }
    section {
        padding: 3rem 0;
    }
    .hero {
        min-height: auto;
        padding: 4rem 0;
    }
    .section-desc {
        margin-bottom: 1.5rem;
    }
    .service-item, .feature-item, .team-member, .testimonial-card,
    .blog-item, .casestudy-item, .faq-card, .gallery-item,
    .career-item, .core-info-item, .timeline-item {
        margin-bottom: 1rem;
    }
    footer {
        padding: 2rem 0 1rem;
    }
    .contact-form {
        padding: 1.25rem;
    }
    .team-member img {
        width: 100px;
        height: 100px;
    }
    
    /* Disable animations on mobile */
    [data-sal], [data-scroll], [data-sr-id] {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Fix for utility classes */
@media (max-width: 767px) {
    .text-center-sm {
        text-align: center !important;
    }
    .mb-4-sm {
        margin-bottom: 1.5rem !important;
    }
}

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    [data-sal], [data-scroll], [data-sr-id] {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
} 

.hero-content {
    padding-top: 250px;
}