/* clean-site/styles.css */
:root {
  --primary-color: #0b1e42;
  --accent-color: #e5a93d;
  --text-color: #333333;
  --light-bg: #f8f9fa;
  --white: #ffffff;
  --font-main: 'Inter', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  color: var(--text-color);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Top Bar */
.top-bar {
  background-color: var(--light-bg);
  padding: 10px 0;
  border-bottom: 1px solid #eeeeee;
  font-size: 0.9rem;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left, .top-bar-right {
  display: flex;
  gap: 20px;
  align-items: center;
}

.top-bar-left a {
  display: flex;
  align-items: center;
  gap: 5px;
}

.top-bar-left svg, .top-bar-right svg {
  fill: currentColor;
}

.social-icons a {
  color: var(--primary-color);
  transition: color 0.3s;
}

.social-icons a:hover {
  color: var(--accent-color);
}

/* Header Main */
.main-header {
  background-color: var(--white);
  padding: 20px 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  max-width: 200px;
  height: auto;
}

.nav-menu {
  display: flex;
  gap: 30px;
}

.nav-menu > li > a {
  font-weight: 600;
  color: var(--primary-color);
  text-transform: uppercase;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.nav-menu > li > a:hover {
  color: var(--accent-color);
}

/* Dropdown */
.has-dropdown {
  position: relative;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 250px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s;
  z-index: 100;
  border-top: 3px solid var(--accent-color);
}

.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown li a {
  display: block;
  padding: 12px 20px;
  border-bottom: 1px solid #eee;
  color: var(--primary-color);
  font-size: 0.9rem;
}

.dropdown li a:hover {
  background: var(--light-bg);
  color: var(--accent-color);
}

/* Hero Section */
.hero {
  position: relative;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 100px 0;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('https://lansafe.co.uk/wp-content/uploads/2025/03/network-bg.jpg') center/cover no-repeat;
  opacity: 0.2;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero .subtitle {
  color: var(--accent-color);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
  display: block;
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 30px;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 40px;
  color: #dddddd;
}

.btn {
  display: inline-block;
  background: var(--accent-color);
  color: var(--primary-color);
  padding: 12px 30px;
  border-radius: 5px;
  font-weight: bold;
  text-transform: uppercase;
  transition: background 0.3s;
}

.btn:hover {
  background: var(--white);
}

/* Features/Icons Section */
.features {
  padding: 80px 0;
  background: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-box {
  text-align: center;
  padding: 30px;
}

.feature-box img {
  width: 60px;
  margin-bottom: 20px;
}

.feature-box h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.feature-box p {
  color: #666;
}

/* Footer */
.footer {
  background: var(--primary-color);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.footer h4 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--accent-color);
}

.footer ul li {
  margin-bottom: 10px;
}

.footer ul li a {
  color: #ccc;
  transition: color 0.3s;
}

.footer ul li a:hover {
  color: var(--white);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #888;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
  .features-grid, .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .main-header .container {
    flex-direction: column;
    gap: 15px;
  }
  .nav-menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }
}

@media (max-width: 768px) {
  .top-bar .container {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  .top-bar-left, .top-bar-right {
    flex-wrap: wrap;
    justify-content: center;
  }
  .features-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
  .why-choose h2, .our-services h2, .accreditations h2, .clients h2, .switching h2, .case-studies h2, .testimonials h2, .latest-news h2 {
    font-size: 2rem !important;
  }
}
