/* Modern CSS for MVS Mango Website */
:root {
  --primary: #ff9800;       /* Mango orange */
  --primary-dark: #e68a00;  /* Darker orange */
  --secondary: #4caf50;     /* Green */
  --dark: #212529;          /* Dark gray */
  --light: #f8f9fa;         /* Light gray */
  --white: #ffffff;         /* White */
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Montserrat', sans-serif;
}

body {
  font-family: var(--font-primary);
  color: #333;
  line-height: 1.6;
}

/* Modern Navbar */
.navbar {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
  transition: all 0.3s ease;
}

.navbar-brand {
  font-family: var(--font-secondary);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary) !important;
}

.nav-link {
  font-weight: 500;
  margin: 0 5px;
  position: relative;
  transition: all 0.3s ease;
}

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

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

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}

.hero:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)), url('../heroimage.jpg') center/cover no-repeat;
  z-index: -1;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  animation: fadeInUp 1.2s ease;
}

.hero .btn {
  animation: fadeInUp 1.4s ease;
  padding: 12px 30px;
  font-weight: 600;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  background: var(--primary);
  border: none;
  color: var(--white);
}

.hero .btn:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Section Styling */
section {
  padding: 80px 0;
}

.section-title {
  position: relative;
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
  font-family: var(--font-secondary);
}

.section-title:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--primary);
}

/* Feature Cards */
.feature-card {
  background: var(--white);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
  border: none;
}

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

.feature-card h5 {
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 15px;
  font-family: var(--font-secondary);
}

.feature-card i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 20px;
}

/* About Section */
.about-image {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Form Styling */
.form-control {
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid #e1e1e1;
  transition: all 0.3s ease;
}

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

.btn-submit {
  background: var(--primary);
  color: var(--white);
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  border: none;
  transition: all 0.3s ease;
}

.btn-submit:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
  background: var(--dark);
  color: var(--white);
  padding: 40px 0 20px;
}

footer a {
  color: var(--primary) !important;
  text-decoration: none;
  transition: all 0.3s ease;
}

footer a:hover {
  color: var(--white) !important;
  text-decoration: none;
}

.footer-links {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.footer-links a {
  margin: 0 15px;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  section {
    padding: 60px 0;
  }
  
  .feature-card {
    margin-bottom: 30px;
  }
}