/* Root Variables */
:root {
  --primary: #1f6fff;
  --primary-light: #42a5ff;
  --accent: #ff8c00;
  --accent-light: #ffb366;
  --foreground: #2c3e50;
  --muted-foreground: #7a8b9a;
  --background: #ffffff;
  --secondary: #f0f5f9;
  --border: #e0e6ed;
  --success: #10b981;
}

/* General Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border-color: var(--border);
}

html,
body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
}

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-light);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
header {
  background: linear-gradient(to right, white, #f8f8ff);
  border-bottom: 2px solid rgba(31, 111, 255, 0.1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--foreground);
}

.logo img {
  width: 3.5rem;
  height: 3.5rem;
  object-fit: contain;
}

.logo-text h1 {
  font-size: 1.125rem;
  margin: 0;
  color: var(--primary);
}

.logo-text p {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin: 0;
}

.logo:hover .logo-text h1 {
  color: rgba(31, 111, 255, 0.8);
}

/* Navigation */
nav.main-nav {
  display: none;
  gap: 1rem;
}

@media (min-width: 1024px) {
  nav.main-nav {
    display: flex;
  }
}

nav a {
  font-size: 1rem;
  font-weight: 500;
  padding: 0.75rem 1rem;
  border-radius: 0.375rem;
  position: relative;
  display: inline-block;
  color: var(--foreground);
}

nav a::after {
  content: "";
  position: absolute;
  bottom: 0.25rem;
  left: 0;
  width: 0;
  height: 0.125rem;
  background-color: var(--accent);
  border-radius: 9999px;
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

nav a:hover {
  background-color: rgba(31, 111, 255, 0.05);
  color: var(--primary);
}

/* Mobile Nav */
nav.mobile-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
  font-size: 0.875rem;
}

@media (min-width: 1024px) {
  nav.mobile-nav {
    display: none;
  }
}

nav.mobile-nav a {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* Header CTA */
.header-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.phone-link {
  display: none;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--primary);
  font-size: 1rem;
}

@media (min-width: 640px) {
  .phone-link {
    display: flex;
  }
}

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

.btn {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--accent);
  color: white;
}

.btn-primary:hover {
  background-color: var(--accent-light);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

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

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Footer */
footer {
  background-color: #1a1f2e;
  color: white;
  margin-top: 4rem;
  padding: 2.5rem 1rem;
}

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

footer h3,
footer h4 {
  color: white;
  margin-bottom: 1rem;
}

footer p {
  color: #b0b5c0;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

footer a {
  color: #b0b5c0;
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

footer a:hover {
  color: var(--accent);
}

.footer-phone,
.footer-email {
  font-weight: 600;
  color: var(--accent);
}

/* Footer Divider */
.footer-divider {
  border-top: 1px solid #333;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.95rem;
  color: #b0b5c0;
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 1.25rem;
  margin-top: 1rem;
}

.social-icons a {
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b0b5c0;
  font-size: 1.1rem;
  border-radius: 0.375rem;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  color: var(--accent);
}

/* Sections */
section {
  padding: 4rem 1rem;
}

@media (max-width: 768px) {
  section {
    padding: 2rem 1rem;
  }
}

/* Hero Section */
.hero {
  background: linear-gradient(to right, var(--primary), #1e5dd9);
  color: white;
  padding: 5rem 1rem;
  position: relative;
  overflow: hidden;
}

.hero .container {
  position: relative;
  z-index: 10;
  max-width: 50rem;
}

.hero h1 {
  color: white;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

/* Grid Layout */
.grid {
  display: grid;
  gap: 1.5rem;
}

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

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Cards */
.card {
  background-color: var(--background);
  border: 2px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.card:hover {
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.card-secondary {
  background-color: var(--secondary);
  border: 1px solid var(--border);
}

.card-secondary:hover {
  background-color: #e8f0f7;
  border-color: var(--primary);
}

/* Buttons */
.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-sm {
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
}

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
}

/* Text Utilities */
.text-center {
  text-align: center;
}

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

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

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

.font-bold {
  font-weight: 700;
}

.font-semibold {
  font-weight: 600;
}

.mb-1 {
  margin-bottom: 0.25rem;
}
.mb-2 {
  margin-bottom: 0.5rem;
}
.mb-4 {
  margin-bottom: 1rem;
}
.mb-6 {
  margin-bottom: 1.5rem;
}
.mb-8 {
  margin-bottom: 2rem;
}
.mb-12 {
  margin-bottom: 3rem;
}
.mb-16 {
  margin-bottom: 4rem;
}

.mt-2 {
  margin-top: 0.5rem;
}
.mt-4 {
  margin-top: 1rem;
}
.mt-8 {
  margin-top: 2rem;
}

.gap-2 {
  gap: 0.5rem;
}
.gap-4 {
  gap: 1rem;
}
.gap-6 {
  gap: 1.5rem;
}

.p-4 {
  padding: 1rem;
}
.p-6 {
  padding: 1.5rem;
}
.p-8 {
  padding: 2rem;
}

/* Features / Services */
.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.feature-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-desc {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Check List */
.checklist {
  list-style: none;
}

.checklist li {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  align-items: flex-start;
}

.checklist li::before {
  content: "✓";
  color: var(--accent);
  font-weight: bold;
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  height: 300px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Review Cards */
.review-card {
  background-color: white;
  border: 2px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.review-card:hover {
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.stars {
  color: var(--accent);
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.review-text {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  color: var(--foreground);
  font-style: italic;
}

.review-author {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.review-source {
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 600;
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  text-align: center;
}

.stat-box {
  padding: 1.5rem;
  background-color: white;
  border: 2px solid var(--border);
  border-radius: 0.5rem;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* CTA Box */
.cta-box {
  background: linear-gradient(to right, var(--primary), #1e5dd9);
  color: white;
  padding: 2rem;
  border-radius: 0.75rem;
  text-align: center;
}

.cta-box h2 {
  color: white;
}

.cta-box p {
  color: rgba(255, 255, 255, 0.9);
}

/* Contact Form Area */
.contact-form {
  background: linear-gradient(
    to bottom right,
    rgba(31, 111, 255, 0.05),
    rgba(255, 140, 0, 0.05)
  );
  border: 2px solid rgba(31, 111, 255, 0.2);
  border-radius: 0.75rem;
  padding: 2rem;
}

/* Sticky Sidebar */
.sidebar {
  position: sticky;
  top: 2rem;
}

/* FAQ Section */
.faq-item {
  background-color: white;
  border: 2px solid var(--border);
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--primary);
}

.faq-question {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.faq-answer {
  color: var(--muted-foreground);
  font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 768px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  footer .container {
    grid-template-columns: 1fr;
  }

  .logo-text {
    display: none;
  }

  .sidebar {
    position: static;
  }
}

/* Print Styles */
@media print {
  header,
  footer {
    display: none;
  }
}
