/* Modern Variables */
:root {
  --primary-color: #4A6FA5;  /* Elegant blue */
  --secondary-color: #2B2D42;
  --accent-color: #86A6DF;
  --background-color: #F8F9FA;
  --text-color: #2B2D42;
  --spacing-unit: 2rem;
}

/* Modern Base Styles */
body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
}

/* Modern Navbar */
.navbar {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-color) !important;
}

/* Modern Hero Section */
.hero {
  min-height: 100vh;
  background: linear-gradient(45deg, rgba(43, 45, 66, 0.9), rgba(74, 111, 165, 0.8)), url('https://images.unsplash.com/photo-1514933651103-005eec06c04b?q=80&w=1974&auto=format&fit=crop') center/cover;
  position: relative;
  overflow: hidden;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 800;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero .lead {
  font-size: 1.5rem;
  color: white;
  margin-bottom: 2rem;
}

.btn-primary {
  background: var(--primary-color);
  border: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  transition: transform 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(74, 111, 165, 0.3);
}

/* Modern Cards */
.card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.card-img-top {
  height: 250px;
  object-fit: cover;
}

.card-body {
  padding: 2rem;
}

.card-title {
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

/* Modern Section Titles */
section h2 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
}

section h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--primary-color);
  border-radius: 2px;
}

/* Modern Contact Section */
#contact {
  background: var(--secondary-color);
  color: white;
  padding: 5rem 0;
}

/* Modern Footer */
footer {
  background: var(--secondary-color);
  padding: 3rem 0;
}

/* Chat Widget Modern Style */
.chat-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 350px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.chat-header {
  background: var(--primary-color);
  padding: 1rem;
  border-radius: 20px 20px 0 0;
}

.chat-body {
  background: white;
  border-radius: 0 0 20px 20px;
  padding: 1rem;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 1s ease forwards;
}