/* ==========================================================================
   THE KHIDKI MAN — Complete Corporate & Architectural Theme
   File: static/css/style.css
   ========================================================================== */

:root {
  --red: #df292f;
  --red-dark: #b81f25;
  --blue: #0284c7;
  --blue-dark: #006097;
  --navy: #062b42;
  --navy-dark: #041d2d;
  --ink: #1e293b;
  --muted: #64748b;
  --pale: #f0f9ff;
  --strip-bg: #edf8fd;
  --strip-border: #d4ebf7;
  --line: #e2e8f0;
  --container: 1200px;
  --radius: 8px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 6px 20px rgba(6, 43, 66, 0.08);
  --shadow-lg: 0 14px 34px rgba(6, 43, 66, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
}

body {
  margin: 0;
  min-width: 320px;
  background: #f8fafc;
  color: var(--ink);
  font: 14px/1.6 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

button, input, select, textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

main {
  min-height: 60vh;
}

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

.section, .dashboard, .footer-main, .nav-wrap, .footer-bottom, .top-strip-inner {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

/* ==========================================================================
   TOP NOTIFICATION STRIP
   ========================================================================== */
.top-strip {
  background: var(--navy-dark);
  color: #e2e8f0;
  font-size: 11.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-strip-inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.top-strip-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-strip a {
  color: #fff;
  font-weight: 600;
}

.top-strip a:hover {
  color: #38bdf8;
}

.strip-divider {
  opacity: 0.35;
}

/* ==========================================================================
   NAVIGATION & BRAND
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: contain;
  background: #ffffff;
}

.brand-copy strong {
  display: block;
  color: var(--red);
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.brand-copy small {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--blue-dark);
  letter-spacing: 0.01em;
  font-style: italic;
  margin-top: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
}

.nav-links > a:not(.nav-cta), .admin-nav-group a {
  padding: 8px 12px;
  color: #334155;
  border-radius: 6px;
}

.nav-links > a.active {
  color: var(--red);
  border-bottom: 2px solid var(--red);
  border-radius: 0;
  background: transparent;
}

.nav-links > a:hover {
  color: var(--red);
}

.nav-cta, .btn, .footer-quote {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--red);
  color: #fff;
  border: 1px solid var(--red);
  border-radius: 6px;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(223, 41, 47, 0.25);
}

.nav-cta:hover, .btn:hover, .footer-quote:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: #fff;
  transform: translateY(-1px);
}

.outline-btn, .link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid #cbd5e1;
  background: #fff;
  border-radius: 6px;
  color: var(--ink);
}

.outline-btn:hover, .link-btn:hover {
  border-color: var(--red);
  color: var(--red);
}

.btn-light {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}

.btn-light:hover {
  background: #f8fafc;
  color: var(--red);
}

.btn-full {
  width: 100%;
  min-height: 44px;
  font-size: 14px;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--navy);
}

.admin-nav-group {
  display: flex;
  align-items: center;
  gap: 4px;
  border-left: 1px solid var(--line);
  padding-left: 8px;
  margin-left: 6px;
}

.nav-logout {
  background: transparent;
  border: 1px solid #cbd5e1;
  padding: 6px 10px;
  font-size: 12px;
  border-radius: 6px;
  font-weight: 600;
  color: #475569;
}

.nav-logout:hover {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #991b1b;
}

/* ==========================================================================
   1. HERO BANNER
   ========================================================================== */
.exact-hero {
  position: relative;
  min-height: 480px;
  background: #f1f5f9 url('../images/hero-banner.jpg') no-repeat center right / cover;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #cbd5e1;
}

.exact-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0.88) 42%,
    rgba(255, 255, 255, 0.25) 75%,
    rgba(255, 255, 255, 0.05) 100%
  );
  z-index: 1;
}

.hero-container {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
  position: relative;
  z-index: 2;
  padding: 70px 0;
}

.hero-text-box {
  max-width: 540px;
}

.hero-text-box h1 {
  color: #0b1c28;
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  text-transform: uppercase;
}

.hero-enquire-btn {
  display: inline-block;
  background: #ffffff;
  color: #1e293b;
  border: 1px solid #94a3b8;
  padding: 9px 24px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 13.5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
}

.hero-enquire-btn:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #ffffff;
  transform: translateY(-2px);
}

/* ==========================================================================
   2. OUR SERVICES (4-ICON STRIP)
   ========================================================================== */
.services-strip-section {
  padding: 44px 20px 48px;
  background: #ffffff;
  text-align: center;
}

.strip-main-heading {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: #0f172a;
  margin: 0 0 32px;
  text-transform: uppercase;
}

.services-strip-grid {
  width: min(100% - 30px, 940px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: transform 0.2s ease;
}

.service-item:hover {
  transform: translateY(-3px);
}

.service-icon-box {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon-box svg {
  width: 44px;
  height: 44px;
  display: block;
}

.service-item span {
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.4;
}

/* ==========================================================================
   3. WHY CHOOSE US STRIP
   ========================================================================== */
.why-choose-strip {
  background: var(--strip-bg);
  border-block: 1px solid var(--strip-border);
  padding: 16px 20px;
}

.why-choose-wrap {
  width: min(100% - 40px, 1050px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.why-title {
  font-size: 16px;
  font-weight: 900;
  color: #08283e;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.why-points-row {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 13.5px;
  font-weight: 600;
  color: #1e293b;
}

.why-points-row i {
  color: var(--blue);
  font-style: normal;
  font-weight: 800;
  margin-right: 5px;
}

/* ==========================================================================
   4. GENERAL SECTIONS, CARDS & PORTFOLIO
   ========================================================================== */
.section {
  padding-block: 60px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-head h2 {
  font-size: clamp(23px, 2.8vw, 32px);
  margin: 0;
  color: var(--navy);
  line-height: 1.25;
}

.page-hero {
  text-align: center;
  padding: 55px 20px 25px;
  max-width: 820px;
  margin: 0 auto;
}

.page-hero h1 {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 900;
  color: var(--navy);
  margin: 10px 0 14px;
  line-height: 1.2;
}

.page-hero p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.7;
}

.card-grid, .review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.service-card, .review-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.service-card:hover, .review-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.service-icon {
  font-size: 26px;
  color: var(--blue);
  margin-bottom: 12px;
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 17px;
  color: var(--navy);
}

.service-card p {
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 16px;
  flex-grow: 1;
}

.card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: auto;
}

.card-bottom span {
  font-size: 12px;
  font-weight: 600;
  color: #475569;
}

.card-bottom a {
  color: var(--red);
  font-weight: 700;
  font-size: 12.5px;
}

/* SERVICES DEDICATED CATALOG */
.services-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  margin-top: 15px;
  margin-bottom: 30px;
}

.professional-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 28px 24px 22px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 14px rgba(6, 43, 66, 0.04);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.professional-card:hover {
  transform: translateY(-4px);
  border-color: #94a3b8;
  box-shadow: 0 12px 28px rgba(6, 43, 66, 0.09);
}

.professional-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red) 0%, var(--blue) 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.professional-card:hover::before {
  opacity: 1;
}

.service-icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: #edf8fd;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.service-icon-badge svg {
  width: 32px;
  height: 32px;
  display: block;
}

.professional-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: #0b1c28;
  margin: 0 0 10px;
}

.professional-card p {
  font-size: 13px;
  color: #475569;
  line-height: 1.7;
  margin: 0 0 22px;
  flex-grow: 1;
}

.price-tag {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  background: #f1f5f9;
  padding: 4px 9px;
  border-radius: 4px;
}

.service-inquire-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s ease;
}

.service-inquire-link:hover {
  color: var(--red-dark);
  gap: 8px;
}

/* PROJECTS GALLERY */
.project-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 10px;
  margin-bottom: 30px;
}

.project-showcase-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(6, 43, 66, 0.05);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-showcase-card:hover {
  transform: translateY(-5px);
  border-color: #94a3b8;
  box-shadow: 0 14px 30px rgba(6, 43, 66, 0.12);
}

.project-img-wrapper {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: #f1f5f9;
}

.project-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-showcase-card:hover .project-img-wrapper img {
  transform: scale(1.05);
}

.location-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(6, 43, 66, 0.85);
  backdrop-filter: blur(6px);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.project-body {
  padding: 22px 20px 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-body h3 {
  font-size: 17.5px;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 8px;
  line-height: 1.35;
}

.project-body p {
  font-size: 13px;
  color: #475569;
  line-height: 1.65;
  margin: 0 0 20px;
  flex-grow: 1;
}

.project-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #edf2f7;
  padding-top: 14px;
  margin-top: auto;
}

.project-date {
  font-size: 11.5px;
  font-weight: 600;
  color: #94a3b8;
}

.quote-link {
  font-size: 12.5px;
  font-weight: 750;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s ease, color 0.2s ease;
}

.quote-link:hover {
  color: var(--red-dark);
  gap: 7px;
}

.project-placeholder {
  height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #e2e8f0;
  color: #64748b;
}

.project-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  background: #ffffff;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  padding: 60px 24px;
}

.project-empty-state .empty-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 16px;
  background: #edf8fd;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 26px;
}

.project-empty-state h3 {
  font-size: 20px;
  color: var(--navy);
  margin: 0 0 8px;
}

.project-empty-state p {
  font-size: 13.5px;
  color: var(--muted);
  max-width: 540px;
  margin: 0 auto 22px;
  line-height: 1.6;
}

/* REVIEWS & STARS */
.stars {
  color: #f59e0b;
  margin-bottom: 12px;
  font-size: 15px;
}

.review-card p {
  font-size: 13px;
  color: #334155;
  font-style: italic;
  flex-grow: 1;
  margin: 0 0 16px;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--pale);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-weight: 800;
}

.review-author b {
  display: block;
  font-size: 13px;
  color: var(--navy);
}

.review-author small {
  color: var(--muted);
  font-size: 11px;
}

.review-page-grid {
  margin-bottom: 40px;
}

.review-form-section {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 40px;
  margin-bottom: 60px;
  box-shadow: var(--shadow-sm);
}

.review-form-container {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 40px;
}

.moderation-note {
  margin-top: 20px;
  padding: 12px 14px;
  background: #edf8fd;
  border-left: 3px solid var(--blue);
  border-radius: 4px;
}

.moderation-note strong {
  display: block;
  color: var(--navy);
  font-size: 12px;
}

.moderation-note span {
  display: block;
  color: #334155;
  font-size: 11.5px;
  margin-top: 2px;
}

/* FAQ & BANNER */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-list details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 15px 18px;
}

.faq-list summary {
  font-weight: 700;
  font-size: 13.5px;
  color: var(--navy);
  cursor: pointer;
}

.faq-list p {
  margin: 10px 0 0;
  font-size: 12.5px;
  color: var(--muted);
}

.contact-cta {
  width: min(100% - 40px, var(--container));
  margin: 30px auto 50px;
  padding: 34px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.contact-cta h2 {
  margin: 6px 0;
  font-size: 24px;
  color: var(--navy);
}

.contact-cta p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.cta-buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.simple-contact-banner {
  width: min(100% - 40px, var(--container));
  margin: 50px auto 70px;
  background: linear-gradient(135deg, var(--navy) 0%, #0c3e5d 100%);
  border-radius: 12px;
  padding: 40px 48px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  box-shadow: 0 8px 24px rgba(6, 43, 66, 0.15);
}

.simple-contact-banner h2 {
  font-size: clamp(20px, 2.6vw, 28px);
  margin: 6px 0 10px;
  color: #ffffff;
}

.simple-contact-banner p {
  font-size: 13.5px;
  color: #cbd5e1;
  margin: 0;
  max-width: 600px;
}

.banner-cta-group {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

/* ==========================================================================
   5. CONTACT US: FIXED BOXES & SVG BOUNDARIES (BUG RESOLVED)
   ========================================================================== */
.contact-boxes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 10px;
}

.contact-box-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 30px 28px;
  box-shadow: 0 4px 16px rgba(6, 43, 66, 0.04);
  display: flex;
  flex-direction: column;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.contact-box-card:hover {
  transform: translateY(-4px);
  border-color: #94a3b8;
  box-shadow: 0 12px 28px rgba(6, 43, 66, 0.08);
}

/* STRICT ICON SIZE CONTAINER (STOPS GIANT SVGS) */
.contact-box-icon {
  width: 52px !important;
  height: 52px !important;
  min-width: 52px !important;
  min-height: 52px !important;
  max-width: 52px !important;
  max-height: 52px !important;
  border-radius: 10px;
  background: #edf8fd !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 18px !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
}

.contact-box-icon.green-icon {
  background: #f0fdf4 !important;
}

.contact-box-icon svg {
  width: 26px !important;
  height: 26px !important;
  min-width: 26px !important;
  min-height: 26px !important;
  max-width: 26px !important;
  max-height: 26px !important;
  display: block !important;
  flex-shrink: 0 !important;
}

.contact-box-card h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 8px;
}

.contact-box-card p {
  color: #64748b;
  font-size: 13.5px;
  line-height: 1.6;
  margin: 0 0 22px;
  flex-grow: 1;
}

.box-action-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #edf2f7;
  padding-top: 16px;
  gap: 12px;
}

.box-meta {
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
}

.btn-box {
  background: var(--blue);
  color: #ffffff;
  border-color: var(--blue);
  padding: 7px 16px;
  font-size: 12px;
}

.btn-box:hover {
  background: var(--blue-dark);
}

.btn-box-green {
  background: #16a34a;
  color: #ffffff;
  border-color: #16a34a;
  padding: 7px 16px;
  font-size: 12px;
}

.btn-box-green:hover {
  background: #15803d;
}

.btn-box-light {
  background: #f8fafc;
  color: var(--navy);
  border: 1px solid #cbd5e1;
  padding: 7px 16px;
  font-size: 12px;
}

.btn-box-light:hover {
  background: #edf8fd;
  border-color: var(--blue);
  color: var(--blue);
}

/* ==========================================================================
   6. SOCIAL MEDIA CARDS (FB, INSTAGRAM, LINKEDIN)
   ========================================================================== */
.social-cards-header {
  margin-bottom: 24px;
}

.social-cards-header h2 {
  font-size: clamp(22px, 2.8vw, 30px);
  color: var(--navy);
  margin: 4px 0 8px;
  font-weight: 900;
}

.social-cards-header p {
  color: var(--muted);
  font-size: 13.5px;
  margin: 0;
}

.social-channels-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.social-channel-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.social-channel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(6, 43, 66, 0.09);
}

.channel-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.channel-icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.channel-icon-wrap svg {
  width: 24px;
  height: 24px;
  display: block;
}

.fb-icon {
  background: #1877f2;
}

.insta-icon {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

.linkedin-icon {
  background: #0a66c2;
}

.channel-top h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
}

.channel-top small {
  display: block;
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 600;
}

.social-channel-card p {
  color: #475569;
  font-size: 13px;
  line-height: 1.6;
  margin: 0 0 20px;
  flex-grow: 1;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 750;
  font-size: 13px;
  color: #ffffff;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.social-btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.fb-action {
  background: #1877f2;
}

.insta-action {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.linkedin-action {
  background: #0a66c2;
}

/* ==========================================================================
   7. AUTHENTICATION PAGES (REGISTER & LOGIN)
   ========================================================================== */
.auth-wrap {
  width: min(100% - 40px, 1080px);
  margin: 40px auto 70px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.auth-intro h1 {
  font-size: clamp(30px, 3.8vw, 42px);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.2;
  margin: 10px 0 16px;
}

.auth-intro p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.auth-feature-list {
  display: grid;
  gap: 16px;
  margin-top: 10px;
}

.auth-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #ffffff;
  padding: 14px 18px;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.feat-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #edf8fd;
  color: var(--blue);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.auth-feature-item strong {
  display: block;
  font-size: 13.5px;
  color: var(--navy);
}

.auth-feature-item small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.auth-badge-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
}

.auth-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 34px 30px;
  box-shadow: 0 10px 30px rgba(6, 43, 66, 0.08);
}

.auth-card h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 4px;
}

.auth-sub {
  color: var(--muted);
  font-size: 12.5px;
  margin: 0 0 20px;
}

.auth-bottom {
  font-size: 13px;
  color: #64748b;
  text-align: center;
  margin-top: 20px;
}

.auth-bottom a {
  color: var(--red);
  font-weight: 700;
}

/* ==========================================================================
   8. ABOUT PAGE GRID
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 10px 0 35px;
}

.about-feature {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 30px 24px;
  box-shadow: var(--shadow-sm);
}

.about-feature h2 {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  margin: 12px 0 8px;
}

.about-feature p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
}

/* ==========================================================================
   9. FORMS, FLASH, CONTACT SIDEBAR & FLOATING WA
   ========================================================================== */
.flash-wrap {
  width: min(100% - 40px, var(--container));
  margin: 14px auto 0;
}

.flash {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 13px;
  margin-bottom: 10px;
}

.flash.success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}

.flash.error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.flash.info {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  color: #0369a1;
}

.flash-close {
  border: 0;
  background: transparent;
  font-size: 18px;
  line-height: 1;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 30px;
}

.form-panel, .contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}

.form-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-stack label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 600;
  color: #334155;
}

.form-stack input, .form-stack select, .form-stack textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 5px;
  background: #fff;
  color: var(--ink);
}

.form-stack input:focus, .form-stack select:focus, .form-stack textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
}

.action-phone-btn,
.action-wa-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 12.5px;
}

.action-phone-btn {
  background: #edf8fd;
  color: var(--blue-dark);
  border: 1px solid #bae6fd;
}

.action-wa-btn {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.gst-box {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  text-align: center;
}

.gst-box small {
  display: block;
  font-size: 10px;
  font-weight: 800;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.gst-box strong {
  display: block;
  font-size: 14px;
  color: var(--navy);
  margin-top: 4px;
}

.floating-wa {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #22c55e;
  color: white;
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.4);
  transition: transform 0.2s;
}

.floating-wa:hover {
  transform: scale(1.08);
}

.floating-wa svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

/* ==========================================================================
   10. BOTTOM STRIP & FOOTER
   ========================================================================== */
.bottom-info-strip {
  background: var(--navy);
  color: #ffffff;
  padding: 18px 20px;
  font-size: 12.5px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.bottom-info-grid {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.35fr 1fr;
  gap: 24px;
  align-items: center;
}

.info-block p {
  margin: 3px 0;
  color: #cbd5e1;
  line-height: 1.5;
}

.info-block strong {
  color: #ffffff;
}

.info-block a {
  color: #38bdf8;
  font-weight: 600;
}

.footer {
  background: var(--navy-dark);
  color: #fff;
}

.footer-main {
  padding-block: 46px 36px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1fr;
  gap: 32px;
}

.footer-brand p {
  color: #94a3b8;
  font-size: 12.5px;
  margin: 12px 0 18px;
  max-width: 290px;
}

.footer-main h3 {
  font-size: 13.5px;
  margin: 0 0 14px;
  color: #f8fafc;
}

.footer-column a {
  display: block;
  color: #cbd5e1;
  font-size: 12.5px;
  margin-bottom: 8px;
}

.footer-column a:hover {
  color: #38bdf8;
}

.footer-column p {
  color: #94a3b8;
  font-size: 12px;
  line-height: 1.6;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-block: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11.5px;
  color: #94a3b8;
}

/* ==========================================================================
   11. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 950px) {
  .services-strip-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .why-choose-wrap {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  .bottom-info-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .card-grid, .review-grid, .services-catalog-grid, .project-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-boxes-grid, .social-channels-grid {
    grid-template-columns: 1fr;
  }
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
  .menu-toggle {
    display: flex;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 16px 20px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }
  .nav-links.open {
    display: flex;
  }
  .admin-nav-group {
    border-left: none;
    padding-left: 0;
    margin-left: 0;
    flex-direction: column;
    width: 100%;
  }
  .auth-wrap {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .review-form-container {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .simple-contact-banner {
    flex-direction: column;
    text-align: center;
    padding: 30px 24px;
  }
  .banner-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .banner-cta-group a {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .services-strip-grid {
    grid-template-columns: 1fr;
  }
  .why-points-row {
    flex-direction: column;
    gap: 8px;
  }
  .card-grid, .review-grid, .services-catalog-grid, .project-gallery-grid, .form-two, .footer-main {
    grid-template-columns: 1fr;
  }
  .exact-hero {
    min-height: 360px;
  }
  .project-img-wrapper {
    height: 210px;
  }
  .contact-cta {
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }
  .cta-buttons {
    width: 100%;
  }
  .cta-buttons a {
    width: 100%;
  }
}