/* Base Reset & Fonts */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #f2f2f5; /* Light grey background */
  color: #222;
  line-height: 1.6;
  padding: 2rem;
}

/* Container */
.container {
  max-width: 1200px;
  margin: auto;
  border-radius: 2rem;
  padding: 2rem;
  background: linear-gradient(to bottom right, #ffffff, #f4f1fa); /* Light background */
  box-shadow: 0 0 30px rgba(153, 102, 204, 0.2); /* Subtle purple shadow */
}

/* Header */
header {
  text-align: center;
  margin-bottom: 3rem;
}

header h1 {
  font-size: 3rem;
  color: #8e44ad; /* Vibrant purple */
  text-shadow: 0 0 5px #d4af3770;
}

header p {
  font-size: 1.2rem;
  color: #666;
}

/* Grid Layout */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

/* Card Styles */
.card {
  background: linear-gradient(145deg, #e6d9f8, #f7f2ff);
  padding: 2rem;
  border-radius: 2rem;
  box-shadow: 8px 8px 20px rgba(140, 82, 255, 0.2),
              -4px -4px 15px rgba(210, 180, 255, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 20px rgba(157, 94, 255, 0.4);
}

/* Purple Theme Variants */
.purple1 { border-left: 6px solid #b266ff; } /* Bright */
.purple2 { border-left: 6px solid #9b59b6; } /* Mid */
.purple3 { border-left: 6px solid #8e44ad; } /* Rich */
.purple4 { border-left: 6px solid #6c3483; } /* Darker */
.purple5 { border-left: 6px solid #5a2d82; } /* Deepest */

/* Buttons */
button {
  background: #d4af37;
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s;
  box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3);
}

button:hover {
  background: #e0c066;
  transform: scale(1.05);
}

/* Contact Button Special */
.contact-button {
  margin-top: 1rem;
}

/* Tabs Section */
.tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.tabs button {
  background: #bb8fce;
  color: #fff;
  border-radius: 50px;
  padding: 0.5rem 1rem;
  box-shadow: 0 2px 8px rgba(140, 82, 255, 0.2);
}

.tabs button:hover {
  background: #d4af37;
  color: #fff;
}

/* Carousel Placeholder */
.carousel {
  background: #f5f0ff;
  border: 2px dashed #bca9e0;
  padding: 2rem;
  border-radius: 2rem;
  text-align: center;
  color: #666;
}

/* Footer */
footer {
  margin-top: 3rem;
  text-align: center;
  color: #777;
  font-size: 0.9rem;
  border-top: 1px solid #ccc;
  padding-top: 1rem;
}

/* Images */
.featured-image {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 2rem;
  margin-top: 1rem;
  box-shadow: 0 4px 15px rgba(140, 82, 255, 0.25);
}

.card-image {
  width: 100%;
  height: auto;
  margin: 1rem 0;
  border-radius: 1.5rem;
  box-shadow: 0 2px 12px rgba(140, 82, 255, 0.2);
}

.carousel-image {
  max-width: 100%;
  border-radius: 1.5rem;
  box-shadow: 0 2px 12px rgba(140, 82, 255, 0.2);
}

.logo {
  height: 60px;
  width: auto;
  margin-bottom: 1rem;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(140, 82, 255, 0.25);
}

/* --- New Sections --- */

/* Meet the Team */
.team {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.team-member {
  background: #fff;
  padding: 1.5rem;
  border-radius: 2rem;
  text-align: center;
  box-shadow: 0 4px 15px rgba(140, 82, 255, 0.2);
  transition: transform 0.3s ease;
  width: 250px;
}

.team-member:hover {
  transform: translateY(-5px);
}

.team-photo {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
  box-shadow: 0 2px 10px rgba(140, 82, 255, 0.3);
}

.team-member h3 {
  font-size: 1.2rem;
  color: #8e44ad;
}

/* Gallery Section */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.gallery-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 1.5rem;
  box-shadow: 0 2px 12px rgba(140, 82, 255, 0.2);
  transition: transform 0.3s ease;
}

.gallery-image:hover {
  transform: scale(1.05);
}

/* Animation Keyframes */
@keyframes fadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animation Class */
.fade-slide-up {
  opacity: 0;
  animation: fadeSlideUp 1s ease forwards;
}

/* Optional: slight delay for a cooler effect on different items */
.fade-delay-1 {
  animation-delay: 0.2s;
}
.fade-delay-2 {
  animation-delay: 0.4s;
}
.fade-delay-3 {
  animation-delay: 0.6s;
}
.fade-delay-4 {
  animation-delay: 0.8s;
}

