/* Base Styles */
:root {
  --primary: #005F40;
  --primary-light: #1a936f;
  --primary-dark: #004530;
  --secondary: #0077B6;
  --secondary-light: #2596be;
  --secondary-dark: #005c8c;
  --accent: #FF7F50;
  --accent-light: #ff9f7f;
  --accent-dark: #e56a3b;
  --highlight: #8A2BE2;
  --highlight-light: #9d5be7;
  --highlight-dark: #7020b9;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #6c757d;
  --gray-700: #495057;
  --gray-800: #343a40;
  --gray-900: #212529;
}

body {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
  color: var(--gray-800);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

/* Header & Navigation */
.site-header {
  transition: all 0.3s ease-in-out;
}

.site-header.scrolled {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.site-header .navbar-brand img {
  height: 50px;
  transition: all 0.3s ease-in-out;
}

.site-header.scrolled .navbar-brand img {
  height: 40px;
}

.site-header .nav-link {
  position: relative;
  font-weight: 600;
  transition: all 0.3s ease;
}

.site-header .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.site-header .nav-link:hover::after,
.site-header .nav-link.active::after {
  transform: scaleX(1);
}

/* Hero Sections */
.hero-section {
  position: relative;
  padding: 7rem 0;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  overflow: hidden;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 70'%3E%3Cpath fill='%23ffffff' fill-opacity='1' d='M0,32L60,32C120,32,240,32,360,21.3C480,11,600,0,720,0C840,0,960,11,1080,21.3C1200,32,1320,43,1380,48L1440,53L1440,70L1380,70C1320,70,1200,70,1080,70C960,70,840,70,720,70C600,70,480,70,360,70C240,70,120,70,60,70L0,70Z'%3E%3C/path%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
}

/* Cards */
.card {
  border: none;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

.card-title {
  font-weight: 700;
}

/* Feature Icons */
.feature-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 30px;
  color: white;
}

.feature-icon.primary {
  background-color: var(--primary);
}

.feature-icon.secondary {
  background-color: var(--secondary);
}

.feature-icon.accent {
  background-color: var(--accent);
}

/* Buttons */
.btn {
  border-radius: 5px;
  font-weight: 600;
  padding: 0.5rem 1.5rem;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-secondary {
  background-color: var(--secondary);
  border-color: var(--secondary);
}

.btn-secondary:hover {
  background-color: var(--secondary-dark);
  border-color: var(--secondary-dark);
}

.btn-accent {
  background-color: var(--accent);
  border-color: var(--accent);
  color: white;
}

.btn-accent:hover {
  background-color: var(--accent-dark);
  border-color: var(--accent-dark);
  color: white;
}

.btn-outline-primary {
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-primary:hover {
  background-color: var(--primary);
  border-color: var(--primary);
}

/* Animations */
.animate-float {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Gallery */
.gallery-item img {
  transition: transform 0.5s ease;
}

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

/* Media Items */
.media-tag {
  position: absolute;
  top: 0;
  right: 0;
  padding: 0.25rem 0.75rem;
  background: linear-gradient(135deg, var(--secondary), var(--highlight));
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Timeline */
.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background-color: var(--primary-light);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
  width: 100%;
}

.timeline-content {
  position: relative;
  width: calc(50% - 30px);
  padding: 1.5rem;
  background-color: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-left: auto;
}

.timeline-dot {
  position: absolute;
  top: 1.5rem;
  left: 50%;
  width: 20px;
  height: 20px;
  background-color: var(--primary);
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

/* Footer */
.footer {
  background-color: var(--gray-900);
  color: white;
  padding: 4rem 0 2rem;
}

.footer h5 {
  position: relative;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
  color: #fff;
}

.footer h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--primary);
}

.footer a {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s ease;
}

.footer a:hover {
  color: white;
  text-decoration: none;
}

.text-white-50 {
  color: rgba(255, 255, 255, 0.6) !important;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: white !important;
  margin-right: 0.5rem;
  transition: background-color 0.3s ease;
}

.social-icons a:hover {
  background-color: var(--primary);
}

/* Person Cards */
.person-card {
  text-align: center;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.person-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

.person-icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 40px;
  color: white;
  background-color: var(--primary);
}

/* Responsive */
@media (max-width: 991.98px) {
  .timeline::before {
    left: 0;
  }
  
  .timeline-content {
    width: calc(100% - 30px);
    margin-left: 30px !important;
  }
  
  .timeline-dot {
    left: 0;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    padding: 5rem 0;
  }
}