:root {
  --primary-blue: #0056b3;
  --dark-blue: #003d80;
  --accent-red: #dc3545;
  --light-red: #ff6b7a;
  --light-bg: #f8f9fa;
}

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

body {
  font-family: 'Roboto', sans-serif;
  background-color: var(--light-bg);
  color: #333;
  line-height: 1.6;
}

/* Header Styles */
.header {
  background: white;
  color: #333;
  padding: 1.5rem 0 0.5rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header .navbar-brand {
  display: flex;
  align-items: center;
  font-weight: bold;
  font-size: 1.2rem;
  position: relative;
  color: var(--dark-blue);
}

.logo {
  height: 80px;
  margin-right: 15px;
  position: relative;
  z-index: 101;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.logo-container {
  position: absolute;
  top: -20px;
  left: 15px;
  z-index: 102;
}

/* Slider Styles */
.slider {
  height: 450px;
  background: rgba(0, 0, 0, 0.4) url('../images/bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-blend-mode: darken;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
}

.slider-content {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  padding: 2rem;
  border-radius: 10px;
  max-width: 800px;
  margin: 0 auto;
}

.slider h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slider .lead {
  font-size: 1.2rem;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
  margin-bottom: 2rem;
}

/* Button Styles */
.btn-primary {
  background-color: var(--accent-red);
  border-color: var(--accent-red);
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--light-red);
  border-color: var(--light-red);
  transform: translateY(-2px);
}

.btn-outline-primary {
  color: var(--primary-blue);
  border-color: var(--primary-blue);
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background-color: var(--primary-blue);
  color: white;
  transform: translateY(-2px);
}

/* Section Styles */
.section-title {
  color: var(--dark-blue);
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 30px;
  text-align: center;
}

.section-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--accent-red);
}

/* Services Cards */
.services-card {
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  border: none;
  overflow: hidden;
  height: auto;
}

.services-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.services-card .card-img-top {
  height: 220px;
  object-fit: cover;
  width: 100%;
}

.services-card .card-body {
  padding: 1.5rem;
}

.services-card .card-title {
  color: var(--dark-blue);
  font-weight: 700;
}

/* Portfolio Section */
.portfolio-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 4rem 0;
}

.portfolio-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  height: 300px;
  cursor: pointer;
}

.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.portfolio-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: white;
  opacity: 0;
  transition: all 0.3s ease;
}

.portfolio-card:hover .portfolio-card-overlay {
  opacity: 1;
}

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

.portfolio-card-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.portfolio-card-description {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Dropdown Menu Styles */
.dropdown-menu {
  border: none;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  border-radius: 8px;
  padding: 0.5rem 0;
}

.dropdown-item {
  padding: 0.5rem 1.5rem;
  color: var(--dark-blue);
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  background-color: rgba(0, 86, 179, 0.1);
  color: var(--primary-blue);
}

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -0.5rem;
  margin-left: 0.1rem;
}

.dropdown-submenu:hover .dropdown-menu {
  display: block;
}

.dropdown-toggle::after {
  margin-left: 0.3rem;
}

/* Navigation Styles */
.nav-link {
  color: var(--dark-blue) !important;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--accent-red) !important;
}

/* News Styles */
.news-item {
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.news-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.news-item img {
  height: 200px;
  object-fit: cover;
  width: 100%;
}

.news-item h5 {
  color: var(--dark-blue);
}

/* Map Styles */
.map-container {
  height: 400px;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Contact Info */
.contact-info {
  background-color: var(--primary-blue);
  color: white;
  padding: 2rem;
  border-radius: 10px;
  margin-top: 0;
}

.contact-info h3 {
  color: white;
  margin-bottom: 1.5rem;
}

/* Form Styles */
.form-control:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 0.2rem rgba(0, 86, 179, 0.25);
}

.form-select:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 0.2rem rgba(0, 86, 179, 0.25);
}

/* Footer Styles */
footer {
  background: linear-gradient(135deg, var(--dark-blue), #001a33);
  color: white;
  padding: 2rem 0;
}

/* Utility Classes */
.page-content {
  min-height: 60vh;
  padding: 3rem 0;
}

.breadcrumb {
  background-color: transparent;
  padding: 0;
  margin-bottom: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .logo-container {
    position: static;
    text-align: center;
    margin-bottom: 10px;
  }
  
  .logo {
    height: 60px;
  }
  
  .header {
    padding: 0.5rem 0;
  }
  
  .slider {
    height: 350px;
  }
  
  .slider h1 {
    font-size: 2rem;
  }
  
  .dropdown-submenu .dropdown-menu {
    position: static;
    margin-left: 1rem;
    border: none;
    box-shadow: none;
  }
  
  .portfolio-card {
    height: 250px;
    margin-bottom: 1.5rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
}