/* Enhanced Responsive Design for OASSE */

/* ========== MOBILE OPTIMIZATIONS ========== */

@media (max-width: 991px) {

    /* Hero Section Mobile */
    .rebrand-hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .rebrand-hero h1 {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }

    .rebrand-hero p {
        font-size: 1.1rem;
        margin-bottom: 28px;
    }

    /* Button Wrapper */
    .btn-wrapper {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .btn-wrapper .btn {
        width: 100%;
        text-align: center;
        margin: 0 !important;
    }

    /* Hero Illustration */
    .hero-illustration {
        margin-top: 40px;
    }

    /* Solution Cards */
    .solution-card {
        margin-bottom: 20px;
    }

    /* Section Padding */
    .section-padding {
        padding: 60px 0;
    }

    /* Section Titles */
    .section-title-rebrand h2 {
        font-size: 2rem;
    }

    .section-title-rebrand p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {

    /* Hero Section Tablet/Mobile */
    .rebrand-hero h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .rebrand-hero p {
        font-size: 1rem;
        line-height: 1.6;
    }

    /* Buttons */
    .btn-orange,
    .btn-blue-outline {
        min-height: 48px;
        font-size: 1rem;
        padding: 0 30px;
    }

    /* Value Cards */
    .value-card {
        margin-bottom: 20px;
    }

    /* Stats */
    .stat-item .number {
        font-size: 2.5rem;
    }

    .stat-item .label {
        font-size: 1rem;
    }

    /* Industry Tabs */
    .industry-tabs .nav-tabs {
        flex-wrap: wrap;
        justify-content: center;
    }

    .industry-tabs .nav-link {
        padding: 10px 16px;
        font-size: 0.9rem;
    }

    /* Pricing CTA */
    .pricing-cta-section h2 {
        font-size: 2rem;
    }

    .pricing-cta-section p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {

    /* Extra Small Devices */
    .rebrand-hero {
        padding: 80px 0 50px;
    }

    .rebrand-hero h1 {
        font-size: 1.8rem;
    }

    .rebrand-hero p {
        font-size: 0.95rem;
    }

    /* Section Padding */
    .section-padding {
        padding: 50px 0;
    }

    /* Section Titles */
    .section-title-rebrand {
        margin-bottom: 40px;
    }

    .section-title-rebrand h2 {
        font-size: 1.75rem;
    }

    .section-title-rebrand p {
        font-size: 0.95rem;
    }

    /* Solution Cards */
    .solution-card {
        padding: 24px 20px;
    }

    .solution-card .icon-wrapper {
        width: 60px;
        height: 60px;
    }

    .solution-card h5 {
        font-size: 1.1rem;
    }

    .solution-card p {
        font-size: 0.9rem;
    }

    /* Value Cards */
    .value-card {
        padding: 20px;
    }

    .value-card .icon {
        font-size: 2rem;
    }

    .value-card h6 {
        font-size: 1rem;
    }

    .value-card p {
        font-size: 0.85rem;
    }

    /* Industry Tabs */
    .industry-tabs .nav-link {
        padding: 8px 12px;
        font-size: 0.85rem;
    }

    .industry-content {
        padding: 30px 0;
    }

    /* Stats */
    .stat-item {
        padding: 15px;
    }

    .stat-item .number {
        font-size: 2rem;
    }

    .stat-item .label {
        font-size: 0.9rem;
    }

    /* Buttons */
    .btn-orange,
    .btn-blue-outline {
        min-height: 46px;
        font-size: 0.95rem;
        padding: 0 24px;
    }

    /* Pricing CTA */
    .pricing-cta-section {
        padding: 60px 0;
    }

    .pricing-cta-section h2 {
        font-size: 1.75rem;
    }

    .pricing-cta-section p {
        font-size: 0.95rem;
    }
}

/* ========== TABLET OPTIMIZATIONS ========== */

@media (min-width: 768px) and (max-width: 991px) {

    /* Tablet specific adjustments */
    .solution-card {
        min-height: 320px;
    }

    .value-card {
        min-height: 200px;
    }
}

/* ========== LARGE SCREEN OPTIMIZATIONS ========== */

@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }

    .rebrand-hero h1 {
        font-size: 4.2rem;
    }

    .rebrand-hero p {
        font-size: 1.4rem;
    }

    .section-title-rebrand h2 {
        font-size: 2.8rem;
    }
}

/* ========== LANDSCAPE MOBILE ========== */

@media (max-height: 500px) and (orientation: landscape) {
    .rebrand-hero {
        min-height: auto;
        padding: 60px 0 40px;
    }

    .rebrand-hero h1 {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .rebrand-hero p {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }
}

/* ========== TOUCH DEVICE OPTIMIZATIONS ========== */

@media (hover: none) and (pointer: coarse) {

    /* Larger touch targets for mobile */
    .btn-orange,
    .btn-blue-outline {
        min-height: 50px;
        padding: 0 32px;
    }

    .navbar-nav li a {
        padding: 12px 16px;
    }

    .solution-card {
        padding: 28px 24px;
    }

    /* Remove hover effects on touch devices */
    .solution-card:hover {
        transform: none;
    }

    .value-card:hover {
        transform: none;
    }
}

/* ========== PRINT STYLES ========== */

@media print {

    .navbar-area,
    .wafixed,
    .btn-wrapper,
    .footer-area {
        display: none !important;
    }

    .rebrand-hero {
        background: white !important;
        color: black !important;
        padding: 20px 0;
    }

    .rebrand-hero h1,
    .rebrand-hero p {
        color: black !important;
    }

    .section-padding {
        padding: 20px 0;
    }
}

/* ========== ACCESSIBILITY ========== */

/* Focus states for keyboard navigation */
.btn-orange:focus,
.btn-blue-outline:focus,
.navbar-nav li a:focus {
    outline: 3px solid var(--accent-orange);
    outline-offset: 2px;
}

/* Skip to content link */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--accent-orange);
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    z-index: 100;
}

.skip-to-content:focus {
    top: 0;
}

/* High contrast mode support */
@media (prefers-contrast: high) {

    .btn-orange,
    .btn-blue-outline {
        border: 2px solid currentColor;
    }

    .solution-card,
    .value-card {
        border: 2px solid var(--text-dark);
    }
}

/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) {
    /* Add dark mode styles if needed */
}