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

html {
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  height: auto;
}

body {
  font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  background: #fff;
}

a {
  color: #1a5276;
  text-decoration: underline;
}
a:hover {
  color: #2980b9;
}

h1, h2, h3, h4 {
  letter-spacing: 0.03em;
}

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

/* Header */
header {
  background: #1a1a2e;
  color: #fff;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-link img {
  height: 60px;
  width: auto;
}

.company-name {
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  margin-left: 10px;
}

/* Hamburger menu button - hidden on desktop */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  flex-direction: column;
  gap: 5px;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* Main navigation */
.main-nav > ul {
  display: flex;
  list-style: none;
  gap: 5px;
}

.main-nav > ul > li > a {
  color: #ddd;
  text-decoration: none;
  padding: 8px 12px;
  font-size: 14px;
  border-radius: 4px;
  transition: background 0.2s;
  white-space: nowrap;
}

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

/* Dropdown menus */
.dropdown {
  position: relative;
}

.main-nav .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #1a1a2e;
  min-width: 220px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.3);
  z-index: 200;
  border-radius: 0 0 4px 4px;
  list-style: none;
  padding: 0;
}

.main-nav .dropdown-menu a {
  display: block;
  padding: 10px 15px;
  font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  white-space: normal;
  color: #ddd;
  text-decoration: none;
  transition: background 0.2s;
}

.main-nav .dropdown-menu a:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

.main-nav .dropdown-menu li:last-child a {
  border-bottom: none;
}

.dropdown:hover > .dropdown-menu {
  display: block;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  color: #fff;
  text-align: center;
  padding: 100px 20px;
}
.hero h1 {
  font-size: 44px;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}
.hero .subtitle {
  font-size: 20px;
  color: #8ecae6;
  margin-bottom: 20px;
  font-weight: 300;
  letter-spacing: 0.08em;
}
.hero p {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.9;
}

/* Sections */
.section {
  padding: 60px 0;
}
.section:nth-child(even) {
  background: #fff;
}

section {
  padding: 60px 0;
}
.section h2 {
  font-size: 30px;
  text-align: center;
  margin-bottom: 40px;
  color: #1a1a2e;
  letter-spacing: 0.08em;
}
.section h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #1a5276;
}
.section h4 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #1a5276;
}

/* Section headings on home page */
section > .container > h2 {
  font-size: 30px;
  letter-spacing: 0.08em;
  margin-bottom: 40px;
  text-align: center;
  color: #1a1a2e;
}

/* Page title */
.page-title {
  background: #1a1a2e;
  color: #fff;
  text-align: center;
  padding: 60px 20px;
}
.page-title h1 {
  font-size: 36px;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}
.page-title .breadcrumb {
  color: #8ecae6;
  font-size: 14px;
}
.page-title .breadcrumb a {
  color: #8ecae6;
  text-decoration: underline;
}
.page-title .breadcrumb a:hover {
  color: #fff;
}

/* Content */
.content {
  background: #fff;
  padding: 60px 0;
}
.content p {
  margin-bottom: 15px;
  line-height: 1.8;
}
.content ul, .content ol {
  margin: 0 0 15px 30px;
}
.content li {
  margin-bottom: 10px;
}

/* About section */
.about-wrap {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}
.about-wrap img {
  border-radius: 8px;
  max-width: 200px;
  height: auto;
}

/* Features grid */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin: 20px 0;
  list-style: none;
  padding: 0;
}
.features li {
  background: #eaf2f8;
  padding: 14px 18px;
  border-radius: 6px;
  text-align: center;
  font-weight: 600;
  color: #1a5276;
  font-size: 14px;
}
.features li a {
  color: #1a5276;
  text-decoration: underline;
}

/* Service cards on home */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
  margin-top: 20px;
}
.service-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
}
.service-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}
.card-img-link {
  display: block;
  overflow: hidden;
}
.card-img-link img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
.card-img-link:hover img {
  transform: scale(1.05);
}
.card-body {
  padding: 25px;
}
.card-body h3 {
  margin: 0 0 10px;
  font-size: 18px;
}
.card-body h3 a {
  color: #1a5276;
  text-decoration: none;
}
.card-body h3 a:hover {
  text-decoration: underline;
}
.links-note {
  font-size: 13px;
  color: #888;
  margin-bottom: 12px;
}
.links-note a {
  color: #888;
  text-decoration: underline;
}
.card-body p {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
  margin: 0 0 12px;
}
.card-body p:last-child {
  margin-bottom: 0;
}
.card-body p a {
  color: #1a5276;
  text-decoration: underline;
}
.card-body p a:hover {
  color: #2980b9;
}

/* Two column layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}
.two-col img {
  max-width: 100%;
  border-radius: 6px;
}

/* Home page layouts - stack on mobile */
.about-content {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}
.about-content .about-image img {
  max-width: 200px;
  border-radius: 8px;
}
.else-content {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}
.else-content .else-image img {
  max-width: 300px;
  border-radius: 8px;
}
/* Credentials */
.credentials-content {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}
.credentials-content .credentials-image img {
  max-width: 200px;
  border-radius: 8px;
}
.credentials-text ul {
  list-style: none;
  padding: 0;
}
.credentials-text li {
  padding: 10px 0;
  font-size: 15px;
  border-bottom: 1px solid #eee;
}
.credentials-text li:last-child {
  border-bottom: none;
}
.credentials-text li::before {
  content: "\2713\0020";
  color: #1a5276;
  font-weight: bold;
}
@media (max-width: 768px) {
  .about-content,
  .else-content,
  .credentials-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .about-content .about-image img,
  .else-content .else-image img,
  .credentials-content .credentials-image img {
    max-width: 100%;
  }
}

/* Content page images */
.content-img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 20px auto;
  border-radius: 8px;
}
.img-row {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 20px 0;
}
.img-row img {
  max-width: 280px;
  height: auto;
  border-radius: 8px;
}

/* Socket grid on extra sockets page */
.socket-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  margin-top: 20px;
}
.socket-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: box-shadow 0.3s, transform 0.3s;
}
.socket-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}
.socket-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.socket-card h3 {
  margin: 15px 15px 8px;
  font-size: 16px;
  color: #1a5276;
}
.socket-card p {
  margin: 0 15px;
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.lightbox.open {
  display: flex;
}
.lightbox-img {
  max-width: 90%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 4px;
}
.lightbox-caption {
  color: #fff;
  padding: 15px 20px;
  text-align: center;
  font-size: 16px;
  max-width: 90%;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  line-height: 1;
}
.lightbox-close:hover {
  color: #ccc;
}

/* Projects gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
}
.gallery-grid a {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 6px;
  text-decoration: none;
}
.gallery-grid a::after {
  content: "press to zoom";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.5);
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.05em;
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-grid a:hover::after {
  opacity: 1;
}
.gallery-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
.gallery-grid a:hover img {
  transform: scale(1.05);
}

/* Reviews */
.review {
  background: #f8f9fa;
  border-left: 4px solid #1a5276;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 0 6px 6px 0;
}
.review .quote {
  font-style: italic;
  margin-bottom: 8px;
}
.review .author {
  font-weight: bold;
  color: #1a5276;
}
.review .date {
  color: #888;
  font-size: 13px;
}

/* Accreditations / logos */
.accred-list {
  list-style: none;
  padding: 0;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.accred-list li {
  padding: 10px 0;
  font-size: 15px;
  border-bottom: 1px solid #eee;
}
.accred-list li:last-child {
  border-bottom: none;
}
.accred-list a {
  font-weight: 600;
}

.logo-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
  align-items: center;
  margin: 30px 0;
}
.logo-strip img {
  max-height: 80px;
  width: auto;
}

/* Blog */
.blog-post {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}
.blog-post a {
  text-decoration: none;
  color: inherit;
}
.blog-post a:hover h2 {
  color: #2980b9;
}
.blog-post img {
  width: 100%;
  max-width: 454px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 12px;
}
.blog-post h2 {
  text-align: left;
  margin-bottom: 5px;
}
.blog-post .meta {
  color: #888;
  font-size: 14px;
  margin-bottom: 10px;
}

/* Contact page */
.contact-details {
  text-align: center;
  font-size: 18px;
  margin: 40px 0;
}
.contact-details p {
  margin-bottom: 12px;
}
.contact-details .phone {
  font-size: 30px;
  font-weight: bold;
  color: #1a5276;
}

/* Contact page hours */
.hours {
  max-width: 400px;
  margin: 40px auto;
  text-align: center;
}
.hours h2 {
  font-size: 22px;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  color: #1a1a2e;
}
.hours-table {
  width: 100%;
  border-collapse: collapse;
}
.hours-table td {
  padding: 8px 12px;
  font-size: 15px;
  border-bottom: 1px solid #eee;
}
.hours-table td:first-child {
  font-weight: 600;
  text-align: left;
  color: #1a5276;
}
.hours-table td:last-child {
  text-align: right;
}
.hours-table tr:last-child td {
  border-bottom: none;
}
.btn-call {
  display: inline-block;
  background: #27ae60;
  color: #fff;
  padding: 16px 44px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 20px;
  font-weight: bold;
  margin-top: 20px;
  transition: background 0.3s, transform 0.2s;
}
.btn-call:hover {
  background: #2ecc71;
  transform: translateY(-2px);
}

.btn {
  display: inline-block;
  background: #1a5276;
  color: #fff;
  padding: 10px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.3s;
}
.btn:hover {
  background: #2980b9;
}

/* Footer */
footer {
  background: #1a1a2e;
  color: #aaa;
  padding: 30px 0;
  font-size: 14px;
}
footer .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
footer .footer-col h4 {
  color: #fff;
  margin-bottom: 10px;
  font-size: 16px;
}
footer a {
  color: #8ecae6;
}
footer a:hover {
  color: #fff;
}
footer .social-icons {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}
footer .social-icons img {
  width: 32px;
  height: 32px;
}
footer .footer-bottom {
  text-align: center;
  width: 100%;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #333;
  font-size: 13px;
}

/* T&C expandable */
details {
  margin-bottom: 15px;
  background: #f8f9fa;
  padding: 10px 15px;
  border-radius: 6px;
}
details summary {
  cursor: pointer;
  font-weight: bold;
  color: #1a5276;
}
details[open] {
  background: #fff;
  border: 1px solid #e0e0e0;
}
details[open] summary {
  margin-bottom: 10px;
}

/* Useful links */
.useful-link-item {
  margin-bottom: 25px;
  padding: 20px;
  background: #f8f9fa;
  border-left: 4px solid #1a5276;
  border-radius: 0 6px 6px 0;
}
.useful-link-item strong {
  font-size: 18px;
  color: #1a5276;
}
.useful-link-item p {
  margin-top: 8px;
  font-size: 14px;
  color: #555;
}

/* Video embed */
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  margin: 20px 0;
}
.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #1a5276;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 24px;
  line-height: 48px;
  text-align: center;
  z-index: 999;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: #2980b9;
}
.desktop-back-to-top {
  display: none;
}
@media (min-width: 769px) {
  .back-to-top {
    display: none !important;
  }
  .desktop-back-to-top {
    display: block;
    text-align: center;
    margin: 20px 0;
    font-size: 14px;
  }
  .desktop-back-to-top a {
    color: #8ecae6;
    text-decoration: none;
  }
  .desktop-back-to-top a:hover {
    color: #fff;
  }
}

/* Utility */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.note {
  font-size: 13px;
  color: #888;
  text-align: center;
  margin-top: 30px;
}

/* Responsive */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .main-nav {
    display: none;
    width: 100%;
    order: 3;
    margin-top: 10px;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav > ul {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }

  .main-nav > ul > li > a {
    display: block;
    padding: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }

  .main-nav .dropdown-menu {
    position: static;
    box-shadow: none;
    padding-left: 20px;
  }

  .dropdown:hover > .dropdown-menu {
    display: none;
  }

  .dropdown.open > .dropdown-menu {
    display: block;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
  .gallery-grid img {
    height: 120px;
  }

  .hero {
    padding: 60px 20px;
  }
  .hero h1 {
    font-size: 28px;
  }
  .hero .subtitle {
    font-size: 16px;
  }
  .about-wrap {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .two-col {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  section > .container > h2 {
    font-size: 24px;
  }
  footer .container {
    flex-direction: column;
    text-align: center;
  }
  footer .social-icons {
    justify-content: center;
  }
}
