/* Responsive Design - Online Tutoring Platform */

/* Large devices (desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero-section {
    padding: 0 2rem;
  }
  
  .section {
    padding: 5rem 0;
  }
  
  .hero-title {
    font-size: 2.64rem;
  }
  
  .service-card {
    padding: 2.5rem;
  }
  
  .price-card {
    padding: 3rem 2.5rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 1199px) {
  .hero-section {
    min-height: 80vh;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.22rem;
  }
  
  .section {
    padding: 3.5rem 0;
  }
  
  .service-card {
    padding: 2rem;
    margin-bottom: 2rem;
  }
  
  .feature-item {
    padding: 1.5rem;
  }
  
  .price-card {
    padding: 2rem 1.5rem;
    margin-bottom: 2rem;
  }
  
  .team-member {
    padding: 1.5rem;
  }
  
  .team-photo {
    width: 130px;
    height: 130px;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  .contact-info {
    padding: 2rem;
    margin-top: 2rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767px) {
  .hero-section {
    min-height: 70vh;
    text-align: center;
  }
  
  .hero-title {
    font-size: 1.86rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .section-title {
    font-size: 1.62rem;
  }
  
  .service-card {
    padding: 1.5rem;
    margin-bottom: 1.57rem;
  }
  
  .service-icon {
    font-size: 2.63rem;
  }
  
  .service-name {
    font-size: 1.24rem;
  }
  
  .feature-item {
    padding: 1.5rem;
    margin-bottom: 1.66rem;
  }
  
  .feature-icon {
    font-size: 2.58rem;
  }
  
  .price-card {
    padding: 2rem 1.5rem;
    margin-bottom: 1.73rem;
  }
  
  .price-card.featured {
    transform: none;
    margin-bottom: 2rem;
  }
  
  .team-member {
    padding: 1.5rem;
  }
  
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  .process-item {
    padding: 1.5rem 1rem;
  }
  
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.43rem;
  }
  
  .timeline-item {
    padding: 1.5rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .contact-info {
    padding: 1.5rem;
    margin-top: 2rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .faq-item {
    padding: 1.5rem;
  }
  
  .page-element {
    padding: 1.5rem;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 5710px) {
  .hero-section {
    min-height: 60vh;
    text-align: center;
    padding: 1rem;
  }
  
  .hero-title {
    font-size: 1.70rem;
  }
  
  .hero-subtitle {
    font-size: 1.09rem;
  }
  
  .hero-desc {
    font-size: 1.04rem;
  }
  
  .section {
    padding: 2.5rem 0;
  }
  
  .section-title {
    font-size: 1.55rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .section-desc {
    font-size: 0.97rem;
  }
  
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .service-card {
    padding: 1.5rem;
    margin-bottom: 1.61rem;
  }
  
  .service-icon {
    font-size: 2.27rem;
  }
  
  .service-name {
    font-size: 1.17rem;
  }
  
  .service-desc {
    font-size: 0.94rem;
  }
  
  .service-features {
    font-size: 0.94rem;
  }
  
  .service-price {
    font-size: 1.38rem;
  }
  
  .feature-item {
    padding: 1.5rem 1rem;
    margin-bottom: 1.68rem;
  }
  
  .feature-icon {
    font-size: 2.24rem;
  }
  
  .feature-name {
    font-size: 1.12rem;
  }
  
  .feature-desc {
    font-size: 1.03rem;
  }
  
  .about-feature {
    padding: 1.5rem 1rem;
  }
  
  .about-feature-icon {
    font-size: 2.30rem;
  }
  
  .about-feature-name {
    font-size: 1rem;
  }
  
  .about-feature-desc {
    font-size: 0.97rem;
  }
  
  .price-card {
    padding: 1.5rem 1rem;
    margin-bottom: 1.63rem;
  }
  
  .price-card.featured {
    transform: none;
    margin-bottom: 2rem;
  }
  
  .price-card.featured::before {
    font-size: 0.84rem;
    padding: 0.3rem 0.8rem;
  }
  
  .price-plan-name {
    font-size: 1.30rem;
  }
  
  .price-plan-price {
    font-size: 2rem;
  }
  
  .price-plan-desc {
    font-size: 0.93rem;
  }
  
  .price-plan-features {
    font-size: 0.92rem;
  }
  
  .team-member {
    padding: 1.5rem 1rem;
  }
  
  .team-photo {
    width: 100px;
    height: 100px;
    font-size: 3rem;
  }
  
  .team-member-name {
    font-size: 1.23rem;
  }
  
  .team-member-role {
    font-size: 0.94rem;
  }
  
  .review-card {
    padding: 1.5rem;
    margin-bottom: 1.73rem;
  }
  
  .review-text {
    font-size: 0.95rem;
  }
  
  .review-author {
    font-size: 0.91rem;
  }
  
  .review-stars {
    font-size: 1rem;
  }
  
  .casestudy-item {
    padding: 1.5rem;
    margin-bottom: 1.63rem;
  }
  
  .casestudy-title {
    font-size: 1.22rem;
  }
  
  .casestudy-desc {
    font-size: 0.93rem;
  }
  
  .process-item {
    padding: 1.5rem 0.5rem;
  }
  
  .process-number {
    width: 45px;
    height: 45px;
    font-size: 1.24rem;
  }
  
  .process-title {
    font-size: 1.20rem;
  }
  
  .process-desc {
    font-size: 0.95rem;
  }
  
  .timeline-item {
    padding: 1.5rem;
  }
  
  .timeline-title {
    font-size: 1.26rem;
  }
  
  .timeline-desc {
    font-size: 0.93rem;
  }
  
  .career-item {
    padding: 1.5rem;
    margin-bottom: 1.59rem;
  }
  
  .career-title {
    font-size: 1.33rem;
  }
  
  .career-role {
    font-size: 0.92rem;
  }
  
  .career-desc {
    font-size: 0.92rem;
  }
  
  .coreinfo-item {
    padding: 1.5rem 1rem;
  }
  
  .coreinfo-icon {
    font-size: 2.25rem;
  }
  
  .coreinfo-title {
    font-size: 1.23rem;
  }
  
  .coreinfo-desc {
    font-size: 0.87rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .contact-info {
    padding: 1.5rem;
    margin-top: 2rem;
  }
  
  .contact-info-item {
    margin-bottom: 1.30rem;
  }
  
  .contact-info-icon {
    font-size: 1.35rem;
  }
  
  .contact-info-text {
    font-size: 1.02rem;
  }
  
  .blog-card-body {
    padding: 1.5rem;
  }
  
  .blog-title {
    font-size: 1.34rem;
  }
  
  .blog-excerpt {
    font-size: 0.98rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .faq-item {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .faq-question {
    font-size: 1.22rem;
  }
  
  .faq-answer {
    font-size: 0.99rem;
  }
  
  .footer {
    padding: 2rem 0 1rem;
  }
  
  .footer-content {
    text-align: center;
  }
  
  .footer-section {
    margin-bottom: 2rem;
  }
  
  .footer-section h5 {
    font-size: 1rem;
  }
  
  .footer-section p,
  .footer-section a {
    font-size: 0.98rem;
  }
  
  .footer-bottom {
    font-size: 0.82rem;
  }
  
  .navbar-brand {
    font-size: 1rem;
  }
  
  .navbar-nav .nav-link {
    font-size: 1.00rem;
    padding: 0.5rem 0.8rem;
  }
  
  .btn-primary,
  .btn-outline-primary {
    padding: 0.7rem 1.5rem;
    font-size: 1.01rem;
  }
  
  .page-section {
    padding: 2rem 0;
  }
  
  .page-section-title {
    font-size: 1.64rem;
  }
  
  .page-section-subtitle {
    font-size: 1rem;
  }
  
  .page-section-desc {
    font-size: 0.92rem;
  }
  
  .page-element {
    padding: 1.5rem;
    margin-bottom: 1.57rem;
  }
  
  .page-element-title {
    font-size: 1.28rem;
  }
  
  .page-element-desc {
    font-size: 0.98rem;
  }
  
  #space {
    min-height: 50vh;
    margin: 1rem 0;
    font-size: 1.27rem;
  }
}

/* Navbar Responsive */
@media (max-width: 991px) {
  .navbar-collapse {
    background: white;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-top: 1rem;
  }
  
  .navbar-nav .nav-link {
    text-align: center;
    padding: 0.8rem 1rem;
    border-bottom: 1px solid #e4e4e4;
  }
  
  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .footer,
  .contact-form,
  .decorative-blob {
    display: none;
  }
  
  .hero-section {
    min-height: auto;
    padding: 2rem 0;
  }
  
  .section {
    padding: 1.5rem 0;
    page-break-inside: avoid;
  }
  
  .service-card,
  .price-card,
  .review-card,
  .casestudy-item,
  .career-item,
  .page-element {
    page-break-inside: avoid;
    box-shadow: none;
    border: 1px solid #dfcdcd;
  }
  
  .hero-title,
  .section-title,
  .page-section-title {
    color: black;
  }
  
  .text-gradient {
    -webkit-text-fill-color: black;
    color: black;
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .team-photo,
  .gallery-item {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Landscape Orientation */
@media (orientation: landscape) and (max-height: 500px) {
  .hero-section {
    min-height: 100vh;
  }
  
  .navbar {
    padding: 0.5rem 0;
  }
  
  .section {
    padding: 2rem 0;
  }
} 

.hero-content {
    padding-top: 100px;
}