:root {
  --primary: #2563eb; /* Electric Blue */
  --primary-hover: #1d4ed8;
  --secondary: #0f172a; /* Navy Blue */
  --accent: #f59e0b; /* Safety Yellow */
  --accent-hover: #d97706;
  --text-dark: #1e293b;
  --text-light: #64748b;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --border: #e2e8f0;
  
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  --transition: all 0.3s ease;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--secondary);
  line-height: 1.2;
}

h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
  box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.39);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.23);
  color: white;
}

.btn-accent {
  background-color: var(--accent);
  color: white;
  box-shadow: 0 4px 14px 0 rgba(245, 158, 11, 0.39);
}

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

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

.btn-outline:hover {
  background-color: var(--secondary);
  color: white;
}

/* Header & Nav */
header {
  background-color: var(--bg-white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

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

.logo span {
  color: var(--primary);
}

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

.nav-links a {
  font-weight: 600;
  color: var(--text-dark);
  position: relative;
  padding: 8px 12px;
  border-radius: 8px;
  transition: var(--transition);
  background-color: transparent;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--primary);
  background-color: rgba(37, 99, 235, 0.1);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 20px;
}

.phone-link {
  font-weight: 700;
  color: var(--secondary);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
}

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

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--secondary);
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding: 100px 0;
  background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.9)), url('../assets/hero_bg.png') center/cover no-repeat;
  color: white;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hero h1 {
  color: white;
}

.hero p {
  color: #cbd5e1;
  font-size: 1.25rem;
  max-width: 600px;
  margin-bottom: 2rem;
}

.hero-content {
  max-width: 700px;
}

.hero-cta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* Features/Trust Section */
.features {
  padding: 60px 0;
  background-color: var(--bg-white);
  margin-top: -40px;
  position: relative;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  z-index: 10;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
}

.feature-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}

.feature-content h4 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.feature-content p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Services Section */
.services-section {
  padding: 100px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.service-card {
  background-color: var(--bg-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.service-image {
  height: 200px;
  width: 100%;
  object-fit: cover;
}

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

.service-content h3 {
  color: var(--secondary);
}

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

.service-link:hover {
  color: var(--primary-hover);
  gap: 12px;
}

/* About Section */
.about-section {
  padding: 100px 0;
  background-color: var(--bg-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.about-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.4), transparent);
  z-index: 1;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.about-image:hover img {
  transform: scale(1.05);
}

.about-content h2 {
  text-align: left;
}

.check-list {
  margin-top: 30px;
  margin-bottom: 30px;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  font-weight: 500;
  color: var(--secondary);
}

.check-list li i {
  color: var(--primary);
  font-size: 1.2rem;
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
  background-color: var(--primary);
  color: white;
  text-align: center;
}

.cta-section h2 {
  color: white;
  margin-bottom: 20px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
footer {
  background-color: var(--secondary);
  color: white;
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.footer-about .logo {
  color: white;
  margin-bottom: 20px;
}

.footer-about p {
  color: #94a3b8;
}

.footer-links h4, .footer-contact h4 {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #94a3b8;
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 15px;
  color: #94a3b8;
}

.footer-contact i {
  color: var(--primary);
  margin-top: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  font-size: 0.9rem;
}

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

.page-header h1 {
  color: white;
  margin-bottom: 15px;
}

.page-header p {
  color: #94a3b8;
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Contact Page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
  padding: 80px 0;
}

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

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-text h4 {
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.contact-text p, .contact-text a {
  color: var(--text-light);
  margin-bottom: 0;
}

.contact-text a:hover {
  color: var(--primary);
}

.contact-form-wrapper {
  background-color: var(--bg-white);
  padding: 50px;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 25px;
}

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

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

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
  background-color: var(--bg-white);
}

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

/* Reference Page */
.reference-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  padding: 80px 0;
}

.reference-card {
  background-color: var(--bg-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.reference-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.reference-img {
  height: 250px;
  width: 100%;
  object-fit: cover;
}

.reference-content {
  padding: 30px;
}

.reference-tag {
  display: inline-block;
  padding: 6px 12px;
  background-color: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 15px;
}

/* Responsive */
@media (max-width: 992px) {
  .hero h1 { font-size: 2.5rem; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .contact-form-wrapper { padding: 30px; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta .btn { display: none; }
  .mobile-menu-btn { display: block; }
  
  /* Mobile Menu Styles */
  .nav-container { position: relative; }
  
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--bg-white);
    padding: 20px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    gap: 20px;
    text-align: center;
  }
  
  .hero { padding: 80px 0; text-align: center; }
  .hero-cta { justify-content: center; }
  
  h1 { font-size: 2.2rem; }
  h2 { font-size: 2rem; }
}
