:root {
  /* Primary Colors */
  --primary: #0066cc;
  --primary-dark: #004f9e;
  --primary-light: #3388ee;
  
  /* Secondary Colors */
  --secondary: #ff4d4d;
  --secondary-dark: #cc3333;
  --secondary-light: #ff7777;
  
  /* Accent Colors */
  --accent: #ffcc00;
  --accent-dark: #e6b800;
  --accent-light: #ffdd55;
  
  /* Neutral Colors */
  --dark: #222222;
  --gray-dark: #444444;
  --gray: #777777;
  --gray-light: #dddddd;
  --light: #f8f9fa;
  --white: #ffffff;
  
  /* Font Families */
  --heading-font: 'Montserrat', sans-serif;
  --body-font: 'Merriweather', serif;
  
  /* Font Sizes */
  --fs-xl: 3.5rem;
  --fs-lg: 2.5rem;
  --fs-md: 1.75rem;
  --fs-sm: 1.25rem;
  --fs-xs: 1rem;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Box Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* Base Styles */
body {
  font-family: var(--body-font);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--light);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-sm);
  color: var(--dark);
}

p {
  margin-bottom: var(--space-sm);
  color: var(--gray-dark);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-normal);
}

a:hover {
  color: var(--primary-dark);
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.section-title {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-sm);
  text-align: center;
  font-weight: 700;
  position: relative;
}

.section-divider {
  height: 4px;
  width: 60px;
  background-color: var(--primary);
  margin: 0 auto var(--space-md);
  border-radius: var(--radius-sm);
}

.lead {
  font-size: var(--fs-sm);
  font-weight: 300;
  margin-bottom: var(--space-md);
}

/* Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Card Styles */
.card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 100%;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  display: flex;
  flex-direction: column;
}

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

.card-image {
  overflow: hidden;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.card:hover .card-image img {
  transform: scale(1.05);
}

.card-content {
  padding: var(--space-md);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-content h3 {
  margin-top: 0;
  color: var(--dark);
}

/* Button Styles */
.btn {
  font-family: var(--heading-font);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
  border: none;
}

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

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

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

.btn-secondary {
  background-color: var(--secondary);
  color: var(--white);
}

.btn-secondary:hover {
  background-color: var(--secondary-dark);
  color: var(--white);
}

.btn-outline-light {
  background-color: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

.btn-outline-light:hover {
  background-color: var(--white);
  color: var(--primary);
}

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

.btn-outline-primary:hover {
  background-color: var(--primary);
  color: var(--white);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* Navbar Styles */
.navbar {
  transition: all var(--transition-normal);
  padding: 1rem 0;
}

.navbar-brand img {
  max-height: 50px;
}

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

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--heading-font);
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: color var(--transition-normal);
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
  color: var(--white);
}

.navbar-toggler {
  border: none;
  padding: 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* Hero Section */
.hero-section {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  padding: 120px 0;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-section h1 {
  font-size: var(--fs-xl);
  margin-bottom: var(--space-sm);
  color: var(--white);
}

.hero-section p {
  margin-bottom: var(--space-md);
  max-width: 600px;
  color: var(--white);
}

.min-vh-80 {
  min-height: 80vh;
}

/* About Section */
.image-container {
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.image-container img {
  transition: transform var(--transition-slow);
  width: 100%;
}

.image-container:hover img {
  transform: scale(1.03);
}

/* Services Section */
.service-icon {
  font-size: 3rem;
  margin-bottom: var(--space-sm);
  color: var(--primary);
}

/* Mission Section */
.bg-primary {
  background-color: var(--primary) !important;
}

.text-white {
  color: var(--white) !important;
}

.text-white h3, .text-white p {
  color: var(--white);
}

/* Testimonial Styles */
.testimonial-slider {
  position: relative;
  overflow: hidden;
}

.testimonial-slides {
  position: relative;
}

.testimonial-slide {
  position: absolute;
  width: 100%;
  opacity: 0;
  transition: opacity var(--transition-slow);
  transform: translateX(50px);
}

.testimonial-slide.active {
  opacity: 1;
  position: relative;
  transform: translateX(0);
}

.testimonial-image img {
  width: 80px;
  height: 80px;
  object-fit: cover;
}

.testimonial-controls {
  margin-top: var(--space-md);
}

/* Accolades Section */
.accolade-item {
  padding: var(--space-md);
  border-radius: var(--radius-md);
  transition: transform var(--transition-normal);
  text-align: center;
}

.accolade-item:hover {
  transform: translateY(-5px);
}

.accolade-item img {
  max-width: 120px;
  margin: 0 auto var(--space-sm);
  border-radius: 50%;
}

/* Contact Form */
.form-control {
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-light);
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.form-control:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.25);
}

.form-select {
  padding: 0.75rem;
  border-radius: var(--radius-sm);
}

.form-label {
  font-weight: 600;
  color: var(--gray-dark);
}

/* Footer */
footer {
  background-color: var(--dark);
  color: var(--white);
  padding: var(--space-lg) 0 var(--space-md);
}

footer h4 {
  color: var(--white);
  margin-bottom: var(--space-sm);
  font-size: var(--fs-sm);
}

footer p, footer address {
  color: var(--gray-light);
  font-size: 0.9rem;
}

footer .social-links a {
  color: var(--white);
  margin-right: var(--space-sm);
  transition: color var(--transition-normal);
  text-decoration: none;
}

footer .social-links a:hover {
  color: var(--accent);
}

footer ul li a {
  color: var(--white);
  transition: color var(--transition-normal), padding-left var(--transition-normal);
  display: inline-block;
}

footer ul li a:hover {
  color: var(--primary-light);
  padding-left: 5px;
}

footer hr {
  border-color: var(--gray);
  opacity: 0.2;
}

/* Modal Styles */
.modal-content {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: none;
}

.modal-header {
  background-color: var(--primary);
  color: var(--white);
  border-bottom: none;
}

.modal-header .btn-close {
  color: var(--white);
  opacity: 0.8;
}

.modal-title {
  font-weight: 600;
  color: var(--white);
}

.modal-body {
  padding: var(--space-md);
}

.modal-footer {
  border-top: none;
  padding: var(--space-sm) var(--space-md);
}

/* Badge Styles */
.badge {
  font-family: var(--heading-font);
  font-weight: 500;
  padding: 0.4em 0.8em;
  border-radius: var(--radius-sm);
}

/* Cookie Consent */
#cookieConsent {
  background-color: rgba(0, 0, 0, 0.85);
  color: var(--white);
}

/* Success Page */
.success-page {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  text-align: center;
  padding: var(--space-md);
}

.success-icon {
  font-size: 5rem;
  color: var(--primary);
  margin-bottom: var(--space-md);
}

/* Privacy & Terms Pages */
.page-content {
  padding-top: 100px;
  padding-bottom: var(--space-lg);
}

.page-content h2 {
  margin-top: var(--space-lg);
  margin-bottom: var(--space-md);
  color: var(--primary);
}

.page-content h3 {
  margin-top: var(--space-md);
  color: var(--gray-dark);
}

/* Utility Classes */
.bg-light {
  background-color: var(--light) !important;
}

.bg-white {
  background-color: var(--white) !important;
}

.text-primary {
  color: var(--primary) !important;
}

.text-secondary {
  color: var(--secondary) !important;
}

.shadow {
  box-shadow: var(--shadow-md) !important;
}

.rounded {
  border-radius: var(--radius-md) !important;
}

/* Media Queries */
@media (max-width: 992px) {
  :root {
    --fs-xl: 2.8rem;
    --fs-lg: 2.2rem;
    --fs-md: 1.5rem;
    --fs-sm: 1.1rem;
  }
  
  .hero-section {
    padding: 80px 0;
  }
  
  .card-image img {
    height: 200px;
  }
}

@media (max-width: 768px) {
  :root {
    --fs-xl: 2.5rem;
    --fs-lg: 2rem;
    --fs-md: 1.4rem;
    --space-lg: 3rem;
  }
  
  .hero-section {
    padding: 60px 0;
  }
  
  .navbar-brand img {
    max-height: 40px;
  }
  
  .section-title {
    margin-bottom: var(--space-xs);
  }
  
  .card-image img {
    height: 180px;
  }
  
  .testimonial-slide {
    padding: 0 var(--space-xs);
  }
}

@media (max-width: 576px) {
  :root {
    --fs-xl: 2.2rem;
    --fs-lg: 1.8rem;
    --fs-md: 1.3rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
  }
  
  .hero-section {
    padding: 40px 0;
  }
  
  .btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }
  
  .card-image img {
    height: 160px;
  }
  
  .image-container {
    margin-bottom: var(--space-md);
  }
}

/* Animation Keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Read More Links */
.read-more {
  display: inline-block;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  position: relative;
  padding-right: 20px;
  transition: color var(--transition-normal), padding var(--transition-normal);
}

.read-more::after {
  content: '→';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: right var(--transition-normal);
}

.read-more:hover {
  color: var(--primary-dark);
  padding-right: 25px;
}

.read-more:hover::after {
  right: -5px;
}