/* Import Montserrat font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

/* CSS Variables for Color Scheme */
:root {
  --primary-red: #CC0000;
  --primary-blue: #336699;
  --text-dark: #333333;
  --text-light: #666666;
  --bg-light: #f8f9fa;
  --border-color: #e0e0e0;
}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-dark);
  background-color: #fff;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  color: var(--primary-red);
  margin-bottom: 1rem;
}

h1 { font-size: 2.2rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.4rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-dark);
}

a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: all 0.3s ease;
}

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

/* Header Styles */
.top-nav {
  background-color: var(--bg-light);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.9rem;
}

.top-nav a {
  color: var(--text-light);
  margin: 0 0.8rem;
}

.top-nav a:hover {
  color: var(--primary-red);
}

.header-main {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  padding: 2rem 0;
  border-bottom: 3px solid var(--primary-red);
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo-container img {
  max-height: 60px;
  width: auto;
}

/* Navigation Styles */
.sidebar-nav {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  overflow: hidden;
}

.sidebar-nav .nav-link {
  color: var(--text-dark);
  padding: 1rem 1.5rem;
  border-left: 3px solid transparent;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.sidebar-nav .nav-link:hover,
.sidebar-nav .nav-link.active {
  background-color: var(--bg-light);
  border-left-color: var(--primary-red);
  color: var(--primary-red);
  padding-left: 2rem;
}

/* Content Styles */
.content-area {
  background-color: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  min-height: 500px;
}

.breadcrumb {
  background-color: transparent;
  padding: 0.5rem 0;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.breadcrumb-item a {
  color: var(--text-light);
}

.breadcrumb-item.active {
  color: var(--text-dark);
}

/* Button Styles */
.btn-primary {
  background-color: var(--primary-red);
  border-color: var(--primary-red);
  font-weight: 500;
  padding: 0.6rem 2rem;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #990000;
  border-color: #990000;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(204, 0, 0, 0.3);
}

.btn-outline-primary {
  color: var(--primary-red);
  border-color: var(--primary-red);
  font-weight: 500;
}

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

/* Card Styles */
.service-card {
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.service-card .card-title {
  color: var(--primary-red);
  font-size: 1.2rem;
  font-weight: 600;
}

.service-card .card-text {
  color: var(--text-light);
}

/* Footer Styles */
.footer {
  background-color: var(--text-dark);
  color: #fff;
  padding: 2rem 0;
  margin-top: 3rem;
  font-size: 0.9rem;
}

.footer a {
  color: #fff;
  opacity: 0.8;
}

.footer a:hover {
  opacity: 1;
  color: var(--primary-red);
}

/* List Styles */
.content-area ul {
  list-style: none;
  padding-left: 0;
}

.content-area ul li {
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  position: relative;
}

.content-area ul li:before {
  content: "●";
  color: var(--primary-red);
  position: absolute;
  left: 0;
  font-size: 1.2rem;
  line-height: 1.7;
}

/* Form Styles */
.form-control:focus {
  border-color: var(--primary-red);
  box-shadow: 0 0 0 0.2rem rgba(204, 0, 0, 0.15);
}

.form-label {
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }

  .content-area {
    padding: 1.5rem;
  }

  .sidebar-nav {
    margin-bottom: 2rem;
  }
}

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

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