/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

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

/* Header and Navigation */
.header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.navbar {
  padding: 1rem 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo h2 {
  color: #e74c3c;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: -5px;
}

.logo span {
  color: #666;
  font-size: 0.9rem;
  font-weight: 400;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: #e74c3c;
}

.nav-menu a.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  right: 0;
  height: 2px;
  background: #e74c3c;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #333;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

/* Service Search Section */
.service-search {
  padding: 80px 0 60px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: relative;
  z-index: 1;
}

.search-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.search-card h2 {
  color: #e74c3c;
  font-size: 2rem;
  margin-bottom: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.search-card h2 i {
  font-size: 1.5rem;
}

.search-card p {
  color: #666;
  margin-bottom: 30px;
  font-size: 1.1rem;
}

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

.search-input-group {
  display: flex;
  gap: 15px;
  max-width: 500px;
  margin: 0 auto;
  align-items: center;
}

.search-input-group input {
  flex: 1;
  padding: 15px 20px;
  border: 2px solid #e1e5e9;
  border-radius: 10px;
  font-size: 16px;
  transition: all 0.3s ease;
  background: white;
}

.search-input-group input:focus {
  outline: none;
  border-color: #e74c3c;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.search-input-group .btn {
  padding: 15px 30px;
  white-space: nowrap;
  background: #e74c3c;
  color: white;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-input-group .btn:hover {
  background: #c0392b;
  transform: translateY(-2px);
}

.search-results {
  margin-top: 30px;
  text-align: left;
}

.results-header {
  border-bottom: 2px solid #e74c3c;
  margin-bottom: 20px;
  padding-bottom: 10px;
}

.results-header h3 {
  color: #e74c3c;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
}

.service-info {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 20px;
  border: 1px solid #e1e5e9;
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #e1e5e9;
}

.info-row:last-child {
  border-bottom: none;
}

.info-row .label {
  font-weight: 600;
  color: #333;
  min-width: 150px;
}

.info-row .value {
  color: #666;
  text-align: right;
  flex: 1;
}

.status-paid {
  background: #d4edda;
  color: #155724;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.status-unpaid {
  background: #f8d7da;
  color: #721c24;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.error {
  color: #721c24;
  background: #f8d7da;
  padding: 15px;
  border-radius: 8px;
  border: 1px solid #f5c6cb;
  text-align: center;
  margin-top: 15px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: #e74c3c;
  color: white;
}

.btn-primary:hover {
  background: #c0392b;
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: #e74c3c;
  border: 2px solid #e74c3c;
}

.btn-secondary:hover {
  background: #e74c3c;
  color: white;
}

.btn-emergency {
  background: #f39c12;
  color: white;
  animation: pulse 2s infinite;
}

.btn-large {
  padding: 16px 32px;
  font-size: 1.1rem;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem 0;
    min-height: 80vh;
    background: #ffffff;
    color: #333;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23333" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-left: 2rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: #2c3e50;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #666;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    z-index: 2;
    padding-right: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image #motor3d {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    background: #d1d5db;
    border: 1px solid #e1e5e9;
}

.hero-image #motor3d canvas {
    border-radius: 12px;
    cursor: grab;
}

.hero-image #motor3d canvas:active {
    cursor: grabbing;
}

#loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #333;
    font-size: 18px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem 2rem;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid #e1e5e9;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Features Section */
.features {
  padding: 80px 0;
  background: white;
}

.features h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 3rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  text-align: center;
  padding: 2rem;
  border-radius: 12px;
  background: #f8f9fa;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #e74c3c;
}

.feature-card h3 {
  font-size: 1.5rem;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.feature-card p {
  color: #666;
  line-height: 1.6;
}

/* Services Preview */
.services-preview {
  padding: 80px 0;
  background: #f8f9fa;
}

.services-preview h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 3rem;
}

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

.service-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

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

.service-card h3 {
  font-size: 1.5rem;
  color: #2c3e50;
  margin: 1.5rem 1.5rem 1rem;
}

.service-card p {
  color: #666;
  margin: 0 1.5rem 1.5rem;
  line-height: 1.6;
}

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

/* CTA Section */
.cta {
  padding: 80px 0;
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
  color: white;
  text-align: center;
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta .btn-primary {
  background: white;
  color: #e74c3c;
}

.cta .btn-primary:hover {
  background: #f8f9fa;
}

.cta .btn-secondary {
  border-color: white;
  color: white;
}

.cta .btn-secondary:hover {
  background: white;
  color: #e74c3c;
}

/* Page Header */
.page-header {
  padding: 150px 0 80px;
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: white;
  text-align: center;
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* Services Detailed */
.services-detailed {
  padding: 80px 0;
}

.service-detail {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin-bottom: 4rem;
  padding: 2rem 0;
}

.service-detail.reverse {
  flex-direction: row-reverse;
}

.service-content {
  flex: 1;
}

.service-content h2 {
  font-size: 2rem;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.service-content p {
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.service-content ul {
  list-style: none;
  margin-bottom: 2rem;
}

.service-content li {
  padding: 0.5rem 0;
  color: #666;
  position: relative;
  padding-left: 1.5rem;
}

.service-content li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #27ae60;
  font-weight: bold;
}

.price-info {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.price-info span {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

.price {
  background: #e8f5e8;
  color: #27ae60;
}

.warranty {
  background: #e8f4fd;
  color: #3498db;
}

.service-image {
  flex: 1;
}

.service-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Emergency Service */
.emergency-service {
  padding: 80px 0;
  background: #2c3e50;
  color: white;
  text-align: center;
}

.emergency-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.emergency-content p {
  font-size: 1.2rem;
  margin-bottom: 3rem;
  opacity: 0.9;
}

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

.emergency-item {
  padding: 1.5rem;
}

.emergency-item .icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 1rem;
}

.emergency-item h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.emergency-item p {
  opacity: 0.8;
  font-size: 1rem;
}

/* About Page Styles */
.about-story {
  padding: 80px 0;
}

.story-content {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.story-text {
  flex: 1;
}

.story-text h2 {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 2rem;
}

.story-text p {
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.8;
  font-size: 1.1rem;
}

.story-image {
  flex: 1;
}

.story-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Team Section */
.team {
  padding: 80px 0;
  background: #f8f9fa;
}

.team h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 3rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.team-member {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
}

.team-member img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.5rem;
  border: 4px solid #e74c3c;
}

.team-member h3 {
  font-size: 1.5rem;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.position {
  color: #e74c3c;
  font-weight: 600;
  margin-bottom: 1rem;
}

.team-member p {
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.specialties {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.specialties span {
  background: #e8f4fd;
  color: #3498db;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Values Section */
.values {
  padding: 80px 0;
}

.values h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 3rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.value-item {
  text-align: center;
  padding: 2rem;
}

.value-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.value-item h3 {
  font-size: 1.5rem;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.value-item p {
  color: #666;
  line-height: 1.6;
}

/* Achievements Section */
.achievements {
  padding: 80px 0;
  background: #2c3e50;
  color: white;
}

.achievements h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.achievement {
  text-align: center;
  padding: 2rem;
}

.achievement-number {
  font-size: 3rem;
  font-weight: 700;
  color: #e74c3c;
  margin-bottom: 0.5rem;
}

.achievement-text {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Certifications */
.certifications {
  padding: 80px 0;
  background: #f8f9fa;
}

.certifications h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 3rem;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.cert-item {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.cert-item img {
  width: 100px;
  height: auto;
  margin-bottom: 1rem;
}

.cert-item h4 {
  color: #2c3e50;
  font-size: 1.1rem;
  line-height: 1.4;
}

/* Gallery Styles */
.gallery-tabs {
  padding: 40px 0;
  background: #f8f9fa;
}

.tab-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 12px 24px;
  background: white;
  border: 2px solid #e74c3c;
  color: #e74c3c;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.tab-btn.active,
.tab-btn:hover {
  background: #e74c3c;
  color: white;
}

.gallery-content {
  padding: 80px 0;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.tab-content h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 3rem;
}

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

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
}

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

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 2rem 1.5rem 1.5rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.gallery-overlay p {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Testimonials */
.testimonials {
  padding: 80px 0;
  background: #f8f9fa;
}

.testimonials h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 3rem;
}

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

.testimonial {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.stars {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.testimonial p {
  color: #666;
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.customer strong {
  color: #2c3e50;
  font-size: 1.1rem;
}

.customer span {
  color: #666;
  font-size: 0.9rem;
  display: block;
  margin-top: 0.3rem;
}

/* Contact Styles */
.contact-info {
  padding: 80px 0;
  background: #f8f9fa;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.contact-item {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.contact-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.contact-item h3 {
  font-size: 1.5rem;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.contact-item p {
  color: #666;
  line-height: 1.6;
}

/* Contact Form */
.contact-form-section {
  padding: 80px 0;
}

.contact-content {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
}

.form-container {
  flex: 2;
}

.form-container h2 {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 2rem;
}

.contact-form {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 12px;
}

.form-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.form-group {
  flex: 1;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #2c3e50;
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #e74c3c;
}

.checkbox-group {
  margin: 2rem 0;
}

.checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  color: #666;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  margin-right: 0.5rem;
}

.contact-sidebar {
  flex: 1;
}

.sidebar-item {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.sidebar-item h3 {
  color: #2c3e50;
  margin-bottom: 1rem;
}

.sidebar-item p {
  color: #666;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.social-link {
  color: #666;
  text-decoration: none;
  transition: color 0.3s ease;
}

.social-link:hover {
  color: #e74c3c;
}

/* Map Section */
.map-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.map-section h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 3rem;
}

.map-container {
  margin-bottom: 3rem;
}

.map-placeholder {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.map-placeholder img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.map-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.95);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.map-overlay h3 {
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.map-overlay p {
  color: #666;
  margin-bottom: 1rem;
}

.location-details {
  margin-top: 3rem;
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.location-item {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.location-item h4 {
  color: #2c3e50;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.location-item p {
  color: #666;
  line-height: 1.6;
}

/* FAQ Section */
.faq-section {
  padding: 80px 0;
}

.faq-section h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 3rem;
}

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

.faq-item {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 12px;
  border-left: 4px solid #e74c3c;
}

.faq-item h3 {
  color: #2c3e50;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.faq-item p {
  color: #666;
  line-height: 1.6;
}

/* Footer */
.footer {
  background: #2c3e50;
  color: white;
  padding: 60px 0 20px;
}

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

.footer-section h3,
.footer-section h4 {
  margin-bottom: 1rem;
  color: #e74c3c;
}

.footer-section p,
.footer-section li {
  color: #bdc3c7;
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
}

.footer-section a {
  color: #bdc3c7;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #e74c3c;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.social-links a:hover {
  transform: scale(1.2);
}

.footer-section p i {
  margin-right: 8px;
  width: 16px;
}

.footer-bottom {
  border-top: 1px solid #34495e;
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  color: #95a5a6;
  margin: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 0;
        min-height: auto;
        text-align: center;
    }

    .hero-content {
        padding-left: 1rem;
        padding-right: 1rem;
        order: 2;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        gap: 1rem;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .hero-image {
        order: 1;
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .hero-image #motor3d {
        height: 300px;
    }

    .navbar {
        padding: 1rem 0;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        z-index: 1000;
        height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
        width: 100%;
    }

    .nav-menu a {
        display: block;
        padding: 1rem 2rem;
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-menu a:hover,
    .nav-menu a.active {
        background-color: #f8f9fa;
        color: #e74c3c;
    }

    .hamburger {
        display: block;
        cursor: pointer;
        z-index: 1001;
        position: relative;
        padding: 5px;
    }

    .hamburger span {
        display: block;
        width: 25px;
        height: 3px;
        background: #333;
        margin: 5px 0;
        transition: 0.3s ease;
        border-radius: 2px;
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-10px);
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .service-search {
        padding: 2rem 1rem;
    }

    .search-card {
        padding: 1.5rem;
        margin: 0 1rem;
    }

    .search-input-group {
        flex-direction: column;
        gap: 1rem;
    }

    .search-input-group input {
        width: 100%;
    }

    .search-input-group button {
        width: 100%;
    }

    .search-results {
        margin-top: 1.5rem;
    }

    .info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .info-row .label {
        min-width: auto;
        font-weight: 600;
    }

    .info-row .value {
        text-align: left;
        width: 100%;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .services-preview .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        margin: 0 1rem;
    }

    .service-card img {
        height: 180px;
    }

    .service-card h3 {
        font-size: 1.3rem;
        margin: 1rem 1rem 0.5rem;
    }

    .service-card p {
        margin: 0 1rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-image #motor3d {
        height: 250px;
    }

    .search-card {
        padding: 1rem;
        margin: 0 0.5rem;
    }

    .search-card h2 {
        font-size: 1.3rem;
    }

    .search-card p {
        font-size: 0.9rem;
    }

    .search-input-group input {
        padding: 12px 15px;
        font-size: 14px;
    }

    .search-input-group .btn {
        padding: 12px 20px;
        font-size: 14px;
    }

    .features h2,
    .services-preview h2,
    .cta h2 {
        font-size: 2rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .feature-icon {
        font-size: 2.5rem;
    }

    .feature-card h3 {
        font-size: 1.3rem;
    }

    .service-card {
        margin: 0 0.5rem;
    }

    .service-card img {
        height: 160px;
    }

    .cta {
        padding: 3rem 0;
    }

    .cta h2 {
        font-size: 2rem;
    }

    .cta p {
        font-size: 1rem;
    }

    .footer {
        padding: 40px 0 20px;
    }

    .footer-content {
        gap: 1.5rem;
    }

    .footer-section h3,
    .footer-section h4 {
        font-size: 1.2rem;
    }

    .social-links {
        justify-content: center;
    }

    .social-links a {
        font-size: 1.3rem;
    }
}

/* Additional responsive improvements for other pages */
@media (max-width: 768px) {
    .page-header {
        padding: 120px 0 60px;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .service-detail {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .service-detail.reverse {
        flex-direction: column;
    }

    .service-content h2 {
        font-size: 1.8rem;
    }

    .price-info {
        justify-content: center;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .team-member {
        padding: 1.5rem;
    }

    .team-member img {
        width: 120px;
        height: 120px;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .cert-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .gallery-item img {
        height: 200px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-content {
        flex-direction: column;
        gap: 2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .form-row {
        flex-direction: column;
        gap: 1rem;
    }

    .location-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .tab-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }

    .tab-btn {
        width: 100%;
        text-align: center;
    }
}

/* Additional hamburger menu improvements */
@media (max-width: 768px) {
    .nav-container {
        position: relative;
    }
    
    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 30px;
        height: 30px;
        cursor: pointer;
        z-index: 1001;
        position: relative;
        padding: 5px;
        background: transparent;
        border: none;
        outline: none;
    }

    .hamburger span {
        display: block;
        width: 25px;
        height: 3px;
        background: #333;
        margin: 3px 0;
        transition: all 0.3s ease;
        border-radius: 2px;
        transform-origin: center;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-10px);
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: all 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.1);
        padding: 2rem 0;
        z-index: 1000;
        height: calc(100vh - 70px);
        overflow-y: auto;
        border-top: 1px solid #e1e5e9;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 0;
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        display: block;
        padding: 1.5rem 2rem;
        width: 100%;
        font-size: 1.1rem;
        font-weight: 500;
        transition: all 0.3s ease;
    }

    .nav-menu a:hover,
    .nav-menu a.active {
        background-color: #f8f9fa;
        color: #e74c3c;
        transform: translateX(10px);
    }
}
