/* Responsive Design for Sociocloud */

/* Large Desktop (1400px+) */
@media (min-width: 1400px) {
  .container-xxl {
    max-width: 1320px;
  }
  
  .hero-section h1 {
    font-size: 4rem;
  }
  
  .hero-section .lead {
    font-size: 1.5rem;
  }
  
  .course-card,
  .service-card {
    padding: 2rem;
  }
}

/* Desktop (1200px - 1399px) */
@media (min-width: 1200px) and (max-width: 1399px) {
  .hero-section h1 {
    font-size: 3.5rem;
  }
  
  .hero-section .lead {
    font-size: 1.375rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 0.875rem !important;
  }
}

/* Large Tablet/Small Desktop (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
  .hero-section {
    padding: 2rem 0;
  }
  
  .hero-section h1 {
    font-size: 3rem;
  }
  
  .hero-section .lead {
    font-size: 1.25rem;
  }
  
  .course-card,
  .service-card,
  .internship-card {
    margin-bottom: 2rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 0.75rem !important;
  }
  
  .auth-card {
    padding: 2rem;
  }
  
  .pricing-card.featured {
    transform: scale(1.02);
  }
  
  .pricing-card.featured:hover {
    transform: translateY(-5px) scale(1.02);
  }
}

/* Tablet Portrait (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .hero-section {
    padding: 1.5rem 0;
    min-height: 80vh;
  }
  
  .hero-section h1 {
    font-size: 2.75rem;
    line-height: 1.1;
  }
  
  .hero-section .lead {
    font-size: 1.125rem;
  }
  
  .hero-buttons {
    text-align: center;
    margin-top: 2rem;
  }
  
  .hero-buttons .btn {
    margin: 0.5rem;
    min-width: 200px;
  }
  
  .page-header {
    padding: 3rem 0 2rem;
  }
  
  .page-header h1 {
    font-size: 2.5rem;
  }
  
  .navbar-toggler {
    border: none;
    padding: 0.5rem;
  }
  
  .navbar-collapse {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem !important;
    text-align: center;
  }
  
  .course-card,
  .service-card,
  .internship-card {
    margin-bottom: 2rem;
    padding: 1.5rem;
  }
  
  .auth-card {
    padding: 2rem 1.5rem;
    margin: 1rem;
  }
  
  .hero-image {
    margin-top: 2rem;
    order: -1;
  }
  
  .course-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .team-img,
  .instructor-avatar {
    width: 100px;
    height: 100px;
  }
  
  .pricing-card {
    margin-bottom: 2rem;
  }
  
  .pricing-card.featured {
    transform: none;
    border-color: var(--accent-color);
  }
  
  .pricing-card.featured:hover {
    transform: translateY(-5px);
  }
  
  .process-step {
    padding: 1.5rem 1rem;
    text-align: center;
  }
  
  .contact-item {
    text-align: center;
  }
  
  .contact-icon {
    margin: 0 auto 1rem;
  }
  
  /* Course single page adjustments */
  .course-price-card {
    margin-top: 2rem;
    position: static;
  }
  
  .related-courses {
    margin-top: 2rem;
  }
  
  /* Stats section */
  .stat-item h3 {
    font-size: 2.5rem;
  }
  
  /* Features section */
  .feature-card {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
  }
  
  .service-icon,
  .benefit-icon {
    width: 60px;
    height: 60px;
  }
  
  .service-icon i,
  .benefit-icon i {
    font-size: 2rem;
  }
}

/* Mobile Landscape (576px - 767px) */
@media (min-width: 576px) and (max-width: 767px) {
  .hero-section {
    min-height: 70vh;
    padding: 1rem 0;
  }
  
  .hero-section h1 {
    font-size: 2.25rem;
    line-height: 1.1;
  }
  
  .hero-section .lead {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  
  .hero-buttons {
    text-align: center;
  }
  
  .hero-buttons .btn {
    display: block;
    width: 100%;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    padding: 1rem;
  }
  
  .page-header {
    padding: 2.5rem 0 1.5rem;
  }
  
  .page-header h1 {
    font-size: 2rem;
  }
  
  .navbar-brand {
    font-size: 1.25rem;
  }
  
  .course-card,
  .service-card,
  .internship-card {
    padding: 1.25rem;
    margin-bottom: 1.5rem;
  }
  
  .course-card img {
    height: 200px;
    object-fit: cover;
  }
  
  .auth-card {
    padding: 1.5rem;
    margin: 0.5rem;
  }
  
  .auth-header h2 {
    font-size: 1.75rem;
  }
  
  .btn {
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
  }
  
  .btn-lg {
    padding: 1rem 1.5rem;
    font-size: 1.125rem;
  }
  
  .team-img,
  .instructor-avatar {
    width: 80px;
    height: 80px;
  }
  
  .team-card,
  .instructor-card {
    padding: 1.5rem;
    text-align: center;
  }
  
  .pricing-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .process-step {
    padding: 1rem;
    margin-bottom: 2rem;
  }
  
  .step-number .badge,
  .step-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .contact-form {
    padding: 1.5rem !important;
  }
  
  .contact-item {
    padding: 1rem;
    margin-bottom: 1rem;
  }
  
  .accordion-item {
    margin-bottom: 0.75rem;
  }
  
  /* Course single page */
  .course-header {
    padding: 2rem 0;
  }
  
  .course-section {
    margin-bottom: 2rem;
  }
  
  .instructor-card {
    margin-top: 2rem;
  }
  
  .course-card-small {
    margin-bottom: 1rem;
  }
  
  /* Stats adjustments */
  .stat-item {
    padding: 1.5rem 0.5rem;
  }
  
  .stat-item h3 {
    font-size: 2rem;
  }
}

/* Mobile Portrait (up to 575px) */
@media (max-width: 575px) {
  .hero-section {
    min-height: calc(100vh - 80px);
    padding: 0.5rem 0;
  }
  
  .hero-section h1 {
    font-size: 1.875rem;
    line-height: 1.1;
    margin-bottom: 1rem;
  }
  
  .hero-section .lead {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-buttons .btn {
    display: block;
    width: 100%;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    padding: 0.875rem;
  }
  
  .page-header {
    padding: 2rem 0 1rem;
    margin-top: 76px;
  }
  
  .page-header h1 {
    font-size: 1.75rem;
  }
  
  .navbar {
    padding: 0.5rem 0;
  }
  
  .navbar-brand {
    font-size: 1.125rem;
  }
  
  .navbar-toggler {
    padding: 0.375rem 0.5rem;
    font-size: 1rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.625rem 0.75rem !important;
    font-size: 0.95rem;
  }
  
  .container,
  .container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .course-card,
  .service-card,
  .internship-card {
    padding: 1rem;
    margin-bottom: 1.25rem;
  }
  
  .course-card img {
    height: 180px;
    object-fit: cover;
  }
  
  .course-card .card-title {
    font-size: 1.125rem;
  }
  
  .course-card .card-text {
    font-size: 0.9rem;
    line-height: 1.4;
  }
  
  .course-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .course-meta .badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
  }
  
  .auth-card {
    padding: 1.25rem;
    margin: 0.25rem;
  }
  
  .auth-header h2 {
    font-size: 1.5rem;
  }
  
  .auth-header p {
    font-size: 0.9rem;
  }
  
  .btn {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }
  
  .btn-lg {
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
  }
  
  .form-control,
  .form-select {
    padding: 0.625rem 0.875rem;
    font-size: 0.95rem;
  }
  
  .input-group-text {
    padding: 0.625rem 0.75rem;
  }
  
  h1 { font-size: 1.875rem; }
  h2 { font-size: 1.625rem; }
  h3 { font-size: 1.375rem; }
  h4 { font-size: 1.25rem; }
  h5 { font-size: 1.125rem; }
  
  .team-img,
  .instructor-avatar {
    width: 70px;
    height: 70px;
  }
  
  .team-card,
  .instructor-card {
    padding: 1.25rem;
    text-align: center;
  }
  
  .team-card h5,
  .instructor-card h5 {
    font-size: 1rem;
  }
  
  .pricing-card {
    padding: 1.25rem;
    margin-bottom: 1.25rem;
  }
  
  .pricing-card .h2 {
    font-size: 1.75rem;
  }
  
  .process-step {
    padding: 1rem 0.5rem;
    margin-bottom: 1.5rem;
  }
  
  .step-number .badge,
  .step-icon {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  .process-step h5 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }
  
  .contact-form {
    padding: 1.25rem !important;
  }
  
  .contact-item {
    padding: 0.875rem;
    margin-bottom: 1rem;
    text-align: left;
  }
  
  .contact-item .d-flex {
    flex-direction: column;
    text-align: center;
  }
  
  .contact-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
  }
  
  .contact-icon i {
    font-size: 1.5rem;
  }
  
  .social-links {
    text-align: center;
    margin-top: 1rem;
  }
  
  .social-links .btn {
    padding: 0.5rem;
    margin: 0.25rem;
    width: 40px;
    height: 40px;
  }
  
  .accordion-button {
    padding: 0.875rem 1rem;
    font-size: 0.95rem;
  }
  
  .accordion-body {
    padding: 1rem;
    font-size: 0.9rem;
  }
  
  /* Course single page mobile */
  .course-header {
    padding: 1.5rem 0;
    margin-top: 76px;
  }
  
  .course-header h1 {
    font-size: 1.5rem;
    line-height: 1.2;
  }
  
  .course-header .lead {
    font-size: 0.9rem;
  }
  
  .course-price-card {
    margin-top: 2rem;
    padding: 1.25rem;
  }
  
  .course-section {
    margin-bottom: 2rem;
  }
  
  .course-section h3 {
    font-size: 1.25rem;
  }
  
  .lesson-item {
    padding: 0.625rem 0;
    font-size: 0.9rem;
  }
  
  .instructor-card .row {
    text-align: center;
  }
  
  .instructor-card .col-auto,
  .instructor-card .col {
    text-align: center;
    margin-bottom: 1rem;
  }
  
  .instructor-stats {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .instructor-stats span {
    font-size: 0.85rem;
    display: block;
  }
  
  .related-courses .course-card-small {
    margin-bottom: 1rem;
  }
  
  .related-courses .course-card-small .card-body {
    padding: 1rem;
  }
  
  .related-courses .course-card-small h6 {
    font-size: 0.95rem;
  }
  
  /* Stats mobile adjustments */
  .stat-item {
    padding: 1rem 0.5rem;
  }
  
  .stat-item h3 {
    font-size: 1.75rem;
  }
  
  .stat-item p {
    font-size: 0.9rem;
  }
  
  /* Feature cards mobile */
  .feature-card {
    padding: 1.25rem;
    margin-bottom: 1.25rem;
  }
  
  .feature-icon,
  .service-icon,
  .benefit-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
  }
  
  .feature-icon i,
  .service-icon i,
  .benefit-icon i {
    font-size: 1.5rem;
  }
  
  .feature-card h4,
  .service-card h4,
  .benefit-card h5 {
    font-size: 1.125rem;
  }
  
  /* Filter buttons mobile */
  .filter-buttons {
    text-align: center;
    margin-bottom: 1.5rem;
  }
  
  .filter-btn {
    font-size: 0.85rem;
    padding: 0.5rem 0.875rem;
    margin: 0.25rem;
  }
  
  /* Footer mobile */
  footer {
    padding: 2rem 0 1rem !important;
  }
  
  footer .col-lg-4,
  footer .col-lg-2,
  footer .col-lg-3 {
    margin-bottom: 2rem;
    text-align: center;
  }
  
  footer h5,
  footer h6 {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  
  footer ul li {
    margin-bottom: 0.5rem;
  }
  
  footer ul li a {
    font-size: 0.9rem;
  }
  
  footer .social-links {
    justify-content: center;
  }
}

/* Extra Small Mobile (up to 375px) */
@media (max-width: 375px) {
  .hero-section h1 {
    font-size: 1.625rem;
  }
  
  .hero-section .lead {
    font-size: 0.9rem;
  }
  
  .navbar-brand {
    font-size: 1rem;
  }
  
  .course-card,
  .service-card,
  .internship-card {
    padding: 0.875rem;
  }
  
  .course-card img {
    height: 160px;
  }
  
  .auth-card {
    padding: 1rem;
  }
  
  .btn {
    padding: 0.625rem 0.875rem;
    font-size: 0.85rem;
  }
  
  .btn-lg {
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
  }
  
  .form-control,
  .form-select {
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
  }
  
  .contact-form {
    padding: 1rem !important;
  }
  
  .contact-item {
    padding: 0.75rem;
  }
  
  .process-step {
    padding: 0.75rem 0.25rem;
  }
  
  .pricing-card {
    padding: 1rem;
  }
  
  .course-price-card {
    padding: 1rem;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .hero-buttons,
  .btn,
  footer {
    display: none !important;
  }
  
  .hero-section {
    min-height: auto;
    padding: 2rem 0;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
  
  .course-card,
  .service-card,
  .auth-card {
    border: 1px solid #ccc !important;
    box-shadow: none !important;
    page-break-inside: avoid;
  }
}