/* ===== SJKTech Website Styles ===== */
/* Branding: Navy / Blue / White - Clean, Modern, Trustworthy */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* ===== CSS Variables ===== */
:root {
  --navy: #0B1D3A;
  --navy-light: #132B50;
  --blue: #1A6FC4;
  --blue-light: #2B8AE6;
  --blue-pale: #E8F2FC;
  --blue-glow: rgba(26, 111, 196, 0.15);
  --white: #FFFFFF;
  --off-white: #F7F9FC;
  --grey-50: #F8FAFC;
  --grey-100: #F1F5F9;
  --grey-200: #E2E8F0;
  --grey-300: #CBD5E1;
  --grey-400: #94A3B8;
  --grey-500: #64748B;
  --grey-600: #475569;
  --grey-700: #334155;
  --grey-800: #1E293B;
  --green: #10B981;
  --green-light: #D1FAE5;
  --red: #EF4444;
  --red-light: #FEE2E2;
  --orange: #F59E0B;

  --font-display: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  --shadow-sm: 0 1px 2px rgba(11, 29, 58, 0.05);
  --shadow-md: 0 4px 12px rgba(11, 29, 58, 0.08);
  --shadow-lg: 0 8px 30px rgba(11, 29, 58, 0.12);
  --shadow-xl: 0 20px 50px rgba(11, 29, 58, 0.15);
  --shadow-glow: 0 0 30px rgba(26, 111, 196, 0.2);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  --max-width: 1200px;
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--grey-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--blue);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--blue-light); }

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

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

/* ===== Header & Navigation ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(11, 29, 58, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  z-index: 1000;
  transition: box-shadow var(--transition);
}

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

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.logo-img {
  height: 42px;
  width: auto;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--white);
  letter-spacing: -0.02em;
}

.logo-text span {
  color: var(--blue);
}

/* Main nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.925rem;
  color: rgba(255,255,255,0.7);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  text-decoration: none;
  cursor: pointer;
}

.nav-link:hover, .nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

/* Services dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-dropdown-trigger svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition);
}

.nav-dropdown:hover .nav-dropdown-trigger svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy-light);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  min-width: 260px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(8px);
  transition: all var(--transition);
  z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  text-decoration: none;
}

.nav-dropdown-menu a:hover {
  background: rgba(255,255,255,0.1);
  color: var(--white);
}

/* CTA button in nav */
.nav-cta {
  background: var(--white);
  color: var(--navy) !important;
  padding: 0.6rem 1.25rem !important;
  border-radius: var(--radius-md) !important;
  font-weight: 600 !important;
  margin-left: 0.5rem;
}

.nav-cta:hover {
  background: var(--grey-200) !important;
  color: var(--navy) !important;
}

/* Mobile menu */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--white);
}

.mobile-toggle svg {
  width: 28px;
  height: 28px;
}

/* ===== Hero Section ===== */
.hero {
  padding: calc(var(--header-height) + 4rem) 0 5rem;
  background: linear-gradient(165deg, var(--navy) 0%, var(--navy-light) 50%, var(--blue) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 70%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(26, 111, 196, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--white) 0%, transparent 100%);
  pointer-events: none;
}

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

.hero h1 {
  color: var(--white);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.hero p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.125rem;
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(4px);
}

.hero-badge svg {
  width: 16px;
  height: 16px;
  color: var(--green);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Sub-page hero (smaller) */
.hero-sub {
  padding: calc(var(--header-height) + 3rem) 0 3rem;
}

.hero-sub h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: 1rem;
}

.hero-sub p {
  font-size: 1.05rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.75rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(26, 111, 196, 0.3);
}

.btn-primary:hover {
  background: var(--blue-light);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(26, 111, 196, 0.4);
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  color: var(--white);
}

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

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

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

.btn-white:hover {
  background: var(--grey-100);
  color: var(--navy);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

/* ===== Sections ===== */
.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--off-white);
}

.section-dark {
  background: var(--navy);
  color: var(--white);
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-dark p {
  color: rgba(255, 255, 255, 0.8);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-header p {
  color: var(--grey-500);
  font-size: 1.05rem;
  margin-top: 0.75rem;
}

.section-label {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
  margin-bottom: 0.75rem;
}

.section-dark .section-label {
  color: var(--blue-light);
}

/* ===== Service Cards ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
  display: block;
  color: inherit;
}

.service-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--blue);
  transform: translateY(-4px);
  color: inherit;
}

.service-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--blue-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: all var(--transition);
}

.service-card:hover .service-card-icon {
  background: var(--blue);
}

.service-card-icon svg {
  width: 24px;
  height: 24px;
  color: var(--blue);
  transition: color var(--transition);
}

.service-card:hover .service-card-icon svg {
  color: var(--white);
}

.service-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.925rem;
  color: var(--grey-500);
  line-height: 1.5;
}

/* ===== Why Choose Us ===== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.why-card {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.why-card-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue-pale);
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-card-icon svg {
  width: 20px;
  height: 20px;
  color: var(--blue);
}

.why-card h4 {
  margin-bottom: 0.35rem;
}

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

/* ===== Pricing ===== */
.pricing-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.pricing-tab {
  padding: 0.6rem 1.5rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.925rem;
  border: 1px solid var(--grey-200);
  border-radius: 50px;
  background: var(--white);
  color: var(--grey-600);
  cursor: pointer;
  transition: all var(--transition);
}

.pricing-tab:hover {
  border-color: var(--blue);
  color: var(--blue);
}

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

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  position: relative;
  transition: all var(--transition);
}

.pricing-card:hover {
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
  border-color: var(--blue);
  box-shadow: var(--shadow-glow);
}

.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 1rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.pricing-card .price {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.pricing-card .price-currency {
  font-size: 1.25rem;
  vertical-align: super;
  font-weight: 600;
}

.pricing-card .price-period {
  font-size: 0.85rem;
  color: var(--grey-400);
  font-weight: 400;
  margin-bottom: 1rem;
}

.pricing-card .plan-description {
  font-size: 0.9rem;
  color: var(--grey-500);
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0;
  font-size: 0.9rem;
  color: var(--grey-600);
}

.pricing-features li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.pricing-features li.included svg {
  color: var(--green);
}

.pricing-features li.excluded {
  color: var(--grey-400);
  text-decoration: line-through;
}

.pricing-features li.excluded svg {
  color: var(--grey-300);
}

.pricing-card .btn {
  width: 100%;
}

/* ===== Page Content ===== */
.page-content {
  padding: 4rem 0;
}

.page-content-inner {
  max-width: 800px;
  margin: 0 auto;
}

.page-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.page-service-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: all var(--transition);
}

.page-service-card:hover {
  border-color: var(--blue-light);
  box-shadow: var(--shadow-md);
}

.page-service-card .service-card-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 1rem;
}

.page-service-card .service-card-icon svg {
  width: 20px;
  height: 20px;
}

.page-service-card h4 {
  margin-bottom: 0.4rem;
}

.page-service-card p {
  font-size: 0.875rem;
  color: var(--grey-500);
}

/* ===== Contact Section / Page ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--blue-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-icon svg {
  width: 20px;
  height: 20px;
  color: var(--blue);
}

.contact-item h4 {
  margin-bottom: 0.2rem;
}

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

.contact-item a {
  color: var(--blue);
  font-weight: 500;
}

/* ===== Forms ===== */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--grey-700);
  margin-bottom: 0.4rem;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--grey-700);
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-md);
  transition: all var(--transition);
  outline: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-glow);
}

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

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

.form-message {
  padding: 1rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.form-message.success {
  background: var(--green-light);
  color: #065F46;
  border: 1px solid #A7F3D0;
}

.form-message.error {
  background: var(--red-light);
  color: #991B1B;
  border: 1px solid #FECACA;
}

/* ===== CTA Banner ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -30%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(255,255,255,0.05) 0%, transparent 60%);
  pointer-events: none;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-banner p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.cta-banner .btn {
  margin: 0 0.5rem;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 0;
}

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

.footer-brand p {
  font-size: 0.9rem;
  margin-top: 1rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.6);
}

.footer-heading {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: color var(--transition);
  text-decoration: none;
}

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

.footer-contact-item {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  color: var(--blue-light);
  flex-shrink: 0;
}

.footer-contact-item a {
  color: rgba(255,255,255,0.7);
}

.footer-contact-item a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* ===== Loading State ===== */
.page-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
}

.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--grey-200);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ===== Animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Mobile Responsive ===== */
@media (max-width: 960px) {
  .main-nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 2rem;
    gap: 0.5rem;
    overflow-y: auto;
    border-top: 1px solid rgba(255,255,255,0.08);
  }

  .main-nav.open {
    display: flex;
  }

  .mobile-toggle {
    display: block;
  }

  .nav-dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius-md);
    opacity: 1;
    visibility: visible;
    margin-top: 0.5rem;
    display: none;
  }

  .nav-dropdown.open .nav-dropdown-menu {
    display: block;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 1rem;
    text-align: center;
  }

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

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

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: calc(var(--header-height) + 2.5rem) 0 4rem;
  }

  .section {
    padding: 3.5rem 0;
  }

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

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

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

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

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

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

/* ===== Utility ===== */
.text-center { text-align: center; }
.text-blue { color: var(--blue); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* Hide text logo when image is present */
.logo-img + .logo-text { display: none; }


/* Two-column detail grids - stack on mobile */
@media (max-width: 640px) {
  [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

/* ===== Partners Scroll Banner ===== */
.partners-banner {
  padding: 3rem 0;
  background: var(--grey-50);
  border-top: 1px solid var(--grey-200);
  overflow: hidden;
}

.partners-banner .section-label {
  text-align: center;
  display: block;
  margin-bottom: 1.5rem;
}

.partners-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  animation: scrollPartners 25s linear infinite;
  width: max-content;
}

.partners-track:hover {
  animation-play-state: paused;
}

.partners-track img {
  height: 40px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: all 0.3s ease;
}

.partners-track img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

@keyframes scrollPartners {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== Testimonials ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
}

.testimonial-stars {
  display: flex;
  gap: 0.15rem;
  margin-bottom: 1rem;
}

.testimonial-stars svg {
  width: 18px;
  height: 18px;
  color: #F59E0B;
  fill: #F59E0B;
}

.testimonial-text {
  font-size: 0.925rem;
  line-height: 1.7;
  color: var(--grey-600);
  flex: 1;
  margin-bottom: 1.25rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding-top: 1rem;
  border-top: 1px solid var(--grey-100);
}

.testimonial-author strong {
  font-size: 0.9rem;
  color: var(--navy);
}

.testimonial-author span {
  font-size: 0.8rem;
  color: var(--grey-400);
}

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