:root {
  --primary-color: #1a5f7a;
  --primary-dark: #0d3d4d;
  --secondary-color: #e8a838;
  --accent-color: #c23b22;
  --text-color: #333;
  --text-light: #666;
  --bg-light: #f8f9fa;
  --bg-dark: #2c3e50;
  --white: #fff;
  --border-color: #ddd;
  --shadow: 0 2px 10px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  line-height: 1.7;
  color: var(--text-color);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.svg-icon {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.svg-icon-xs {
  width: 12px;
  height: 12px;
}

.svg-icon-sm {
  width: 18px;
  height: 18px;
  margin-right: 6px;
}

.svg-icon-md {
  width: 24px;
  height: 24px;
  color: var(--primary-color);
}

.svg-icon-lg {
  width: 36px;
  height: 36px;
  color: var(--primary-color);
}

.svg-icon-xl {
  width: 48px;
  height: 48px;
  color: var(--secondary-color);
}

.svg-icon-success {
  width: 80px;
  height: 80px;
  color: var(--secondary-color);
}

.success-icon {
  margin-bottom: 30px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }

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

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

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

.header-top {
  background: var(--primary-dark);
  color: var(--white);
  padding: 8px 0;
  font-size: 0.9rem;
}

.header-top .container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 20px;
}

.phone-link {
  color: var(--secondary-color);
  font-weight: 600;
}

.phone-link:hover {
  color: var(--white);
}

.phone-link {
  display: flex;
  align-items: center;
}

.phone-link .svg-icon {
  flex-shrink: 0;
}

.header-hours {
  color: #aaa;
}

.main-nav {
  background: var(--white);
  padding: 15px 0;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 100;
}

.main-nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.logo strong {
  color: var(--primary-dark);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 5px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: block;
  padding: 10px 15px;
  color: var(--text-color);
  font-weight: 500;
  cursor: pointer;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
}

.dropdown-arrow {
  margin-left: 4px;
  transition: transform 0.2s ease;
}

.has-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 220px;
  box-shadow: var(--shadow-lg);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 1000;
  border-radius: 4px;
}

.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: block;
  padding: 12px 20px;
  color: var(--text-color);
  border-bottom: 1px solid var(--border-color);
}

.dropdown-link:last-child {
  border-bottom: none;
}

.dropdown-link:hover,
.dropdown-link.active {
  background: var(--bg-light);
  color: var(--primary-color);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--primary-dark);
  transition: var(--transition);
}

.sticky-cta {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--secondary-color);
  color: var(--white);
  padding: 15px 25px;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  transition: var(--transition);
}

.sticky-cta:hover {
  background: var(--accent-color);
  color: var(--white);
  transform: translateY(-2px);
}

.breadcrumbs {
  background: var(--bg-light);
  padding: 15px 0;
  font-size: 0.9rem;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  gap: 5px;
}

.breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 5px;
}

.breadcrumbs a {
  color: var(--primary-color);
}

.breadcrumbs .separator {
  color: var(--text-light);
}

.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-with-image {
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-with-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 95, 122, 0.85);
}

.hero-with-image .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  color: var(--white);
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  opacity: 0.95;
}

.btn {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

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

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

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

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

.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--bg-light);
}

.section-dark {
  background: var(--bg-dark);
  color: var(--white);
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  margin-bottom: 15px;
}

.section-title p {
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.card-image {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.card-content {
  padding: 25px;
}

.card-content h3 {
  margin-bottom: 10px;
}

.card-content p {
  color: var(--text-light);
  margin-bottom: 15px;
}

.service-card {
  text-align: center;
  padding: 40px 30px;
}

.service-card .icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--bg-light) 0%, #e8eef1 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: var(--transition);
}

.service-card:hover .icon {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.service-card:hover .icon .svg-icon {
  color: var(--white);
}

.feature-list {
  list-style: none;
}

.feature-list li {
  padding: 10px 0;
  padding-left: 30px;
  position: relative;
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 16px;
  height: 8px;
  border-left: 2.5px solid var(--secondary-color);
  border-bottom: 2.5px solid var(--secondary-color);
  transform: rotate(-45deg);
}

.content-section {
  padding: 60px 0;
}

.content-section h2 {
  margin-top: 40px;
  margin-bottom: 20px;
}

.content-section h3 {
  margin-top: 30px;
  margin-bottom: 15px;
}

.content-section ul,
.content-section ol {
  margin-left: 20px;
  margin-bottom: 20px;
}

.content-section li {
  margin-bottom: 10px;
}

.content-image {
  border-radius: 10px;
  margin: 30px 0;
  box-shadow: var(--shadow);
}

.process-steps {
  counter-reset: step;
}

.process-step {
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-color);
}

.process-step:last-child {
  border-bottom: none;
}

.step-number {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
}

.step-content h3 {
  margin-bottom: 10px;
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.material-card {
  background: var(--white);
  padding: 25px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
}

.material-card h4 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.why-item {
  text-align: center;
  padding: 30px;
}

.why-item .icon {
  margin-bottom: 15px;
  display: flex;
  justify-content: center;
}

.faq-section {
  margin-top: 50px;
}

.faq-item {
  background: var(--white);
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.faq-question {
  padding: 20px 25px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  padding: 0 25px 20px;
  color: var(--text-light);
}

.cta-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 20px;
}

.cta-section p {
  max-width: 600px;
  margin: 0 auto 30px;
  opacity: 0.95;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-form-section {
  padding: 60px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info h3 {
  margin-bottom: 20px;
}

.contact-info p {
  margin-bottom: 15px;
}

.contact-info .info-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.contact-info .icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--bg-light) 0%, #e8eef1 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(26, 95, 122, 0.1);
}

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(26, 95, 122, 0.1);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.form-errors {
  background: #fee;
  border: 1px solid #fcc;
  color: var(--accent-color);
  padding: 15px;
  border-radius: 5px;
  margin-bottom: 20px;
}

.form-errors ul {
  margin-left: 20px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.blog-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.blog-card-image {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.blog-card-content {
  padding: 25px;
}

.blog-card-date {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.blog-card-content h3 {
  margin-bottom: 15px;
}

.blog-card-content h3 a {
  color: var(--primary-dark);
}

.blog-card-content h3 a:hover {
  color: var(--primary-color);
}

.blog-post {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.blog-post-featured-image {
  margin-bottom: 30px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.blog-post-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

.blog-post-header {
  text-align: center;
  margin-bottom: 40px;
}

.blog-post-date {
  color: var(--text-light);
  margin-bottom: 15px;
}

.blog-post-content {
  font-size: 1.1rem;
}

.blog-post-content h2 {
  margin-top: 50px;
}

.blog-post-content h3 {
  margin-top: 35px;
}

.related-posts {
  background: var(--bg-light);
  padding: 60px 0;
  margin-top: 40px;
}

.related-posts h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.related-post-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

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

.related-post-image {
  height: 180px;
  overflow: hidden;
}

.related-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.related-post-image-placeholder {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
}

.related-post-image-placeholder span {
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 600;
}

.related-post-content {
  padding: 20px;
  flex-grow: 1;
}

.related-post-content h3 {
  font-size: 1.1rem;
  line-height: 1.4;
  margin-bottom: 10px;
  color: var(--primary-dark);
}

.related-post-content p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0;
  line-height: 1.5;
}

.service-areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.area-card {
  background: var(--white);
  padding: 25px;
  border-radius: 8px;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.area-card:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow);
}

.area-card.primary {
  border-color: var(--primary-color);
  background: var(--bg-light);
}

.area-card h3 {
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.area-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.testimonials-section {
  background: var(--bg-light);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.testimonial-card {
  background: var(--white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
}

.testimonial-rating {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}

.star-icon {
  width: 20px;
  height: 20px;
  color: var(--secondary-color);
}

.testimonial-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-color);
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-info strong {
  display: block;
  color: var(--primary-dark);
  font-size: 1rem;
}

.author-info span {
  color: var(--text-light);
  font-size: 0.9rem;
}

.trust-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary-dark);
  font-weight: 500;
}

.trust-badge .svg-icon {
  color: var(--primary-color);
}

@media (max-width: 992px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .trust-badges {
    gap: 25px;
  }
}

.thank-you-section {
  text-align: center;
  padding: 80px 20px;
}

.thank-you-section .success-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.thank-you-section .success-icon .svg-icon {
  color: var(--secondary-color);
}

.error-section {
  text-align: center;
  padding: 100px 20px;
}

.error-section h1 {
  font-size: 6rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.site-footer {
  background: var(--bg-dark);
  color: #ccc;
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #aaa;
  transition: var(--transition);
}

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

.footer-contact p {
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.footer-contact a {
  color: var(--secondary-color);
}

.footer-bottom {
  border-top: 1px solid #444;
  padding-top: 30px;
  text-align: center;
  font-size: 0.9rem;
  color: #888;
}

@media (max-width: 992px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  
  .header-hours {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow);
    display: none;
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding-left: 20px;
    display: none;
  }
  
  .has-dropdown:hover .dropdown-menu {
    display: block;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero {
    padding: 60px 0;
  }
  
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .process-step {
    flex-direction: column;
    text-align: center;
  }
  
  .step-number {
    margin: 0 auto;
  }
  
  .sticky-cta {
    bottom: 10px;
    right: 10px;
    padding: 12px 20px;
    font-size: 0.9rem;
  }
  
  .section {
    padding: 50px 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  
  .btn {
    padding: 12px 25px;
    font-size: 0.9rem;
  }
  
  .contact-form {
    padding: 25px;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
  }
}
