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

:root {
  --primary-orange: #ff6b1a;
  --secondary-orange: #ff8c42;
  --accent-orange: #ff9e5c;
  --dark-gray: #2d2d2d;
  --light-gray: #f4f4f4;
  --medium-gray: #6b6b6b;
  --silver: #c0c0c0;
  --white: #ffffff;
  --shadow: rgba(0, 0, 0, 0.1);
  --shadow-hover: rgba(255, 107, 26, 0.3);
}

html {
  scroll-behavior: smooth;
}

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

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

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--white);
  box-shadow: 0 2px 10px var(--shadow);
  z-index: 1000;
  transition: all 0.3s ease;
}

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

.logo img {
  height: 50px;
  width: auto;
}

.nav-menu {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: var(--dark-gray);
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-orange);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

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

.cta-link {
  background: var(--primary-orange);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.cta-link:hover {
  background: var(--secondary-orange);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px var(--shadow-hover);
}

.cta-link::after {
  display: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--dark-gray);
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-orange) 0%, var(--secondary-orange) 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.3;
}

.hero-content {
  text-align: center;
  color: var(--white);
  z-index: 1;
  padding: 0 20px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  animation: fadeInUp 1s ease;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 40px;
  animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  animation: fadeInUp 1s ease 0.4s backwards;
}

.btn {
  display: inline-block;
  padding: 15px 35px;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

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

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

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

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

.btn-large {
  padding: 18px 45px;
  font-size: 1.1rem;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-indicator i {
  font-size: 2rem;
  color: var(--white);
}

/* Services Section */
.services {
  padding: 100px 0;
  background: var(--light-gray);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: var(--dark-gray);
  margin-bottom: 15px;
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--medium-gray);
  margin-bottom: 60px;
}

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

.service-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px var(--shadow);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px var(--shadow-hover);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 2rem;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--dark-gray);
}

.service-card p {
  color: var(--medium-gray);
  line-height: 1.8;
}

/* Why Choose Us Section */
.why-choose {
  padding: 100px 0;
}

.why-choose-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.why-choose-text .section-title {
  text-align: left;
  margin-bottom: 40px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.feature-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.feature-item i {
  font-size: 1.5rem;
  color: var(--primary-orange);
  margin-top: 5px;
}

.feature-item h4 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--dark-gray);
}

.feature-item p {
  color: var(--medium-gray);
}

.stats-card {
  background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
  padding: 60px 40px;
  border-radius: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 30px;
  text-align: center;
  box-shadow: 0 10px 30px var(--shadow-hover);
}

.stat h3 {
  font-size: 3rem;
  color: var(--white);
  margin-bottom: 10px;
}

.stat p {
  color: var(--white);
  font-size: 1rem;
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
  text-align: center;
  color: var(--white);
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

/* Contact Section */
.contact {
  padding: 100px 0;
  background: var(--light-gray);
}

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

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--primary-orange);
  margin-top: 5px;
}

.contact-item h4 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--dark-gray);
}

.contact-item p {
  color: var(--medium-gray);
}

.contact-map {
  border-radius: 15px;
  overflow: hidden;
  height: 400px;
  box-shadow: 0 5px 15px var(--shadow);
}

/* Footer */
.footer {
  background: var(--dark-gray);
  color: var(--white);
  padding: 60px 0 20px;
}

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

.footer-logo {
  height: 40px;
  margin-bottom: 20px;
}

.footer-section p {
  color: var(--silver);
  line-height: 1.8;
}

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

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

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

.footer-section ul li a {
  color: var(--silver);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--primary-orange);
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--secondary-orange);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--silver);
}

/* Form Page Styles */
.form-section {
  padding: 120px 0 80px;
  background: var(--light-gray);
  min-height: 100vh;
}

.form-header {
  text-align: center;
  margin-bottom: 50px;
}

.form-header h1 {
  font-size: 2.5rem;
  color: var(--dark-gray);
  margin-bottom: 15px;
}

.form-header p {
  font-size: 1.1rem;
  color: var(--medium-gray);
}

.form-container {
  background: var(--white);
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0 10px 30px var(--shadow);
  max-width: 900px;
  margin: 0 auto;
}

.form-group-section {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 2px solid var(--light-gray);
}

.form-group-section:last-of-type {
  border-bottom: none;
}

.form-group-section h3 {
  color: var(--dark-gray);
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-group-section h3 i {
  color: var(--primary-orange);
}

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

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--dark-gray);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid var(--light-gray);
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-orange);
  box-shadow: 0 0 0 3px var(--shadow-hover);
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 10px;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.checkbox-label:hover {
  background: var(--light-gray);
}

.checkbox-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: var(--primary-orange);
}

.radio-group {
  display: flex;
  gap: 30px;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.radio-label input[type="radio"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: var(--primary-orange);
}

/* Added warning notice styling for parts provision section */
.warning-notice {
  margin-top: 20px;
  padding: 20px;
  background: linear-gradient(135deg, #fff3cd 0%, #ffe69c 100%);
  border-left: 4px solid var(--primary-orange);
  border-radius: 8px;
  display: flex;
  gap: 15px;
  align-items: flex-start;
  animation: slideDown 0.3s ease;
}

.warning-notice i {
  color: var(--primary-orange);
  font-size: 1.5rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.warning-notice p {
  margin: 0;
  color: #856404;
  line-height: 1.6;
}

.warning-notice strong {
  color: #664d03;
  display: block;
  margin-bottom: 5px;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.error-message {
  display: none;
  color: #d32f2f;
  font-size: 0.875rem;
  margin-top: 5px;
}

.form-group.error .error-message {
  display: block;
}

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

.terms-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 15px;
  background: var(--light-gray);
  border-radius: 8px;
}

.terms-checkbox input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
}

.terms-checkbox span {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--medium-gray);
}

.form-actions {
  text-align: center;
  margin-top: 40px;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.form-message {
  margin-top: 20px;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  display: none;
}

.form-message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  display: block;
}

.form-message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  display: block;
}

/* Modal Styles */
.modal {
  display: none;
  position: center;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.3s ease;
}

.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: var(--white);
  padding: 40px;
  border-radius: 15px;
  text-align: center;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease;
}

.modal-icon {
  font-size: 4rem;
  color: #4caf50;
  margin-bottom: 20px;
}

.modal-content h2 {
  color: var(--dark-gray);
  margin-bottom: 15px;
  font-size: 1.75rem;
}

.modal-content p {
  color: var(--medium-gray);
  line-height: 1.6;
  margin-bottom: 15px;
}

.modal-subtext {
  font-size: 0.9rem;
  color: var(--medium-gray);
  margin-bottom: 25px;
}

.modal-content .btn {
  margin-top: 10px;
}

/* Terms & Conditions Page Styles */
.terms-content {
  max-width: 1000px;
}

.terms-section {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 2px solid var(--light-gray);
}

.terms-section:last-child {
  border-bottom: none;
}

.terms-icon {
  text-align: center;
  margin-bottom: 20px;
}

.terms-icon i {
  font-size: 4rem;
  color: var(--primary-orange);
}

.terms-intro {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--medium-gray);
  text-align: center;
}

.terms-section h3 {
  color: var(--dark-gray);
  font-size: 1.75rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.terms-section h3 i {
  color: var(--primary-orange);
}

.terms-notice {
  font-size: 1.05rem;
  color: var(--medium-gray);
  margin-bottom: 30px;
  font-weight: 500;
}

.terms-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.terms-item {
  display: flex;
  gap: 20px;
  padding: 25px;
  background: var(--light-gray);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.terms-item:hover {
  background: #e8e8e8;
  transform: translateX(5px);
}

.terms-item-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
}

.terms-item-content h4 {
  color: var(--dark-gray);
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.terms-item-content p {
  color: var(--medium-gray);
  line-height: 1.7;
}

.terms-notice-box {
  background: linear-gradient(135deg, #fff3cd 0%, #ffe69c 100%);
  border-left: 5px solid var(--primary-orange);
  border-radius: 12px;
  padding: 30px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin: 40px 0;
  box-shadow: 0 5px 15px rgba(255, 107, 26, 0.1);
}

.notice-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: var(--primary-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 2rem;
}

.notice-content h4 {
  color: #664d03;
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.notice-content p {
  color: #856404;
  line-height: 1.8;
  margin: 0;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

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

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 80px;
    flex-direction: column;
    background: var(--white);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 30px 0;
  }

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

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

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

  .why-choose-content {
    grid-template-columns: 1fr;
  }

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

  .form-container {
    padding: 30px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .checkbox-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 2rem;
  }

  .stats-card {
    grid-template-columns: 1fr;
  }

  /* Responsive adjustments for terms page */
  .terms-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .terms-notice-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .form-actions {
    flex-direction: column;
  }

  .form-actions .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.5rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .btn {
    padding: 12px 25px;
    font-size: 0.9rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .service-card {
    padding: 30px 20px;
  }

  .form-header h1 {
    font-size: 1.75rem;
  }
}
