/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #101828;
  --secondary-color: #a81010;
  --accent-color: #475467;
  --dark-bg: #101828;
  --light-bg: #F9FAFB;
  --text-dark: #212529;
  --text-light: #ffffff;
  --text-muted: #475467;
  --border-color: #98A2B3;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 80px 0;
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 32px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

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

.btn-primary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-light);
  border-color: var(--text-light);
}

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

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--dark-bg) 0%, var(--primary-color) 100%);
  color: var(--text-light);
  padding: 100px 0;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.hero .logo {
  margin-bottom: 2rem;
}

.hero .logo img {
  max-width: 400px;
  height: auto;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.hero .tagline {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  font-weight: 300;
  color: var(--accent-color);
}

.hero .hero-description {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 2rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.hero-image {
  margin-top: 3rem;
  text-align: center;
}

.hero-image img {
  max-width: 600px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Services Section */
.services {
  background-color: var(--light-bg);
}

.services h2 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.section-intro {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto 3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.service-icon {
  margin-bottom: 1.5rem;
}

.service-icon img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
}

.service-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.35rem;
}

.service-card.featured {
  border: 2px solid var(--secondary-color);
  background: linear-gradient(to bottom, #ffffff, #fafafa);
}

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

.service-description {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.6;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.service-features li {
  color: var(--text-dark);
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.95rem;
  line-height: 1.5;
}

.service-features li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-weight: bold;
}

/* ADi Protect Section */
.adiprotect-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a2a3a 100%);
  color: var(--text-light);
  padding: 80px 0;
}

.adiprotect-section h2 {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.adiprotect-section .section-intro {
  color: rgba(255, 255, 255, 0.9);
}

.adiprotect-content {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 3rem;
}

.adiprotect-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 2.5rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease, background 0.3s ease;
  text-align: center;
  max-width: 600px;
  width: 100%;
}

.adiprotect-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.adiprotect-card h3 {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.adiprotect-card p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.adiprotect-card .btn {
  background-color: var(--secondary-color);
  color: var(--text-light);
  border-color: var(--secondary-color);
}

.adiprotect-card .btn:hover {
  background-color: #8a0e0e;
  border-color: #8a0e0e;
  transform: scale(1.05);
}

/* About Section */
.about {
  background-color: white;
}

.about h2 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 2rem;
}

.about-content {
  max-width: 900px;
  margin: 0 auto 4rem;
}

.about-text p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.why-choose {
  margin-top: 4rem;
}

.why-choose h3 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 2rem;
}

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

.benefit {
  text-align: center;
  padding: 1.5rem;
}

.benefit h4 {
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.benefit p {
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Contact Section */
.contact {
  background-color: var(--light-bg);
}

.contact h2 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.contact-content-centered {
  max-width: 700px;
  margin: 3rem auto;
  text-align: center;
}

.contact-info h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.75rem;
}

.contact-info p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.contact-details {
  margin-top: 2rem;
  background: white;
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-details p {
  margin-bottom: 1rem;
  font-size: 1.05rem;
  line-height: 1.8;
}

.contact-details a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* Footer */
.footer {
  background-color: var(--dark-bg);
  color: var(--text-light);
  padding: 2.5rem 0;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.footer-social {
  display: flex;
  gap: 2rem;
  margin-bottom: 0.5rem;
}

.footer-social a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: var(--secondary-color);
}

.footer p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }

  .hero {
    padding: 60px 0;
    min-height: auto;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero .tagline {
    font-size: 1.2rem;
  }

  .hero .logo img {
    max-width: 250px;
  }

  .hero-image img {
    max-width: 100%;
  }

  section {
    padding: 60px 0;
  }

  .services-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .contact-content {
    grid-template-columns: 1fr;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
  }
}
