/* =========================================================
   MAIN / GLOBAL STYLES
   Reset, base typography, and shared UI components
   (page banners, CTA sections, buttons, loader, back-to-top,
   WhatsApp float button) used across every page.
========================================================= */


/* ---------- Reset & Base ---------- */

:root {
      --card-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
      --card-shadow-hover: 0 8px 20px rgba(44, 90, 160, 0.3);
      --primary: #1a3a52;
      --primary-light: #2c5aa0;
      --accent: #ff9a3c;
      --text-muted: #5b7186;
      --h1-size: 40px;
      --h2-size: 36px;
      --h3-size: 26px;
      /* Shared "content card" design system (reference: Top Management page) */
      --card-bg: linear-gradient(135deg, #eff6f9 0%, #e3eff4 100%);
      --card-border: 1.5px solid #d1d5ff;
      --card-radius: 16px;
      --card-icon-bg: #f8f9fa;
    }

* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

html {
      overflow-x: hidden;
      width: 100%;
    }

body {
      font-family: "Poppins", Tahoma, Geneva, Verdana, sans-serif;
      color: #34495e;
      line-height: 1.6;
      background: #f8f9fa;
      width: 100%;
    }


/* ---------- Page Banner (inner pages) ---------- */

.page-header {
      padding: 60px 20px 40px;
      text-align: center;
      margin-top: 20px;
    }

.page-header h1 {
      font-size: var(--h1-size);
      color: var(--primary);
      margin-bottom: 15px;
      font-weight: 700;
    }

.page-header p {
      font-size: 16px;
      color: #34495e;
      max-width: 600px;
      margin: 0 auto;
      line-height: 1.6;
    }

@keyframes slideUp {
      from {
        transform: translateY(50px);
        opacity: 0;
      }
      to {
        transform: translateY(0);
        opacity: 1;
      }
    }


/* ---------- Section Titles & Generic Section Wrapper ---------- */

.section {
            margin-bottom: 80px;
        }

.section-title,
        .section-title-2 {
            font-size: var(--h2-size);
            color: var(--primary);
            text-align: center;
            font-weight: 700;
            margin-bottom: 10px;
        }


/* ---------- CTA Section ---------- */

.cta-section {
            background: linear-gradient(135deg, #2a5b80 0%, var(--primary-light) 100%);
            color: white;
            padding: 80px 120px;
            text-align: center;
            margin: 80px 120px;
            border-radius: 10px;
        }

.cta-section h2 {
            font-size: 32px;
            margin-bottom: 15px;
        }

.cta-section p {
            font-size: 16px;
            margin-bottom: 30px;
            opacity: 0.95;
        }


/* ---------- Buttons ---------- */

.cta-button {
            display: inline-block;
            background: linear-gradient(135deg, #3a76cf, #1e3f5a);
            color: white;
            border: none;
            padding: 12px 35px;
            text-decoration: none;
            border-radius: 8px;
            font-weight: 600;
            transition: background-color 0.3s ease, transform 0.3s ease;
            cursor: pointer;
            font-size: 16px;
        }

.cta-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(44, 90, 160, 0.3);
        }

.btn {
            padding: 14px 32px;
            font-size: 16px;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-block;
        }

.btn-primary {
            background: #ffa600;
            color: var(--primary);
        }

.btn-primary:hover {
            background: #ff9500;
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(255, 166, 0, 0.3);
        }

.btn-secondary {
            background: transparent;
            color: white;
            border: 2px solid white;
        }

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


/* ---------- Loader ---------- */

#loader {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: #ffffff;
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 99999;
    }

.spinner {
      width: 60px;
      height: 60px;
      border: 6px solid #ddd;
      border-top: 6px solid #f39c12;
      border-radius: 50%;
      animation: spin 1s linear infinite;
    }

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


/* ---------- Back to Top Button ---------- */

#topBtn {
      display: none;
      position: fixed;
      right: 25px;
      bottom: 20px;
      background: #34495e;
      color: #fff;
      width: 55px;
      height: 55px;
      border: none;
      border-radius: 50%;
      cursor: pointer;
      font-size: 24px;
      z-index: 9999;
      box-shadow: 0 5px 15px rgba(0, 0, 0, .3);
      transition: .3s;
    }

#topBtn:hover {
      background: #f39c12;
      transform: translateY(-3px);
    }


/* ---------- WhatsApp Float Button ---------- */

.whatsapp {
      position: fixed;
      right: 25px;
      bottom: 90px;
      z-index: 9999;
    }

.whatsapp img {
      width: 60px;
      height: 60px;
      border-radius: 50%;
      box-shadow: 0 5px 15px rgba(0, 0, 0, .3);
      transition: 0.3s;
    }

.whatsapp img:hover {
      transform: scale(1.1);
      background: #f39c12;
    }

/* ---------- Small reusable utilities ---------- */

.link-plain {
      text-decoration: none;
    }

.mt-16 {
      margin-top: 16px;
    }

.mt-18 {
      margin-top: 18px;
    }

.mb-6 {
      margin-bottom: 6px;
    }

.mb-12 {
      margin-bottom: 12px;
    }