/* Responsive CSS for Personal Branding Consultancy Template */

/* Extra Large Devices (1200px and up) */
@media (min-width: 1200px) {
  .container-xl {
    max-width: 1140px;
  }
  
  .hero-content h1 {
    font-size: 3.56rem;
  }
  
  .section-title {
    font-size: 3rem;
  }
}

/* Large Devices (992px and up) */
@media (min-width: 992px) {
  .hero-content {
    padding: 0 2rem;
  }
  
  .service-card {
    margin-bottom: 0;
  }
  
  .team-photo {
    width: 180px;
    height: 180px;
  }
}

/* Medium Devices (768px and up) */
@media (min-width: 768px) {
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .hero-content p {
    font-size: 1.24rem;
  }
  
  .section-padding {
    padding: 60px 0;
  }
  
  .navbar-nav {
    flex-direction: row;
  }
  
  .navbar-nav .nav-link {
    margin: 0 1rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .contact-form {
    padding: 3rem;
  }
}

/* Small Devices (576px and up) */
@media (min-width: 576px) {
  .hero-content h1 {
    font-size: 2.52rem;
  }
  
  .section-title {
    font-size: 2.31rem;
  }
  
  .service-card {
    margin-bottom: 1.65rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Extra Small Devices (575px and below) */
@media (max-width: 575px) {
  #hero {
    min-height: auto;
    padding: 1rem 0;
  }
  
  .hero-content {
    min-height: auto;
    padding-top: 80px !important;
    padding-bottom: 2rem;
  }
  
  .hero-content h1 {
    font-size: 1.8rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    padding-top: 0 !important;
  }
  
  .hero-content p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }
  
  .hero-content .col-lg-6:last-child {
    margin-top: 1.5rem;
  }
  
  .hero-image {
    max-width: 100% !important;
    height: auto !important;
    max-height: 250px;
  }
  
  .section-title {
    font-size: 1.82rem;
  }
  
  .section-padding {
    padding: 40px 0;
  }
  
  .navbar-brand {
    font-size: 1.34rem;
  }
  
  .navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
  }
  
  .navbar-collapse {
    margin-top: 1rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.5rem 0;
    margin: 0;
    text-align: center;
  }
  
  .service-card {
    margin-bottom: 2rem;
    padding: 1.5rem;
  }
  
  .service-icon {
    font-size: 2.65rem;
  }
  
  .service-name {
    font-size: 1.21rem;
  }
  
  .service-price {
    font-size: 1.34rem;
  }
  
  .team-photo {
    width: 150px;
    height: 150px;
  }
  
  .team-name {
    font-size: 1.19rem;
  }
  
  .review-card {
    padding: 1.5rem;
  }
  
  .faq-question {
    padding: 1rem;
    font-size: 1.01rem;
  }
  
  .faq-answer {
    padding: 0 1rem 1rem;
    font-size: 1.02rem;
  }
  
  .contact-form {
    padding: 2rem 1.5rem;
  }
  
  .form-control {
    padding: 0.6rem;
    font-size: 1.02rem;
  }
  
  .btn-primary {
    padding: 0.6rem 1.5rem;
    font-size: 1.00rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  .feature-icon {
    font-size: 2rem;
  }
  
  .feature-name {
    font-size: 1rem;
  }
  
  .price-card {
    padding: 2rem 1.5rem;
  }
  
  .price-name {
    font-size: 1.22rem;
  }
  
  .price-amount {
    font-size: 1.78rem;
  }
  
  .case-study-card {
    padding: 1.5rem;
  }
  
  .case-study-title {
    font-size: 1.14rem;
  }
  
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.26rem;
  }
  
  .process-title {
    font-size: 1rem;
  }
  
  .timeline-item {
    padding-left: 2.5rem;
  }
  
  .career-card {
    padding: 1.5rem;
  }
  
  .career-title {
    font-size: 1.18rem;
  }
  
  .core-info-card {
    padding: 1.5rem;
  }
  
  .core-info-title {
    font-size: 1rem;
  }
  
  .blog-content {
    padding: 1.2rem;
  }
  
  .blog-title {
    font-size: 1rem;
  }
  
  .blog-excerpt {
    font-size: 0.91rem;
  }
  
  .footer-content {
    text-align: center;
    margin-bottom: 1.66rem;
  }
  
  .footer-title {
    font-size: 1.19rem;
  }
}

/* Ultra Small Devices (480px and below) */
@media (max-width: 480px) {
  #hero {
    padding: 0.5rem 0;
  }
  
  .hero-content {
    padding-top: 70px !important;
    padding-bottom: 1.5rem;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .hero-content h1 {
    font-size: 1.5rem;
    line-height: 1.1;
    padding-top: 0 !important;
  }
  
  .hero-content p {
    font-size: 0.9rem;
  }
  
  .hero-image {
    max-height: 200px;
    width: 100%;
    max-width: 100%;
  }
  
  .hero-content .row {
    margin-left: 0;
    margin-right: 0;
  }
  
  .hero-content .col-lg-6 {
    padding-left: 0;
    padding-right: 0;
  }
  
  .section-title {
    font-size: 1.67rem;
  }
  
  .hero-shape-1,
  .hero-shape-2 {
    display: none;
  }
  
  .service-card {
    padding: 1.2rem;
  }
  
  .contact-form {
    padding: 1.5rem 1rem;
  }
  
  .price-card {
    padding: 1.5rem 1rem;
  }
  
  .review-card {
    padding: 1.2rem;
  }
  
  .case-study-card {
    padding: 1.2rem;
  }
  
  .career-card {
    padding: 1.2rem;
  }
  
  .core-info-card {
    padding: 1.2rem;
  }
}

/* Extra Small Devices (320px and below) */
@media (max-width: 320px) {
  #hero {
    padding: 0.25rem 0;
  }
  
  .hero-content {
    padding-top: 60px !important;
    padding-bottom: 1rem;
    padding-left: 10px;
    padding-right: 10px;
  }
  
  .hero-content h1 {
    font-size: 1.3rem;
    line-height: 1.1;
  }
  
  .hero-content p {
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
  }
  
  .hero-image {
    max-height: 180px;
  }
  
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* Landscape Phone Orientation */
@media (max-width: 768px) and (orientation: landscape) {
  #hero {
    min-height: auto;
    padding: 1rem 0;
  }
  
  .hero-content {
    padding-top: 70px !important;
    min-height: auto;
    padding-bottom: 1rem;
  }
  
  .hero-content h1 {
    font-size: 1.8rem;
    padding-top: 0 !important;
  }
  
  .hero-image {
    max-height: 180px;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .hero-shape-1,
  .hero-shape-2,
  .btn,
  footer {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
    color: black;
  }
  
  .section-padding {
    padding: 20px 0;
  }
  
  .service-card,
  .review-card,
  .faq-item,
  .price-card,
  .case-study-card,
  .career-card,
  .core-info-card,
  .blog-card {
    box-shadow: none;
    border: 1px solid #e3e3e3;
    margin-bottom: 10px;
    break-inside: avoid;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --primary-blue: #0f0c83;
    --primary-purple: #44006d;
    --primary-teal: #007e89;
    --primary-coral: #de2665;
    --primary-gold: #b77a00;
    --text-dark: #000000;
    --text-light: #3c3a3a;
  }
  
  .btn-primary {
    background: #030092;
    border: 2px solid #0e1498;
  }
  
  .form-control:focus {
    border-color: #0e1090;
    box-shadow: 0 0 0 0.2rem rgba(11, 0, 122, 0.50);
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  /* Note: Template maintains light theme for accessibility as requested */
  /* Dark mode styles can be added here if needed in future */
}

/* Hover Effects for Touch Devices */
@media (hover: none) and (pointer: coarse) {
  .service-card:hover,
  .review-card:hover,
  .price-card:hover,
  .blog-card:hover,
  .gallery-item:hover {
    transform: none;
  }
  
  .btn-primary:hover {
    transform: none;
  }
}

/* Focus Styles for Accessibility */
@media (prefers-reduced-motion: no-preference) {
  .nav-link:focus,
  .btn:focus,
  .form-control:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
  }
}

/* Large Text Support */
@media (min-resolution: 192dpi) {
  body {
    font-weight: 400;
  }
  
  .navbar-brand {
    font-weight: 600;
  }
  
  .section-title {
    font-weight: 600;
  }
} 