/* ===== SKILLHUB TEMPLATE - RESPONSIVE STYLES ===== */
/* Mobile-First Responsive Design */

/* Base Mobile Styles (up to 575px) */
@media (max-width: 575px) {
  /* Typography */
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.5rem; }
  h4 { font-size: 1.25rem; }
  h5 { font-size: 1.125rem; }
  h6 { font-size: 1rem; }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  /* Header */
  .navbar-brand {
    font-size: 1.25rem;
  }
  
  .navbar-nav {
    text-align: center;
  }
  
  .navbar-nav .nav-link {
    margin: 0.25rem 0;
  }
  
  /* Hero Section */
  .hero {
    text-align: center;
    padding: 6rem 0 2rem;
  }
  
  .hero-content {
    margin-bottom: 2rem;
    padding-top: 100px;
}
  
  /* Section Spacing */
  .section {
    padding: 3rem 0;
  }
  
  .section-header {
    margin-bottom: 2rem;
  }
  
  /* Services */
  .service-item {
    margin-bottom: 1.5rem;
  }
  
  /* Contact Form */
  .contact-form {
    padding: 2rem 1rem;
  }
  
  /* Gallery */
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  /* Team */
  .team-member img {
    width: 120px;
    height: 120px;
  }
  
  /* Process Steps */
  .process-step::before {
    left: 20px;
    transform: none;
  }
  
  .process-number {
    width: 60px;
    height: 60px;
    font-size: 1.25rem;
  }
  
  /* Timeline */
  .timeline-item {
    padding-left: 2rem;
  }
  
  /* Decorative Elements */
  .blob {
    display: none;
  }
  
  /* Buttons */
  .btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }
  
  /* Footer */
  footer {
    padding: 2rem 0 1rem;
  }
  

 
}

/* Small Devices (576px and up) */
@media (min-width: 576px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .team-member img {
    width: 140px;
    height: 140px;
  }
  
  .process-number {
    width: 70px;
    height: 70px;
    font-size: 1.375rem;
  }
}

/* Medium Devices (768px and up) */
@media (min-width: 768px) {
  /* Typography */
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .hero-content p {
    font-size: 1.125rem;
  }
  
  .section-header h2 {
    font-size: 2.5rem;
  }
  
  /* Header */
  .navbar-brand {
    font-size: 1.5rem;
  }
  
  /* Hero Section */
  .hero {
    text-align: left;
    padding: 8rem 0 4rem;
  }
  
  .hero-content {
    margin-bottom: 0;
    padding-top: 100px;
}
  
  /* Section Spacing */
  .section {
    padding: 4rem 0;
  }
  
  .section-header {
    margin-bottom: 3rem;
  }
  
  /* Services Grid */
  .services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  /* Contact Form */
  .contact-form {
    padding: 3rem;
  }
  
  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  /* Team */
  .team-member img {
    width: 150px;
    height: 150px;
  }
  
  /* Process Steps */
  .process-step::before {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .process-number {
    width: 80px;
    height: 80px;
    font-size: 1.5rem;
  }
  
  /* Price Plans */
  .price-plans-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  /* Features */
  .features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  /* About Features */
  .about-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  /* Reviews */
  .reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  /* Team Grid */
  .team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  /* Core Info */
  .coreinfo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  /* Case Studies */
  .casestudy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  /* Blog */
  .blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  /* Career */
  .career-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  /* Decorative Elements */
  .blob {
    display: block;
  }
  
  /* Footer */
  footer {
    padding: 3rem 0 1rem;
  }
  
  .footer-content {
    text-align: left;
  }
  
  
}

/* Large Devices (992px and up) */
@media (min-width: 992px) {
  /* Services Grid */
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  /* Price Plans */
  .price-plans-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  /* Features */
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  /* About Features */
  .about-features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  /* Team Grid */
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  /* Core Info */
  .coreinfo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  /* Blog */
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  /* Process Steps */
  .process-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
  }
  
  .process-step::before {
    display: none;
  }
  
  .process-grid .process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 40px;
    right: -1rem;
    width: 2rem;
    height: 2px;
    background: var(--primary-turquoise);
  }
  
  /* FAQ Grid */
  .faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  /* Reviews */
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  /* Timeline */
  .timeline-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
  
  /* Contact */
  .contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
  }
  
  
}

/* Extra Large Devices (1200px and up) */
@media (min-width: 1200px) {
  /* Container Max Width */
  .container {
    max-width: 1140px;
  }
  
  /* Hero Section */
  .hero-content h1 {
    font-size: 3.5rem;
  }
  
  .hero-content p {
    font-size: 1.25rem;
  }
  
  /* Services Grid */
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }
  
  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  
  /* Team Grid */
  .team-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  
  /* Core Info */
  .coreinfo-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  
  /* Section Spacing */
  .section {
    padding: 5rem 0;
  }
  
  .section-header {
    margin-bottom: 4rem;
  }
  
  /* Contact Form */
  .contact-form {
    padding: 4rem;
  }
  

}

/* Extra Extra Large Devices (1400px and up) */
@media (min-width: 1400px) {
  /* Container Max Width */
  .container {
    max-width: 1320px;
  }
  
  /* Hero Section */
  .hero-content h1 {
    font-size: 4rem;
  }
  
  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  
  /* Services Grid */
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
  }
  
  /* Section Spacing */
  .section {
    padding: 6rem 0;
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  /* Ensure crisp text and images on high-DPI displays */
  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  /* Optimize images for retina displays */
  img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Print Styles */
@media print {
  * {
    background: transparent !important;
    color: black !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  
  a,
  a:visited {
    text-decoration: underline;
  }
  
  a[href]:after {
    content: " (" attr(href) ")";
  }
  
  abbr[title]:after {
    content: " (" attr(title) ")";
  }
  
  /* Don't show links for images, or javascript/internal links */
  a[href^="javascript:"]:after,
  a[href^="#"]:after {
    content: "";
  }
  
  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }
  
  thead {
    display: table-header-group;
  }
  
  tr,
  img {
    page-break-inside: avoid;
  }
  
  img {
    max-width: 100% !important;
  }
  
  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }
  
  h2,
  h3 {
    page-break-after: avoid;
  }
  
  /* Hide navigation and decorative elements */
  .navbar,
  .hero,
  .blob,
  .footer-section:not(.footer-contact) {
    display: none;
  }
}

/* Accessibility - High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --primary-purple: #4a148c;
    --primary-turquoise: #004d40;
    --primary-orange: #bf360c;
    --primary-blue: #01579b;
    --primary-pink: #880e4f;
    --gray-700: #212121;
    --gray-800: #000000;
    --gray-900: #000000;
  }
  
  .btn {
    border-width: 3px;
  }
  
  .form-control:focus {
    border-width: 3px;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.5);
  }
  
  .service-item,
  .about-feature,
  .review-item,
  .faq-item,
  .price-plan,
  .career-item,
  .coreinfo-item,
  .casestudy-item,
  .blog-item,
  .feature-item {
    border: 2px solid var(--gray-800);
  }
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .hero-content h1,
  .hero-content p,
  .hero-image {
    animation: none !important;
  }
  
  .blob {
    animation: none !important;
  }
  
  .service-item:hover,
  .about-feature:hover,
  .team-member:hover,
  .review-item:hover,
  .gallery-item:hover,
  .price-plan:hover,
  .career-item:hover,
  .coreinfo-item:hover,
  .casestudy-item:hover,
  .blog-item:hover,
  .feature-item:hover {
    transform: none !important;
  }
  
  .btn:hover {
    transform: none !important;
  }
}

/* Dark Mode Support (if needed in future) */

/* Container Responsive Behavior */
.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

/* Responsive Images */
img {
  max-width: 100%;
  height: auto;
}

/* Responsive Tables */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Responsive Utilities */
.d-none { display: none !important; }
.d-block { display: block !important; }
.d-inline { display: inline !important; }
.d-inline-block { display: inline-block !important; }
.d-flex { display: flex !important; }

@media (max-width: 575px) {
  .d-xs-none { display: none !important; }
  .d-xs-block { display: block !important; }
  .d-xs-inline { display: inline !important; }
  .d-xs-inline-block { display: inline-block !important; }
  .d-xs-flex { display: flex !important; }
}

@media (min-width: 576px) and (max-width: 767px) {
  .d-sm-none { display: none !important; }
  .d-sm-block { display: block !important; }
  .d-sm-inline { display: inline !important; }
  .d-sm-inline-block { display: inline-block !important; }
  .d-sm-flex { display: flex !important; }
}

@media (min-width: 768px) and (max-width: 991px) {
  .d-md-none { display: none !important; }
  .d-md-block { display: block !important; }
  .d-md-inline { display: inline !important; }
  .d-md-inline-block { display: inline-block !important; }
  .d-md-flex { display: flex !important; }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .d-lg-none { display: none !important; }
  .d-lg-block { display: block !important; }
  .d-lg-inline { display: inline !important; }
  .d-lg-inline-block { display: inline-block !important; }
  .d-lg-flex { display: flex !important; }
}

@media (min-width: 1200px) {
  .d-xl-none { display: none !important; }
  .d-xl-block { display: block !important; }
  .d-xl-inline { display: inline !important; }
  .d-xl-inline-block { display: inline-block !important; }
  .d-xl-flex { display: flex !important; }
} 