/* Responsive Design - Mobile First Approach */

/* Extra Large Devices (1400px and up) */
@media (min-width: 1400px) {

    
    .hero-section h1 {
        font-size: 3.65rem;
    padding-top: 125px;
}
    
    section h2 {
        font-size: 2.92rem;
    }
}

/* Large Devices (1200px and up) */
@media (min-width: 1200px) {

    
    .hero-section {
        padding: 10rem 0 6rem;
    }
    
    .feature-card {
        padding: 2.5rem;
    }
}

/* Medium Devices (992px and up) */
@media (min-width: 992px) {

    
    .navbar-expand-lg .navbar-nav {
        flex-direction: row;
    }
    
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 1rem;
        padding-left: 1rem;
    }
}

/* Small Devices (768px and up) */
@media (min-width: 768px) {

    
    .hero-section h1 {
        font-size: 2.58rem;
    padding-top: 125px;
}
    
    .hero-section p {
        font-size: 1.14rem;
    }
    
    .pricing-card.featured {
        transform: scale(1.05);
    }
}

/* Extra Small Devices (576px and up) */
@media (min-width: 576px) {

    
    .hero-section h1 {
        font-size: 2.30rem;
    padding-top: 125px;
}
}

/* Mobile Devices (575px and below) */
@media (max-width: 575px) {
    /* Header */
    .navbar-brand {
        font-size: 1.33rem;
    }
    
    .navbar-toggler {
        border: none;
        padding: 0.25rem 0.5rem;
    }
    
    .navbar-nav {
        background: white;
        border-radius: 0.5rem;
        box-shadow: 0 7px 6px rgba(0, 0, 0, 0.1);
        margin-top: 1rem;
        padding: 1rem;
    }
    
    .navbar-nav .nav-link {
        margin: 0.25rem 0;
        padding: 0.5rem;
        text-align: center;
    }
    
    /* Hero Section */
    .hero-section {
        padding: 6rem 0 3rem;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 1.85rem;
        margin-bottom: 1rem;
    padding-top: 125px;
}
    
    .hero-section p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    /* Sections */
    section {
        padding: 3rem 0;
    }
    
    section h2 {
        font-size: 1.88rem;
        margin-bottom: 1rem;
    }
    
    section h3 {
        font-size: 1.44rem;
    }
    
    section p {
        font-size: 1rem;
    }
    
    /* Cards */
    .feature-card,
    .service-card,
    .pricing-card,
    .team-card,
    .review-card,
    .blog-card,
    .contact-form {
        margin-bottom: 2rem;
        padding: 1.5rem;
    }
    
    .pricing-card.featured {
        transform: none;
        margin-bottom: 2rem;
    }
    
    /* Service Cards */
    .service-card .card-img-top {
        height: 180px;
    }
    
    .service-card .price {
        font-size: 1.31rem;
    }
    
    /* Pricing Cards */
    .pricing-card .price {
        font-size: 2.61rem;
    }
    
    /* Team */
    .team-photo {
        width: 80px;
        height: 80px;
    }
    
    .team-card {
        padding: 1rem;
        text-align: center;
    }
    
    /* Timeline */
    .timeline {
        padding: 1rem 0;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        left: 0;
        text-align: left;
        padding-left: 50px;
        margin: 1.5rem 0;
    }
    
    .timeline-item::before {
        left: 10px;
        width: 15px;
        height: 15px;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
        text-align: left;
    }
    
    .timeline-item:nth-child(even)::before {
        left: 10px;
    }
    
    .timeline-date {
        font-size: 0.93rem;
        padding: 0.4rem 0.8rem;
    }
    
    /* Process Steps */
    .process-step {
        padding: 1.5rem 0.5rem;
        margin-bottom: 1rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.33rem;
    }
    
    /* Gallery */
    .gallery-img {
        height: 200px;
        margin-bottom: 1rem;
    }
    
    /* Contact Form */
    .contact-form {
        padding: 1.5rem;
    }
    
    .contact-form .form-control {
        padding: 0.6rem 0.8rem;
        font-size: 1.01rem;
    }
    
    .contact-icon {
        font-size: 1.63rem;
    }
    
    /* Footer */
    footer {
        padding: 2rem 0 1rem;
        margin-top: 3rem;
    }
    
    footer h5 {
        font-size: 1.32rem;
    }
    
    footer .col-lg-4 {
        margin-bottom: 2rem;
        text-align: center;
    }
    
    /* Breadcrumb */
    .breadcrumb-nav {
        margin-top: 70px;
    }
    
    .breadcrumb-icon {
        width: 18px;
        height: 18px;
    }
    
    /* Buttons */
    .btn-primary {
        padding: 0.6rem 1.5rem;
        font-size: 1.02rem;
    }
    
    /* Utility Classes */
    .text-center-mobile {
        text-align: center;
    }
    
    .mb-mobile {
        margin-bottom: 2rem;
    }
}

/* Tablet Devices (768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .hero-section {
        padding: 7rem 0 4rem;
    }
    
    .hero-section h1 {
        font-size: 2.32rem;
    padding-top: 125px;
}
    
    section {
        padding: 4rem 0;
    }
    
    section h2 {
        font-size: 2.32rem;
    }
    
    .feature-card,
    .service-card,
    .pricing-card,
    .team-card,
    .review-card,
    .blog-card {
        margin-bottom: 2rem;
    }
    
    .pricing-card.featured {
        transform: scale(1.02);
    }
    
    .timeline-item {
        width: 100%;
        left: 0;
        text-align: left;
        padding-left: 60px;
    }
    
    .timeline::before {
        left: 25px;
    }
    
    .timeline-item::before {
        left: 15px;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
        text-align: left;
    }
    
    .timeline-item:nth-child(even)::before {
        left: 15px;
    }
    
    .contact-form {
        padding: 2rem;
    }
}

/* Landscape Mobile Devices */
@media (max-width: 767px) and (orientation: landscape) {
    .hero-section {
        padding: 4rem 0 2rem;
        min-height: 80vh;
    }
    
    .hero-section h1 {
        font-size: 1.74rem;
    padding-top: 125px;
}
    
    section {
        padding: 2rem 0;
    }
    
    .navbar-nav {
        max-height: 200px;
        overflow-y: auto;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-section::before {
        background-image: url('../DAT_images/hero-bg@2x.webp');
    }
}

/* Dark Mode Support */

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .hero-section::before {
        animation: none;
    }
    
    .feature-card:hover,
    .service-card:hover,
    .pricing-card:hover,
    .team-card:hover,
    .review-card:hover,
    .blog-card:hover {
        transform: none;
    }
    
    .gallery-img:hover {
        transform: none;
    }
    
    .btn-primary:hover {
        transform: none;
    }
    
    .timeline-item {
        animation: none;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .breadcrumb-nav,
    footer {
        display: none;
    }
    
    .hero-section {
        background: none;
        color: black;
        padding: 1rem 0;
    }
    
    section {
        padding: 1rem 0;
        page-break-inside: avoid;
    }
    
    .feature-card,
    .service-card,
    .pricing-card,
    .team-card,
    .review-card,
    .blog-card,
    .contact-form {
        box-shadow: none;
        border: 1px solid #b8aaa9;
        page-break-inside: avoid;
    }
    
    a {
        color: black;
        text-decoration: none;
    }
    
    .btn-primary {
        background: none;
        border: 1px solid black;
        color: black;
    }
}

/* Accessibility Improvements */
@media (max-width: 767px) {
    .navbar-nav .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .btn-primary {
        min-height: 44px;
        min-width: 44px;
    }
    
    .contact-form .form-control {
        min-height: 44px;
    }
}

/* Focus Styles for Better Accessibility */
@media (max-width: 767px) {
    .navbar-nav .nav-link:focus,
    .btn-primary:focus,
    .contact-form .form-control:focus {
        outline: 2px solid var(--secondary-color);
        outline-offset: 2px;
    }
}

/* Custom Responsive Utilities */
.d-mobile-none {
    display: none;
}

@media (min-width: 768px) {
    .d-mobile-none {
        display: block;
    }
}

.d-desktop-none {
    display: block;
}

@media (min-width: 768px) {
    .d-desktop-none {
        display: none;
    }
}

/* Responsive Typography */
@media (max-width: 575px) {
    .display-1 { font-size: 2.61rem; }
    .display-2 { font-size: 2rem; }
    .display-3 { font-size: 1.89rem; }
    .display-4 { font-size: 1.58rem; }
    .display-5 { font-size: 1.33rem; }
    .display-6 { font-size: 1rem; }
    
    h1 { font-size: 1.92rem; }
    h2 { font-size: 1.70rem; }
    h3 { font-size: 1.47rem; }
    h4 { font-size: 1.30rem; }
    h5 { font-size: 1.11rem; }
    h6 { font-size: 1rem; }
    
    .lead { font-size: 1.17rem; }
    
    small { font-size: 0.81rem; }
} 