/* ============================================================
   FACADETECH PVT LTD — Main Stylesheet
   Design System: Deep Navy + Vibrant Orange + Steel Grey
   ============================================================ */

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

/* ─── CSS Variables ─────────────────────────────────────── */
:root {
  --clr-primary:    #0A1628;
  --clr-secondary:  #1A2E4A;
  --clr-accent:     #FF6B00;
  --clr-accent-lt:  #FF8C38;
  --clr-gold:       #F5A623;
  --clr-steel:      #4A6FA5;
  --clr-white:      #FFFFFF;
  --clr-offwhite:   #F8F9FC;
  --clr-muted:      #8A9ABB;
  --clr-border:     #E2E8F0;
  --clr-dark-card:  #0F2040;

  --ff-head: 'Montserrat', sans-serif;
  --ff-body: 'Inter', sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 2px 8px rgba(10,22,40,0.08);
  --shadow-md: 0 8px 32px rgba(10,22,40,0.12);
  --shadow-lg: 0 20px 60px rgba(10,22,40,0.18);
  --shadow-accent: 0 8px 32px rgba(255,107,0,0.25);

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

  --nav-height: 80px;
}

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

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

body {
  font-family: var(--ff-body);
  background: var(--clr-offwhite);
  color: var(--clr-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }

/* ─── Utility ───────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 100px 0; }
.section-sm { padding: 60px 0; }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,107,0,0.1);
  color: var(--clr-accent);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px; border-radius: 50px;
  border: 1px solid rgba(255,107,0,0.25);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--ff-head);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--clr-primary);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-title span { color: var(--clr-accent); }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--clr-muted);
  max-width: 560px;
  margin-bottom: 56px;
}

.text-center { text-align: center; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }

/* ─── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--ff-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.15);
  opacity: 0;
  transition: var(--transition);
}
.btn:hover::after { opacity: 1; }

.btn-primary {
  background: linear-gradient(135deg, var(--clr-accent), var(--clr-accent-lt));
  color: var(--clr-white);
  box-shadow: var(--shadow-accent);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(255,107,0,0.35); }

.btn-outline {
  background: transparent;
  color: var(--clr-white);
  border: 2px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(8px);
}
.btn-outline:hover { border-color: var(--clr-white); background: rgba(255,255,255,0.1); }

.btn-dark {
  background: var(--clr-primary);
  color: var(--clr-white);
  box-shadow: var(--shadow-md);
}
.btn-dark:hover { background: var(--clr-secondary); transform: translateY(-2px); }

/* ─── Navigation ────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-height);
  display: flex; align-items: center;
  transition: var(--transition);
  padding: 0 24px;
}

.navbar.scrolled {
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow-md);
}

.navbar.transparent {
  background: transparent;
}

.nav-inner {
  max-width: 1200px; width: 100%;
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}

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

.nav-logo-icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--clr-accent), var(--clr-gold));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  font-weight: 900;
  color: white;
  font-family: var(--ff-head);
  box-shadow: var(--shadow-accent);
}

.nav-logo-text { display: flex; flex-direction: column; line-height: 1; }
.nav-logo-name {
  font-family: var(--ff-head);
  font-size: 1.1rem; font-weight: 800;
  color: var(--clr-white);
  letter-spacing: 0.03em;
}
.nav-logo-tagline {
  font-size: 0.62rem; font-weight: 500;
  color: var(--clr-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.nav-links a {
  font-size: 0.88rem; font-weight: 500;
  color: rgba(255,255,255,0.8);
  padding: 8px 14px;
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--clr-white);
  background: rgba(255,255,255,0.08);
}

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

.nav-cta {
  background: linear-gradient(135deg, var(--clr-accent), var(--clr-accent-lt)) !important;
  color: white !important;
  padding: 10px 20px !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  box-shadow: var(--shadow-accent) !important;
}
.nav-cta:hover { transform: translateY(-1px); }

.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 8px;
  border: none; background: none;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--clr-white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ─── Page Hero (shared) ────────────────────────────────── */
.page-hero {
  min-height: 380px;
  background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-secondary) 50%, #1E3A5F 100%);
  display: flex; align-items: flex-end;
  position: relative;
  overflow: hidden;
  padding: 120px 0 60px;
}

.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 {
  font-family: var(--ff-head);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--clr-white);
  margin-bottom: 12px;
}
.page-hero p {
  font-size: 1.1rem; color: rgba(255,255,255,0.7);
}
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.85rem; color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--clr-accent); }
.breadcrumb span { color: rgba(255,255,255,0.3); }

/* ─── Cards ─────────────────────────────────────────────── */
.card {
  background: var(--clr-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--clr-border);
  overflow: hidden;
  transition: var(--transition);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

/* ─── Footer ────────────────────────────────────────────── */
.footer {
  background: var(--clr-primary);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
}

.footer-brand { }
.footer-logo {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 20px;
}
.footer-logo-icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--clr-accent), var(--clr-gold));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 900; color: white;
  font-family: var(--ff-head);
}
.footer-logo-name {
  font-family: var(--ff-head); font-size: 1.1rem; font-weight: 800;
  color: white;
}

.footer-desc {
  font-size: 0.9rem; line-height: 1.8; margin-bottom: 24px;
}

.footer-socials { display: flex; gap: 12px; }
.footer-socials a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; color: rgba(255,255,255,0.6);
  transition: var(--transition);
}
.footer-socials a:hover {
  background: var(--clr-accent);
  border-color: var(--clr-accent);
  color: white;
}

.footer-col h4 {
  font-family: var(--ff-head); font-size: 0.85rem; font-weight: 700;
  color: white; letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.88rem; color: rgba(255,255,255,0.6);
  transition: var(--transition);
  display: flex; align-items: center; gap: 6px;
}
.footer-links a::before {
  content: '›'; color: var(--clr-accent); font-size: 1rem;
}
.footer-links a:hover { color: white; padding-left: 4px; }

.footer-contact-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.footer-contact-list li { display: flex; gap: 10px; font-size: 0.88rem; }
.footer-contact-list .icon { color: var(--clr-accent); margin-top: 2px; flex-shrink: 0; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.83rem; color: rgba(255,255,255,0.4);
}
.footer-bottom span { color: var(--clr-accent); }

/* ─── Floating Buttons ──────────────────────────────────── */
.float-btns {
  position: fixed; bottom: 32px; right: 32px; z-index: 900;
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
}

.btn-whatsapp {
  width: 54px; height: 54px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: white;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  animation: pulse-green 2s infinite;
}
.btn-whatsapp:hover { transform: scale(1.1); }

.btn-top {
  width: 44px; height: 44px;
  background: var(--clr-accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: white;
  cursor: pointer;
  box-shadow: var(--shadow-accent);
  transition: var(--transition);
  opacity: 0; pointer-events: none;
  border: none;
}
.btn-top.visible { opacity: 1; pointer-events: all; }
.btn-top:hover { transform: translateY(-3px); }

@keyframes pulse-green {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
  50%       { box-shadow: 0 4px 40px rgba(37, 211, 102, 0.7); }
}

/* ─── Animations ────────────────────────────────────────── */
.fade-up {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

.fade-left {
  opacity: 0; transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-left.visible { opacity: 1; transform: translateX(0); }

.fade-right {
  opacity: 0; transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-right.visible { opacity: 1; transform: translateX(0); }

/* ─── Responsive ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  :root { --nav-height: 68px; }
  .section { padding: 72px 0; }

  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; top: var(--nav-height); left: 0; right: 0;
    background: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(20px);
    padding: 24px;
    gap: 4px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  .float-btns { bottom: 20px; right: 20px; }
}
