/* ================ */
/* Professional CSS */
/* ================ */

/* ----------------- */
/* Core Variables */
/* ----------------- */
:root {
  /* Primary Colors */
  --primary: #2A5C8A;
  --primary-dark: #1A365D;
  --primary-light: #4299E1;
  --primary-bg: #F0F7FF;
  
  /* Accent Colors */
  --accent: #38B2AC;
  --accent-dark: #2C7A7B;
  --accent-light: #81E6D9;
  
  /* Neutral Colors */
  --white: #FFFFFF;
  --light: #F8F9FA;
  --light-gray: #EDF2F7;
  --medium-gray: #E2E8F0;
  --dark-gray: #4A5568;
  --dark: #2D3748;
  --black: #1A202C;
  
  /* Utility Colors */
  --success: #48BB78;
  --warning: #ED8936;
  --danger: #E53E3E;
  --info: #4299E1;
  
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px rgba(0,0,0,0.1);
  
  /* Spacing */
  --space-unit: 1rem;
  --space-xs: calc(0.5 * var(--space-unit));
  --space-sm: calc(0.75 * var(--space-unit));
  --space-md: calc(1.25 * var(--space-unit));
  --space-lg: calc(2 * var(--space-unit));
  --space-xl: calc(3.25 * var(--space-unit));
  
  /* Typography */
  --text-base: 1rem;
  --text-sm: 0.875rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  
  /* Borders */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 12px;
  --border-radius-full: 9999px;
}

/* ----------------- */
/* Base Styles */
/* ----------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 
               Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--primary-dark);
  margin-bottom: var(--space-sm);
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }

p {
  margin-bottom: var(--space-unit);
  color: var(--dark-gray);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ----------------- */
/* Utility Classes */
/* ----------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-unit);
}

.section {
  padding: var(--space-xl) 0;
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-lg);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--accent);
  margin: var(--space-sm) auto;
  border-radius: var(--border-radius-full);
}

.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.bg-light { background-color: var(--light); }
.bg-primary { background-color: var(--primary); }
.bg-primary-light { background-color: var(--primary-bg); }

/* ----------------- */
/* Components */
/* ----------------- */

/* Navigation */
.navbar {
  background-color: var(--primary-dark);
  padding: var(--space-sm) 0;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-brand {
  font-weight: 700;
  font-size: var(--text-xl);
  color: var(--white);
  display: flex;
  align-items: center;
}

.navbar-brand img {
  height: 40px;
  margin-right: var(--space-sm);
}

.nav-link {
  color: rgba(255,255,255,0.9);
  font-weight: 500;
  padding: var(--space-xs) var(--space-sm);
  margin: 0 var(--space-xs);
  border-radius: var(--border-radius-sm);
}

.nav-link:hover {
  color: var(--white);
  background-color: rgba(255,255,255,0.1);
  text-decoration: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--border-radius-md);
  transition: all 0.2s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-primary {
  border-color: var(--primary);
  color: var(--primary);
  background-color: transparent;
}

.btn-outline-primary:hover {
  background-color: var(--primary);
  color: var(--white);
}

.btn-accent {
  background-color: var(--accent);
  color: var(--white);
}

.btn-accent:hover {
  background-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-lg {
  padding: var(--space-md) var(--space-lg);
  font-size: var(--text-lg);
}

/* Cards */
.card {
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid var(--medium-gray);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card-header {
  padding: var(--space-md);
  background-color: var(--light-gray);
  border-bottom: 1px solid var(--medium-gray);
}

.card-body {
  padding: var(--space-md);
}

.card-title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-sm);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
  padding: var(--space-xl) 0;
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: var(--text-5xl);
  margin-bottom: var(--space-md);
  line-height: 1.2;
}

.hero-subtitle {
  font-size: var(--text-xl);
  opacity: 0.9;
  margin-bottom: var(--space-lg);
  max-width: 700px;
}

/* Icon Boxes */
.icon-box {
  width: 60px;
  height: 60px;
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--white);
  margin-bottom: var(--space-unit);
}

.icon-box-primary {
  background-color: var(--primary);
}

.icon-box-accent {
  background-color: var(--accent);
}

/* Testimonials */
.testimonial-card {
  border-left: 4px solid var(--accent);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: var(--space-md);
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-dark);
}

/* Footer */
.footer {
  background-color: var(--primary-dark);
  color: var(--white);
  padding: var(--space-xl) 0;
}

.footer-links h5 {
  color: var(--white);
  margin-bottom: var(--space-md);
  font-size: var(--text-lg);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--space-xs);
}

.footer-links a {
  color: rgba(255,255,255,0.7);
}

.footer-links a:hover {
  color: var(--white);
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--space-md);
  margin-top: var(--space-md);
}

/* ----------------- */
/* Responsive Adjustments */
/* ----------------- */
@media (max-width: 992px) {
  :root {
    --text-base: 0.9375rem;
    --text-4xl: 2rem;
    --text-3xl: 1.75rem;
  }
  
  .section {
    padding: var(--space-lg) 0;
  }
  
  .hero-title {
    font-size: var(--text-4xl);
  }
}

@media (max-width: 768px) {
  :root {
    --space-unit: 0.875rem;
    --text-4xl: 1.75rem;
    --text-3xl: 1.5rem;
  }
  
  .navbar-brand {
    font-size: var(--text-lg);
  }
  
  .hero-title {
    font-size: var(--text-3xl);
  }
  
  .hero-subtitle {
    font-size: var(--text-lg);
  }
}

/* ----------------- */
/* Animations */
/* ----------------- */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.6s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

/* ----------------- */
/* Form Styles */
/* ----------------- */
.form-control {
  padding: var(--space-sm);
  border: 1px solid var(--medium-gray);
  border-radius: var(--border-radius-md);
  width: 100%;
  margin-bottom: var(--space-unit);
  transition: all 0.2s ease;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(42, 92, 138, 0.1);
  outline: none;
}

.form-label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 500;
  color: var(--dark);
}

/* ----------------- */
/* Utility Animations */
/* ----------------- */
.hover-scale {
  transition: transform 0.3s ease;
}

.hover-scale:hover {
  transform: scale(1.03);
}

.shadow-hover {
  transition: box-shadow 0.3s ease;
}

.shadow-hover:hover {
  box-shadow: var(--shadow-lg);
}
