/*
 * ADT Talent Website Stylesheet
 *
 * This stylesheet defines the look and feel of the ADT Talent website.
 * It uses a modern, responsive layout with a muted colour palette drawn
 * from the company logo (navy, warm brown and subtle neutrals). The
 * design emphasises clarity and professionalism while remaining inviting.
 */

/* CSS reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #ffffff;
}

/* Utility classes */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section {
  padding: 4rem 0;
}

h1, h2, h3 {
  font-weight: 700;
  color: #0a365e; /* deep navy extracted from the logo */
}

h2 {
  margin-bottom: 1.5rem;
  text-align: center;
}

p {
  margin-bottom: 1rem;
  font-weight: 400;
}

a {
  color: #0a365e;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 100;
}

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

.logo img {
  height: 50px;
  width: auto;
  display: block;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  font-weight: 500;
  color: #0a365e;
  transition: color 0.2s ease-in-out;
}

.nav-links a:hover {
  color: #8a5a2d; /* warm brown for hover */
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  background: url('hero-bg.png') center/cover no-repeat;
}

/* Dark overlay to improve text contrast on hero image */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 54, 94, 0.6);
  z-index: 0;
}

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

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.2;
  color: #ffffff;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #e5e9f0;
}

.btn-primary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #8a5a2d;
  color: #fff;
  border-radius: 30px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #b0773b;
}

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

.about p {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  font-size: 1rem;
  line-height: 1.7;
}

/* Services Section */
.services {
  background-color: #ffffff;
}

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

.service-card {
  background-color: #f7f7f7;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

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

.icon-wrapper {
  font-size: 2.5rem;
  color: #8a5a2d;
  margin-bottom: 1rem;
}

.service-card h3 {
  margin-bottom: 0.5rem;
  color: #0a365e;
}

.service-card p {
  font-size: 0.95rem;
  color: #555;
}

/* Contact Section */
.contact {
  background-color: #f7f7f7;
  text-align: center;
}

.contact-text {
  max-width: 700px;
  margin: 0 auto 2rem auto;
  font-size: 1rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
}

.contact-details i {
  color: #8a5a2d;
  margin-right: 0.5rem;
}

.contact-details a {
  color: #0a365e;
  font-weight: 500;
}

.contact-details a:hover {
  color: #8a5a2d;
}

/* Footer */
.footer {
  background-color: #0a365e;
  color: #ffffff;
  text-align: center;
  padding: 1rem 0;
}

.footer p {
  font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .nav-links {
    gap: 1rem;
  }
}