@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #007bff;
  --secondary: #6c757d;
  --success: #28a745;
  --warning: #ffc107;
  --danger: #dc3545;
  --light: #f8f9fa;
  --dark: #343a40;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  scroll-behavior: smooth;
}

/* Navbar Styles */
.nav-bar-ms {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.nav-link {
  position: relative;
  transition: var(--transition);
}

.form-control {
  height: 45px;
  border-radius: 8px;
  border: 2px solid rgba(65, 88, 208, 0.2);
  padding-left: 15px;
  transition: all 0.3s ease;
  animation: slideIn 0.5s ease-out;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 100%;
}

/* Hero Section Animation */
#home .carousel-item img {
  animation: zoomInOut 20s infinite alternate;
}

@keyframes zoomInOut {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

/* Menu Section */
#menu .card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

#menu .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

#menu .card-title {
  color: var(--primary);
  font-weight: 600;
}

/* Gallery Section */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  cursor: pointer;
}

.gallery-item img {
  transition: var(--transition);
}

.gallery-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item:hover::after {
  opacity: 1;
}

/* Services Section */
#services .card {
  border: none;
  border-radius: 15px;
  transition: var(--transition);
  background: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

#services .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

#services .card-title i {
  color: var(--primary);
  transition: var(--transition);
}

#services .card:hover .card-title i {
  transform: scale(1.2);
}

/* Contact Form */
#contact .form-control {
  border: 2px solid #eee;
  border-radius: 10px;
  padding: 12px;
  transition: var(--transition);
}

#contact .form-control:focus {
  border-color: var(--primary);
  box-shadow: none;
}

#contact button {
  background: var(--primary);
  border: none;
  padding: 12px 30px;
  border-radius: 10px;
  font-weight: 500;
  transition: var(--transition);
}

#contact button:hover {
  background: #0056b3;
  transform: translateY(-3px);
}

/* Feedback Section */
#feedback .carousel-item {
  padding: 30px;
}

#feedback img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary);
  padding: 3px;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll Reveal Animation */
[data-scroll] {
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
}

[data-scroll].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-bar-ms {
    background: white;
  }
  
  #menu .card,
  #services .card {
    margin-bottom: 20px;
  }
  
  #contact .map-container {
    margin-top: 30px;
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #0056b3;
}











