/* Mobile-First Responsive Styles */

/* Extra Small Devices (phones, less than 576px) */
@media (max-width: 575.98px) {
    /* Typography */
    .display-4 {
        font-size: 2rem !important;
    }
    
    h1 {
        font-size: 1.75rem !important;
    }
    
    h2 {
        font-size: 1.5rem !important;
    }
    
    /* Navigation */
    .navbar-brand {
        font-size: 1.1rem !important;
    }
    
    .navbar-nav {
        text-align: center;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
    }
    
    /* Hero Section */
    .hero-section {
        min-height: 80vh;
        text-align: center;
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        padding: 14px 20px;
    }
    
    /* Remove animations on mobile per requirements */
    [data-sal] {
        transform: none !important;
        opacity: 1 !important;
    }
    
    /* Cards */
    .service-card,
    .feature-card,
    .pricing-card,
    .review-card,
    .case-study-card,
    .blog-card {
        margin-bottom: 1.5rem;
    }
    
    /* Team Members */
    .team-member {
        margin-bottom: 2rem;
    }
    
    .member-photo img {
        width: 80px;
        height: 80px;
    }
    
    /* Contact Form */
    .contact-form {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    /* Process Steps */
    .process-step {
        margin-bottom: 2rem;
    }
    
    .step-number .badge {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
    
    /* Gallery */
    .gallery .col-6 {
        margin-bottom: 0.5rem;
    }
    
    /* Footer */
    footer .container {
        text-align: center;
    }
    
    footer .row > div {
        margin-bottom: 2rem;
    }
    
    /* Spacing */
    .py-5 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    
    /* Service Images */
    .service-image {
        width: 60px;
        height: 60px;
    }
    
    /* Price Display */
    .price-display {
        font-size: 1.5rem;
    }
    
    /* Leader Cards */
    .leader-card img {
        width: 100px;
        height: 100px;
    }
    
    /* Timeline */
    .timeline-item {
        margin-bottom: 1.5rem;
    }
}

/* Small Devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .display-4 {
        font-size: 2.25rem !important;
    }
    
    .hero-section {
        min-height: 85vh;
    }
    
    .hero-buttons {
        display: flex;
        gap: 1rem;
        justify-content: center;
    }
    
    .hero-buttons .btn {
        padding: 12px 24px;
    }
    
    /* Remove animations on mobile */
    [data-sal] {
        transform: none !important;
        opacity: 1 !important;
    }
    
    .service-image {
        width: 70px;
        height: 70px;
    }
    
    .member-photo img {
        width: 90px;
        height: 90px;
    }
    
    .price-display {
        font-size: 1.75rem;
    }
}

/* Medium Devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-section {
        min-height: 90vh;
    }
    
    .hero-buttons {
        display: flex;
        gap: 1rem;
    }
    
    .service-image {
        width: 75px;
        height: 75px;
    }
    
    .member-photo img {
        width: 95px;
        height: 95px;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .leader-card img {
        width: 110px;
        height: 110px;
    }
}

/* Large Devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .hero-section {
        min-height: 95vh;
    }
    
    .service-image {
        width: 80px;
        height: 80px;
    }
    
    .member-photo img {
        width: 100px;
        height: 100px;
    }
    
    .leader-card img {
        width: 115px;
        height: 115px;
    }
}

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .hero-section {
        min-height: 100vh;
    }
    
    .container {
        max-width: 1200px;
    }
    
    .service-image {
        width: 80px;
        height: 80px;
    }
    
    .member-photo img {
        width: 100px;
        height: 100px;
    }
    
    .leader-card img {
        width: 120px;
        height: 120px;
    }
}

/* Landscape Orientation Adjustments */
@media (orientation: landscape) and (max-height: 500px) {
    .hero-section {
        min-height: 100vh;
        padding-top: 60px;
    }
    
    .hero-section .container {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .hero-shapes,
    .btn,
    footer {
        display: none !important;
    }
    
    .hero-section {
        min-height: auto;
        background: white !important;
    }
    
    * {
        color: black !important;
        background: white !important;
    }
    
    .py-5 {
        padding: 1rem 0 !important;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .service-image,
    .member-photo img,
    .leader-card img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Dark Mode Support */

/* Reduced Motion Preferences */
@media (prefers-reduced-motion: reduce) {
    .hero-section,
    .feature-card,
    .service-card,
    .pricing-card,
    .review-card,
    .team-member,
    .contact-form,
    .gallery img,
    .faq-card,
    .blog-card,
    .case-study-card,
    .career-card,
    .info-card,
    .story-item,
    .approach-item,
    .leader-card,
    .culture-item,
    .award-item,
    .service-overview-item,
    .industry-item,
    .package-item,
    .tech-item {
        transition: none !important;
        animation: none !important;
    }
    
    .hero-shapes .shape-1,
    .hero-shapes .shape-2 {
        display: none;
    }
}

/* Focus Styles for Accessibility */
.btn:focus,
.form-control:focus,
.nav-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .feature-card,
    .service-card,
    .pricing-card,
    .review-card,
    .contact-form,
    .faq-card,
    .blog-card,
    .case-study-card,
    .career-card,
    .info-card {
        border: 2px solid #000;
    }
    
    .btn-primary {
        background-color: #000;
        border-color: #000;
        color: #fff;
    }
    
    .btn-outline-primary {
        border-color: #000;
        color: #000;
    }
} 

body {
    overflow-x: hidden;
}

.hero-section h1 {
    padding-top: 200px;
}