/* ===== RESPONSIVE DESIGN ===== */

/* ===== LARGE SCREENS (Desktop) ===== */
@media (min-width: 1200px) {
    .hero-section {
        padding: 8rem 0 6rem 0;
    }
    
    .hero-logo {
        max-width: 350px;
    }
    
    .feature-icon-large {
        width: 90px;
        height: 90px;
        font-size: 2.2rem;
    }
}

/* ===== MEDIUM SCREENS (Tablet) ===== */
@media (max-width: 991.98px) {
    .hero-section {
        padding: 5rem 0 3rem 0;
    }
    
    .hero-logo {
        max-width: 250px;
        margin-top: 2rem;
    }
    
    .navbar-nav .nav-link {
        text-align: center;
        padding: 0.75rem 1rem !important;
    }
    
    .feature-icon-large {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .gallery-image {
        height: 200px;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
}

/* ===== SMALL SCREENS (Mobile) ===== */
@media (max-width: 767.98px) {
    .hero-section {
        padding: 4rem 0 2rem 0;
        text-align: center;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-logo {
        max-width: 200px;
        margin-top: 1.5rem;
    }
    
    .display-4 {
        font-size: 2rem !important;
    }
    
    .display-5 {
        font-size: 1.75rem !important;
    }
    
    .btn-lg {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .feature-icon-large {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .card-body {
        padding: 1.25rem;
    }
    
    .gallery-image {
        height: 180px;
    }
    
    section {
        padding: 2.5rem 0;
    }
    
    .section-header {
        margin-bottom: 2.5rem;
    }
    
    .social-links {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .contact-item {
        justify-content: center;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .hero-features {
        margin-bottom: 2rem;
    }
    
    .d-flex.gap-3 {
        flex-direction: column;
        gap: 1rem !important;
    }
    
    .d-flex.gap-3 .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ===== EXTRA SMALL SCREENS (Small Mobile) ===== */
@media (max-width: 575.98px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .hero-section {
        padding: 3rem 0 1.5rem 0;
    }
    
    .display-4 {
        font-size: 1.75rem !important;
    }
    
    .display-5 {
        font-size: 1.5rem !important;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    h4 { font-size: 1.25rem; }
    
    .hero-logo {
        max-width: 150px;
    }
    
    .feature-icon-large {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .gallery-image {
        height: 160px;
    }
    
    section {
        padding: 2rem 0;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .contact-icon {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .navbar-brand {
        font-size: 1rem;
    }
    
    .navbar-brand .brand-main {
        font-size: 0.95rem;
    }
    
    .navbar-brand .brand-by {
        font-size: 0.9rem;
    }
}

/* ===== PRINT MEDIA ===== */
@media print {
    .hero-section {
        background: var(--white) !important;
        color: var(--text-primary) !important;
    }
    
    .hero-section::before {
        display: none;
    }
    
    .text-gradient {
        color: var(--text-primary) !important;
    }
    
    .feature-icon,
    .feature-icon-large {
        background: var(--text-primary) !important;
        color: var(--white) !important;
        -webkit-print-color-adjust: exact;
        color-adjust: exact;
    }
}

/* ===== LANDSCAPE ORIENTATION (Mobile) ===== */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        padding: 2rem 0 1rem 0;
    }
    
    .hero-logo {
        max-width: 120px;
    }
    
    .feature-icon-large {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    section {
        padding: 1.5rem 0;
    }
}