/* ========== RESET & BASE ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Raleway', 'Segoe UI', sans-serif;
  color: #333;
  line-height: 1.6;
  background: #fff;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ========== UTILITY ========== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.section { padding: 60px 0; }
.section-gray { background: #f5f5f5; }
.section-dark { background: #2c3e50; color: #fff; }

/* ========== NAVBAR ========== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: background 0.3s;
}
.navbar .container {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px; height: 70px;
}
.navbar-logo img { height: 50px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 0; }
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: block; padding: 24px 14px;
  font-size: 0.82rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.5px; color: #333;
  transition: color 0.2s;
}
.nav-links > li > a:hover { color: #2196F3; }
.nav-links .cta-btn a {
  background: #2196F3; color: #fff !important; border-radius: 4px;
  padding: 10px 18px !important; font-size: 0.78rem;
  transition: background 0.2s;
}
.nav-links .cta-btn a:hover { background: #1976D2; }

/* Dropdown */
.dropdown-menu {
  display: none; position: absolute; top: 100%; left: 0;
  background: #fff; min-width: 220px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15); border-radius: 0 0 4px 4px;
}
.dropdown-menu a {
  display: block; padding: 12px 18px;
  font-size: 0.8rem; font-weight: 500; color: #333;
  transition: background 0.2s;
}
.dropdown-menu a:hover { background: #f0f7ff; color: #2196F3; }
li:hover > .dropdown-menu { display: block; }

/* Mobile menu */
.menu-toggle {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 5px;
}
.menu-toggle span {
  display: block; width: 26px; height: 3px;
  background: #333; border-radius: 2px; transition: 0.3s;
}

/* ========== HERO ========== */
.hero {
  position: relative; min-height: 90vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: #fff;
  background: url('/images/hero-bg.jpg') center/cover no-repeat;
  margin-top: 70px;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(70, 130, 150, 0.75);
}
.hero-content { position: relative; z-index: 1; max-width: 800px; padding: 40px 20px; }
.hero h1 { font-size: 2.6rem; font-weight: 700; margin-bottom: 16px; }
.hero h2 { font-size: 1.3rem; font-weight: 400; margin-bottom: 12px; opacity: 0.95; }
.hero h3 { font-size: 1rem; font-weight: 300; margin-bottom: 24px; opacity: 0.85; }
.hero .btn { margin-top: 10px; }

/* Page hero (inner pages) */
.page-hero {
  position: relative; height: 300px;
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: #fff;
  background: url('/images/hero-bg.jpg') center/cover no-repeat;
  margin-top: 70px;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(70, 130, 150, 0.75);
}
.page-hero h1 {
  position: relative; z-index: 1;
  font-size: 2.2rem; font-weight: 700;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-block; padding: 14px 32px;
  background: #2196F3; color: #fff;
  border: none; border-radius: 6px; cursor: pointer;
  font-family: inherit; font-size: 1rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.5px;
  transition: background 0.2s, transform 0.1s;
}
.btn:hover { background: #1976D2; transform: translateY(-1px); }
.btn-outline {
  background: transparent; border: 2px solid #fff; color: #fff;
}
.btn-outline:hover { background: rgba(255,255,255,0.15); }

/* ========== SERVICE CARDS (Home) ========== */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 40px;
}
.service-card {
  position: relative; overflow: hidden; border-radius: 8px;
  aspect-ratio: 4/3;
}
.service-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s;
}
.service-card:hover img { transform: scale(1.05); }
.service-card .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(transparent 40%, rgba(0,0,0,0.65));
  display: flex; align-items: flex-end; padding: 20px;
}
.service-card .overlay h3 {
  color: #fff; font-size: 1.4rem; font-weight: 700;
}

/* ========== CALLBACK FORM (Home sidebar) ========== */
.home-main { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.callback-box {
  background: #f0f7ff; padding: 30px; border-radius: 8px;
  border: 1px solid #d0e3f7;
}
.callback-box h3 { font-size: 1.1rem; margin-bottom: 16px; color: #2c3e50; }
.callback-box input {
  width: 100%; padding: 12px; margin-bottom: 12px;
  border: 1px solid #ccc; border-radius: 4px;
  font-family: inherit; font-size: 0.95rem;
}
.callback-box .btn { width: 100%; text-align: center; }

/* ========== SERVICE PAGE LAYOUT ========== */
.service-layout {
  display: grid; grid-template-columns: 1fr 400px; gap: 40px; align-items: start;
}
.service-layout h2 { font-size: 1.8rem; color: #2c3e50; margin-bottom: 20px; }
.service-layout p { margin-bottom: 16px; font-size: 1rem; line-height: 1.7; color: #555; }
.service-image { border-radius: 8px; overflow: hidden; }
.service-image img { width: 100%; height: auto; border-radius: 8px; }

/* Tillval */
.tillval { margin-top: 30px; padding: 20px; background: #f9f9f9; border-radius: 8px; }
.tillval h3 { font-size: 1.1rem; color: #2c3e50; margin-bottom: 12px; }
.tillval-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0; border-bottom: 1px solid #eee;
}
.tillval-item:last-child { border-bottom: none; }
.tillval-item span:first-child { font-weight: 600; }
.tillval-item span:last-child { color: #777; font-size: 0.9rem; }

/* ========== REGION GRID (SEO areas) ========== */
.region-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}
.region-col h3 {
  font-size: 1.1rem; font-weight: 700; color: #2c3e50;
  margin-bottom: 10px; padding-bottom: 8px; border-bottom: 2px solid #2196F3;
}
.region-col p { font-size: 0.9rem; color: #666; line-height: 1.8; }

/* ========== CLIENT LOGOS ========== */
.client-logos {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 40px; padding: 30px 0;
}
.client-logos img { height: 50px; width: auto; opacity: 0.7; transition: opacity 0.2s; filter: grayscale(30%); }
.client-logos img:hover { opacity: 1; filter: grayscale(0); }

/* ========== CONTACT PAGE ========== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-info h2 { font-size: 1.6rem; color: #2c3e50; margin-bottom: 20px; }
.contact-info h3 { font-size: 1.1rem; color: #555; margin-bottom: 10px; }
.contact-info a { color: #2196F3; }
.contact-info a:hover { text-decoration: underline; }
.contact-info .logo-img { max-width: 200px; margin-top: 30px; }

.contact-form h2 { font-size: 1.6rem; color: #2c3e50; margin-bottom: 20px; }
.contact-form label { display: block; margin-bottom: 4px; font-weight: 600; font-size: 0.9rem; color: #444; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 12px; margin-bottom: 16px;
  border: 1px solid #ccc; border-radius: 4px;
  font-family: inherit; font-size: 0.95rem;
}
.contact-form textarea { min-height: 100px; resize: vertical; }
.contact-form .file-upload {
  margin-bottom: 16px; padding: 12px;
  border: 2px dashed #ccc; border-radius: 4px; text-align: center;
  color: #777; font-size: 0.9rem; cursor: pointer;
}
.contact-form .file-upload:hover { border-color: #2196F3; color: #2196F3; }

/* ========== FAQ ========== */
.faq-layout { display: grid; grid-template-columns: 1fr 300px; gap: 40px; }
.faq-item {
  border: 1px solid #e0e0e0; border-radius: 6px;
  margin-bottom: 12px; overflow: hidden;
}
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 20px; cursor: pointer;
  font-weight: 600; font-size: 1rem; color: #2c3e50;
  background: #fafafa; transition: background 0.2s;
}
.faq-question:hover { background: #f0f7ff; }
.faq-question .arrow { transition: transform 0.3s; font-size: 1.2rem; color: #2196F3; }
.faq-item.open .faq-question .arrow { transform: rotate(180deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease-out;
}
.faq-item.open .faq-answer { max-height: 500px; }
.faq-answer p { padding: 0 20px 18px; color: #555; line-height: 1.7; }

.faq-sidebar { text-align: center; }
.faq-sidebar .btn { margin-top: 16px; font-size: 0.9rem; }

/* ========== ABOUT PAGE ========== */
.about-intro { max-width: 800px; margin: 0 auto; text-align: center; }
.about-intro h2 { font-size: 1.8rem; color: #2c3e50; margin-bottom: 12px; }
.about-intro h3 { font-size: 1.1rem; font-weight: 400; color: #666; margin-bottom: 30px; }
.about-content h2 { font-size: 1.4rem; color: #2c3e50; margin: 30px 0 16px; }
.about-content p { font-size: 1rem; color: #555; line-height: 1.7; margin-bottom: 16px; }

/* ========== BANNER ========== */
.banner {
  background: #2196F3; color: #fff; text-align: center;
  padding: 16px 20px; font-size: 1rem; font-weight: 600;
}
.banner .highlight { font-size: 1.2rem; }

/* ========== FOOTER ========== */
.footer {
  background: #1a2530; color: #fff; text-align: center;
  padding: 40px 20px;
}
.footer h3 { font-size: 1.1rem; font-weight: 700; letter-spacing: 2px; margin-bottom: 8px; }
.footer p { font-size: 0.9rem; opacity: 0.7; }
.footer-bottom {
  margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.8rem; opacity: 0.5;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .home-main { grid-template-columns: 1fr; }
  .service-layout { grid-template-columns: 1fr; }
  .service-image { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .faq-layout { grid-template-columns: 1fr; }
  .faq-sidebar { display: none; }
  .region-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  .nav-links {
    display: none; position: absolute; top: 70px; left: 0; right: 0;
    flex-direction: column; background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }
  .nav-links.active { display: flex; }
  .nav-links > li > a { padding: 14px 20px; }
  .dropdown-menu {
    position: static; box-shadow: none;
    background: #f8f8f8;
  }
  .dropdown-menu a { padding-left: 36px; }
  li:hover > .dropdown-menu { display: none; }
  li.dropdown-open > .dropdown-menu { display: block; }
  .nav-links .cta-btn { padding: 10px 20px; }
  .nav-links .cta-btn a { display: block; text-align: center; }

  .hero { min-height: 70vh; }
  .hero h1 { font-size: 1.8rem; }
  .hero h2 { font-size: 1.1rem; }
  .services-grid { grid-template-columns: 1fr; }
  .page-hero { height: 200px; }
  .page-hero h1 { font-size: 1.6rem; }
  .region-grid { grid-template-columns: 1fr; }
}
