:root {
  --primary: #3a7ca5;
  --secondary: #5d9eb3;
  --accent: #9dbbae;
  --background: #f6f9fc;
  --text: #2a363b;
  --light: #ffffff;
  --dark: #2a363b;
  --success: #4caf50;
  --warning: #ff9800;
  --error: #f44336;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #6c757d;
  --gray-700: #495057;
  --gray-800: #343a40;
  --gray-900: #212529;
}

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

body {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--background);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary);
}

p {
  margin-bottom: 1.5rem;
}

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

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header Styles */
.header {
  background-color: var(--light);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

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

.logo img {
  height: 60px;
  margin-right: 1rem;
}

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

.tagline {
  font-size: 0.9rem;
  color: var(--gray-600);
  font-style: italic;
}

.nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  list-style: none;
}

.nav-item {
  margin-left: 1.5rem;
  position: relative;
}

.nav-link {
  color: var(--gray-700);
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.3s ease;
}

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

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--light);
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  display: none;
  z-index: 1001;
}

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

.dropdown-item {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--gray-700);
  transition: all 0.3s ease;
}

.dropdown-item:hover {
  background-color: var(--gray-100);
  color: var(--primary);
}

/* Mobile Navigation */
.nav-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding: 10rem 0 6rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  color: var(--light);
}

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

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--light);
}

.hero-text {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

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

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

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

/* Section Styles */
.section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--accent);
  margin: 1rem auto 0;
}

/* Service Cards */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background-color: var(--light);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.service-content {
  padding: 1.5rem;
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-desc {
  color: var(--gray-700);
  margin-bottom: 1.5rem;
}

/* About Section */
.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: 
    "image content";
  gap: 3rem;
  align-items: center;
}

.about-image {
  grid-area: image;
}

.about-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.about-content {
  grid-area: content;
}

.about-content h2 {
  margin-bottom: 1.5rem;
}

/* Testimonials */
.testimonials {
  background-color: var(--light);
  padding: 5rem 0;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background-color: var(--gray-100);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-content {
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
}

.testimonial-content::before {
  content: """;
  font-size: 4rem;
  color: var(--gray-300);
  position: absolute;
  top: -2rem;
  left: -1rem;
  z-index: -1;
}

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

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 1rem;
  object-fit: cover;
}

.testimonial-name {
  font-weight: 600;
  color: var(--primary);
}

.testimonial-title {
  font-size: 0.9rem;
  color: var(--gray-600);
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  height: 250px;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(58, 124, 165, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-text {
  color: var(--light);
  text-align: center;
  padding: 1rem;
}

/* Contact Section */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info {
  margin-bottom: 2rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-info-icon {
  font-size: 1.5rem;
  color: var(--primary);
  margin-right: 1rem;
}

.contact-info-text h4 {
  margin-bottom: 0.5rem;
}

.contact-info-text p {
  color: var(--gray-700);
}

.contact-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--gray-300);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
}

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

/* Map */
.map {
  height: 400px;
  margin-top: 3rem;
  border-radius: 8px;
  overflow: hidden;
}

/* Footer */
.footer {
  background-color: var(--dark);
  color: var(--light);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  margin-bottom: 1rem;
}

.footer-logo img {
  height: 50px;
}

.footer-about p {
  color: var(--gray-400);
}

.footer-title {
  color: var(--light);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

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

.footer-link {
  margin-bottom: 0.75rem;
}

.footer-link a {
  color: var(--gray-400);
  transition: color 0.3s ease;
}

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

.social-links {
  display: flex;
}

.social-link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--light);
  margin-right: 1rem;
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: var(--primary);
  color: var(--light);
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--gray-500);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .header-inner {
    padding: 0.75rem 0;
  }
  
  .logo img {
    height: 50px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .about-section,
  .contact-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .about-section {
    display: grid;
    grid-template-areas: 
      "content"
      "image";
  }
  
  .about-image {
    grid-area: image;
  }
  
  .about-content {
    grid-area: content;
  }
}

@media (max-width: 768px) {
  .nav-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--light);
    flex-direction: column;
    padding: 1rem 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }
  
  .nav-list.show {
    display: flex;
  }
  
  .nav-item {
    margin: 0;
    width: 100%;
    text-align: center;
    padding: 0.5rem 0;
  }
  
  .dropdown-menu {
    position: static;
    display: none;
    width: 100%;
    box-shadow: none;
    background-color: var(--gray-100);
    padding: 0.5rem 0;
  }
  
  .dropdown-menu.show {
    display: block;
  }
  
  .nav-toggle {
    display: block;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .service-card {
    margin-bottom: 2rem;
  }
}

@media (max-width: 576px) {
  .hero {
    padding: 8rem 0 4rem;
  }
  
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-text {
    font-size: 1rem;
  }
  
  .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
  
  .services-checkbox-container {
    grid-template-columns: 1fr;
  }
}

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

.fadeIn {
  animation: fadeIn 1s ease forwards;
}

/* Services Checkbox Styles */
.services-checkbox-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 0.5rem;
}

.service-checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  border-radius: 0.25rem;
  transition: background-color 0.2s ease;
}

.service-checkbox-item:hover {
  background-color: var(--gray-100);
}

.service-checkbox-item input[type="checkbox"] {
  width: 1.25rem;
  height: 1.25rem;
  cursor: pointer;
  accent-color: var(--primary);
}

.service-checkbox-item label {
  margin-bottom: 0;
  cursor: pointer;
  font-weight: 500;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.footer-contact-item i {
  font-size: 1.2rem;
  color: var(--accent);
  margin-right: 1rem;
  min-width: 1.5rem;
}

.footer-contact-item p {
  margin-bottom: 0;
  color: var(--gray-400);
}
