 /* ============================================
   DONRESOURCES RESPONSIVE STYLES
   File: responsive.css
   Version: 2.0
   Description: Mobile-first responsive styles
   ============================================ */

/* ============================================
   LARGE DEVICES (Desktops, 1200px and up)
   ============================================ */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* ============================================
   MEDIUM DEVICES (Tablets, 992px to 1199px)
   ============================================ */
@media (max-width: 1199px) {
    .container {
        max-width: 960px;
    }
    
    h1 { font-size: 42px; }
    h2 { font-size: 32px; }
    h3 { font-size: 26px; }
}

/* ============================================
   SMALL DEVICES (Tablets, 768px to 991px)
   ============================================ */
@media (max-width: 991px) {
    .container {
        max-width: 720px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .card-image {
        height: 180px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .page-header {
        padding: 60px 0 30px !important;
    }
    
    .page-header h1 {
        font-size: 32px;
    }
}

/* ============================================
   EXTRA SMALL DEVICES (Phones, 576px to 767px)
   ============================================ */
@media (max-width: 767px) {
    .container {
        max-width: 540px;
        padding: 0 15px;
    }
    
    h1 { font-size: 32px; }
    h2 { font-size: 26px; }
    h3 { font-size: 22px; }
    h4 { font-size: 18px; }
    
    .hero {
        min-height: 80vh;
        padding: 80px 0 40px;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 15px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
    
    .stat-number {
        font-size: 28px !important;
    }
    
    .stat-label {
        font-size: 12px !important;
    }
    
    .card {
        margin-bottom: 15px;
    }
    
    .card-body {
        padding: 15px;
    }
    
    .card-image {
        height: 160px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
    }
    
    .filter-buttons .btn {
        padding: 6px 14px !important;
        font-size: 12px !important;
        margin: 3px !important;
    }
    
    .form-control {
        font-size: 14px;
        padding: 10px 14px;
    }
    
    .btn {
        padding: 10px 20px !important;
        font-size: 14px !important;
    }
    
    .btn-lg {
        padding: 12px 24px !important;
        font-size: 15px !important;
    }
    
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    
    .page-header {
        padding: 40px 0 20px !important;
    }
    
    .page-header h1 {
        font-size: 26px;
    }
    
    .page-header p {
        font-size: 14px;
    }
    
    .breadcrumb {
        font-size: 12px;
        flex-wrap: wrap;
    }
    
    .modal {
        padding: 20px;
        margin: 10px;
    }
    
    .toast-container {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .toast {
        font-size: 13px;
    }
    
    .typed-wrapper {
        font-size: var(--text-lg);
        min-height: 40px;
    }
}

/* ============================================
   EXTRA EXTRA SMALL (Very Small Phones, under 576px)
   ============================================ */
@media (max-width: 575px) {
    .hero h1 {
        font-size: 24px;
    }
    
    .hero-badge {
        font-size: 11px;
        padding: 3px 12px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
    }
    
    .stat-card {
        padding: 12px !important;
    }
    
    .stat-number {
        font-size: 22px !important;
    }
    
    .stat-icon {
        font-size: 24px !important;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr !important;
    }
    
    .filter-buttons {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .filter-buttons .btn {
        flex: 1 0 auto;
        max-width: 100px;
        font-size: 11px !important;
        padding: 4px 10px !important;
    }
    
    .section {
        padding: 30px 0 !important;
    }
    
    .section-lg {
        padding: 40px 0 !important;
    }
    
    .section-title h2 {
        font-size: 22px;
    }
    
    .section-title p {
        font-size: 14px;
    }
    
    .service-card {
        padding: 16px !important;
    }
    
    .service-card-icon {
        font-size: 32px !important;
    }
    
    .service-card h4 {
        font-size: 16px !important;
    }
    
    .service-card p {
        font-size: 13px !important;
    }
    
    .feature-card {
        padding: 16px !important;
    }
    
    .feature-card-icon {
        font-size: 32px !important;
    }
    
    .feature-card h5 {
        font-size: 15px !important;
    }
    
    .feature-card p {
        font-size: 13px !important;
    }
    
    .cta-content h2 {
        font-size: 22px !important;
    }
    
    .cta-content p {
        font-size: 14px !important;
    }
    
    .modal {
        padding: 16px;
        margin: 8px;
    }
    
    .modal-header h3 {
        font-size: 18px;
    }
    
    .page-header h1 {
        font-size: 22px;
    }
    
    .page-header p {
        font-size: 13px;
    }
    
    .breadcrumb {
        font-size: 11px;
    }
    
    .back-to-top {
        width: 36px;
        height: 36px;
        font-size: 14px;
        bottom: 16px;
        right: 16px;
    }
    
    .typed-wrapper {
        font-size: var(--text-base);
        min-height: 35px;
    }
}

/* ============================================
   HIDE/ SHOW UTILITIES
   ============================================ */
@media (max-width: 767px) {
    .hide-mobile {
        display: none !important;
    }
}

@media (min-width: 768px) {
    .show-mobile {
        display: none !important;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .site-header,
    .site-footer,
    .back-to-top,
    .scroll-indicator,
    .hero-scroll,
    .btn,
    .no-print {
        display: none !important;
    }
    
    .hero {
        min-height: auto !important;
        padding: 40px 0 !important;
        background: white !important;
        color: black !important;
    }
    
    .hero h1 {
        color: black !important;
    }
    
    .hero p {
        color: #333 !important;
    }
    
    .page-header {
        background: white !important;
        color: black !important;
        padding: 20px 0 !important;
        margin-top: 0 !important;
    }
    
    .page-header h1 {
        color: black !important;
    }
    
    .card {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
    
    .section {
        padding: 20px 0 !important;
    }
    
    .bg-gray,
    .bg-white {
        background: white !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .container {
        max-width: 100% !important;
        padding: 0 20px !important;
    }
}