/* Mobile Responsive Styles */

/* Hero Section Mobile Fix */
@media (max-width: 768px) {
  .hero .carousel-container {
    max-width: 90% !important;
    text-align: center !important;
    padding: 20px !important;
  }
  
  .hero .carousel-container h2 {
    font-size: 1.8rem !important;
    margin-bottom: 15px !important;
  }
  
  .hero .carousel-container p {
    font-size: 1rem !important;
    margin-bottom: 20px !important;
  }
  
  .hero .carousel-item div[style*="background: linear-gradient"] {
    background: rgba(0,0,0,0.7) !important;
  }
}

/* Dropdown Mobile Enhancement */
@media (max-width: 768px) {
  .dropdown ul {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 95vw !important;
    max-width: 350px !important;
    background: white !important;
    border-radius: 20px !important;
    box-shadow: 0 25px 50px rgba(0,0,0,0.4) !important;
    padding: 30px 0 !important;
    z-index: 10000 !important;
    animation: slideIn 0.3s ease-out !important;
  }
  
  @keyframes slideIn {
    from {
      opacity: 0;
      transform: translate(-50%, -60%);
    }
    to {
      opacity: 1;
      transform: translate(-50%, -50%);
    }
  }
  
  .dropdown.show::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    animation: fadeIn 0.3s ease-out;
  }
  
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  
  .dropdown ul li a {
    padding: 20px 30px !important;
    font-size: 1.1rem !important;
    font-weight: 500 !important;
    color: #333 !important;
    border-bottom: 1px solid #f0f0f0 !important;
    justify-content: flex-start !important;
    text-align: left !important;
  }
  
  .dropdown ul li:last-child a {
    border-bottom: none !important;
  }
  
  .dropdown ul li a:hover {
    background: linear-gradient(135deg, #00bfff, #0099cc) !important;
    color: white !important;
  }
  
  .dropdown ul li a:hover i {
    color: white !important;
  }
}

/* Team Section Mobile Fix */
@media (max-width: 768px) {
  .team .member {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  }
  
  .team .member img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
  }
  
  .team .member:hover img {
    transform: scale(1.05);
  }
  
  .team .member .member-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 30px 20px 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
  }
  
  .team .member:hover .member-info {
    transform: translateY(0);
  }
  
  .team .member .member-info h4 {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 5px;
    color: white;
  }
  
  .team .member .member-info span {
    font-size: 0.9rem;
    color: #00bfff;
    margin-bottom: 15px;
    display: block;
  }
  
  .team .member .social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
  }
  
  .team .member .social a {
    color: white;
    font-size: 1.2rem;
    transition: color 0.3s ease;
  }
  
  .team .member .social a:hover {
    color: #00bfff;
  }
}

/* General Mobile Improvements */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }
  
  .section-title h2 {
    font-size: 2rem !important;
  }
  
  .section-title p {
    font-size: 1rem !important;
  }
  
  .btn-get-started {
    padding: 12px 25px !important;
    font-size: 1rem !important;
  }
}