/* =====================================================
   Lanka Auto Parts & Repairs — Design System
   ===================================================== */

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

/* ── CSS Custom Properties ── */
@import 'modal.css';
@import 'cards.css';

:root {
  /* Logo palette: dark navy + orange primary; medium blue, light sky, white support */
  --dark-blue: #0a1628;
  --medium-blue: #1b3a5c;
  --light-sky: #5c9ead;
  --white: #FFFFFF;
  --black: #000000;
  --grey: #6b7280;
  --green: #5c9ead;
  --orange: #E86A00;
  --dark-blue-90: rgba(10, 22, 40, 0.9);
  --dark-blue-70: rgba(10, 22, 40, 0.7);
  --dark-blue-50: rgba(10, 22, 40, 0.5);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.18);
  --radius: 10px;
  --radius-lg: 16px;
  --transition: 0.3s cubic-bezier(.4, 0, .2, 1);
  --max-width: 1200px;
}

/* ── Reset & Base ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Roboto', sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--black);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
}

h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
}

h3 {
  font-size: clamp(1.2rem, 3vw, 1.6rem);
}

a {
  text-decoration: none;
  color: var(--orange);
  transition: color var(--transition);
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

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

/* ── UTILITY ── */
.section-padding {
  padding: 80px 0;
}

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

.text-grey {
  color: var(--grey);
}

.text-white {
  color: var(--white);
}

.bg-dark-blue {
  background: var(--dark-blue);
}

.bg-white {
  background: var(--white);
}

.bg-light {
  background: #f5f7fa;
}

.section-title {
  text-align: center;
  margin-bottom: 16px;
  position: relative;
}

.section-subtitle {
  text-align: center;
  color: var(--grey);
  font-size: 1.1rem;
  margin-bottom: 50px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border: none;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
  min-height: 48px;
}

.btn-green {
  background: var(--orange);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-green:hover {
  background: #d45d00;
  color: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.btn-orange {
  background: var(--orange);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-orange:hover {
  background: #d45d00;
  color: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background: var(--white);
  color: var(--dark-blue);
}

@media (max-width: 480px) {
  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
    min-height: 44px;
  }
}

/* ── HEADER / NAVBAR ── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--dark-blue);
  transition: all var(--transition);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header.scrolled {
  background: var(--dark-blue-90);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(12px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 75px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 45px;
  height: 45px;
  background: var(--orange);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
}

/* Your logo image in header — place your file as images/logo.png (or .svg / .webp) */
.logo-img {
  height: 45px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
}

@media (max-width: 480px) {
  .logo-img {
    height: 38px;
    max-width: 140px;
  }

  .logo-text {
    font-size: 0.95rem;
  }

  .logo-text span {
    font-size: 0.6rem;
  }
}

.logo-text {
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.2;
}

.logo-text span {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--grey);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  color: var(--white);
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--orange);
  background: rgba(232, 106, 0, 0.12);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background: var(--orange);
  border-radius: 2px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: var(--white);
  border-radius: 3px;
  transition: all var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

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

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

@media (max-width: 768px) {
  .nav {
    padding: 0 16px;
    height: 70px;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(280px, 85vw);
    max-width: 100%;
    height: 100vh;
    height: 100dvh;
    background: var(--dark-blue);
    flex-direction: column;
    padding: 90px 24px 30px;
    gap: 4px;
    transition: right var(--transition);
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    width: 100%;
    padding: 14px 20px;
    font-size: 1.05rem;
    min-height: 48px;
    display: flex;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .nav {
    height: 64px;
  }

  .logo {
    gap: 8px;
  }
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--dark-blue);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--dark-blue) 0%, var(--medium-blue) 40%, #0d2137 100%);
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(92, 158, 173, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(232, 106, 0, 0.08) 0%, transparent 50%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--dark-blue-50);
  z-index: 1;
}

/* Hero background video — add your file as video/hero-loop.mp4 */
.hero video,
.hero .hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 1;
}

.hero .hero-video {
  background: var(--dark-blue);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 820px;
  animation: fadeInUp 1s ease;
}

.hero-content h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 900;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content h1 em {
  font-style: normal;
  color: var(--orange);
}

.hero-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  justify-content: center;
  align-items: center;
}

@media (max-width: 768px) {
  .hero {
    min-height: 85vh;
    min-height: 85dvh;
  }

  .hero-content {
    padding: 0 16px;
  }

  .hero-content h1 {
    margin-bottom: 16px;
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }

  .hero-content p {
    margin-bottom: 24px;
    font-size: 1rem;
  }

  .hero-content .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 14px 24px;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 75vh;
    min-height: 75dvh;
  }

  .hero-content h1 {
    font-size: 1.5rem;
    margin-bottom: 12px;
  }

  .hero-content p {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  .hero-cta {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }

  .hero-cta .btn {
    width: 100%;
  }
}

/* ── HERO PAGE-SPECIFIC (smaller) ── */
.hero-sm {
  min-height: 50vh;
  min-height: 50dvh;
  padding-top: 75px;
}

@media (max-width: 768px) {
  .hero-sm {
    min-height: 40vh;
    min-height: 40dvh;
    padding-top: 70px;
  }
}

@media (max-width: 480px) {
  .hero-sm {
    min-height: 35vh;
    min-height: 35dvh;
    padding-top: 64px;
  }
}

/* ── PARTICLE / FLOATING SHAPES ── */
.floating-shapes {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.floating-shapes .shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.07;
  animation: floatShape 20s ease-in-out infinite;
}

.floating-shapes .shape:nth-child(1) {
  width: 300px;
  height: 300px;
  background: var(--light-sky);
  top: 10%;
  left: -5%;
  animation-delay: 0s;
}

.floating-shapes .shape:nth-child(2) {
  width: 200px;
  height: 200px;
  background: var(--orange);
  top: 60%;
  right: -3%;
  animation-delay: -5s;
}

.floating-shapes .shape:nth-child(3) {
  width: 150px;
  height: 150px;
  background: var(--white);
  bottom: 10%;
  left: 30%;
  animation-delay: -10s;
}

@keyframes floatShape {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-40px) rotate(180deg);
  }
}

/* ── CARDS ── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(232, 106, 0, 0.2);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(92, 158, 173, 0.12), rgba(92, 158, 173, 0.04));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--green);
}

.card h3 {
  margin-bottom: 12px;
}

.card p {
  color: var(--grey);
  font-size: 0.95rem;
}

/* ── GRIDS ── */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 992px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .section-padding {
    padding: 50px 0;
  }

  .section-title {
    font-size: 1.75rem;
    margin-bottom: 12px;
  }

  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 32px;
  }

  .card {
    padding: 28px 20px;
  }

  .card-icon {
    width: 52px;
    height: 52px;
    font-size: 1.3rem;
    margin-bottom: 16px;
  }
}

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

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

  .section-subtitle {
    font-size: 0.95rem;
    margin-bottom: 24px;
  }

  .card {
    padding: 24px 16px;
  }
}

/* ── FORMS ── */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark-blue);
  font-family: 'Montserrat', sans-serif;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #e0e0e0;
  border-radius: var(--radius);
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  transition: all var(--transition);
  background: var(--white);
  color: var(--black);
}

.form-control:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(232, 106, 0, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

select.form-control {
  cursor: pointer;
}

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

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ── TESTIMONIALS ── */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--green);
  position: relative;
}

.testimonial-card .quote-icon {
  font-size: 2.5rem;
  color: rgba(232, 106, 0, 0.25);
  margin-bottom: 12px;
  line-height: 1;
}

.testimonial-card p {
  color: var(--grey);
  font-style: italic;
  margin-bottom: 16px;
  font-size: 1rem;
}

.testimonial-card .author {
  font-weight: 700;
  color: var(--dark-blue);
  font-family: 'Montserrat', sans-serif;
}

.testimonial-card .author span {
  display: block;
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--grey);
}

/* ── FOOTER ── */
.footer {
  background: var(--dark-blue);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer h4 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 3px;
  background: var(--green);
  border-radius: 2px;
}

.footer p {
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer-links a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  padding: 6px 0;
  font-size: 0.9rem;
  transition: all var(--transition);
}

.footer-links a:hover {
  color: var(--orange);
  padding-left: 8px;
}

.footer .social-icons {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer .social-icons a {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  transition: all var(--transition);
}

.footer .social-icons a:hover {
  background: var(--orange);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 32px;
    text-align: center;
  }

  .footer h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer .social-icons {
    justify-content: center;
  }
}

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

  .footer-grid {
    gap: 28px;
    margin-bottom: 28px;
  }

  .footer h4 {
    margin-bottom: 14px;
    font-size: 1rem;
  }

  .footer-bottom {
    padding: 16px 12px;
    font-size: 0.8rem;
  }
}

/* ── ACCORDION (Models Page) ── */
.accordion-item {
  border: 1px solid #e0e0e0;
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
  transition: all var(--transition);
}

.accordion-item:hover {
  border-color: var(--orange);
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: var(--dark-blue);
  color: var(--white);
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  transition: all var(--transition);
  border: none;
  width: 100%;
  text-align: left;
  min-height: 48px;
}

@media (max-width: 480px) {
  .accordion-header {
    padding: 14px 16px;
    font-size: 0.95rem;
  }

  .accordion-body-inner {
    padding: 16px;
  }
}

.accordion-header:hover {
  background: var(--medium-blue);
}

.accordion-header .arrow {
  transition: transform var(--transition);
  font-size: 0.8rem;
}

.accordion-item.open .accordion-header .arrow {
  transform: rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  background: var(--white);
}

.accordion-body-inner {
  padding: 20px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.model-tag {
  display: inline-block;
  padding: 8px 16px;
  background: #f5f7fa;
  border: 1px solid #e0e0e0;
  border-radius: 50px;
  font-size: 0.9rem;
  color: var(--dark-blue);
  transition: all var(--transition);
  cursor: pointer;
}

.model-tag:hover {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
  transform: translateY(-2px);
}

/* ── SEARCH BAR ── */
.search-wrap {
  max-width: 500px;
  margin: 0 auto 40px;
  position: relative;
}

.search-wrap input {
  width: 100%;
  padding: 16px 24px 16px 50px;
  border: 2px solid #e0e0e0;
  border-radius: 50px;
  font-size: 1rem;
  font-family: 'Roboto', sans-serif;
  transition: all var(--transition);
}

.search-wrap input:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(232, 106, 0, 0.15);
}

.search-wrap .search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--grey);
  font-size: 1.1rem;
}

/* ── CONTACT INFO CARD ── */
.contact-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--dark-blue);
}

@media (max-width: 480px) {
  .contact-card {
    padding: 24px 20px;
  }

  .contact-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
  }
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-item .icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: linear-gradient(135deg, rgba(232, 106, 0, 0.12), rgba(232, 106, 0, 0.04));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  font-size: 1.2rem;
}

.contact-item h4 {
  margin-bottom: 4px;
  font-size: 0.95rem;
}

.contact-item h4::after {
  display: none;
}

.contact-item p {
  font-size: 0.9rem;
  color: var(--grey);
}

.contact-item a {
  color: var(--orange);
}

/* ── MAP ── */
.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 400px;
}

@media (max-width: 768px) {
  .map-wrap {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .map-wrap {
    height: 250px;
    border-radius: var(--radius);
  }
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ── TABS ── */
.tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.tab-btn {
  padding: 12px 28px;
  border: 2px solid #e0e0e0;
  border-radius: 50px;
  background: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
  color: var(--grey);
}

.tab-btn:hover {
  border-color: var(--green);
  color: var(--green);
}

.tab-btn.active {
  background: var(--dark-blue);
  color: var(--white);
  border-color: var(--dark-blue);
}

@media (max-width: 480px) {
  .tabs {
    gap: 6px;
    margin-bottom: 24px;
  }

  .tab-btn {
    padding: 10px 16px;
    font-size: 0.85rem;
    flex: 1 1 auto;
    min-width: 0;
  }
}

.tab-panel {
  display: none;
  animation: fadeInUp 0.5s ease;
}

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

/* ── PARTNER CARD ── */
.partner-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all var(--transition);
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.partner-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

@media (max-width: 600px) {
  .partner-card {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
  }

  .partner-icon {
    margin: 0 auto;
  }
}

.partner-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  background: linear-gradient(135deg, var(--dark-blue), var(--medium-blue));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-size: 1.3rem;
}

/* ── GALLERY GRID ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  background: #f5f7fa;
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey);
  font-size: 0.9rem;
  border: 1px solid #e0e0e0;
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-md);
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .gallery-item {
    aspect-ratio: 1;
    font-size: 0.8rem;
  }
}

@media (max-width: 380px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* ── TEAM GRID ── */
.team-member {
  text-align: center;
}

.team-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--dark-blue), var(--medium-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-size: 2.5rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  border: 3px solid rgba(232, 106, 0, 0.25);
}

.team-member h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.team-member .role {
  color: var(--orange);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.team-member p {
  color: var(--grey);
  font-size: 0.88rem;
}

/* ── MISSION / VISION ── */
.mv-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  border-top: 4px solid var(--green);
  transition: all var(--transition);
}

.mv-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.mv-card .mv-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(92, 158, 173, 0.12), rgba(92, 158, 173, 0.04));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--green);
}

.mv-card h3 {
  margin-bottom: 12px;
}

.mv-card p {
  color: var(--grey);
  font-size: 0.95rem;
}

@media (max-width: 480px) {
  .mv-card {
    padding: 28px 20px;
  }

  .mv-card .mv-icon {
    width: 56px;
    height: 56px;
    font-size: 1.5rem;
  }
}

/* ── STATS ── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.stat-item {
  text-align: center;
  padding: 30px 20px;
}

.stat-item .number {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--green);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-item p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .stat-item .number {
    font-size: 2.2rem;
  }

  .stat-item p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .stats-row {
    gap: 16px;
    padding: 24px 0 !important;
  }

  .stat-item {
    padding: 20px 12px;
  }

  .stat-item .number {
    font-size: 1.9rem;
  }

  .stat-item p {
    font-size: 0.85rem;
  }
}

/* ── BUSINESS HOURS ── */
.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-table tr {
  border-bottom: 1px solid #eee;
}

.hours-table td {
  padding: 12px 0;
  font-size: 0.95rem;
}

.hours-table td:first-child {
  font-weight: 600;
  color: var(--dark-blue);
}

.hours-table td:last-child {
  text-align: right;
  color: var(--grey);
}

.hours-table tr.closed td:last-child {
  color: #e74c3c;
}

@media (max-width: 480px) {
  .hours-table td {
    padding: 10px 0;
    font-size: 0.9rem;
  }

  .hours-table td:first-child {
    padding-right: 12px;
  }
}

/* ── ANIMATIONS ── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── SCROLL-TO-TOP ── */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--orange);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  box-shadow: var(--shadow-md);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* ── BREADCRUMB ── */
.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.9rem;
  margin-top: 12px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a:hover {
  color: var(--orange);
}

.breadcrumb span {
  color: rgba(255, 255, 255, 0.4);
}

/* ── NOTIFICATION BAR (form success) ── */
.notification {
  position: fixed;
  top: 80px;
  right: 24px;
  padding: 16px 24px;
  background: var(--orange);
  color: var(--white);
  border-radius: var(--radius);
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  box-shadow: var(--shadow-md);
  z-index: 9999;
  transform: translateX(120%);
  transition: transform var(--transition);
}

.notification.show {
  transform: translateX(0);
}

@media (max-width: 480px) {
  .notification {
    left: 16px;
    right: 16px;
    top: 70px;
    padding: 14px 18px;
    font-size: 0.9rem;
    text-align: center;
  }
}

/* ── FLOATING INQUIRY BUTTON ── */
.floating-inquiry {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 998;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--orange), #d45d00);
  color: var(--white);
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-md);
  transition: all 0.3s cubic-bezier(.4, 0, .2, 1);
  animation: floatingBounce 2.5s ease-in-out infinite;
}

.floating-inquiry:hover {
  transform: scale(1.08) translateY(-3px);
  box-shadow: var(--shadow-lg);
  color: var(--white);
  background: linear-gradient(135deg, #d45d00, var(--orange));
}

.floating-inquiry i {
  font-size: 1.1rem;
}

@keyframes floatingBounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 768px) {
  .floating-inquiry {
    bottom: 20px;
    left: 20px;
    padding: 12px 20px;
    font-size: 0.85rem;
  }

  .scroll-top {
    bottom: 20px;
    right: 20px;
  }
}

@media (max-width: 480px) {
  .floating-inquiry {
    bottom: 16px;
    left: 16px;
    padding: 10px 16px;
    font-size: 0.8rem;
    border-radius: 12px;
  }

  .scroll-top {
    width: 44px;
    height: 44px;
    bottom: 16px;
    right: 16px;
    font-size: 1.1rem;
  }
}

/* ── Mobile: prevent horizontal scroll & touch ── */
html {
  -webkit-text-size-adjust: 100%;
}

body {
  -webkit-tap-highlight-color: transparent;
}

@media (max-width: 480px) {
  .search-wrap {
    padding: 0 8px;
    margin-bottom: 24px;
  }

  .search-wrap input {
    padding: 14px 20px 14px 44px;
    font-size: 16px;
  }

  .search-wrap .search-icon {
    left: 16px;
  }

  .testimonial-card {
    padding: 24px 20px;
  }

  .breadcrumb {
    font-size: 0.85rem;
    flex-wrap: wrap;
    gap: 6px;
  }
}