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

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

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

/* Header Styles */
.main-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;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
}

.logo-text {
  font-size: 24px;
  font-weight: 700;
  color: #2c5aa0;
}

.main-navigation .nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
  color: #2c5aa0;
}

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

.phone-number {
  font-weight: 600;
  color: #2c5aa0;
  font-size: 18px;
}

.consultation-btn {
  background: #ff6b35;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.consultation-btn:hover {
  background: #e55a2b;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: #333;
  transition: 0.3s;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #2c5aa0 0%, #1e3d72 100%);
  color: white;
  padding: 120px 0 80px;
  text-align: center;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 20px;
  margin-bottom: 40px;
  opacity: 0.9;
}

.hero-features {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 40px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
}

.feature-icon {
  font-size: 24px;
}

.cta-button {
  background: #ff6b35;
  color: white;
  border: none;
  padding: 16px 32px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.cta-button:hover {
  background: #e55a2b;
}

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

.section-title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 50px;
  color: #2c5aa0;
}

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

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

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

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

.service-card h3 {
  padding: 20px 20px 10px;
  font-size: 24px;
  color: #2c5aa0;
}

.service-card p {
  padding: 0 20px 20px;
  color: #666;
  line-height: 1.6;
}

.service-link {
  display: inline-block;
  margin: 0 20px 20px;
  color: #ff6b35;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

.service-link:hover {
  color: #e55a2b;
}

/* About Section */
.about-preview {
  padding: 80px 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-text h2 {
  font-size: 36px;
  color: #2c5aa0;
  margin-bottom: 30px;
}

.advantages-list {
  list-style: none;
  margin-bottom: 30px;
}

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

.advantages-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #ff6b35;
  font-weight: bold;
  font-size: 18px;
}

.learn-more-btn {
  display: inline-block;
  background: #2c5aa0;
  color: white;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: background 0.3s;
}

.learn-more-btn:hover {
  background: #1e3d72;
}

.workshop-img {
  width: 100%;
  border-radius: 10px;
}

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

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

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

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  color: #333;
}

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

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

.form-group.error input,
.form-group.error select {
  border-color: #dc3545;
}

.error-message {
  color: #dc3545;
  font-size: 14px;
  margin-top: 5px;
  display: block;
}

.submit-btn {
  width: 100%;
  background: #ff6b35;
  color: white;
  border: none;
  padding: 16px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.submit-btn:hover {
  background: #e55a2b;
}

.submit-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
}

/* Footer */
.main-footer {
  background: #2c5aa0;
  color: white;
  padding: 50px 0 20px;
}

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

.footer-section h3,
.footer-section h4 {
  margin-bottom: 20px;
  color: #fff;
}

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

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

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

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

.footer-bottom {
  border-top: 1px solid #1e3d72;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #fff;
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #000;
  color: white;
  padding: 20px;
  z-index: 10000;
  transform: translateY(100%);
  transition: transform 0.3s;
}

.cookie-popup.show {
  transform: translateY(0);
}

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

.cookie-content p {
  margin: 0;
  flex: 1;
}

.cookie-content a {
  color: #ff6b35;
}

.cookie-btn {
  background: #ff6b35;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s;
}

.cookie-btn:hover {
  background: #e55a2b;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-20 {
  margin-bottom: 20px;
}

.mb-30 {
  margin-bottom: 30px;
}

.hidden {
  display: none;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Driving Tips Section */
.driving-tips {
  padding: 80px 0;
  background: #f8f9fa;
}

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

.tip-card {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.tip-icon {
  font-size: 48px;
  margin-bottom: 20px;
  display: block;
}

.tip-card h3 {
  color: #2c5aa0;
  margin-bottom: 15px;
  font-size: 24px;
}

.tip-card p {
  color: #666;
  margin-bottom: 20px;
  line-height: 1.6;
}

.tip-list {
  list-style: none;
  padding: 0;
}

.tip-list li {
  padding: 8px 0;
  padding-left: 25px;
  position: relative;
  color: #555;
}

.tip-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #ff6b35;
  font-weight: bold;
}

/* Car Knowledge Section */
.car-knowledge {
  padding: 80px 0;
  background: white;
}

.knowledge-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-top: 50px;
}

.knowledge-text h3 {
  color: #2c5aa0;
  margin-bottom: 30px;
  font-size: 28px;
}

.knowledge-items {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.knowledge-item {
  padding: 20px;
  border-left: 4px solid #ff6b35;
  background: #f8f9fa;
  border-radius: 0 8px 8px 0;
}

.knowledge-item h4 {
  color: #2c5aa0;
  margin-bottom: 10px;
  font-size: 18px;
}

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

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

/* Safety Tips Section */
.safety-tips {
  padding: 80px 0;
  background: #f8f9fa;
}

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

.safety-card {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.safety-card:hover {
  transform: translateY(-3px);
}

.safety-icon {
  font-size: 40px;
  margin-bottom: 20px;
  display: block;
}

.safety-card h3 {
  color: #2c5aa0;
  margin-bottom: 20px;
  font-size: 22px;
}

.safety-card ul {
  list-style: none;
  padding: 0;
}

.safety-card li {
  padding: 8px 0;
  padding-left: 25px;
  position: relative;
  color: #555;
  line-height: 1.5;
}

.safety-card li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: #ff6b35;
  font-weight: bold;
  font-size: 18px;
}

/* Responsive Design for New Sections */
@media (max-width: 768px) {
  .tips-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .knowledge-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .safety-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .tip-card,
  .safety-card {
    padding: 20px;
  }

  .driving-tips,
  .car-knowledge,
  .safety-tips {
    padding: 50px 0;
  }
}
