/* Financial Literacy Education Platform - Responsive CSS */

/* Extra Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1200px;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .section-title {
    font-size: 2.52rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (max-width: 1199.98px) {
  .hero-title {
    font-size: 2.57rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .service-card {
    margin-bottom: 2rem;
  }
  
  .team-photo {
    width: 150px;
    height: 150px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (max-width: 991.98px) {
  .navbar-brand {
    font-size: 1.42rem;
  }
  
  .hero-title {
    font-size: 2.33rem;
    margin-bottom: 1rem;
  }
  
  .hero-subtitle {
    font-size: 1.21rem;
  }
  
  .hero-desc {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.82rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .feature-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
  }
  
  .feature-icon {
    font-size: 2.56rem;
  }
  
  .service-card {
    margin-bottom: 2rem;
    padding: 1.5rem;
  }
  
  .price-card {
    margin-bottom: 2rem;
    padding: 2rem 1.5rem;
  }
  
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 17px;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  .footer {
    padding: 40px 0 20px;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 767.98px) {
  .hero-section h1 {
    padding-top: 150px;
}

.hero-section {
    min-height: auto;
    padding: 120px 0 60px;
  }
  
  .hero-title {
    font-size: 2rem;
    text-align: center;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    text-align: center;
  }
  
  .hero-desc {
    font-size: 1.08rem;
    text-align: center;
    margin-bottom: 1.57rem;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 1.67rem;
    margin-bottom: 2rem;
  }
  
  .section-subtitle {
    font-size: 0.99rem;
  }
  
  .section-desc {
    font-size: 1.00rem;
    margin-bottom: 2rem;
  }
  
  .feature-item {
    padding: 1.2rem;
    margin-bottom: 1.66rem;
  }
  
  .feature-icon {
    font-size: 2rem;
  }
  
  .service-card {
    padding: 1.2rem;
    margin-bottom: 1.61rem;
  }
  
  .service-image {
    height: 150px;
  }
  
  .service-price {
    font-size: 1.60rem;
  }
  
  .price-card {
    padding: 1.5rem;
    margin-bottom: 1.71rem;
  }
  
  .team-member {
    margin-bottom: 1.66rem;
  }
  
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  .review-card {
    padding: 1.2rem;
    margin-bottom: 1.58rem;
  }
  
  .case-card {
    padding: 1.2rem;
    margin-bottom: 1.72rem;
  }
  
  .process-item {
    margin-bottom: 1.70rem;
  }
  
  .process-number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .timeline-item {
    padding: 1.2rem;
    margin-bottom: 1.68rem;
  }
  
  .career-item {
    padding: 1.2rem;
    margin-bottom: 1.60rem;
  }
  
  .coreinfo-item {
    padding: 1.2rem;
    margin-bottom: 1.57rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .blog-card {
    margin-bottom: 1.68rem;
  }
  
  .blog-image {
    height: 150px;
  }
  
  .faq-item {
    margin-bottom: 0.96rem;
  }
  
  .faq-question {
    padding: 0.8rem 1rem;
    font-size: 1.03rem;
  }
  
  .faq-answer {
    padding: 1rem;
    font-size: 0.96rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
  }
  
  .gallery-image {
    height: 200px;
  }
  
  .footer {
    padding: 30px 0 15px;
  }
  
  .footer h5 {
    margin-bottom: 1rem;
    font-size: 1rem;
  }
  
  .footer p {
    font-size: 0.97rem;
  }
  
  .footer-bottom {
    padding-top: 1.59rem;
    margin-top: 1.68rem;
  }
}

/* Navbar responsiveness */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(255, 255, 255, 0.98);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  
  .navbar-nav {
    text-align: center;
  }
  
  .navbar-nav .nav-link {
    padding: 0.5rem 0;
    margin: 0;
  }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  .btn:hover,
  .feature-item:hover,
  .service-card:hover,
  .blog-card:hover,
  .gallery-item:hover {
    transform: none;
  }
  
  .feature-card:hover {
    transform: none;
  }
} 