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

:root {
  --primary-color: #120a4b; /* Deep Navy/Purple */
  --accent-color: #cf7a16; /* Rich Orange-Gold */
  --primary-hover: #0c0636;
  --accent-hover: #b36811;
  --bg-color: #ffffff;
  --section-bg: #f9f9fb;
  --text-main: #4a4a4a;
  --text-muted: #828282;
  --border-color: #ebebeb;
  --success-color: #10b981;
  --warning-color: #cf7a16;
  --transition: all 0.4s ease;
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
  background-color: var(--bg-color);
  font-size: 16px;
}

body {
  line-height: 1.8;
  overflow-x: hidden;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 500; /* Bolder headings to match image */
  line-height: 1.2;
  color: var(--primary-color);
  letter-spacing: -0.02em;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.highlight {
  color: var(--accent-color);
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.highlight::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 8px;
  background-color: var(--accent-color);
  bottom: 5px;
  left: 0;
  opacity: 0.15;
  z-index: -1;
}

p {
  color: var(--text-main);
}

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

/* Utilities */
.container {
  width: 100%;
  max-width: 1100px; /* Tighter container for cleaner reading length */
  margin: 0 auto;
  padding: 0 2rem;
}

.text-center {
  text-align: center;
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  text-align: center;
  font-weight: 400;
}

.section-subtitle {
  font-size: 1.125rem;
  text-align: center;
  max-width: 600px;
  margin: 0 auto 5rem auto;
  font-weight: 300;
  color: var(--text-muted);
}

.section-padding {
  padding: 10rem 0; /* Massive whitespace for a clean feel */
}

.bg-light {
  background-color: var(--section-bg);
}

/* Header / Top Bar */
.top-bar {
  background-color: var(--bg-color);
  color: var(--text-muted);
  padding: 0.5rem 0;
  font-size: 0.75rem;
  font-weight: 400;
  border-bottom: 1px solid var(--border-color);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.top-bar-info {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.main-header {
  background-color: var(--bg-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 2rem 0;
  transition: var(--transition);
}

.main-header.scrolled {
  padding: 1rem 0;
  box-shadow: 0 4px 40px rgba(0,0,0,0.02);
}

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

.logo img {
  height: 35px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 3rem;
  align-items: center;
}

.nav-links a {
  font-weight: 400;
  color: var(--text-main);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--primary-color);
}
.nav-links a.active::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-color);
  cursor: pointer;
  padding: 0.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.5rem;
  font-weight: 400;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  font-family: inherit;
  font-size: 0.85rem;
  border-radius: 0;
  letter-spacing: 0.02em;
}

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

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

.btn-outline {
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  background-color: transparent;
}

.btn-outline:hover {
  background-color: var(--accent-color);
  color: #fff;
}

.btn-accent {
  background-color: var(--accent-color);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 0;
  display: inline-block;
  font-weight: 500;
  text-align: center;
  transition: var(--transition);
}

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

/* Page Header */
.page-header {
  padding: 10rem 0 6rem 0;
  background-color: var(--primary-color);
  background-size: cover;
  background-position: center;
  position: relative;
  text-align: center;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(18, 10, 75, 0.75);
}

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

.page-header h1 {
  color: #fff;
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.page-header p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Page Header Background Images */
.bg-about { background-image: url('../images/about_hero.png'); }
.bg-services { background-image: url('../images/services_hero.png'); }
.bg-compliance { background-image: url('../images/compliance_hero.png'); }
.bg-contact { background-image: url('../images/contact_hero.png'); }

.page-header h1 {
  font-size: 3.5rem;
  font-weight: 300;
  margin-bottom: 1.5rem;
}

.page-header p {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-muted);
}

/* Grids */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

/* Cards (No borders, just soft background separation) */
.flat-card {
  background: var(--section-bg);
  padding: 3rem;
  border: none;
  transition: var(--transition);
}

.bg-light .flat-card {
  background: #fff;
}

.flat-card:hover {
  transform: translateY(-5px);
}

.flat-card .icon {
  font-size: 1.75rem;
  color: var(--secondary-color);
  margin-bottom: 2rem;
}

.flat-card h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.flat-card p {
  color: var(--text-muted);
}

/* Timelines */
.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 1px;
  background-color: var(--border-color);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -0.5px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  width: 50%;
}

.timeline-item::after {
  content: '';
  position: absolute;
  width: 11px;
  height: 11px;
  right: -5px;
  background-color: var(--bg-color);
  border: 1px solid var(--primary-color);
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

.timeline-item.left {
  left: 0;
}

.timeline-item.right {
  left: 50%;
}

.timeline-item.right::after {
  left: -5px;
}

.timeline-content {
  padding: 0;
}

.timeline-content h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
}

.timeline-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Comparison Table */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
}

.comparison-table th, .comparison-table td {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  text-align: center;
  font-size: 0.9rem;
}

.comparison-table th:first-child, .comparison-table td:first-child {
  text-align: left;
}

.comparison-table th {
  font-weight: 400;
  color: var(--text-muted);
}

.comparison-table i.fa-check {
  color: var(--secondary-color);
}

.comparison-table i.fa-xmark {
  color: var(--text-muted);
  opacity: 0.3;
}

/* Dashboard Metrics */
.dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.metric-card {
  padding: 3rem 2rem;
  background: var(--section-bg);
  text-align: center;
}

.metric-card h2 {
  color: var(--primary-color);
  font-size: 3rem;
  font-weight: 300;
  margin-bottom: 0.5rem;
}

.metric-card p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Team Profiles */
.team-profile {
  text-align: center;
}

.team-profile img {
  width: 180px;
  height: 180px;
  border-radius: 0;
  object-fit: cover;
  margin-bottom: 1.5rem;
  filter: grayscale(100%);
  transition: var(--transition);
}

.team-profile:hover img {
  filter: grayscale(0%);
}

.team-profile h4 {
  margin-bottom: 0.25rem;
  font-weight: 400;
}

.team-profile p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Badges */
.badge {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: var(--border-color);
  color: var(--primary-color);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-control {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--border-color);
  background: var(--bg-color);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
  border-radius: 0;
  color: var(--primary-color);
}

.form-control:focus {
  outline: none;
  border-color: var(--secondary-color);
}

/* Service Cards */
.service-card {
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: 0;
  padding: 2.5rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transform: translateY(-5px);
}
.service-icon-wrapper {
  background-color: rgba(18, 10, 75, 0.05);
  border-radius: 0;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
}
.service-icon-wrapper i {
  color: var(--primary-color);
  font-size: 1.5rem;
}
.service-card h3 {
  text-align: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.service-desc {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  flex-grow: 1;
}
.service-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}
.service-features li {
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 1.5rem;
}
.service-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 0;
  background-color: var(--accent-color);
}

/* Footer */
footer {
  background: #060b19;
  color: #fff;
  padding: 6rem 0 2rem 0;
  border-top: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 5rem;
  margin-bottom: 4rem;
}

.footer-col img {
  height: 65px;
  margin-bottom: 1.5rem;
  filter: brightness(0) invert(1);
}

.footer-socials {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
}
.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 0;
  background-color: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.1rem;
  transition: var(--transition);
}
.footer-socials a:hover {
  background-color: var(--accent-color);
  transform: translateY(-3px);
}

.footer-col h4 {
  color: #fff;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 1rem;
}

.footer-links a {
  color: #9ca3af;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #9ca3af;
  font-size: 0.8rem;
}

/* Floating WhatsApp */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  z-index: 1000;
  transition: var(--transition);
}

.floating-whatsapp:hover {
  transform: translateY(-3px);
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .timeline::after {
    left: 31px;
  }
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }
  .timeline-item.right {
    left: 0%;
  }
  .timeline-item.left::after, .timeline-item.right::after {
    left: 25px;
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding: 5rem 0;
  }
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .top-bar {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hide-on-mobile {
    display: none !important;
  }
  
  .nav-links {
    display: none; 
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    padding: 1.5rem 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  }
  .nav-links a {
    padding: 1rem 2rem;
    width: 100%;
    display: block;
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }
  .nav-links a::after {
    display: none;
  }
  .nav-links.active {
    display: flex;
  }

  .comparison-table {
    display: block;
    overflow-x: auto;
  }
  .page-header h1 {
    font-size: 2.5rem;
  }
}

/* Calculator */
.calculator-card {
  background: var(--bg-color);
  padding: 2.5rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}
.calculator-card h3 {
  margin-bottom: 2rem;
  font-size: 1.5rem;
}
.calculator-card input[type=range] {
  width: 100%;
  margin-bottom: 1rem;
  accent-color: var(--primary-color);
}
.calc-results {
  background: var(--section-bg);
  padding: 1.5rem;
  text-align: center;
  margin: 2rem 0 1rem 0;
}
.calc-results p {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}
.calc-results h2 {
  color: var(--primary-color);
  font-size: 2rem;
  font-weight: 500;
  margin: 0;
}

/* Animations & Layout Expansions */
.container-hero {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
}
@media (max-width: 992px) {
  .container-hero {
    padding: 0 2rem;
  }
}

/* Slide Animations */
.slide-in-left {
  animation: slideInLeft 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
.slide-in-right {
  animation: slideInRight 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  animation-delay: 0.15s;
  opacity: 0;
}
@keyframes slideInLeft {
  0% { transform: translateX(-50px); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}
@keyframes slideInRight {
  0% { transform: translateX(50px); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}

/* Scroll Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Card Hover Enhancements */
.metric-card, .flat-card, .service-card {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.metric-card:hover, .flat-card:hover, .service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}
