/* Global Styles */
:root {
  --primary-color: #2c3e50;
  --secondary-color: #3498db;
  --dark-color: #1a252f;
  --light-color: #ecf0f1;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #333;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-top: 70px; /* Offset for fixed header */
}

main {
  flex: 1;
}

/* Fixed Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 10px 0;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  z-index: 1030;
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
}

.brand-tagline {
    font-size: 0.7rem;
    opacity: 0.8;
    margin-left: 10px;
    font-weight: 400;
    display: inline-block;
}

.navbar-dark {
  background-color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  color: white;
  padding: 60px 0;
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
  text-align: center;
  margin-top: -70px; /* Counteract fixed header */
  padding-top: 130px; /* Extra space for header */
}

.hero-section h1 {
  font-size: 2rem;
  font-weight: 600;
}

.hero-section .lead {
  font-size: 1.1rem;
}

@keyframes gradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Cards */
.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  border: none;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2) !important;
}

.card-icon {
  font-size: 2rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

/* Section Titles */
.section-title {
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 25px;
  font-size: 1.8rem;
  font-weight: 600;
}

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

/* Buttons */
.btn {
  font-weight: 500;
  padding: 0.6rem 1.3rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

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

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

.btn-outline-light:hover {
  color: var(--primary-color) !important;
}

.eva-genai-btn {
    border: 2px solid #2563EB; /* Border color */
    color: #2563EB !important;
    border-radius: 6px;
    padding: 6px 14px;
    margin-left: 8px;
    transition: all 0.3s;
}

.eva-genai-btn:hover {
    background-color: #2563EB;
    color: white !important;
}

/* Footer Styles */
.footer {
  background-color: var(--dark-color);
  color: white;
  padding: 2rem 0 1rem;
}

.footer h4, .footer h5 {
  font-weight: 600;
}

.footer a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: all 0.2s ease;
}

.footer a:hover {
  color: white;
  padding-left: 3px;
}

.text-white-50 {
  color: rgba(255,255,255,0.7);
}

.footer .border-top {
  border-color: rgba(255,255,255,0.1) !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .footer .row > div {
    margin-bottom: 1.5rem;
  }
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .hero-section {
    padding: 50px 0;
    padding-top: 120px;
  }
  
  .hero-section h1 {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 60px;
  }
  
  .navbar-brand {
    font-size: 1.1rem;
  }
  
  .hero-section {
    padding: 40px 0;
    padding-top: 110px;
    margin-top: -60px;
  }
  
  .hero-section h1 {
    font-size: 1.6rem;
  }
  
  .section-title {
    font-size: 1.6rem;
  }
}

@media (max-width: 576px) {
  .hero-section h1 {
    font-size: 1.5rem;
  }
  
  .hero-section .lead {
    font-size: 1rem;
  }
  
  .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
  
  .brand-tagline {
    display: none;
  }
}