/* Base Styles */
:root {
  --primary-color: #2563eb;
  --primary-hover: #1d4ed8;
  --text-color: #1e293b;
  --text-secondary: #64748b;
  --light-bg: #f8fafc;
  --border-radius: 0.5rem;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.5;
  color: var(--text-color);
  background-color: #fff;
}

.container {
  width: 100%;
  padding-right: 1rem;
  padding-left: 1rem;
  margin-right: auto;
  margin-left: auto;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.display-5 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
}

.lead {
  font-size: 1.25rem;
  font-weight: 400;
}

.text-uppercase {
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.text-muted {
  color: var(--text-secondary);
}

.text-secondary {
  color: var(--text-secondary);
}

.fw-medium {
  font-weight: 500;
}

.fw-bold {
  font-weight: 700;
}

/* Spacing */
.py-5 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-4 {
  margin-bottom: 1.5rem;
}

/* Custom Hero Section */
.custom-hero {
  position: relative;
  overflow: hidden;
}

.custom-hero .row {
  min-height: calc(100vh - 6rem);
}

/* Image Styles */
.img-fluid {
  max-width: 100%;
  height: auto;
}

.rounded-4 {
  border-radius: var(--border-radius);
}

.shadow {
  box-shadow: var(--shadow-lg);
}

/* Grid System */
.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -1rem;
  margin-left: -1rem;
}

.col-md-6 {
  position: relative;
  width: 100%;
  padding-right: 1rem;
  padding-left: 1rem;
}

/* Responsive Breakpoints */
@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
  }

  .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .custom-hero .row {
    min-height: auto;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }

  .custom-hero .row {
    min-height: 600px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* Animation and Hover Effects */
.img-fluid {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.img-fluid:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Accessibility Improvements */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Utility Classes */
.align-items-center {
  align-items: center;
}

.justify-content-center {
  justify-content: center;
}

.g-5 {
  margin-right: -1.5rem;
  margin-left: -1.5rem;
}

.g-5 > * {
  padding-right: 1.5rem;
  padding-left: 1.5rem;
}

.bg-white {
  background-color: #fff;
}

.text-center {
  text-align: center;
}

/* Responsive Image Container */
.image-container {
  position: relative;
  padding-bottom: 75%; /* 4:3 aspect ratio */
  overflow: hidden;
}

.image-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Mobile-first adjustments */
@media (max-width: 767.98px) {
  .custom-hero .row {
    flex-direction: column-reverse;
    text-align: center;
  }

  .py-5 {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .lead {
    font-size: 1.1rem;
  }

  .g-5 {
    row-gap: 2rem;
  }
}
