:root {
  --navy: #0b1f33;
  --blue: #1d6fb8;
  --sky: #eaf5ff;
  --text: #1d2935;
  --muted: #667085;
  --white: #ffffff;
  --border: #d8e2ee;
}

* { box-sizing: border-box; }

html, body { overflow-x: hidden; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.nav {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.logo img {
  height: 74px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-weight: 700;
  color: var(--navy);
}

.nav-links a:hover { color: var(--blue); }

.btn {
  display: inline-block;
  background: var(--blue);
  color: white;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  border: 2px solid var(--blue);
}

.btn:hover {
  background: var(--navy);
  border-color: var(--navy);
}

.btn-outline {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,.75);
}

.btn-outline:hover {
  background: white;
  border-color: white;
  color: var(--navy);
}

.hero {
  padding: 92px 0;
  background:
    linear-gradient(rgba(11, 31, 51, 0.65), rgba(11, 31, 51, 0.65)),
    url("images/hero.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 760px;
}

.hero-logo {
  width: min(100%, 420px);
  height: auto;
  margin-bottom: 24px;
}

.kicker {
  color: #b9dcff;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(42px, 7vw, 72px);
  line-height: 1;
}

.hero p {
  font-size: 20px;
  max-width: 650px;
  color: #edf6ff;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.section { padding: 76px 0; }
.section-light { background: var(--sky); }

.section-title {
  max-width: 720px;
  margin-bottom: 36px;
}

.section-title h2 {
  margin: 0 0 10px;
  font-size: clamp(30px, 4vw, 44px);
  color: var(--navy);
  line-height: 1.1;
}

.section-title p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 26px;
  box-shadow: 0 12px 35px rgba(11, 31, 51, 0.08);
}

.card h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 22px;
}

.card p { color: var(--muted); margin: 0; }

.page-hero {
  padding: 70px 0;
  background: var(--navy);
  color: white;
}

.page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(38px, 5vw, 58px);
}

.page-hero p {
  margin: 0;
  color: #d7e9fb;
  font-size: 19px;
}







.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.placeholder-photo {
  min-height: 420px;
  border-radius: 24px;
  background:
    linear-gradient(rgba(29, 111, 184, 0.18), rgba(11, 31, 51, 0.18)),
    url("https://images.unsplash.com/photo-1473968512647-3e447244af8f?auto=format&fit=crop&w=1200&q=80");
  background-size: cover;
  background-position: center;
  box-shadow: 0 18px 45px rgba(11, 31, 51, 0.18);
}

.list { padding-left: 20px; color: var(--muted); }

.contact-box {
  background: var(--navy);
  color: white;
  border-radius: 24px;
  padding: 34px;
}

.contact-box p { color: #d7e9fb; }

.form { display: grid; gap: 14px; }

.form input,
.form textarea,
.form select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font: inherit;
}

.form textarea {
  min-height: 140px;
  resize: vertical;
}

.footer {
  background: #071827;
  color: white;
  padding: 34px 0;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #c9d6e2;
}

@media (max-width: 850px) {
  .nav {
    min-height: auto;
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
    gap: 14px;
  }

  .logo img { height: 54px; }

  .nav-links {
    flex-wrap: wrap;
    gap: 14px;
  }

  .grid-3,
  .grid-2,
  .gallery,
  .split {
    grid-template-columns: 1fr;
  }

  .hero { padding: 60px 0; }
  .hero-logo { width: min(100%, 280px); }
  .hero h1 { font-size: 42px; }
  .hero p { font-size: 18px; }
  .footer-row { flex-direction: column; }
}
@media (max-width: 850px) {
  .hero {
    background-position: center top;
  }
}
.section-image {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(11, 31, 51, 0.18);
}






/* Updated Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.gallery-item {
  display: block;
  height: 280px;
  overflow: hidden;
  border-radius: 18px;
  background: #eef6ff;
  border: 1px solid var(--border, #d6e4f3);
  box-shadow: 0 12px 35px rgba(11, 31, 51, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(11, 31, 51, 0.16);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

@media (max-width: 900px) {
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery-item {
    height: 240px;
  }
}


/* Skyview gallery update */
.gallery {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

.gallery-item {
  display: block !important;
  height: 280px !important;
  overflow: hidden !important;
  border-radius: 18px !important;
  background: #eef6ff !important;
  border: 1px solid #d6e4f3 !important;
  box-shadow: 0 12px 35px rgba(11, 31, 51, 0.08) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

.gallery-item:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 18px 45px rgba(11, 31, 51, 0.16) !important;
}

.gallery-item img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important;
}

@media (max-width: 900px) {
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 600px) {
  .gallery {
    grid-template-columns: 1fr !important;
  }
  .gallery-item {
    height: 240px !important;
  }
}

/* Homepage conversion update */
.home-hero{min-height:78vh;display:flex;align-items:center;background-size:cover;background-position:center;color:#fff}
.hero-content{max-width:760px;padding:90px 0}
.eyebrow{color:#1f7acc;font-weight:800;letter-spacing:.08em;text-transform:uppercase;font-size:.85rem;margin-bottom:12px}
.home-hero .eyebrow{color:#75c7ff}
.home-hero h1{font-size:clamp(2.4rem,5vw,4.8rem);line-height:1.02;margin:0 0 22px}
.hero-subtitle{font-size:clamp(1.05rem,2vw,1.35rem);line-height:1.55;max-width:680px;margin-bottom:30px}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap}
.hero-btn{background:#1f7acc;color:#fff}
.secondary-btn{background:rgba(255,255,255,.14);color:#fff;border:1px solid rgba(255,255,255,.45)}
.section-heading{max-width:760px;margin-bottom:30px}
.section-heading h2,.split-section h2,.cta-box h2{font-size:clamp(1.8rem,3vw,2.7rem);line-height:1.12;margin:0 0 14px}
.light-section{background:#f4f8fc}
.client-grid,.service-grid,.featured-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.client-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.info-card,.service-card{background:#fff;border:1px solid #d6e4f3;border-radius:18px;padding:24px;box-shadow:0 12px 35px rgba(11,31,51,.08)}
.info-card strong{display:block;margin:10px 0 6px;color:#0b1f33}
.info-card span{display:block;color:#516273;line-height:1.45}
.service-card h3{margin-top:0;color:#0b1f33}
.service-card p{color:#516273}
.price{font-size:1.25rem;font-weight:800;color:#1f7acc!important}
.service-card ul{padding-left:20px;margin-bottom:0}.service-card li{margin:8px 0}
.split-section{display:grid;grid-template-columns:1.1fr .9fr;gap:40px;align-items:center}
.trust-list{display:grid;gap:12px}
.trust-list div{background:#f4f8fc;border:1px solid #d6e4f3;border-radius:14px;padding:15px 18px;font-weight:700}
.featured-card{height:250px;border-radius:18px;overflow:hidden;display:block;box-shadow:0 12px 35px rgba(11,31,51,.10)}
.featured-card img{width:100%;height:100%;object-fit:cover;display:block}
.center-actions{text-align:center;margin-top:28px}
.cta-section{background:#0b1f33;color:#fff;padding:70px 0}
.cta-box{text-align:center;max-width:760px}.cta-box .hero-actions{justify-content:center}
.contact-form select,.contact-form input,.contact-form textarea{width:100%;padding:13px 14px;border:1px solid #d6e4f3;border-radius:10px;font:inherit;margin-top:6px}
.contact-form label{display:block;font-weight:700;margin-bottom:15px}
@media (max-width:900px){.client-grid,.service-grid,.featured-grid,.split-section{grid-template-columns:1fr 1fr}.home-hero{min-height:68vh}}
@media (max-width:600px){.client-grid,.service-grid,.featured-grid,.split-section{grid-template-columns:1fr}.hero-content{padding:70px 0}.featured-card{height:230px}}


/* Construction page update */
.construction-hero {
  min-height: 72vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: #fff;
}

.construction-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.construction-photo {
  height: 280px;
  display: block;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 12px 35px rgba(11, 31, 51, 0.10);
  background: #eef6ff;
  transition: transform .25s ease, box-shadow .25s ease;
}

.construction-photo:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(11, 31, 51, 0.16);
}

.construction-photo img,
.large-preview img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.large-preview {
  height: 360px;
}

.construction-preview-section {
  background: #f4f8fc;
}

@media (max-width: 900px) {
  .construction-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .construction-grid {
    grid-template-columns: 1fr;
  }

  .construction-photo {
    height: 240px;
  }

  .large-preview {
    height: 260px;
  }
}


/* Thermal Section */
.thermal-section {
  background: #081421;
}

.thermal-section .section-heading h2,
.thermal-section .section-heading p,
.thermal-section .eyebrow {
  color: #ffffff;
}

.thermal-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
}

.thermal-card h3,
.thermal-card p {
  color: #ffffff;
}


/* Thermal Drone Imaging Page */
.thermal-hero {
  background:
    linear-gradient(rgba(8, 20, 33, 0.82), rgba(8, 20, 33, 0.82)),
    radial-gradient(circle at top right, rgba(31, 116, 183, 0.45), transparent 45%),
    #081421;
  color: #ffffff;
}

.thermal-hero h1,
.thermal-hero p,
.thermal-hero .eyebrow {
  color: #ffffff;
}

.thermal-spotlight,
.thermal-callout {
  background: #081421;
  color: #ffffff;
}

.thermal-spotlight h2,
.thermal-spotlight p,
.thermal-spotlight .eyebrow,
.thermal-callout h2,
.thermal-callout p,
.thermal-callout .eyebrow {
  color: #ffffff;
}

.split {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 32px;
  align-items: center;
}

@media (max-width: 800px) {
  .split {
    grid-template-columns: 1fr;
  }
}


/* Real Estate page */
.real-estate-hero {
  min-height: 72vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: #fff;
}
.real-estate-hero .eyebrow { color: #75c7ff; }

.real-estate-gallery,
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.real-estate-gallery img,
.gallery-grid img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,.12);
}


/* Dropdown navigation */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown > a {
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 230px;
  box-shadow: 0 10px 30px rgba(11, 31, 51, 0.16);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  z-index: 9999;
}

.dropdown-content a {
  color: var(--navy);
  padding: 13px 16px;
  display: block;
  font-weight: 700;
  white-space: nowrap;
}

.dropdown-content a:hover {
  background: var(--sky);
  color: var(--blue);
}

.dropdown:hover .dropdown-content {
  display: block;
}

@media (max-width: 760px) {
  .nav {
    flex-direction: column;
    padding: 12px 0;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .dropdown-content {
    position: static;
    box-shadow: none;
    border-radius: 12px;
    margin-top: 8px;
  }
}


/* Thermal portfolio grid */
.thermal-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}
.thermal-gallery-grid .gallery-item {
  display: block;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 35px rgba(11,31,51,.16);
  background: #0b253d;
}
.thermal-gallery-grid img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}


/* Matched inspection cards */
.inspection-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}

.inspection-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(11, 31, 51, 0.14);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.inspection-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
}

.inspection-card-content {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.inspection-card-content h3 {
  margin: 0 0 12px;
  font-size: 1.1rem;
  line-height: 1.35;
  color: #0b1f33;
}

.inspection-card-content p {
  margin: 0;
  color: #26384d;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .inspection-grid {
    grid-template-columns: 1fr;
  }

  .inspection-card img {
    height: 240px;
  }
}


/* Equal inspection image sizing */
.inspection-card {
  min-height: 100%;
}

.inspection-card img {
  width: 100% !important;
  height: 260px !important;
  min-height: 260px !important;
  max-height: 260px !important;
  object-fit: cover !important;
  display: block;
}


/* ===== 5 New Website Improvements ===== */

/* 1. Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* 2. Sticky header with blur effect */
.site-header,
header {
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,0.95);
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
}

/* 3. Better button hover effects */
button,
.btn,
a.button,
.book-button,
.cta-button {
  transition: all 0.25s ease;
}

button:hover,
.btn:hover,
a.button:hover,
.book-button:hover,
.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}

/* 4. Image card hover animation */
.gallery img,
.real-estate-grid img,
.construction-grid img,
.inspection-card img,
.thermal-grid img {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.gallery img:hover,
.real-estate-grid img:hover,
.construction-grid img:hover,
.inspection-card img:hover,
.thermal-grid img:hover {
  transform: scale(1.02);
  box-shadow: 0 18px 32px rgba(0,0,0,0.22);
}

/* 5. Cleaner section spacing + better readability */
section {
  padding-top: 70px;
  padding-bottom: 70px;
}

p {
  line-height: 1.7;
}

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

/* Better mobile spacing */
@media (max-width: 768px) {
  section {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .inspection-card img {
    height: 220px !important;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.7rem;
  }
}


/* Thermal EO comparison slider */
.thermal-comparison-section {
  background: #ffffff;
}

.thermal-slider-wrapper {
  max-width: 820px;
  margin: 0 auto;
}

.thermal-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 18px 45px rgba(11, 31, 51, 0.18);
  background: #0b1f33;
  cursor: ew-resize;
  user-select: none;
}

.thermal-slider-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thermal-slider-overlay {
  position: absolute;
  inset: 0 auto 0 0;
  width: 50%;
  overflow: hidden;
  border-right: 3px solid #ffffff;
}

.thermal-slider-overlay img {
  width: 820px;
  max-width: none;
}

.thermal-slider-handle {
  position: absolute;
  top: 0;
  left: 50%;
  height: 100%;
  width: 0;
  transform: translateX(-50%);
  pointer-events: none;
}

.thermal-slider-handle span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}

.thermal-slider-handle span::before,
.thermal-slider-handle span::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid #0b1f33;
  border-left: 2px solid #0b1f33;
}

.thermal-slider-handle span::before {
  left: 12px;
  transform: translateY(-50%) rotate(-45deg);
}

.thermal-slider-handle span::after {
  right: 12px;
  transform: translateY(-50%) rotate(135deg);
}

.thermal-slider-label {
  position: absolute;
  top: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(11,31,51,.78);
  color: #ffffff;
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.thermal-label-left {
  left: 18px;
}

.thermal-label-right {
  right: 18px;
}

@media (max-width: 860px) {
  .thermal-slider-overlay img {
    width: calc(100vw - 40px);
  }
}
