/* Business Negotiation Skills Training - Responsive CSS */

/* Extra Large Devices (1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-section {
        min-height: 100vh;
    }
    
    .hero-section h1 {
        font-size: 3rem;
    }
    
    .hero-section .lead {
        font-size: 1.29rem;
    }
    
    section {
        padding: 5rem 0;
    }
}

/* Large Devices (1200px and up) */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .container {
        max-width: 1140px;
    }
    
    .hero-section h1 {
        font-size: 2.88rem;
    }
    
    .card-img-top {
        height: 220px;
        object-fit: cover;
    }
    
    .team-member img {
        width: 140px;
        height: 140px;
    }
}

/* Medium Devices (992px to 1199.98px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .container {
        max-width: 960px;
    }
    
    .hero-section h1 {
        font-size: 2.61rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 0.75rem !important;
    }
    
    .services-grid .card {
        min-height: 380px;
    }
    
    .team-member img {
        width: 120px;
        height: 120px;
    }
    
    .timeline-item {
        padding: 1.5rem 0;
    }
}

/* Small to Medium Devices (768px to 991.98px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .container {
        max-width: 720px;
    }
    
    /* Header adjustments */
    .navbar-brand {
        font-size: 1.43rem !important;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem !important;
        font-size: 1.10rem;
    }
    
    /* Hero section */
    .hero-section {
        min-height: 90vh;
        padding: 2rem 0;
    }
    
    .hero-section h1 {
        font-size: 2.31rem;
    }
    
    .hero-section .lead {
        font-size: 1.14rem;
    }
    
    /* Typography */
    h2 { font-size: 1.92rem; }
    h3 { font-size: 1.67rem; }
    h4 { font-size: 1.41rem; }
    
    /* Cards */
    .card-img-top {
        height: 200px;
    }
    
    .services-grid .card {
        min-height: 350px;
    }
    
    /* Team section */
    .team-member {
        margin-bottom: 2rem;
    }
    
    .team-member img {
        width: 100px;
        height: 100px;
    }
    
    /* Timeline */
    .timeline-item::before {
        left: 0;
        transform: none;
    }
    
    .timeline-item .row {
        margin-left: 2rem;
    }
    
    /* Forms */
    .form-control {
        font-size: 1.03rem;
        padding: 0.625rem 0.875rem;
    }
    
    /* Spacing */
    section {
        padding: 3.5rem 0;
    }
}

/* Small Devices (576px to 767.98px) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .container {
        max-width: 540px;
    }
    
    /* Header */
    .navbar-brand {
        font-size: 1.31rem !important;
    }
    
    .navbar-toggler {
        font-size: 1rem;
    }
    
    /* Hero section */
    .hero-section {
        min-height: 85vh;
        padding: 1.5rem 0;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-section .lead {
        font-size: 1.19rem;
        margin-bottom: 2rem;
    }
    
    .hero-section .btn {
        font-size: 0.99rem;
        padding: 0.625rem 1.25rem;
    }
    
    /* Typography */
    h2 { font-size: 1.81rem; }
    h3 { font-size: 1.61rem; }
    h4 { font-size: 1.31rem; }
    h5 { font-size: 1.24rem; }
    
    /* Cards */
    .card {
        margin-bottom: 1.72rem;
    }
    
    .card-img-top {
        height: 180px;
    }
    
    .card-body {
        padding: 1.25rem;
    }
    
    /* Services */
    .services-grid .card {
        min-height: 320px;
    }
    
    /* Team */
    .team-member {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .team-member img {
        width: 80px;
        height: 80px;
        margin-bottom: 1rem;
    }
    
    /* Pricing */
    .card-title {
        font-size: 1.21rem;
    }
    
    /* Contact form */
    .contact-form .row > div {
        margin-bottom: 1rem;
    }
    
    /* Footer */
    footer .col-md-6,
    footer .col-lg-3 {
        margin-bottom: 2rem;
    }
    
    /* Spacing */
    section {
        padding: 3rem 0;
    }
    
    .py-5 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
}

/* Extra Small Devices (up to 575.98px) */
@media (max-width: 575.98px) {
    .container-fluid {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Header */
    .navbar {
        padding: 0.5rem 1rem;
    }
    
    .navbar-brand {
        font-size: 1.22rem !important;
    }
    
    .navbar-toggler {
        padding: 0.25rem 0.5rem;
        font-size: 0.93rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 0 !important;
        text-align: center;
    }
    
    /* Hero section */
    .hero-section {
        min-height: 80vh;
        padding: 1rem 0;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 1.82rem;
        line-height: 1.3;
        margin-bottom: 0.85rem;
    }
    
    .hero-section h2 {
        font-size: 1.14rem;
        margin-bottom: 0.84rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
        margin-bottom: 1.65rem;
    }
    
    .hero-section .btn {
        font-size: 0.97rem;
        padding: 0.5rem 1rem;
        display: block;
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
    }
    
    .hero-section img {
        margin-top: 2rem;
        max-width: 100%;
        height: auto;
    }
    
    /* Typography */
    h1 { font-size: 1.76rem; }
    h2 { font-size: 1.59rem; }
    h3 { font-size: 1.49rem; }
    h4 { font-size: 1.26rem; }
    h5 { font-size: 1.22rem; }
    h6 { font-size: 1rem; }
    
    .lead {
        font-size: 1rem;
    }
    
    /* Cards */
    .card {
        margin-bottom: 1.57rem;
    }
    
    .card-img-top {
        height: 160px;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .card-title {
        font-size: 1rem;
        margin-bottom: 0.82rem;
    }
    
    .card-text {
        font-size: 0.91rem;
    }
    
    /* Services */
    .services-grid .card {
        min-height: auto;
    }
    
    /* Features */
    .text-center i {
        font-size: 2rem !important;
        margin-bottom: 1rem !important;
    }
    
    /* Team */
    .team-member {
        text-align: center;
        margin-bottom: 1.69rem;
    }
    
    .team-member img {
        width: 70px;
        height: 70px;
        margin-bottom: 0.90rem;
    }
    
    .team-member h5 {
        font-size: 1rem;
        margin-bottom: 0.49rem;
    }
    
    .team-member p {
        font-size: 0.89rem;
    }
    
    /* Reviews */
    .review-card {
        padding: 1.25rem;
        margin-bottom: 1.67rem;
    }
    
    /* Timeline */
    .timeline-item {
        padding: 1rem 0;
    }
    
    .timeline-item::before {
        display: none;
    }
    
    .timeline-item .row {
        margin-left: 0;
    }
    
    .timeline-item img {
        height: 150px;
        margin-bottom: 1rem;
    }
    
    /* Process section */
    .process-step {
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .process-step div[style*="width: 60px"] {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.28rem;
        margin: 0 auto 1rem;
    }
    
    /* Forms */
    .form-control {
        font-size: 1rem;
        padding: 0.75rem;
    }
    
    .form-label {
        font-size: 1.02rem;
    }
    
    .btn {
        font-size: 0.92rem;
        padding: 0.625rem 1rem;
    }
    
    /* Contact info */
    .contact-info {
        text-align: center;
        margin-bottom: 1.62rem;
    }
    
    .contact-info i {
        font-size: 1.60rem !important;
        margin-bottom: 0.63rem !important;
    }
    
    /* FAQ */
    .accordion-button {
        font-size: 1.07rem;
        padding: 0.75rem 1rem;
    }
    
    .accordion-body {
        font-size: 1.02rem;
        padding: 1rem;
    }
    
    /* Gallery */
    .gallery img {
        height: 200px;
        margin-bottom: 1rem;
    }
    
    /* Footer */
    footer {
        text-align: center;
    }
    
    footer .col-md-6,
    footer .col-lg-3 {
        margin-bottom: 2rem;
    }
    
    footer h5,
    footer h6 {
        font-size: 1.19rem;
        margin-bottom: 1rem;
    }
    
    footer ul li {
        margin-bottom: 0.73rem;
    }
    
    footer a {
        font-size: 1.03rem;
    }
    
    /* Breadcrumb */
    .breadcrumb-item img {
        width: 16px;
        height: 16px;
    }
    
    /* Spacing */
    section {
        padding: 2.5rem 0;
    }
    
    .py-5 {
        padding-top: 2.60rem !important;
        padding-bottom: 2.62rem !important;
    }
    
    .mb-5 {
        margin-bottom: 2rem !important;
    }
    
    .mt-5 {
        margin-top: 2rem !important;
    }
}

/* Portrait orientation adjustments */
@media (orientation: portrait) and (max-width: 768px) {
    .hero-section {
        min-height: 70vh;
    }
    
    .hero-section .row {
        flex-direction: column-reverse;
    }
    
    .hero-section img {
        margin-bottom: 2rem;
    }
}

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 600px) {
    .hero-section {
        min-height: 100vh;
        padding: 1rem 0;
    }
    
    section {
        padding: 2rem 0;
    }
}

/* High DPI screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .card-img-top,
    .hero-section img,
    .timeline img,
    .gallery img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print styles */
@media print {
    .navbar,
    .breadcrumb,
    footer,
    .btn,
    .hero-section::before {
        display: none !important;
    }
    
    .hero-section {
        background: none !important;
        color: #000 !important;
        min-height: auto !important;
    }
    
    section {
        padding: 1rem 0 !important;
        page-break-inside: avoid;
    }
    
    .card {
        border: 1px solid #e0e0e0 !important;
        box-shadow: none !important;
    }
    
    a {
        color: #000 !important;
        text-decoration: underline !important;
    }
    
    .text-primary,
    .text-success,
    .text-info,
    .text-warning,
    .text-danger {
        color: #000 !important;
    }
}

/* Accessibility improvements */
@media (max-width: 768px) {
    /* Increase touch targets */
    .btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    .form-control {
        min-height: 44px;
    }
    
    .accordion-button {
        min-height: 48px;
    }
}

/* Focus improvements for keyboard navigation */
@media (max-width: 768px) {
    .btn:focus,
    .nav-link:focus,
    .form-control:focus,
    .accordion-button:focus {
        outline: 3px solid var(--primary-blue);
        outline-offset: 2px;
    }
} 