/* 
  ===================================================================
  JP ENGINEERING - Ultra Premium Air Conditioning & HVAC Solutions
  Design System & CSS StyleSheet
  ===================================================================
*/

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

:root {
  /* Color Palette - Cool Professional Navy & Arctic Ice */
  --primary-dark: #0A192F;
  --primary-navy: #0F2B48;
  --accent-blue: #0072CE;
  --accent-cyan: #00B4D8;
  --accent-ice: #E0F2FE;
  
  --bg-dark: #070F1E;
  --bg-card-dark: #0D1B2A;
  --bg-light: #F8FAFC;
  --bg-white: #FFFFFF;
  
  --text-dark: #0F172A;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --text-white: #F8FAFC;

  --border-light: #E2E8F0;
  --border-dark: #1E293B;

  /* Brand Colors */
  --brand-daikin: #0066B3;
  --brand-lg: #A50034;
  --brand-hitachi: #E60012;

  /* Elevation Shadows */
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 10px 25px -5px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 40px -10px rgba(10,25,47,0.15);
  --shadow-glow: 0 0 30px rgba(0,180,216,0.25);

  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Radii & Transitions */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary-dark);
  line-height: 1.25;
  font-weight: 700;
}

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

ul {
  list-style: none;
}

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

/* Container & Grid Utilities */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 5rem 0;
}

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

.text-gradient {
  background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Header & Top Bar */
.top-bar {
  background-color: var(--primary-dark);
  color: var(--text-light);
  font-size: 0.85rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.top-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.top-info-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.top-brands-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
}

.top-brands-badge span {
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  letter-spacing: 0.5px;
}

.bg-daikin { background: rgba(0, 102, 179, 0.2); color: #38bdf8; border: 1px solid rgba(56, 189, 248, 0.3); }
.bg-lg { background: rgba(165, 0, 52, 0.2); color: #f43f5e; border: 1px solid rgba(244, 63, 94, 0.3); }
.bg-hitachi { background: rgba(230, 0, 18, 0.2); color: #fb7185; border: 1px solid rgba(251, 113, 133, 0.3); }

/* Navigation Bar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: transparent;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  border: none;
  border-radius: 0;
  overflow: visible;
  padding: 0;
}

.logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.logo-subtitle {
  display: none;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-blue);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan));
  transition: var(--transition);
  border-radius: var(--radius-full);
}

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

/* Premium Navigation Box Button for Get a Quote */
.nav-quote-btn {
  background: linear-gradient(135deg, var(--accent-blue), #0056b3) !important;
  color: #ffffff !important;
  padding: 0.65rem 1.4rem !important;
  border-radius: var(--radius-full) !important;
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  box-shadow: 0 4px 15px rgba(0, 114, 206, 0.35) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  transition: var(--transition) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.3) !important;
  text-decoration: none !important;
}

.nav-quote-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 22px rgba(0, 114, 206, 0.5) !important;
  background: linear-gradient(135deg, #0084eb, #004494) !important;
  color: #ffffff !important;
}

.nav-quote-btn::after {
  display: none !important;
}

.mobile-toggle {
  display: none;
  font-size: 1.6rem;
  background: none;
  border: none;
  color: var(--primary-dark);
  cursor: pointer;
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  outline: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-blue), #0056b3);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 114, 206, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 114, 206, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--primary-dark);
  border: 1.5px solid var(--border-light);
}

.btn-outline:hover {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
  background: var(--accent-ice);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

/* Section Header */
.section-header {
  max-width: 720px;
  margin: 0 auto 3.5rem auto;
}

.section-tag {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: var(--accent-ice);
  color: var(--accent-blue);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
  border: 1px solid rgba(0,114,206,0.15);
}

.section-title {
  font-size: 2.5rem;
  color: var(--primary-dark);
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.section-description {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* Hero Section */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary-dark) 60%, var(--primary-navy) 100%);
  color: var(--text-white);
  padding: 7rem 0 8rem 0;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 70% 30%, rgba(0,180,216,0.15) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-cyan);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.5rem;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-features {
  display: flex;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-light);
}

.hero-feature-item i {
  color: var(--accent-cyan);
  font-size: 1.1rem;
}

.hero-visual {
  position: relative;
}

.hero-card {
  background: rgba(13, 27, 42, 0.7);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-glow);
}

.hero-visual-graphic {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.hero-visual-graphic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-md);
}

/* Brands We Deal In Section */
.brands-section {
  background: var(--bg-white);
  position: relative;
  margin-top: -3rem;
  z-index: 10;
}

.brands-container-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 3rem;
  border: 1px solid var(--border-light);
}

.brands-notice-statement {
  background: var(--accent-ice);
  border-left: 4px solid var(--accent-blue);
  padding: 1rem 1.5rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.95rem;
  color: var(--primary-dark);
  margin-bottom: 2.5rem;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.brand-card {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2.2rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.brand-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-blue);
}

.brand-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
}

.brand-name {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.brand-daikin-text { color: var(--brand-daikin); }
.brand-lg-text { color: var(--brand-lg); }
.brand-hitachi-text { color: var(--brand-hitachi); }

.brand-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.8rem;
  line-height: 1.6;
}

/* Category & Product Cards */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-blue);
}

.product-image-box {
  height: 220px;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

.product-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image-box img {
  transform: scale(1.05);
}

.product-badge-brand {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
}

.product-content {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--accent-blue);
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 0.4rem;
}

.product-title {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: var(--primary-dark);
}

.product-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  flex-grow: 1;
}

.product-features-list {
  margin-bottom: 1.5rem;
}

.product-features-list li {
  font-size: 0.85rem;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.product-features-list li i {
  color: var(--accent-blue);
  font-size: 0.8rem;
}

/* Service Card Styles */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  border: 1px solid var(--border-light);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(180deg, var(--accent-blue), var(--accent-cyan));
  transition: var(--transition);
}

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

.service-card:hover::before {
  height: 100%;
}

.service-icon {
  width: 60px;
  height: 60px;
  background: var(--accent-ice);
  color: var(--accent-blue);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--accent-blue);
  color: #fff;
}

.service-title {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* Filter Tags Component */
.filter-container {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--primary-dark);
  color: #ffffff;
  border-color: var(--primary-dark);
  box-shadow: var(--shadow-sm);
}

/* Project Showcase Card */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2rem;
}

.project-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

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

.project-image-box {
  height: 320px;
  position: relative;
  overflow: hidden;
  background: var(--bg-dark);
}

.project-image-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0b192e;
}

.project-category-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(10, 25, 47, 0.85);
  backdrop-filter: blur(6px);
  color: var(--accent-cyan);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.project-details {
  padding: 1.8rem;
}

.project-title {
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
}

.project-location {
  font-size: 0.85rem;
  color: var(--accent-blue);
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.project-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.sample-tag {
  display: inline-block;
  background: #FFFBEB;
  color: #D97706;
  border: 1px solid #FDE68A;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  margin-top: 0.8rem;
}

/* Industries We Serve Grid */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

.industry-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
}

.industry-card:hover {
  border-color: var(--accent-blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.industry-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.2rem auto;
  background: var(--accent-ice);
  color: var(--accent-blue);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.industry-card h4 {
  font-size: 1.1rem;
  color: var(--primary-dark);
}

/* Contact & Quote Form Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}

.contact-info-card {
  background: var(--primary-dark);
  color: var(--text-white);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-info-title {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact-item {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 1.8rem;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: rgba(0, 180, 216, 0.15);
  color: var(--accent-cyan);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-details h5 {
  color: var(--accent-cyan);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.2rem;
}

.contact-details p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.5;
}

.form-wrapper {
  background: var(--bg-white);
  padding: 3rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.2rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
  background-color: var(--bg-light);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-blue);
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(0, 114, 206, 0.15);
}

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

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 2000;
}

.toast {
  background: var(--primary-dark);
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.95rem;
  animation: slideIn 0.3s ease;
  border-left: 4px solid var(--accent-cyan);
}

.toast.success { border-left-color: #10B981; }
.toast.error { border-left-color: #EF4444; }

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Admin Dashboard Table */
.admin-table-wrapper {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow-x: auto;
  box-shadow: var(--shadow-sm);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.admin-table th {
  background: var(--primary-dark);
  color: var(--text-white);
  padding: 1rem 1.2rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.admin-table td {
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.9rem;
}

.admin-table tr:hover {
  background: var(--bg-light);
}

/* FAQ Accordion */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-header {
  padding: 1.4rem 1.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--primary-dark);
}

.faq-icon {
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-body {
  padding: 0 1.8rem 1.4rem 1.8rem;
  display: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.active .faq-body {
  display: block;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 48px;
  height: 48px;
  background: var(--primary-navy);
  color: #fff;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  border: none;
  box-shadow: var(--shadow-md);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--accent-blue);
  transform: translateY(-4px);
}

/* Footer Section */
.footer {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 5rem 0 2rem 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 340px;
}

.footer-title {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--accent-cyan);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* 
  ===================================================================
  Mobile Application & Responsive Screen Optimization (320px - 992px)
  ===================================================================
*/

@media (max-width: 992px) {
  .hero {
    padding: 5rem 0 6rem 0;
  }
  .hero-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-title {
    font-size: clamp(2.2rem, 5vw, 3rem);
  }
  .brands-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  /* Mobile Drawer Navigation */
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: #ffffff;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 2.5rem 1.5rem;
    gap: 1.5rem;
    transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    overflow-y: auto;
    z-index: 1001;
  }

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

  .nav-menu .nav-link {
    font-size: 1.1rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-light);
    width: 100%;
  }

  .nav-menu .btn {
    width: 100%;
    margin-top: 1rem;
    padding: 1rem;
    font-size: 1rem;
  }

  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--accent-ice);
    color: var(--primary-dark);
  }
}

@media (max-width: 768px) {
  /* Prevent iOS input auto-zoom by enforcing 16px base font-size */
  .form-control, input, select, textarea {
    font-size: 16px !important;
  }

  .top-bar .container {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 0.5rem;
  }

  .top-info {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .brands-container-box {
    padding: 2rem 1.25rem;
    border-radius: var(--radius-md);
  }

  .brands-notice-statement {
    font-size: 0.88rem;
    padding: 0.85rem 1rem;
  }

  .contact-info-card, .form-wrapper {
    padding: 2rem 1.25rem;
    border-radius: var(--radius-md);
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 1rem;
  }

  .section-padding {
    padding: 3.5rem 0;
  }

  .navbar .container {
    height: 70px;
  }

  .nav-menu {
    top: 70px;
    height: calc(100vh - 70px);
  }

  .logo-title {
    font-size: 1.15rem;
  }

  .logo-subtitle {
    font-size: 0.65rem;
  }

  .hero {
    padding: 3.5rem 0 4rem 0;
  }

  .hero-badge {
    font-size: 0.78rem;
    padding: 0.3rem 0.85rem;
  }

  .hero-title {
    font-size: clamp(1.75rem, 7.5vw, 2.3rem);
    line-height: 1.2;
    margin-bottom: 1rem;
  }

  .hero-subtitle {
    font-size: 0.98rem;
    margin-bottom: 1.8rem;
  }

  .hero-actions {
    flex-direction: column;
    gap: 0.85rem;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    padding: 0.9rem 1.2rem;
  }

  .hero-features {
    flex-direction: column;
    gap: 0.8rem;
    align-items: flex-start;
  }

  .hero-card {
    padding: 0.85rem;
    border-radius: var(--radius-md);
  }

  .brand-card {
    padding: 1.5rem 1.1rem;
  }

  .brand-name {
    font-size: 1.5rem;
  }

  .brand-desc {
    font-size: 0.88rem;
    margin-bottom: 1.2rem;
  }

  .brand-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

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

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

  .footer-bottom {
    flex-direction: column;
    gap: 0.8rem;
    text-align: center;
  }

  .back-to-top {
    bottom: 1.25rem;
    left: 1.25rem;
    width: 42px;
    height: 42px;
  }
}

/* Extra Small Devices (320px - 375px Phones) */
@media (max-width: 375px) {
  .logo-icon {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }

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

  .btn {
    font-size: 0.88rem;
  }
}

/* Responsive Grid & Mobile Optimization */
.about-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: start;
  gap: 3rem;
}

.about-sticky-card {
  position: sticky;
  top: 100px;
}

@media (max-width: 992px) {
  .about-hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .about-sticky-card {
    position: static;
  }
}

@media (max-width: 576px) {
  .logo-wrapper {
    gap: 0.5rem;
    max-width: 72vw;
  }

  .logo-title {
    font-size: clamp(0.8rem, 3.6vw, 1rem);
    line-height: 1.25;
  }

  .founder-message-card {
    padding: 1.25rem 1rem !important;
  }

  .founder-message-card p {
    font-size: 0.95rem !important;
    line-height: 1.65 !important;
  }

  .projects-grid {
    grid-template-columns: 1fr !important;
  }

  .project-image-box {
    height: 240px !important;
  }

  .about-sticky-card img {
    max-height: 480px !important;
  }

  .filter-container {
    gap: 0.5rem;
    margin-bottom: 2rem;
  }

  .filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.82rem;
  }
}

/* Mobile Application Experience Enhancements */
@media (max-width: 480px) {
  * {
    -webkit-tap-highlight-color: transparent;
  }

  .project-card {
    border-radius: var(--radius-md);
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
  }

  .project-image-box {
    height: 220px !important;
  }

  .project-title {
    font-size: 1.15rem !important;
  }

  #lightboxModal {
    padding: 0.8rem !important;
  }

  #lightboxModal button {
    top: 0.75rem !important;
    right: 0.75rem !important;
    width: 44px !important;
    height: 44px !important;
  }

  #lightboxImg {
    max-height: 75vh !important;
  }
}

