/* Global styles */
:root {
  --primary-color: #3498db;
  --secondary-color: #2c3e50;
  --accent-color: #e74c3c;
  --light-gray: #f8f9fa;
  --dark-gray: #343a40;
  --text-color: #333;
  --white: #fff;
}

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

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--white);
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 1rem;
  line-height: 1.2;
}

p {
  margin-bottom: 1rem;
}

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

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

ul {
  list-style: none;
}

/* Header - Full width */
.site-header {
  width: 100%;
  padding: 1.5rem 0;
  background-color: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow 0.3s ease;
}

/* this uses a hint of js to show the shadow on scroll */
.site-header.scrolled {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* max-width: 1200px; */
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
}

.logo a {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary-color);
}

.logo img {
  height: 40px;
  margin-right: 10px;
}

.logo span {
  font-size: 1rem;
  float: right;
}

/* Navigation - Full width background with container content */
.main-nav {
  /* width: 100%;
  background-color: var(--secondary-color); */
  padding: 1rem 0;
}

.main-nav ul {
  display: flex;
  justify-content: center;
}

.main-nav li {
  margin: 0 1rem;
}

.main-nav a {
  color: var(--primary-color);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.main-nav a:hover,
.main-nav li.active a {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Home page */
.home-hero {
  padding: 5rem 0;
  background-color: var(--white);
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.hero-content h1,
.page-content h1 {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
}

.hero-content ul,
.page-content ul {
  list-style: square;
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.page-content ol {
  list-style: decimal;
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Services section */
.services {
  padding: 4rem 0;
  background-color: var(--white);
}

.services h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 3rem;
}

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

.service-card {
  padding: 2rem;
  background-color: var(--light-gray);
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

/* CTA section */
.cta {
  width: 100%;
  padding: 4rem 0;
  background-color: var(--primary-color);
  color: var(--white);
  text-align: center;
}

.button {
  display: inline-block;
  background-color: var(--white);
  color: var(--primary-color);
  padding: 0.75rem 2rem;
  border-radius: 4px;
  font-weight: 700;
  margin-top: 1.5rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.button:hover {
  background-color: var(--light-gray);
  color: var(--primary-color);
  transform: translateY(-3px);
}

/* Page content */
.page-content {
  padding: 3rem 0;
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--white);
}

.page-title {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 2rem;
}

/* Main content wrapper */
main {
  background-color: var(--white);
}

/* Footer - Full width with container content */
.site-footer {
  width: 100%;
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 3rem 0 1.5rem;
}

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

.footer-logo img {
  height: 50px;
  margin-bottom: 1rem;
}

.footer-links h3,
.footer-contact h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--white);
}

.footer-links ul li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-links a:hover {
  color: var(--white);
}

.copyright {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Responsive */
@media (max-width: 768px) {
  .main-nav ul {
    flex-direction: column;
    align-items: center;
  }

  .main-nav li {
    margin: 0.5rem 0;
  }

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

  .services h2,
  .cta h2 {
    font-size: 1.75rem;
  }
}

/* Dropdown Navigation Styles */
.dropdown-menu {
  position: relative;
}

.dropdown-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
}

.dropdown-toggle::after {
  content: "▼";
  font-size: 0.7em;
  margin-left: 0.5rem;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--secondary-color);
  min-width: 180px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1;
  border-radius: 4px;
  padding: 0.5rem 0;
  margin-top: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.dropdown-menu:hover .dropdown-content {
  display: block;
  opacity: 1;
  visibility: visible;
}

.dropdown-content li {
  margin: 0;
}

.dropdown-content a {
  padding: 0.75rem 1rem;
  display: block;
  white-space: nowrap;
}

.dropdown-content a:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .dropdown-content {
    position: static;
    box-shadow: none;
    margin-top: 0;
    padding-left: 1rem;
  }

  .dropdown-toggle::after {
    content: "▼";
  }
}

/* Contact us Form */

.contact-form-container {
  max-width: 800px;
  margin: 2rem 0;
  background-color: var(--light-gray);
  padding: 2rem;
  border-radius: 8px;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--secondary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  background-color: var(--white);
}

.form-group textarea {
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
}

.checkbox-group input {
  width: auto;
  margin-right: 0.5rem;
  margin-top: 0.25rem;
}

.checkbox-group label {
  margin-bottom: 0;
  line-height: 1.4;
}

.form-group button {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 4px;
  padding: 0.75rem 2rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.form-group button:hover {
  background-color: #2980b9;
  transform: translateY(-3px);
}

/* Form validation styles */
.form-group input:invalid,
.form-group textarea:invalid {
  border-color: var(--accent-color);
}

/* Success message */
.form-success {
  background-color: #d4edda;
  color: #155724;
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  display: none;
}

/* Error message */
.form-error {
  background-color: #f8d7da;
  color: #721c24;
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .contact-form-container {
    padding: 1.5rem;
  }

  .form-group button {
    width: 100%;
  }
}
