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

:root {
  /* Colors - Professional Trust Blue Theme */
  --primary: #0f3460;
  --primary-light: #1a5296;
  --primary-dark: #0a2240;
  --accent: #e94560; /* Used sparingly for urgent buttons like Call Now */
  --accent-hover: #d23d56;
  
  --bg-color: #f8f9fa;
  --surface: #ffffff;
  --surface-alt: #f1f3f5;
  
  --text-main: #2b2d42;
  --text-muted: #6c757d;
  --text-light: #f8f9fa;
  
  --border-color: #dee2e6;
  --alert-red: #e63946;

  /* Typography */
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  
  /* Layout & Spacing */
  --container-width: 1200px;
  --border-radius: 8px;
  --border-radius-lg: 16px;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(15, 52, 96, 0.05);
  --shadow-md: 0 4px 12px rgba(15, 52, 96, 0.08);
  --shadow-lg: 0 12px 24px rgba(15, 52, 96, 0.12);
  
  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* CSS Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

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

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

.grid {
  display: grid;
  gap: 32px;
}

.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 992px) {
  .grid-cols-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-cols-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .grid-cols-4, .grid-cols-3, .grid-cols-2 { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
}

/* Typography Utilities */
.h1, .h2, .h3, .h4 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
  margin-bottom: 16px;
}

.h1 { font-size: 3rem; }
.h2 { font-size: 2.25rem; }
.h3 { font-size: 1.5rem; }
.h4 { font-size: 1.25rem; }

.text-accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }

.section-header {
  margin-bottom: 48px;
  text-align: center;
}

.section-subtitle {
  display: inline-block;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.875rem;
  margin-bottom: 12px;
  position: relative;
}

.section-subtitle::before,
.section-subtitle::after {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background-color: var(--accent);
  vertical-align: middle;
  margin: 0 12px;
}

/* Compliance Banner */
.legal-banner {
  background-color: var(--alert-red);
  color: var(--text-light);
  text-align: center;
  padding: 12px 24px;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  z-index: 100;
  position: relative;
}

/* Header & Nav */
.header {
  background-color: var(--surface);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 90;
}

.header-top {
  background-color: var(--primary-dark);
  color: var(--text-light);
  padding: 8px 0;
  font-size: 0.875rem;
}

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

.header-main {
  padding: 20px 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
}

.logo-icon {
  width: 40px;
  height: 40px;
  background-color: var(--primary);
  color: white;
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-link {
  font-weight: 600;
  color: var(--text-main);
  position: relative;
}

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

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

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--text-light);
}

.btn-primary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-accent {
  background-color: var(--accent);
  color: var(--text-light);
}

.btn-accent:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--text-light);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background-color: var(--primary-dark);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 700px;
}

.hero .h1 {
  color: var(--text-light);
  font-size: 3.5rem;
  margin-bottom: 24px;
}

.hero-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

@media (max-width: 768px) {
  .hero .h1 { font-size: 2.5rem; }
  .hero-buttons { flex-direction: column; }
}

/* Service Cards */
.service-card {
  background-color: var(--surface);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.service-card-img-wrapper {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.service-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.service-card:hover .service-card-img {
  transform: scale(1.05);
}

.service-card-content {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-card-icon {
  width: 48px;
  height: 48px;
  background-color: var(--surface-alt);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -48px;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
  border: 4px solid var(--surface);
  box-shadow: var(--shadow-sm);
}

.service-card .h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.service-card p {
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
}

.service-link:hover {
  color: var(--accent);
}

/* Features/Why Us */
.feature-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.feature-icon {
  width: 60px;
  height: 60px;
  background-color: var(--primary);
  color: var(--text-light);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 24px;
}

.feature-content h3 {
  margin-bottom: 8px;
}

/* Footer (Compliance Crucial) */
.footer {
  background-color: var(--primary-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

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

.footer-logo {
  color: var(--text-light);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  display: inline-block;
}

.footer-title {
  color: var(--text-light);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}

.footer-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background-color: var(--primary-light);
}

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

.footer-link {
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--text-light);
  padding-left: 4px;
}

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

.footer-contact-icon {
  color: var(--primary-light);
  flex-shrink: 0;
  margin-top: 4px;
}

.footer-bottom {
  background-color: #061528;
  padding: 24px 0;
  font-size: 0.875rem;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 768px) {
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
}

/* Compliance Block in Footer */
.compliance-block {
  margin-top: 32px;
  padding: 24px;
  background-color: rgba(255, 255, 255, 0.05);
  border-left: 4px solid var(--alert-red);
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.compliance-block h4 {
  color: var(--text-light);
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.compliance-block p {
  margin-bottom: 8px;
}

.compliance-block strong {
  color: var(--text-light);
}

.disclaimer-text {
  color: var(--alert-red);
  font-weight: 700;
  margin-top: 16px !important;
}

/* Sticky Contact Button for Mobile */
.sticky-contact {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background-color: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 99;
  animation: pulse 2s infinite;
  transition: var(--transition);
}

.sticky-contact:hover {
  transform: scale(1.1);
  background-color: var(--accent-hover);
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(233, 69, 96, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(233, 69, 96, 0); }
  100% { box-shadow: 0 0 0 0 rgba(233, 69, 96, 0); }
}

/* Inner Page Header */
.page-header {
  background-color: var(--primary);
  padding: 60px 0;
  text-align: center;
  color: var(--text-light);
}

.page-header .h1 {
  color: var(--text-light);
  margin-bottom: 16px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a:hover {
  color: var(--text-light);
}

/* Forms */
.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-main);
}

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

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 52, 96, 0.1);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.contact-card {
  background-color: var(--surface);
  padding: 40px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
}

.info-card {
  display: flex;
  gap: 20px;
  padding: 24px;
  background-color: var(--surface-alt);
  border-radius: var(--border-radius);
  margin-bottom: 20px;
}

.info-icon {
  width: 48px;
  height: 48px;
  background-color: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
