* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #FDF6ED;
  color: #333;
  overflow-x: hidden;
}

header {
  background-color: #3F51B5;
  padding: 0.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  color: #fff;
}

.logo img {
  height: 70px;
  width: auto;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.login-btn a {
  color: white;
  background-color: #D96C3B;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
}

.hamburger {
  display: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  margin-left: auto;
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  nav ul {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #3F51B5;
    padding: 1rem;
    margin-top: 1rem;
  }

  nav ul.active {
    display: flex;
  }
}

/* Carousel Section */
.carousel-section {
  padding: 1rem 2rem;
  background-color: #fff;
}

.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0 2rem;
}

.carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 1rem;
  scroll-behavior: smooth;
  padding-bottom: 1rem;
}

.carousel::-webkit-scrollbar {
  display: none;
}

.carousel-item {
  flex: 0 0 auto;
  width: 300px;
  height: 400px;
  scroll-snap-align: start;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  background-color: #f1f1f1;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel-item .caption {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 0.75rem;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  font-size: 0.95rem;
  text-align: center;
}

.arrow {
  font-size: 2rem;
  background: #3F51B5;
  color: white;
  border: none;
  padding: 0.8rem;
  cursor: pointer;
  border-radius: 999px;
  z-index: 10;
}

.arrow:hover {
  background: #D96C3B;
}

.arrow.left {
  margin-right: 1rem;
}

.arrow.right {
  margin-left: 1rem;
}

@media(max-width: 768px) {
  .arrow {
    display: none;
  }
}

/* Quick Links */
.quick-links {
  padding: 3rem 2rem;
  background-color: #FDF6ED;
  text-align: center;
}

.quick-links h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #3F51B5;
}

.link-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.link-card {
  position: relative;
  height: 300px;
  border-radius: 16px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
  display: flex;
  align-items: flex-end;
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.link-card:hover {
  transform: scale(1.05);
}

.card-content {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1.5rem;
  color: #fff;
  width: 100%;
  text-align: left;
}

.card-content h3 {
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
  color: #fff;
}

.card-content p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  color: #e0e0e0;
}

.glass-btn {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 25px;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
}

.glass-btn:hover {
  background: rgba(255, 255, 255, 0.35);
  color: #000;
}

/* Testimonials */
.testimonials {
  padding: 4rem 2rem;
  background-color: #fff;
  text-align: center;
}

.testimonials h2 {
  color: #3F51B5;
  margin-bottom: 2rem;
}

.testimonial-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.testimonial-card {
  background: #FDF6ED;
  border-left: 5px solid #D96C3B;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.testimonial-card p {
  font-size: 1rem;
  font-style: italic;
  color: #444;
  margin-bottom: 1rem;
}

.testimonial-card h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #3F51B5;
}


/* Footer */
footer {
  background-color: #3F51B5;
  color: white;
  padding: 2rem;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  max-width: 1100px;
  margin: auto;
  padding-bottom: 1rem;
}

.footer-logo img {
  height: 50px;
  margin-bottom: 0.5rem;
}

.footer-logo p {
  max-width: 300px;
  font-size: 0.9rem;
}

.footer-links h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 0.5rem;
}

.footer-links ul li a {
  color: white;
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-links ul li a:hover {
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  margin-top: 1rem;
  padding-top: 1rem;
  font-size: 0.85rem;
  color: #ddd;
}
