/* VR Language Immersion Template - Responsive Styles */

/* Mobile First Approach */

/* Extra Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  /* No animations on mobile as per requirements */
  * {
    animation: none !important;
    transition: none !important;
  }
  
  .navbar-brand {
    font-size: 1rem;
  }
  
  h1 {
    font-size: 1.5rem;
  }
  
  h2 {
    font-size: 1.25rem;
  }
  
  h3 {
    font-size: 1.125rem;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .hero-decorative {
    display: none;
  }
  
  #hero {
    padding-top: 5rem;
    min-height: 80vh;
  }
  
  .custom-card {
    margin-bottom: 1rem;
  }
  
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  .card-icon {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1rem;
  }
  
  .price-value {
    font-size: 2rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .navbar-nav .nav-link {
    margin: 0 0.5rem;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .navbar-brand {
    font-size: 1.125rem;
  }
  
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  #hero {
    min-height: 90vh;
  }
  
  .team-photo {
    width: 140px;
    height: 140px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-decorative {
    width: 150px;
    height: 150px;
  }
  
  .hero-decorative::before {
    width: 200px;
    height: 200px;
  }
  
  .section {
    padding: 3.5rem 0;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .section {
    padding: 4rem 0;
  }
  
  .hero-decorative {
    width: 180px;
    height: 180px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .section {
    padding: 5rem 0;
  }
  
  .hero-decorative {
    width: 200px;
    height: 200px;
  }
  
  .hero-decorative::before {
    width: 300px;
    height: 300px;
  }
}

/* Navigation Responsive */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(99, 102, 241, 0.95);
    border-radius: 0.5rem;
    margin-top: 1rem;
    padding: 1rem;
  }
  
  .navbar-nav {
    text-align: center;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 0;
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }
}

/* Grid Adjustments */
@media (max-width: 767.98px) {
  .row.g-4 > * {
    margin-bottom: 1.5rem;
  }
  
  .col-md-6:nth-child(odd) {
    margin-bottom: 1rem;
  }
}

/* Card Layout Responsive */
@media (max-width: 575.98px) {
  .row [class*="col-"] {
    margin-bottom: 1rem;
  }
  
  .custom-card {
    padding: 1.5rem;
  }
  
  .faq-card {
    padding: 1.5rem;
  }
  
  .review-card {
    padding: 1.5rem;
  }
}

/* Typography Responsive */
@media (max-width: 767.98px) {
  .section-title h2 {
    font-size: 1.5rem;
  }
  
  .section-subtitle {
    font-size: 0.75rem;
  }
}

/* Hero Section Responsive */
@media (max-width: 767.98px) {
  #hero .col-md-6:first-child {
    order: 1;
    margin-bottom: 2rem;
  }
  
  #hero .col-md-6:last-child {
    order: 2;
  }
}

/* Footer Responsive */
@media (max-width: 767.98px) {
  #footer .row > div {
    text-align: center;
    margin-bottom: 2rem;
  }
  
  #footer .row > div:last-child {
    margin-bottom: 0;
  }
}

/* Services Grid Responsive */
@media (max-width: 575.98px) {
  .services-grid .col-lg-4 {
    margin-bottom: 2rem;
  }
}

/* Team Grid Responsive */
@media (max-width: 991.98px) {
  .team-member {
    margin-bottom: 3rem;
  }
}

/* Contact Form Responsive */
@media (max-width: 767.98px) {
  .contact-info {
    margin-top: 2rem;
  }
}

/* Gallery Responsive */
@media (max-width: 767.98px) {
  #gallery .col-md-4 {
    margin-bottom: 1rem;
  }
}

/* Blog Grid Responsive */
@media (max-width: 767.98px) {
  .blog-card {
    margin-bottom: 2rem;
  }
}

/* Price Cards Responsive */
@media (max-width: 991.98px) {
  .price-card {
    margin-bottom: 2rem;
  }
}

/* Process Steps Responsive */
@media (max-width: 767.98px) {
  .process-step {
    margin-bottom: 2rem;
  }
}

/* Timeline Responsive */
@media (max-width: 767.98px) {
  .timeline-item {
    padding-left: 2rem;
  }
  
  .timeline-item::before {
    width: 8px;
    height: 8px;
  }
}

/* Core Info Responsive */
@media (max-width: 575.98px) {
  .coreinfo-item {
    padding: 1rem;
    margin-bottom: 1rem;
  }
}

/* Button Responsive */
@media (max-width: 575.98px) {
  .btn {
    font-size: 0.875rem;
    padding: 0.625rem 1.5rem;
  }
}

/* Image Responsive */
@media (max-width: 767.98px) {
  img {
    max-width: 100%;
    height: auto;
  }
}

/* Spacing Utilities Responsive */
@media (max-width: 575.98px) {
  .mb-5 {
    margin-bottom: 2rem !important;
  }
  
  .py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
}

/* Form Elements Responsive */
@media (max-width: 575.98px) {
  .form-control {
    font-size: 1rem; /* Prevent zoom on iOS */
  }
  
  .form-select {
    font-size: 1rem;
  }
}

/* Container Responsive Adjustments */
@media (max-width: 575.98px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Print Styles */
@media print {
  #header,
  #footer {
    display: none;
  }
  
  .section {
    padding: 1rem 0;
    page-break-inside: avoid;
  }
  
  .custom-card {
    box-shadow: none;
    border: 1px solid #dee2e6;
  }
  
  .btn {
    display: none;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .custom-card {
    border: 2px solid var(--vr-dark);
  }
  
  .btn-primary {
    border: 2px solid var(--vr-dark);
  }
  
  .form-control {
    border: 2px solid var(--vr-dark);
  }
}

/* Dark Mode Support */

body {
    overflow-x: hidden;
}

.hero-content {
    padding-top: 175px;
}