/* ============================================================
   ODASS SOFTWARE — GLOBAL STYLESHEET
   Part 1: Foundation
   ============================================================ */

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

/* ── CSS Variables (Brand Colors from Logo) ── */
:root {
  --blue:        #0B2C5F;
  --blue-light:  #1A4B8C;
  --blue-dark:   #071D3E;
  --orange:      #FF7A00;
  --orange-dark: #E06800;
  --green:       #1FA84F;
  --green-dark:  #177A3A;
  --white:       #FFFFFF;
  --light-bg:    #F5F7FA;
  --text-dark:   #1A1A1A;
  --text-muted:  #6B7280;
  --text-light:  #9CA3AF;
  --border:      #E5E7EB;
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:   0 4px 16px rgba(11,44,95,0.10);
  --shadow-lg:   0 8px 32px rgba(11,44,95,0.14);
  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --transition:  0.3s ease;
  --font-head:   'Poppins', sans-serif;
  --font-body:   'Open Sans', sans-serif;
  --header-h:    80px;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); border: none; outline: none; }
input, textarea, select {
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  border: none;
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--blue);
  line-height: 1.25;
}
h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { font-size: 15px; color: var(--text-muted); line-height: 1.75; }

/* ── Layout Utilities ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-fluid { width: 100%; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 50px 0; }
.row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.col-2 { flex: 0 0 calc(50% - 12px); }
.col-3 { flex: 0 0 calc(33.333% - 16px); }
.col-4 { flex: 0 0 calc(25% - 18px); }

/* ── Section Heading ── */
.section-heading { text-align: center; margin-bottom: 50px; }
.section-heading .tag {
  display: inline-block;
  background: rgba(255,122,0,0.10);
  color: var(--orange);
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-head);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 14px;
}
.section-heading h2 { margin-bottom: 14px; }
.section-heading p { max-width: 560px; margin: 0 auto; font-size: 16px; }
.section-heading .underline {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--green));
  border-radius: 4px;
  margin: 14px auto 0;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(255,122,0,0.30);
}
.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,122,0,0.40);
}
.btn-secondary {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-secondary:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-white {
  background: var(--white);
  color: var(--blue);
  font-weight: 700;
}
.btn-white:hover {
  background: var(--orange);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-green {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(31,168,79,0.28);
}
.btn-green:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
}
.btn-sm { padding: 9px 20px; font-size: 13px; }
.btn-lg { padding: 16px 36px; font-size: 15px; }

/* ── Cards ── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.card-body { padding: 28px; }

/* ── Badges ── */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-head);
}
.badge-orange { background: rgba(255,122,0,0.12); color: var(--orange); }
.badge-green  { background: rgba(31,168,79,0.12);  color: var(--green); }
.badge-blue   { background: rgba(11,44,95,0.10);   color: var(--blue); }

/* ── Form Elements ── */
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 6px;
  font-family: var(--font-head);
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 15px;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition);
}
.form-control:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,122,0,0.12);
}
.form-control::placeholder { color: var(--text-light); }
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 120px; }

/* ── Alert / Notice ── */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}
.alert-success { background: rgba(31,168,79,0.10); color: var(--green-dark); border: 1px solid rgba(31,168,79,0.25); }
.alert-error   { background: rgba(220,38,38,0.08); color: #B91C1C; border: 1px solid rgba(220,38,38,0.20); }
.alert-info    { background: rgba(11,44,95,0.07);  color: var(--blue); border: 1px solid rgba(11,44,95,0.15); }

/* ── Breadcrumb ── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb .sep { color: var(--text-light); }
.breadcrumb .current { color: var(--blue); font-weight: 600; }

/* ── Page Banner ── */
.page-banner {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 60%, var(--blue-light) 100%);
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255,122,0,0.08);
}
.page-banner::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -40px;
  width: 250px; height: 250px;
  border-radius: 50%;
  background: rgba(31,168,79,0.08);
}
.page-banner h1 { color: var(--white); margin-bottom: 12px; }
.page-banner p  { color: rgba(255,255,255,0.75); font-size: 17px; }
.page-banner .breadcrumb { justify-content: center; color: rgba(255,255,255,0.65); }
.page-banner .breadcrumb a:hover { color: var(--orange); }
.page-banner .breadcrumb .current { color: var(--orange); }

/* ── Dividers ── */
.divider { width: 100%; height: 1px; background: var(--border); margin: 40px 0; }
.divider-colored {
  width: 80px; height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--green));
  border-radius: 4px;
  margin: 12px 0 20px;
}

/* ── Utility Classes ── */
.text-center  { text-align: center; }
.text-right   { text-align: right; }
.text-orange  { color: var(--orange) !important; }
.text-green   { color: var(--green) !important; }
.text-blue    { color: var(--blue) !important; }
.text-muted   { color: var(--text-muted) !important; }
.text-white   { color: var(--white) !important; }
.bg-blue      { background: var(--blue); }
.bg-orange    { background: var(--orange); }
.bg-green     { background: var(--green); }
.bg-light     { background: var(--light-bg); }
.fw-600       { font-weight: 600; }
.fw-700       { font-weight: 700; }
.mt-10        { margin-top: 10px; }
.mt-20        { margin-top: 20px; }
.mt-30        { margin-top: 30px; }
.mb-10        { margin-bottom: 10px; }
.mb-20        { margin-bottom: 20px; }
.mb-30        { margin-bottom: 30px; }
.d-flex       { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-10       { gap: 10px; }
.gap-20       { gap: 20px; }
.w-100        { width: 100%; }
.hidden       { display: none !important; }

/* ── Loader / Spinner ── */
.spinner {
  width: 22px; height: 22px;
  border: 3px solid rgba(255,255,255,0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── WhatsApp Float Button ── */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.40);
  z-index: 9999;
  transition: all var(--transition);
}
.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 24px rgba(37,211,102,0.50);
}
.whatsapp-float svg { width: 30px; height: 30px; fill: white; }

/* ── Social Icons (right side fixed) ── */
.social-sidebar {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.social-sidebar a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  font-size: 16px;
  transition: all var(--transition);
}
.social-sidebar a:first-child { border-radius: 8px 0 0 0; }
.social-sidebar a:last-child  { border-radius: 0 0 0 8px; }
.social-sidebar .s-fb   { background: #1877F2; }
.social-sidebar .s-ig   { background: #E1306C; }
.social-sidebar .s-li   { background: #0A66C2; }
.social-sidebar .s-tw   { background: #1DA1F2; }
.social-sidebar a:hover { width: 52px; opacity: 0.9; }

/* ── Scroll to Top ── */
#scrollTop {
  position: fixed;
  bottom: 95px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
  box-shadow: var(--shadow-md);
}
#scrollTop.show { opacity: 1; pointer-events: all; }
#scrollTop:hover { background: var(--orange); transform: translateY(-3px); }

/* ── AOS Fade Animations (lightweight) ── */
[data-aos] { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; }
[data-aos].aos-animate { opacity: 1; transform: none; }
[data-aos="fade-left"]  { transform: translateX(-20px); }
[data-aos="fade-right"] { transform: translateX(20px); }
[data-aos="fade-left"].aos-animate, [data-aos="fade-right"].aos-animate { transform: none; }

/* ── Responsive ── */
@media (max-width: 992px) {
  .col-3 { flex: 0 0 calc(50% - 12px); }
  .col-4 { flex: 0 0 calc(50% - 12px); }
  .section { padding: 60px 0; }
}
@media (max-width: 768px) {
  .col-2, .col-3, .col-4 { flex: 0 0 100%; }
  .section { padding: 50px 0; }
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  .social-sidebar { display: none; }
}
