:root {
  --primary: #2c3e50;
  --secondary: #3498db;
  --accent: #e74c3c;
  --light: #ecf0f1;
  --dark: #2c3e50;
  --gray: #95a5a6;
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: #f9f9f9;
}

/* Header Styles */
header {
  background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../images/header-bg.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 100px 20px;
  text-align: center;
  position: relative;
}

.logo {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.tagline {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Navigation */
nav {
  background-color: var(--primary);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

nav li {
  margin: 0;
}

nav a {
  color: white;
  text-decoration: none;
  padding: 15px 25px;
  display: block;
  transition: all 0.3s ease;
  font-weight: 500;
}

nav a:hover {
  background-color: var(--secondary);
}

.current {
  background-color: var(--accent);
}

/* Main Content */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
  color: var(--primary);
  position: relative;
  padding-bottom: 15px;
}

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

/* Buttons */
.cta-button {
  display: inline-block;
  background-color: var(--accent);
  color: white;
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.cta-button:hover {
  background-color: #c0392b;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

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

.secondary-button:hover {
  background-color: #2980b9;
}

/* Hero Section */
.hero {
  background-color: var(--light);
  padding: 60px 20px;
  text-align: center;
  margin-bottom: 40px;
  border-radius: 5px;
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

/* Cards */
.card {
  background-color: white;
  border-radius: 5px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  padding: 30px;
  margin-bottom: 30px;
  transition: all 0.3s ease;
}

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

.service-card {
  text-align: center;
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 15px;
  color: var(--accent);
}

/* Grid Layout */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

/* Testimonials */
.testimonial {
  position: relative;
  padding-left: 30px;
  border-left: 3px solid var(--accent);
}

.testimonial cite {
  display: block;
  margin-top: 15px;
  font-style: normal;
  font-weight: bold;
  color: var(--secondary);
}

/* Contact Section */
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.contact-card {
  text-align: center;
}

.contact-icon {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 15px;
}

/* Forms */
form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

form label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
}

form input,
form textarea,
form select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  transition: border 0.3s ease;
}

form input:focus,
form textarea:focus,
form select:focus {
  border-color: var(--secondary);
  outline: none;
}

/* Breadcrumb */
.breadcrumb {
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: var(--gray);
}

.breadcrumb a {
  color: var(--secondary);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* Service Pages */
.service-header {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../images/service-bg.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 100px 20px;
  text-align: center;
  margin-bottom: 40px;
}

.service-content {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
}

.service-image {
  width: 100%;
  border-radius: 5px;
  margin-bottom: 20px;
}

/* FAQ */
.faq-item {
  margin-bottom: 20px;
}

.faq-question {
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 5px;
}

/* Footer */
footer {
  background-color: var(--primary);
  color: white;
  text-align: center;
  padding: 40px 20px;
  margin-top: 50px;
}

.footer-links {
  margin: 20px 0;
}

.footer-links a {
  color: white;
  margin: 0 10px;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.copyright {
  margin-top: 20px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}

/* Responsive Design */
@media (max-width: 768px) {
  .service-content {
    grid-template-columns: 1fr;
  }
  
  .grid {
    grid-template-columns: 1fr;
  }
  
  nav ul {
    flex-direction: column;
    text-align: center;
  }
  
  .logo {
    font-size: 2rem;
  }
  
  .tagline {
    font-size: 1rem;
  }
  
  .hero {
    padding: 40px 20px;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.6s ease forwards;
}