@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

/* --- Design Tokens & CSS Variables --- */
:root {
  --bg-main: #eef0f3;             /* Light Grey background */
  --bg-card: #ffffff;             /* Pure White card */
  --bg-card-hover: #ffffff;
  --bg-nav: rgba(238, 240, 243, 0.8);
  
  --color-primary: #125288;       /* Corporate blue */
  --color-accent: #125288;        /* Corporate blue */
  --color-accent-rgb: 18, 82, 136;
  --color-yellow: #FBBA00;        /* Accent yellow */
  --color-secondary: #EC008C;     /* CMYK Magenta */
  --color-success: #63D28E;       /* Emerald Green */
  
  --text-main: #334155;           /* Readable body text */
  --text-muted: #64748b;          /* Readable muted text */
  --text-dark: #0f172a;           /* Headings/Titles */
  
  --border-glow: rgba(18, 82, 136, 0.15);
  --border-glow-active: rgba(18, 82, 136, 0.4);
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  --container-width: 1200px;
  --header-height: 75px;
}

/* --- Global Reset & Base Elements --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  position: relative;
  text-align: justify;
}

/* Sub-background blur rings for premium layout */
body::before, body::after {
  content: '';
  position: absolute;
  width: 40vw;
  height: 40vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(18, 82, 136, 0.15) 0%, rgba(238, 240, 243, 0) 70%);
  z-index: -2;
  pointer-events: none;
}

body::before {
  top: 10%;
  right: -10%;
}

body::after {
  bottom: 20%;
  left: -10%;
  background: radial-gradient(circle, rgba(18, 82, 136, 0.08) 0%, rgba(238, 240, 243, 0) 70%);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
  text-align: left;
}

.section-title,
.inner-banner h1,
.card-title {
  text-align: center;
}

.hero-heading,
.footer-heading,
.logo-text {
  text-align: left;
}

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

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

/* --- Layout Containers & Structural Grid --- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4.5rem 0;
  position: relative;
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-yellow);
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.125rem;
}

/* --- Shared Navigation & Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: var(--transition-normal);
  display: flex;
  align-items: center;
  background-color: var(--color-primary);
}

#nav-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.header .container {
  position: relative;
  z-index: 1;
}

.header.scrolled {
  background-color: var(--color-primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
}

.logo img {
  height: 70px;
  width: auto;
  border-radius: 6px;
}

@media (max-width: 575px) {
  .logo img {
    height: 52px;
  }
  .logo {
    font-size: 1.2rem;
  }
}

.footer .logo img,
.footer .footer-favicon {
  height: 68px;
  width: 68px;
  object-fit: contain;
  border-radius: 8px;
  flex-shrink: 0;
}

.footer .logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.footer .logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
  color: #ffffff;
}

.footer .company-name {
  font-size: 1.55rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.8px;
  line-height: 1.1;
  white-space: nowrap;
}

.footer .logo-tagline {
  font-size: 1.15rem;
  font-weight: 500;
  color: #ffffff;
  white-space: nowrap;
  line-height: 1.2;
}

.footer .logo-tagline .amp,
.footer .logo-tagline span {
  color: var(--color-yellow);
}

.logo span {
  color: #ffffff;
}

.logo-tagline {
  font-weight: 400;
  color: rgba(255, 255, 255, 0.65);
}

.logo-icon {
  width: 32px;
  height: 32px;
  background-color: var(--color-yellow);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #ffffff;
  font-weight: 900;
}

/* Desktop Navigation Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  padding: 0.5rem 0.3rem;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-yellow);
  transition: var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Dropdown Menu styling */
.nav-item {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 260px;
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 0.75rem;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  z-index: 100;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item a {
  display: block;
  padding: 0.65rem 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-radius: 8px;
  font-weight: 500;
}

.dropdown-item a:hover {
  background-color: rgba(18, 82, 136, 0.08);
  color: var(--color-primary);
  padding-left: 1.25rem;
}

.dropdown-toggle::after {
  display: none;
}

/* Navigation Call to Action button */
.nav-cta {
  background-color: #ffffff;
  color: #125288;
  padding: 0.6rem 1.25rem;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-cta:hover {
  transform: translateY(-2px);
  color: #125288;
  background-color: rgba(255, 255, 255, 0.9);
}

/* Mobile Nav Toggle Icon */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1100;
}

/* Mobile drawer mode responsive classes */
@media (max-width: 991px) {
  .header .container {
    padding: 0 1.25rem;
  }

  .nav-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    overflow-y: auto;
    background-color: #ffffff;
    border-left: 1px solid rgba(0, 0, 0, 0.08);
    flex-direction: column;
    align-items: flex-start;
    padding: 6rem 1.5rem 2rem 1.5rem;
    gap: 1.25rem;
    transition: var(--transition-normal);
    z-index: 1050;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
  }
  
  .nav-menu.open {
    right: 0;
  }
  
  .nav-item {
    width: 100%;
  }

  .nav-link {
    color: var(--color-primary);
  }

  .nav-link:hover, .nav-link.active {
    color: var(--color-yellow);
  }

  .dropdown-toggle {
    color: var(--color-primary);
  }

  .nav-cta {
    background-color: var(--color-primary);
    color: #ffffff;
  }

  .nav-cta:hover {
    color: #ffffff;
    background-color: var(--color-primary);
  }
  
  .dropdown-menu {
    position: static !important;
    transform: none !important;
    width: 100% !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: none;
    box-shadow: none !important;
    border: none !important;
    background-color: rgba(0, 0, 0, 0.02) !important;
    margin-top: 0.5rem !important;
    padding-left: 0.75rem !important;
  }

  .nav-item:hover .dropdown-menu {
    display: none !important;
  }

  .dropdown-item a {
    padding: 0.5rem 0.75rem !important;
    font-size: 0.85rem !important;
    color: var(--text-muted) !important;
  }
  
  .nav-item.open-mobile .dropdown-menu {
    display: block !important;
  }
  
  .nav-item.open-mobile .dropdown-toggle::after {
    transform: none !important;
  }
}

/* --- Universal Footer Layout --- */
.footer {
  background-color: var(--color-primary);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 5rem 0 2rem 0;
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.6fr 1.0fr 1.0fr 0.9fr 1.3fr;
  gap: 2rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.8);
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  transition: var(--transition-fast);
}

.social-link:hover {
  background-color: var(--color-yellow);
  color: #125288;
  border-color: var(--color-yellow);
  transform: translateY(-3px);
}

.footer-heading {
  font-size: 1.05rem;
  line-height: 1.3;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.5rem;
  color: #ffffff !important;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--color-yellow);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links li {
  white-space: nowrap;
}

.footer-links-inline {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.footer-links-inline li a {
  white-space: nowrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  white-space: nowrap;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--color-yellow);
  padding-left: 0.25rem;
}

.footer-info {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.footer-info li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.footer-info i {
  color: var(--color-yellow);
  margin-top: 0.2rem;
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
}

.footer-bottom {
  padding-top: 2rem;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  text-align: center;
  position: relative;
}

.footer-bottom::before {
  content: '';
  position: absolute;
  top: 0;
  left: calc(-50vw + 50%);
  width: 100vw;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-tagline {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
}

.footer-tagline em {
  font-style: normal;
  color: var(--color-yellow);
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition-fast);
}

.footer-legal-links a:hover {
  color: var(--color-yellow);
}

@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 575px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-legal-links {
    justify-content: center;
  }
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  z-index: 99999;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.5);
  text-decoration: none;
  animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
  animation: none;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
  color: #fff;
}

@keyframes whatsapp-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-float i {
  display: inline-block !important;
  font-size: 32px !important;
  line-height: 1 !important;
}

/* Honeypot anti-spam field: invisible to humans, not cursor-selectable,
   kept tiny and out of the layout so the form design is unchanged.
   Value still serializes via FormData, so bots that auto-fill it get caught. */
input.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  opacity: 0 !important;
  height: 1px !important;
  width: 1px !important;
  min-height: 1px !important;
  min-width: 1px !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  font-size: 1px !important;
  pointer-events: none !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  clip-path: inset(50%) !important;
  clip: rect(0, 0, 0, 0) !important;
  overflow: hidden !important;
  visibility: hidden !important;
}
