﻿@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

#topBar {
    transition: transform 0.35s ease, opacity 0.35s ease, visibility 0.35s ease, height 0.35s ease, padding 0.35s ease, margin 0.35s ease;
}

#topBar.is-hidden {
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    height: 0;
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 0;
    margin: 0;
}

#mainHeader {
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.25s ease, background-color 0.25s ease;
}

#mainHeader.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.swiper-pagination-bullet {
    background: rgba(157, 50, 251, 0.35);
    opacity: 1;
    width: 10px;
    height: 10px;
}

.swiper-pagination-bullet-active {
    background: #9d32fb;
    width: 24px;
    border-radius: 999px;
}

.brand-logo {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.brand-logo::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;
    height: 2.5px;
    background: #9d32fb;
    border-radius: 999px;
}

.product-toggle,
.product-dropdown {
    transition: all 0.2s ease;
}

.product-toggle:hover,
.product-toggle:focus-visible {
    color: #9d32fb;
}

.product-menu-wrapper:focus-within .product-dropdown,
.product-menu-wrapper .product-dropdown:not(.hidden) {
    display: block;
}

@media (max-width: 1023.98px) {
    #mototechNavOverlay {
        z-index: 40;
    }

    #mototechNav {
        pointer-events: auto;
    }

    #mototechNav .group > div {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        margin-top: 0.5rem;
        padding: 0.5rem 0;
        background: transparent;
    }

    .quality-swiper {
        overflow: hidden;
    }

    .quality-swiper .swiper-wrapper {
        display: flex;
    }

    .quality-swiper .swiper-slide {
        width: 100% !important;
        max-width: 100% !important;
        display: flex;
        justify-content: center;
    }
}

:root {
    --font-sans: 'Montserrat', sans-serif;
    --font-display-weight: 400;
    --font-body-weight: 400;
    --font-label-weight: 600;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body,
.font-sans {
    font-family: var(--font-sans);
    font-weight: var(--font-body-weight);
    letter-spacing: 0.01em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-sans);
    font-weight: var(--font-display-weight);
    letter-spacing: 0;
}

/* Tailwind's display weights are too heavy for the reference style. */
.font-black,
.font-extrabold {
    font-weight: var(--font-label-weight) !important;
}

.text-2xl.font-black,
.text-3xl.font-black,
.text-4xl.font-black,
.text-5xl.font-black,
.text-2xl.font-extrabold,
.text-3xl.font-extrabold,
.text-4xl.font-extrabold,
.text-5xl.font-extrabold {
    font-weight: 500 !important;
}

html {
    scroll-behavior: smooth;
}

@keyframes rotatingDottedRing {
    0% {
        transform: rotate(0deg) scale(1);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

.feature-card {
    transform: translateY(8px);
    box-shadow: 0 12px 28px rgba(157, 50, 251, 0.12);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.feature-card:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 16px 26px rgba(157, 50, 251, 0.12);
}

.feature-card .rotating-border {
    inset: -8px;
    border-radius: 9999px;
    border: 1.5px dashed rgba(157, 50, 251, 0.9);
    animation: rotatingDottedRing 14s linear infinite;
    transition: all 0.35s ease;
    opacity: 0.8;
}

.feature-card .solid-border {
    inset: -8px;
    border-radius: 9999px;
    border: 1.5px solid rgba(157, 50, 251, 0.9);
    opacity: 0;
    transform: scale(0.98);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.feature-card:hover .rotating-border {
    animation-play-state: paused;
    border-style: solid;
    border-width: 2px;
    opacity: 1;
    transform: scale(1.01);
}

.feature-card:hover .solid-border {
    opacity: 1;
    transform: scale(1.0);
}

.feature-card:hover .icon-badge {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(157, 50, 251, 0.14);
}

.feature-card .icon-badge {
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 30;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.feature-card:hover .icon-badge {
    border-color: #9d32fb;
    transform: translateY(-50%) translateX(-2px);
}

.contact-section {
  position: relative;
  box-sizing: border-box;

  /* --- Shared Layout Alignment & Constraints --- */
  width: 90%;
  max-width: 1200px;
  margin: 20px auto;
  padding: 20px 40px;

  min-height: 90vh;
  border-radius: 24px;
  background:
    linear-gradient(90deg, #3b2982 0%, rgba(0, 0, 0, 0.5) 100%),
    url("/assets/images/Contact\ Background\ Img.png");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Segoe UI", sans-serif;
}

/* --- Inner Content Row Container --- */
.contact-section .container {
  display: flex;
  max-width: 1100px;
  width: 100%;
  gap: 80px;
  align-items: center;
}

/* --- Left Column Content --- */
.contact-section .left-content {
  flex: 1;
  color: white;
}

/* --- Scaled-Down Clean Typography --- */
.contact-section .left-content h1 {
  font-size: 24px;
  margin-bottom: 12px;
  line-height: 1.3;
}

.contact-section .left-content p {
  font-size: 13px;
  margin-bottom: 16px;
  opacity: 0.85;
  line-height: 1.5;
}

/* --- Compact Button Group & Actions --- */
.contact-section .btn-group {
  display: flex;
  gap: 15px;
}

.contact-section .contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #e53935;
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  transition: 0.3s ease;
  box-shadow: 0 6px 18px #3b2982;
  margin-top: 8px;
}

.contact-section .contact-btn svg {
  width: 18px;
  height: 18px;
}

.contact-section .contact-btn:hover {
  background: #d32f2f;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px #3b2982;
}

.contact-section .whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  transition: 0.3s ease;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.2);
  margin-top: 8px;
}

.contact-section .whatsapp-btn svg {
  width: 18px;
  height: 18px;
}

.contact-section .whatsapp-btn:hover {
  background: #20c45a;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.3);
}

/* --- Form Box & Layout Inputs --- */
.contact-section .form-box {
  background: #1a1a1a;
  padding: 40px;
  border-radius: 24px;
  width: 100%;
  max-width: 500px;
  color: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.contact-section .form-box h2 {
  font-size: 20px;
  margin-bottom: 18px;
}

.contact-section .form-group {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.contact-section .input-field {
  width: 100%;
  padding: 12px;
  background: #2a2a2a;
  border: 1px solid #444;
  color: white;
  border-radius: 4px;
}

.contact-section textarea {
  width: 100%;
  height: 100px;
  background: #2a2a2a;
  border: 1px solid #444;
  color: white;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 4px;
}

.contact-section .submit-btn {
  width: 100%;
  padding: 15px;
  background: #3b2982;
  color: white;
  border-radius: 50px;
  cursor: pointer;
  font-weight: bold;
  font-size: 16px;
}

/* --- Contact Information Display Blocks --- */
.contact-section .contact-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-section .info-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.contact-section .info-item i {
  font-size: 18px;
  color: #ffd54f;
  min-width: 24px;
  margin-top: 2px;
}

.contact-section .info-item h5 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}

.contact-section .info-item p,
.contact-section .info-item a {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  line-height: 1.5;
  font-size: 13.5px;
  transition: 0.3s;
}

.contact-section .info-item a:hover {
  color: #ffd54f;
}

/* --- Layout Utility Overrides --- */
.mainbar {
  flex-wrap: nowrap !important;
}

.contact-cluster {
  flex-wrap: nowrap !important;
}

/* --- Responsive Media Viewports --- */
@media (max-width: 900px) {
  .contact-section {
    width: 90%;
    margin: 12px auto;
    padding: 12px 24px;
    min-height: auto;
  }
  .contact-section .container {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }
  .contact-section .left-content h1 {
    font-size: 22px;
  }
  .contact-section .form-box {
    padding: 26px;
  }
}

@media (max-width: 600px) {
  .contact-section {
    width: calc(100% - 28px);
    margin: 10px auto;
    padding: 10px 18px;
    border-radius: 16px;
  }
  .contact-section .form-group {
    flex-direction: column;
    gap: 12px;
  }
  .contact-section .btn-group {
    flex-direction: column;
  }
  .contact-section .contact-btn,
  .contact-section .whatsapp-btn {
    justify-content: center;
    width: 100%;
  }
}

.contact-section .contact-info {
  display: inline-flex;
  align-items: flex-start; /* Keeps structural block left-heavy */
  text-align: left; /* Restores clean reading format */
  margin: 0 auto; /* Centers the whole collective cluster block in the container */
}
.contact-section .info-item {
  text-align: left;
}

.ss-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: none;
  background: #593f33;
  border-radius: 10px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.3s ease;
}

.ss-menu-btn:hover {
  background: #6b4d3e;
}

.ss-menu-btn span {
  width: 20px;
  height: 2px;
  background: #efe9df;
  border-radius: 2px;
  transition:
    transform 0.35s cubic-bezier(0.68, -0.55, 0.27, 1.55),
    opacity 0.25s ease;
}

.ss-menu-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.ss-menu-btn.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.ss-menu-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.description h2,
.description h3 {
  font-size: 24px;
  font-weight: 700;
  color: #1e293b;
  margin: 10px 0;
}

.description p {
  margin: 10px 0;
}