/* ==========================================================================
   YOURS SERVICES - CORE DESIGN SYSTEM & PRODUCTION STYLES
   Brand Reference: Official "Yours Services" Logo (Navy & Royal Blue)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Logo Derived Brand Palette */
  --primary: #0a2540;             /* Deep Corporate Navy from "YS" Monogram */
  --primary-hover: #06192c;
  --primary-light: #f0f6fc;
  --primary-subtle: #e2eeff;
  
  --brand-blue: #0066cc;          /* Vibrant Blue from Growth Arrow & Bars */
  --brand-blue-hover: #0052a3;
  --brand-blue-light: #edf5fd;
  
  --secondary: #0a2540;
  --secondary-light: #163659;
  
  --accent-gold: #c89b5e;
  --accent-gold-hover: #b5884b;

  --whatsapp: #25D366;
  --whatsapp-hover: #20bd5a;
  --whatsapp-dark: #075E54;

  /* Neutrals */
  --bg-page: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-muted: #f1f5f9;
  
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #94a3b8;
  --text-inverse: #ffffff;

  --border-color: #e2e8f0;
  --border-light: #edf2f7;

  /* Elevation */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(10, 37, 64, 0.07), 0 2px 4px -2px rgba(10, 37, 64, 0.05);
  --shadow-lg: 0 10px 25px -3px rgba(10, 37, 64, 0.09), 0 4px 6px -4px rgba(10, 37, 64, 0.04);
  --shadow-xl: 0 20px 35px -5px rgba(10, 37, 64, 0.13);

  /* Layout */
  --header-height: 76px;
  --sidebar-width: 260px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Typography */
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

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

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* ==========================================================================
   HEADER & BRAND LOGO
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  box-shadow: 0 2px 12px rgba(10, 37, 64, 0.06);
  z-index: 1000;
  border-bottom: 1px solid var(--border-light);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  color: var(--primary);
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.menu-btn:hover {
  background: var(--brand-blue-light);
}

/* Official Brand Logo Presentation */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-img {
  height: 52px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  transition: transform var(--transition-fast);
}

.logo:hover .brand-logo-img {
  transform: scale(1.03);
}

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

.logo-text .brand-name {
  font-size: 19px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  letter-spacing: -0.3px;
  text-transform: uppercase;
}

.logo-text .brand-tagline {
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--brand-blue);
  letter-spacing: 1.2px;
  margin-top: 2px;
}

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

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-normal);
  white-space: nowrap;
  text-decoration: none;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
  border-radius: var(--radius-md);
}

.btn-primary {
  background: var(--brand-blue);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 102, 204, 0.28);
}

.btn-primary:hover {
  background: var(--brand-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 102, 204, 0.38);
  color: #fff;
}

.btn-navy {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(10, 37, 64, 0.25);
}

.btn-navy:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  color: #fff;
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.28);
}

.btn-whatsapp:hover {
  background: var(--whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
  color: #ffffff;
}

.btn-outline {
  background: transparent;
  border-color: var(--border-color);
  color: var(--text-main);
}

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

.btn-gold {
  background: var(--accent-gold);
  color: #fff;
  box-shadow: 0 4px 14px rgba(200, 155, 94, 0.3);
}

.btn-gold:hover {
  background: var(--accent-gold-hover);
  transform: translateY(-2px);
  color: #fff;
}

/* ==========================================================================
   MAIN LAYOUT & SIDEBAR
   ========================================================================== */
.main-container {
  display: flex;
  margin-top: var(--header-height);
  min-height: calc(100vh - var(--header-height));
  position: relative;
}

/* Overlay for Mobile Sidebar */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 37, 64, 0.5);
  backdrop-filter: blur(3px);
  z-index: 998;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.sidebar-overlay.active {
  display: block;
  opacity: 1;
}

/* Sidebar Navigation */
.sidebar {
  width: var(--sidebar-width);
  background: var(--bg-surface);
  border-right: 1px solid var(--border-color);
  padding: 24px 16px;
  position: sticky;
  top: var(--header-height);
  height: calc(100vh - var(--header-height));
  overflow-y: auto;
  flex-shrink: 0;
  transition: transform var(--transition-normal);
  z-index: 999;
}

.sidebar-heading {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-light);
  letter-spacing: 1px;
  padding: 8px 14px 4px;
  margin-top: 14px;
}

.sidebar-heading:first-child {
  margin-top: 0;
}

.sidebar ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sidebar ul li a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-size: 15px;
  font-weight: 600;
  transition: var(--transition-fast);
}

.sidebar ul li a i {
  font-size: 18px;
  width: 22px;
  text-align: center;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.sidebar ul li a:hover {
  background: var(--brand-blue-light);
  color: var(--brand-blue);
}

.sidebar ul li a:hover i {
  color: var(--brand-blue);
}

.sidebar ul li a.active {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(10, 37, 64, 0.25);
}

.sidebar ul li a.active i {
  color: #ffffff;
}

/* Sidebar WhatsApp Badge */
.sidebar-cta-card {
  margin-top: 24px;
  padding: 18px;
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-md);
  text-align: center;
}

.sidebar-cta-card h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--whatsapp-dark);
  margin-bottom: 6px;
}

.sidebar-cta-card p {
  font-size: 12px;
  color: #166534;
  margin-bottom: 12px;
  line-height: 1.4;
}

/* Page Content Container */
.content {
  flex: 1;
  min-width: 0;
  padding: 32px;
  background-color: var(--bg-page);
}

/* ==========================================================================
   PAGE SECTION UTILITIES
   ========================================================================== */
.section {
  margin-bottom: 48px;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 36px;
}

.section-tag {
  display: inline-block;
  padding: 5px 14px;
  background: var(--brand-blue-light);
  color: var(--brand-blue);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.25;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1050;
  display: flex;
  align-items: center;
  gap: 12px;
}

.whatsapp-float-btn {
  width: 60px;
  height: 60px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 32px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  cursor: pointer;
  transition: var(--transition-normal);
  position: relative;
}

.whatsapp-float-btn:hover {
  background: var(--whatsapp-hover);
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.55);
}

/* Pulse animation ring */
.whatsapp-float-btn::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--whatsapp);
  opacity: 0.7;
  animation: pulse-ring 2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 0; }
  100% { transform: scale(1.25); opacity: 0; }
}

.whatsapp-float-tooltip {
  background: var(--primary);
  color: #fff;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition-normal);
}

.floating-whatsapp:hover .whatsapp-float-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #061527;
  color: #94a3b8;
  margin-top: auto;
  border-top: 1px solid #162a42;
  position: relative;
  z-index: 10;
}

.footer-top {
  max-width: 1300px;
  margin: 0 auto;
  padding: 60px 30px 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 40px;
}

.footer-brand .brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.footer-brand-logo-img {
  height: 54px;
  width: auto;
  background: #ffffff;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  object-fit: contain;
}

.footer-brand .brand-title {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
}

.footer-brand .brand-subtitle {
  display: block;
  font-size: 11px;
  color: var(--brand-blue);
  font-weight: 700;
  letter-spacing: 1px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #94a3b8;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  background: #11263f;
  color: #cbd5e1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: var(--transition-fast);
}

.footer-socials a:hover {
  background: var(--brand-blue);
  color: #fff;
  transform: translateY(-3px);
}

.footer-column h4 {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  background: var(--brand-blue);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 14px;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 14px;
}

.footer-contact-item i {
  color: var(--brand-blue);
  font-size: 16px;
  margin-top: 4px;
  flex-shrink: 0;
}

.footer-contact-item a {
  color: #cbd5e1;
  transition: var(--transition-fast);
}

.footer-contact-item a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid #162a42;
  padding: 20px 30px;
  text-align: center;
  font-size: 13px;
  color: #64748b;
}

/* ==========================================================================
   RESPONSIVE DESIGN (GLOBAL)
   ========================================================================== */
@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 991px) {
  .menu-btn {
    display: block;
  }

  .sidebar {
    position: fixed;
    top: var(--header-height);
    left: 0;
    transform: translateX(-100%);
    box-shadow: var(--shadow-xl);
    z-index: 1000;
  }

  .sidebar.active {
    transform: translateX(0);
  }

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

@media (max-width: 768px) {
  :root {
    --header-height: 68px;
  }

  .header {
    padding: 0 16px;
  }

  .brand-logo-img {
    height: 44px;
  }

  .logo-text .brand-tagline {
    display: none;
  }

  .header-actions .btn-text-desktop {
    display: none;
  }

  .section-title {
    font-size: 26px;
  }

  .floating-whatsapp {
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-float-btn {
    width: 52px;
    height: 52px;
    font-size: 28px;
  }

  .whatsapp-float-tooltip {
    display: none;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 40px 20px 24px;
  }
}

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

  .logo-text .brand-name {
    font-size: 17px;
  }

  .content {
    padding: 18px 12px;
  }

  .section-title {
    font-size: 22px;
  }
}
