/* General reset */
*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Header */
header
{
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/*Navigation Bar*/
.nav
{
    display:flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
}

/* Brand Name */
.brand
{
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c3e50;
    display: flex;
    align-items: center;
}

.brand img
{
    height: clamp(35px, 8vw, 50px);
    width: auto;
}

/* List Styling */
.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
}

.nav-links li {
  margin-left: 25px;
}

.nav-links a {
  text-decoration: none;
  color: #555;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #c0392b;
}

/* "Get Help" Highlight Button */
.nav-cta {
  background-color: #e74c3c;
  color: white !important;
  padding: 10px 20px;
  border-radius: 50px;
  transition: background-color 0.3s ease !important;
}

.nav-cta:hover {
  background-color: #c0392b;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 22px;
  height: 2px;
  background: #2c3e50;
  border-radius: 2px;
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

/* When nav is open, transform hamburger into an X */
.nav.open .hamburger {
  background: transparent;
}
.nav.open .hamburger::before {
  transform: rotate(45deg) translate(5px, 4px);
}
.nav.open .hamburger::after {
  transform: rotate(-45deg) translate(5px, -4px);
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Responsive nav behaviour */
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem 4%;
    display: none;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }
  .nav-links li { margin: 0.5rem 0; }
  .nav.open .nav-links { display: flex; }
  .nav { padding: 0.75rem 4%; }
}

/* Home Section */
.hero {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 5%;
  color: #ffffff;
  text-align: center;
  background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
  background-image: url('../images/home-image.webp');
  background-size: cover;
}

/* Overlay removed (was a blue gradient) */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 0;
}

.hero-inner { position: relative; z-index: 1; }

.hero-inner {
  max-width: 960px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.hero-sub {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  opacity: 0.95;
}

.btn {
  display: inline-block;
  text-decoration: none;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background-color: #e74c3c;
  color: white;
  box-shadow: 0 8px 24px rgba(231,76,60,0.16);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(231,76,60,0.22);
  background-color: #c0392b;
}

@media (max-width: 600px) {
  .nav { padding: 0.75rem 4%; }
  .hero { padding: 3rem 4%; }
  .hero-sub { font-size: 1rem; }
  .lastbtn {
    display:none;
  }
}

/* Additional breakpoint tweaks */
@media (max-width: 480px) {
  .brand { font-size: 1.125rem; }
  .hero h1 { font-size: clamp(1.5rem, 7vw, 2.25rem); }
  .hero { padding: 2.5rem 4%; background-position: center; }
  .nav-links a { padding: 0.5rem 0; }
  .nav-links { padding-left: 0; }
  .nav-cta { padding: 8px 14px; }
}

/* About section styles */
.about {
  padding: 4rem 5%;
  background: #f7f9fb;
  color: #2c3e50;
  text-align: center;
  border-top: 1px solid rgba(44,62,80,0.04);
}
.about-inner {
  max-width: 960px;
  margin: 0 auto;
}
.about h2 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  color: #2c3e50;
  font-weight: 700;
}
.about p {
  color: #444;
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}
.about h3 {
  font-size: 1.25rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}
.services-list {
  list-style: none;
  padding: 0;
  max-width: 960px;
  margin: 0 auto 0.5rem auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  text-align: center;
}
.services-list li {
  background: #ffffff;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(44,62,80,0.04);
  color: #34495e;
}

/* Responsive image used inside service list items */
.service-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 0.5rem;
}

@media (max-width: 800px) {
  .services-list {
    grid-template-columns: 1fr;
  }
}

/* Contact section */
.contact {
  padding: 4rem 5%;
  background: #ffffff;
  color: #2c3e50;
  text-align: center;
  border-top: 1px solid rgba(44,62,80,0.04);
}
.contact-inner {
  max-width: 960px;
  margin: 0 auto;
}
.contact h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #2c3e50;
  font-weight: 700;
}
.contact p { color: #444; font-size: 1.05rem; margin-bottom: 1rem; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 720px;
  margin: 1.25rem auto;
}
.contact-card {
  background: #f7f9fb;
  padding: 1rem 1.25rem;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(44,62,80,0.04);
  text-align: center;
}
.contact-card h4 { margin-bottom: 0.5rem; color: #34495e; }
.contact-card a { color: #e74c3c; font-weight: 700; text-decoration: none; }
.contact-card a:hover { color: #c0392b; }
.contact-note { margin-top: 0.5rem; color: #555; }

.contact-form {
  background: #f7f9fb;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(44,62,80,0.04);
  text-align: left;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group:last-of-type {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #34495e;
  font-weight: 600;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #bdc3c7;
  border-radius: 6px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1rem;
  color: #2c3e50;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #e74c3c;
  box-shadow: 0 0 0 3px rgba(231,76,60,0.1);
}

.form-group textarea {
  resize: vertical;
}

@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* Footer section */
.footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1rem 5%;
  background-color: #ffffff;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
  border-top: 1px solid rgba(44,62,80,0.04);
}

.footer-inner {
  display: flex;
  gap: 2rem;
  align-items: center;
  max-width: 960px;
}

.footer-inner a {
  text-decoration: none;
  color: #555;
  font-weight: 500;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

.footer-inner a:hover {
  color: #c0392b;
}

.footer-ceasedesist {
  color: #666;
  font-size: 0.8rem;
  margin-top: 0.75rem;
  line-height: 1.4;
  text-align: center;
}

@media (max-width: 600px) {
  .footer {
    padding: 1rem 4%;
  }
  
  .footer-inner {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
}

/* Cookie Notice */
.cookie-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #2c3e50;
  color: white;
  padding: 1.5rem 5%;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
  z-index: 999;
  font-size: 0.95rem;
  line-height: 1.5;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80px;
}

.cookie-content {
  max-width: 1200px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.cookie-content p {
  margin: 0;
  flex: 1;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  align-items: center;
  white-space: nowrap;
}

.cookie-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.cookie-accept-btn {
  background-color: #e74c3c;
  color: white;
}

.cookie-accept-btn:hover {
  background-color: #c0392b;
}

.cookie-reject-btn {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.cookie-reject-btn:hover {
  background-color: rgba(255,255,255,0.1);
}

.cookie-link {
  color: #3498db;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.cookie-link:hover {
  color: #2980b9;
  text-decoration: underline;
}

.cookie-notice.hidden {
  display: none;
}

@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
  
  .cookie-buttons {
    width: 100%;
    flex-wrap: wrap;
  }
  
  .cookie-notice {
    min-height: auto;
  }
}

@media (max-width: 480px) {
  .cookie-content p {
    font-size: 0.85rem;
  }
  
  .cookie-btn,
  .cookie-link {
    font-size: 0.85rem;
    padding: 8px 15px;
  }
  
  .cookie-buttons {
    gap: 0.5rem;
  }
}