:root {
  --primary-blue: #1a4b8c;
  --secondary-blue: #2c6fc1;
  --accent-blue: #0a2d5a;
  --light-blue: #e8f1ff;
  --white: #ffffff;
  --gray: #f8f9fa;
}

/* Global Styles */
body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: #333;
}

section {
  padding: 80px 0;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 60%;
  left: 65%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 120%;
  background-image: url('../images/LOGOMEF-bg.png');
  background-repeat: no-repeat;
  background-position: center right;
  background-size: contain;
  opacity: 0.1;
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  padding: 2rem 0;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-button {
  background: var(--accent-blue);
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background: var(--white);
  color: var(--accent-blue);
  transform: translateY(-2px);
}

/* About Section */
.about {
  background: var(--gray);
}

.section-title {
  color: var(--primary-blue);
  font-size: 2.5rem;
  margin-bottom: 3rem;
  text-align: center;
}

/* Features Section */
.features {
  background: var(--white);
}

.feature-card {
  padding: 2rem;
  text-align: center;
  border-radius: 10px;
  transition: all 0.3s ease;
  margin-bottom: 2rem;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.feature-icon {
  font-size: 3rem;
  color: var(--secondary-blue);
  margin-bottom: 1rem;
}

.feature-card h3 {
  color: var(--primary-blue);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.feature-card p {
  color: #666;
  font-size: 1rem;
  line-height: 1.6;
}

/* Team Section */
.team {
  background: var(--gray);
  padding: 80px 0;
}

.team-member {
  text-align: center;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
}

.team-member img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  margin-bottom: 1.5rem;
  object-fit: cover;
  border: 4px solid var(--white);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.team-member h3 {
  color: var(--primary-blue);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.team-member p {
  color: var(--secondary-blue);
  font-size: 1rem;
  margin-bottom: 1rem;
}

/* Testimonials Section */
.testimonials {
  background: var(--white);
}

.testimonial-card {
  background: var(--light-blue);
  padding: 2rem;
  border-radius: 10px;
  margin: 1rem 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.testimonial-author {
  color: var(--primary-blue);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.testimonial-institution {
  color: var(--secondary-blue);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Navbar Styles */
.navbar {
  background-color: transparent;
  transition: background-color 0.3s ease;
  padding: 1rem 0;
}

.navbar.scrolled {
  background-color: var(--primary-blue);
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
}

.nav-link {
  color: var(--white) !important;
  margin: 0 0.5rem;
  font-weight: 500;
  transition: opacity 0.3s ease;
}

.nav-link:hover {
  opacity: 0.8;
}

/* Footer */
footer {
  background: var(--accent-blue);
  color: var(--white);
  padding: 3rem 0;
}

footer h3 {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

footer p {
  margin-bottom: 1rem;
  opacity: 0.9;
}

footer i {
  margin-right: 10px;
  width: 20px;
  text-align: center;
}

footer a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--light-blue);
}

@media (max-width: 768px) {
  footer .col-md-6:last-child {
    margin-top: 2rem;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero {
    text-align: center;
  }
}
