/* Responsive Design for Business Negotiation Training Template */

/* Extra Large devices (large desktops, 1400px and up) */
@media (min-width: 1400px) {
  .container-xxl {
    max-width: 1320px;
  }
  
  .hero-title {
    font-size: 3.58rem;
  }
  
  .section-title {
    font-size: 3rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .hero-section {
    min-height: 100vh;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .navbar-nav .nav-link {
    margin: 0 20px;
  }
  
  .service-card,
  .team-card,
  .price-card {
    margin-bottom: 0;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-title {
    font-size: 2.54rem;
  }
  
  .section-title {
    font-size: 2.34rem;
  }
  
  .hero-section {
    min-height: 80vh;
    padding: 2rem 0;
  }
  
  .navbar-brand {
    font-size: 1.33rem;
  }
  
  .navbar-nav .nav-link {
    margin: 0 10px;
  }
  
  .service-card,
  .team-card,
  .price-card {
    margin-bottom: 2rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-form {
    margin-top: 2rem;
  }
  
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  .feature-icon {
    font-size: 2.52rem;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-title {
    font-size: 2.23rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.42rem;
  }
  
  .hero-section {
    min-height: 70vh;
    padding: 2rem 0;
    text-align: center;
  }
  
  .navbar-brand {
    font-size: 1.21rem;
  }
  
  .navbar-nav {
    text-align: center;
  }
  
  .navbar-nav .nav-link {
    margin: 5px 0;
    padding: 10px 15px;
  }
  
  .service-card,
  .team-card,
  .price-card,
  .feature-card {
    margin-bottom: 2rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  .contact-form {
    margin-top: 2rem;
    padding: 1.5rem;
  }
  
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  .feature-icon {
    font-size: 2.30rem;
  }
  
  .service-image {
    height: 180px;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .price-amount {
    font-size: 2.22rem;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  :root {
    --font-size-base: 14px;
    --section-padding: 50px 0;
  }
  
  .hero-title {
    font-size: 1.91rem;
    line-height: 1.3;
  }
  
  .section-title {
    font-size: 1.73rem;
    line-height: 1.3;
  }
  
  .hero-subtitle {
    font-size: 1.12rem;
  }
  
  .section-subtitle {
    font-size: 1.16rem;
  }
  
  .hero-section {
    min-height: 60vh;
    padding: 1.5rem 0;
    text-align: center;
  }
  
  .hero-desc,
  .section-desc {
    font-size: var(--font-size-base);
  }
  
  .navbar-brand {
    font-size: 1.18rem;
  }
  
  .navbar-toggler {
    padding: 0.25rem 0.5rem;
    font-size: 0.96rem;
  }
  
  .navbar-nav {
    text-align: center;
    margin-top: 1rem;
  }
  
  .navbar-nav .nav-link {
    margin: 5px 0;
    padding: 12px 20px;
    display: block;
  }
  
  .service-card,
  .team-card,
  .price-card,
  .feature-card,
  .review-card,
  .blog-card {
    margin-bottom: 1.64rem;
    padding: 1.5rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  .contact-form {
    margin-top: 2rem;
    padding: 1.5rem;
  }
  
  .team-photo {
    width: 80px;
    height: 80px;
  }
  
  .team-name {
    font-size: 1.18rem;
  }
  
  .feature-icon {
    font-size: 2rem;
  }
  
  .feature-name,
  .service-name {
    font-size: 1.23rem;
  }
  
  .service-image {
    height: 160px;
  }
  
  .section {
    padding: 40px 0;
  }
  
  .price-amount {
    font-size: 2rem;
  }
  
  .price-name {
    font-size: 1.32rem;
  }
  
  .form-control {
    padding: 10px 12px;
    font-size: 14px;
  }
  
  .btn-submit {
    padding: 10px 25px;
    font-size: 14px;
  }
  
  .faq-question,
  .faq-answer {
    padding: 1rem;
  }
  
  .footer {
    padding: 2rem 0 1rem;
  }
  
  .footer h5 {
    font-size: 1.18rem;
  }
  
  .footer p, .footer a {
    font-size: 0.99rem;
  }
  
  .blog-content {
    padding: 1.2rem;
  }
  
  .blog-title {
    font-size: 1.19rem;
  }
  
  .blog-image {
    height: 160px;
  }
  
  .breadcrumb-image {
    max-width: 150px;
  }
}

/* Ultra small devices (very small phones, less than 400px) */
@media (max-width: 399.98px) {
  .hero-title {
    font-size: 1.62rem;
  }
  
  .section-title {
    font-size: 1.51rem;
  }
  
  .hero-subtitle,
  .section-subtitle {
    font-size: 1rem;
  }
  
  .navbar-brand {
    font-size: 1rem;
  }
  
  .service-card,
  .team-card,
  .price-card,
  .feature-card,
  .review-card,
  .blog-card,
  .contact-form {
    padding: 1.2rem;
  }
  
  .team-photo {
    width: 70px;
    height: 70px;
  }
  
  .feature-icon {
    font-size: 1.83rem;
  }
  
  .price-amount {
    font-size: 1.91rem;
  }
  
  .gallery-item img,
  .service-image,
  .blog-image {
    height: 140px;
  }
  
  .section {
    padding: 30px 0;
  }
  
  .footer {
    padding: 1.5rem 0 1rem;
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .contact-form {
    display: none !important;
  }
  
  .hero-section {
    min-height: auto;
    page-break-after: always;
  }
  
  .section {
    padding: 20px 0;
    page-break-inside: avoid;
  }
  
  .service-card,
  .team-card,
  .price-card,
  .feature-card {
    page-break-inside: avoid;
    box-shadow: none;
    border: 1px solid #d6d6d6;
  }
  
  a[href]:after {
    content: " (" attr(href) ")";
  }
  
  .text-gradient {
    -webkit-text-fill-color: initial;
    color: var(--dark-blue);
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --primary-blue: #0278b9;
    --primary-green: #00a508;
    --primary-orange: #f85711;
    --primary-purple: #9c01be;
    --primary-red: #db2302;
    --dark-gray: #000000;
    --medium-gray: #2f2e2e;
  }
  
  .service-card,
  .team-card,
  .price-card,
  .feature-card,
  .review-card,
  .blog-card {
    border: 2px solid var(--dark-gray);
  }
  
  .form-control {
    border: 2px solid var(--dark-gray);
  }
  
  .btn-submit {
    border: 2px solid var(--dark-gray);
  }
}

/* Dark mode support (respecting user preference) */
@media (prefers-color-scheme: dark) {
  /* Note: As per requirements, we're not implementing dark theme
     but this media query is here for future reference */
}

/* Landscape orientation adjustments for mobile devices */
@media (max-width: 767.98px) and (orientation: landscape) {
  .hero-section {
    min-height: 50vh;
    padding: 1rem 0;
  }
  
  .section {
    padding: 30px 0;
  }
  
  .navbar-nav .nav-link {
    padding: 8px 15px;
  }
} 