/*
 * Modern Professional CSS for MbahHost Theme
 * Blue-Green Gradient Design with Modern UI Elements
 */

/* ===== MODERN COLOR PALETTE ===== */
:root {
  --gradient-primary: linear-gradient(135deg, #0ea5e9 0%, #10b981 50%, #06b6d4 100%);
  --gradient-secondary: linear-gradient(135deg, #0284c7 0%, #059669 50%, #0891b2 100%);
  --gradient-dark: linear-gradient(135deg, #0c4a6e 0%, #065f46 50%, #0e7490 100%);
  --gradient-light: linear-gradient(135deg, #e0f2fe 0%, #d1fae5 50%, #cffafe 100%);
  --gradient-accent: linear-gradient(135deg, #38bdf8 0%, #34d399 50%, #22d3ee 100%);
  --color-primary: #0ea5e9;
  --color-secondary: #10b981;
  --color-accent: #06b6d4;
  --color-dark: #0c4a6e;
  --color-light: #f0f9ff;
  --shadow-soft: 0 4px 20px rgba(14, 165, 233, 0.15);
  --shadow-medium: 0 8px 30px rgba(14, 165, 233, 0.2);
  --shadow-strong: 0 12px 40px rgba(14, 165, 233, 0.25);
}

/* ===== TYPOGRAPHY ===== */
body, html {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  line-height: 1.6;
}

body {
  font-size: 16px;
  color: #2c3e50;
  background: linear-gradient(180deg, #f0f9ff 0%, #ecfdf5 100%);
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 700 !important;
  color: #1a1a1a !important;
  letter-spacing: -0.5px;
}

h1 { font-size: 48px !important; line-height: 1.2; }
h2 { font-size: 36px !important; line-height: 1.3; }
h3 { font-size: 28px !important; line-height: 1.4; }
h4 { font-size: 22px !important; line-height: 1.5; }
h5 { font-size: 18px !important; line-height: 1.6; }
h6 { font-size: 16px !important; line-height: 1.6; }

p, div, span, a, button, input, select, textarea, label, td, th {
  font-family: 'Poppins', sans-serif !important;
}

/* ===== NAVBAR ===== */
header.navbar {
  background: var(--gradient-primary) !important;
  box-shadow: var(--shadow-medium);
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.navbar-brand {
  font-size: 28px !important;
  font-weight: 800 !important;
  color: #fff !important;
  text-shadow: 0 2px 10px rgba(0,0,0,0.15);
  letter-spacing: -1px;
}

.navbar-brand img {
  max-height: 45px !important;
}

.navbar .nav-link {
  color: rgba(255,255,255,0.95) !important;
  font-weight: 600 !important;
  border-radius: 12px !important;
  transition: all 0.3s ease !important;
  padding: 12px 20px !important;
  margin: 0 4px !important;
  position: relative;
  overflow: hidden;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  background: rgba(255,255,255,0.2) !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.navbar .dropdown-menu {
  border: none !important;
  border-radius: 16px !important;
  box-shadow: var(--shadow-strong);
  padding: 10px;
  margin-top: 10px;
}

.navbar .dropdown-item {
  border-radius: 10px;
  padding: 12px 20px;
  transition: all 0.3s;
}

.navbar .dropdown-item:hover {
  background: var(--gradient-light);
  color: var(--color-primary);
}

.navbar-toggler {
  border-color: rgba(255,255,255,0.5) !important;
  padding: 8px 12px;
}

/* ===== HERO SECTION ===== */
.hero-section {
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.05)"/></svg>') repeat;
  animation: float 20s infinite linear;
}

@keyframes float {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-100px) rotate(360deg); }
}

.hero-section .badge {
  background: rgba(255,255,255,0.2) !important;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 8px 20px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.hero-section h1 {
  color: #fff !important;
  text-shadow: 0 4px 20px rgba(0,0,0,0.2);
  margin-bottom: 20px;
}

.hero-section h1 strong {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-section .lead {
  color: rgba(255,255,255,0.95) !important;
  font-size: 20px;
  margin-bottom: 30px;
}

.hero-section .btn-light {
  background: #fff !important;
  color: var(--color-primary) !important;
  border: none;
  padding: 15px 35px;
  font-weight: 700;
  border-radius: 50px;
  box-shadow: var(--shadow-medium);
  transition: all 0.3s;
}

.hero-section .btn-light:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-strong);
}

.hero-section .btn-outline-light {
  border: 2px solid rgba(255,255,255,0.5) !important;
  color: #fff !important;
  padding: 15px 35px;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s;
}

.hero-section .btn-outline-light:hover {
  background: rgba(255,255,255,0.2);
  border-color: #fff;
}

.hero-section .form-control {
  border: none;
  border-radius: 50px;
  padding: 18px 25px;
  box-shadow: var(--shadow-medium);
}

.hero-section .btn {
  border-radius: 50px;
  padding: 18px 35px;
  font-weight: 700;
}

/* ===== CARDS ===== */
.card {
  border: none !important;
  border-radius: 20px !important;
  box-shadow: var(--shadow-soft);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
  background: #fff;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
}

.card.border-primary {
  border: 2px solid var(--color-primary) !important;
  background: linear-gradient(135deg, #fff 0%, #f0f9ff 100%);
}

.card .card-title {
  font-weight: 700;
  color: var(--color-dark) !important;
  margin-bottom: 15px;
}

.card .card-text {
  color: #64748b;
  line-height: 1.7;
}

.card h3 {
  color: var(--color-primary) !important;
  font-weight: 800;
  margin: 20px 0;
}

.card ul {
  padding-left: 0;
}

.card ul li {
  padding: 8px 0;
  color: #475569;
  position: relative;
  padding-left: 25px;
}

.card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-secondary);
  font-weight: bold;
}

.card .btn {
  border-radius: 50px;
  padding: 12px 30px;
  font-weight: 600;
  transition: all 0.3s;
}

.card .btn-primary {
  background: var(--gradient-primary) !important;
  border: none;
  box-shadow: var(--shadow-soft);
}

.card .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.card .btn-outline-primary {
  border: 2px solid var(--color-primary) !important;
  color: var(--color-primary) !important;
}

.card .btn-outline-primary:hover {
  background: var(--gradient-primary) !important;
  color: #fff !important;
  border-color: transparent;
}

/* ===== BUTTONS ===== */
.btn {
  border-radius: 12px !important;
  padding: 12px 28px;
  font-weight: 600;
  transition: all 0.3s;
  border: none;
}

.btn-primary {
  background: var(--gradient-primary) !important;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.btn-secondary {
  background: var(--gradient-secondary) !important;
  box-shadow: var(--shadow-soft);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.btn-outline-primary {
  border: 2px solid var(--color-primary) !important;
  color: var(--color-primary) !important;
}

.btn-outline-primary:hover {
  background: var(--gradient-primary) !important;
  color: #fff !important;
  border-color: transparent;
}

/* ===== FOOTER ===== */
footer {
  background: var(--gradient-dark) !important;
  color: #fff;
  border-top: none;
}

footer h5, footer h6 {
  color: #fff !important;
  margin-bottom: 20px;
}

footer a {
  color: rgba(255,255,255,0.8) !important;
  transition: all 0.3s;
}

footer a:hover {
  color: #fff !important;
  padding-left: 5px;
}

footer ul li {
  padding: 8px 0;
}

/* ===== FORMS ===== */
.form-control {
  border-radius: 12px !important;
  border: 2px solid #e2e8f0;
  padding: 14px 18px;
  transition: all 0.3s;
}

.form-control:focus {
  border-color: var(--color-primary) !important;
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
}

.form-label {
  font-weight: 600;
  color: #475569;
}

/* ===== SECTIONS ===== */
section {
  position: relative;
}

.bg-light {
  background: var(--gradient-light) !important;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card {
  animation: fadeInUp 0.6s ease-out;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  h1 { font-size: 36px !important; }
  h2 { font-size: 28px !important; }
  h3 { font-size: 24px !important; }
  
  .hero-section .btn {
    width: 100%;
    margin-bottom: 10px;
  }
  
  .card {
    margin-bottom: 20px;
  }
}
