@charset "utf-8";
/* CSS Document */

body, html {
	height: 100%;
    font-family: verdana;
    padding: 0 ;
	margin: 0 ;
    background: #f0f0f0;
}

a {
	text-decoration: none;
}

/* Header */
.header {
    padding: 10px;
    text-align: center;
    background: black;
	text-decoration-color: #FFFFFF;
}

.headerlanding {
	width: 950px;
	height: 981px;
	margin : 0px auto 0 auto;
	background-image: url("images/NSELanding.jpg");
	border-radius:0px;
    box-shadow:0 4px 15px rgba(0,0,0,0.2);
}

.navland {
	width: 950px;
	margin : 0px auto 0 auto;
}
	
.topnavland {
	width: 950px;
    overflow: hidden;
	margin : 0px auto 0 auto;
}

.smallheader {
	width: 950px;
	height: 400px;
	margin : 0px auto 0 auto;
	background-image: url("images/NSESmall.png");
	border-radius:0px;
    box-shadow:0 4px 15px rgba(0,0,0,0.2);
}

/* topnav links */
.topnavland a {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
	font-size: 20px;
}

/* Change color on hover */
.topnavland a:hover {
    color: black;
}
		
/* top navigation bar */
.nav {
	width: 950px;
	background-color: #000000;
	margin : 0px auto 0 auto;
	border-radius:0 0 10px 10px;
    box-shadow:0 4px 15px rgba(0,0,0,0.2);
}

.topnav {
	width: 950px;
    overflow: hidden;
	margin : 0px auto 0 auto;
}

/* topnav links */
.topnav a {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
	font-size: 20px;
}

/* Change color on hover */
.topnav a:hover {
    background-color: #333333;
    color: greenyellow;
	border-radius:10px;
    box-shadow:0 4px 15px rgba(0,0,0,0.2);
}
		

/* Style the content */
.content {
	background-color: #FFFFFF;
    padding: 20px;
	width: 950px;
	margin : 20px auto 0 auto;
	border-radius:10px;
    box-shadow:0 4px 15px rgba(0,0,0,0.2);
}

.contentslide {
	width: 920px;
	margin: 20px auto 0 auto;
}

.contentblack {
	background-image:url("images/welcome banner.jpeg");
    padding: 40px 20px 20px 460px;
	width: 950px;
	height: 300px;
	margin : 20px auto 0 auto;
	border-radius:10px;
    box-shadow:0 4px 15px rgba(0,0,0,0.2);
}

/*
.contentreview {
	background-image:url("images/reviewbanner.jpeg");
    padding: 20px;
	width: 950px;
	height: 150px;
	margin : 20px auto 0 auto;
	border-radius: 10px 10px 0 0;
    box-shadow:0 4px 15px rgba(0,0,0,0.2);
}
*/
/* center images */
.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}


/* About & Services Section */
.aboutus h2, .services h2, .content h2, .contentblack h2, .review-widget h2 {
  font-size: 22px;
  margin-top: 0px;
  color: #000;
}

.aboutus p, .services p, .content p, .contentblack p {
  line-height: 1.7;
  color: #555;
  font-size: 15px;
}

.quote-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background-color: #3f3f3f;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
}

.quote-btn:hover {
  background-color: #000;
}

.servicegrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

/* Centered single service row */
.servicegrid.single {
  display: flex;
  justify-content: center;
}

/* Side-by-side layout for middle card */
.servicecard.sidebyside {
  display: flex;
  align-items: center;
  width: 920px;
  background-color: #fff;
  border: 1px solid #e0e0e0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  overflow: hidden;
}

.servicecard.sidebyside .service-img.side {
  width: 50%;
  height: 220px; /* fixed height */
  object-fit: cover;
  border-right: 1px solid #e0e0e0;
}

.servicecard.sidebyside .service-text {
  padding: 20px;
  width: 50%;
  height: 220px; /* same as image for perfect alignment */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.servicecard.sidebyside h3 {
  margin-top: 0;
  color: #111;
}

.servicecard.sidebyside p {
  font-size: 14px;
  color: #444;
  line-height: 1.5;
  margin-top: 8px;
}

.servicecard {
  background-color: #f9faf9;
  border: 1px solid #e0e0e0;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  text-align: center;
}

.servicecard h3 {
  margin-top: 10px;
  color: #111;
}

.servicecard p {
  font-size: 14px;
  color: #444;
  line-height: 1.5;
  margin-top: 8px;
}

.service-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 10px; /* square edges */
}

.servicecard:hover .service-img {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

/* review */
    .review-widget {
      width: 950px;
      margin: 20px auto;
      padding: 20px;
      background: #fff;
      overflow: hidden;
	  border-radius: 10px;
      box-shadow:0 4px 15px rgba(0,0,0,0.2);
    }
    .review-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin: 0px 0 10px 0;
    }
    .review-header .left {
      display: flex;
      align-items: center;
    }
    .review-header img {
      height: 50px;
      margin-right: 10px;
    }
    .review-header h3{
      margin: 0;
      font-size: 18px;
      color: #333;
    }
    .review-summary {
      font-size: 16px;
      color: #FFD700;
      margin-right: 15px;
    }
    .show-more {
	  background-color: #000000;
      color: white;
      padding: 14px 25px;
      text-align: center;
      text-decoration: none;
      display: inline-block;
	  font-weight: bolder;
    }
    .reviews-scroll {
      display: flex;
      overflow-x: hidden;
      gap: 20px;
      scroll-behavior: smooth;
      margin-top: 10px;
    }
    .review {
      flex: 0 0 calc(50% - 20px);
      border: 1px solid #eee;
      border-radius: 8px;
      padding: 15px;
      display: flex;
      gap: 12px;
      background: #fafafa;
      box-sizing: border-box;
    }
    .review img {
      border-radius: 50%;
      width: 50px;
      height: 50px;
      object-fit: cover;
    }
    .review-content {
      flex: 1;
    }
    .review strong {
      display: block;
      margin-bottom: 2px;
      color: #333;
      font-size: 15px;
    }
    .review-date {
      font-size: 12px;
      color: #888;
      margin-bottom: 5px;
    }
    .stars {
      color: #FFD700;
      font-size: 20px;
      margin-bottom: 8px;
    }
    .review p {
      margin: 0;
      font-size: 14px;
      line-height: 1.4;
      color: #555;
    }

/* Add an italic font style to all quotes */
q {font-style: italic;}

/* Add a blue color to the author */
.author {color: cornflowerblue;}


/* photo slider */
  .mySlides
  {
  display:none;
  border-radius: 10px;
  box-shadow:0 4px 15px rgba(0,0,0,0.2);
}

 .w3-animate-opacity{animation:opac 0.8s}@keyframes opac{from{opacity:0} to{opacity:1}}


/* contact form*/
.contact-section {
  width: 950px;
  background: #ffffff;
  margin: 20px auto;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  border: 1px solid #e0e0e0;
  border-radius: 10px; /* Rounded corners */
}

.contact-section h2 {
  text-align: center;
  margin-top: 0;
  font-size: 26px;
  color: #111;
  margin-bottom: 30px;
}

.contact-container {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.contact-info {
  flex: 1;
  font-size: 15px;
  color: #333;
  line-height: 1.6;
}

.contact-info a {
  color: #000;
  text-decoration: none;
  font-weight: bold;
}

.contact-form {
  flex: 1;
}

.contact-form label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
  color: #222;
}

.contact-form input[type="text"],
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-bottom: 15px;
  font-family: verdana;
  font-size: 14px;
}

.contact-form input[type="text"]:focus,
.contact-form textarea:focus {
  border: 2px solid #555;
  outline: none;
}

/* Contact Form Submit Button */
.contact-form input[type="submit"] {
  background-color: #3f3f3f;
  color: white;
  padding: 14px 25px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.contact-form input[type="submit"]:hover {
  background-color: #000;
  transform: translateY(-2px);
}

.contact-form input[type="reset"] {
  background-color: #3f3f3f;
  color: white;
  padding: 14px 25px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.contact-form input[type="reset"]:hover {
  background-color: #000;
  transform: translateY(-2px);
}


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

/* Contact Map */
.contact-map {
  margin-top: 20px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.contact-map iframe {
  width: 100%;
  height: 200px;
  border: 0;
  border-radius: 8px;
  filter: grayscale(100%) contrast(90%);
  transition: filter 0.3s ease;
}

.contact-map iframe:hover {
  filter: grayscale(80%) contrast(100%);
}

.contact-info p strong {
  color: #000;
}

/* Fixed-width masonry gallery */
.gallery {
    width: 900px;
    margin: 0 auto;
    column-width: 280px;
    column-gap: 10px;
}

.gallery-item {
    display: inline-block;
    width: 100%;
    margin-bottom: 10px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: relative;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.gallery-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    transition: transform 0.4s ease;
}

.gallery-item::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.4s ease;
    border-radius: 10px;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item:hover::after {
    background: rgba(0, 0, 0, 0.35);
}

.caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
    padding: 8px 12px;
    font-size: 1rem;
    border-radius: 5px;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
}

.gallery-item:hover .caption {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.05);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.lightbox.show img {
    opacity: 1;
    transform: scale(1);
}

.lb-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 3rem;
    font-weight: bold;
    padding: 0 20px;
    cursor: pointer;
    user-select: none;
    transition: color 0.3s ease;
}

.lb-nav:hover {
    color: #ddd;
}

.lb-nav.prev { left: 20px; }
.lb-nav.next { right: 20px; }

.lightbox::after {
    content: "Click anywhere or press ESC to close";
    position: absolute;
    bottom: 30px;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}
/* Modern Social Follow Section */
/* Button container */
.follow-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
}

/* Circular icon buttons */
.social {
    width: 70px;
    height: 70px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 30px;
    color: white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    transition: 0.3s ease;
}

/* Facebook */
.social.fb {
    background: linear-gradient(135deg, #1877f2, #1459b3);
}

/* Instagram */
.social.ig {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

/* Hover effects */
.social:hover {
    transform: scale(1.15) translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.3);
}

/* Footer */
.footer {
	width: 950px;
	height :150px;
	background-image: url("images/NSEfooter.jpeg");
	margin : 20px auto 0 auto;
	border-radius: 10px 10px 0 0;
    box-shadow:0 4px 15px rgba(0,0,0,0.2);
}

.footer p {
	color: #FFFFFF;
	text-align: center;
}

.containerfoot {
  width: 950px;
  height: 150px;
  padding-top: 5px;
}

form.contact-form input[type="reset"] {
  -webkit-appearance: none;
  appearance: none;
  background-color: #777;
  color: #fff;
  padding: 14px 25px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  margin-left: 10px;
  display: inline-block;
}
/* Terms & Pricing Page */
.terms-hero {
  background: linear-gradient(135deg, #111 0%, #303030 100%);
  color: #fff;
  border-radius: 10px;
  overflow: hidden;
}

.terms-hero h1 {
  margin: 0 0 10px 0;
  color: #fff;
  font-size: 30px;
  line-height: 1.2;
}

.terms-hero p {
  color: #e8e8e8;
  font-size: 16px;
  max-width: 760px;
}

.terms-eyebrow {
  display: inline-block;
  color: greenyellow !important;
  font-weight: bold;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0 0 8px 0 !important;
  font-size: 13px !important;
}

.terms-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

.quote-btn-light {
  background: #fff;
  color: #111;
}

.quote-btn-light:hover {
  background: greenyellow;
  color: #111;
}

.terms-intro strong,
.terms-section strong,
.terms-final-cta strong {
  color: #111;
}


.terms-logo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 18px 0 22px 0;
  align-items: stretch;
}

.terms-logo-card {
  min-height: 96px;
  background: #fff;
  border: 1px solid #e1e1e1;
  border-radius: 10px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  box-sizing: border-box;
}

.terms-logo-card img {
  display: block;
  max-width: 100%;
  max-height: 78px;
  object-fit: contain;
}

.terms-logo-card:hover {
  border-color: #bcbcbc;
}

.terms-trust .terms-grid,
.terms-grid.three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.terms-card {
  background: #f9faf9;
  border: 1px solid #e2e2e2;
  border-radius: 10px;
  padding: 18px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.terms-card i {
  display: inline-block;
  font-size: 30px;
  color: #222;
  margin-bottom: 8px;
}

.terms-card h3 {
  margin: 0 0 8px 0;
  font-size: 17px;
  color: #111;
}

.terms-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}

.terms-section h2,
.terms-final-cta h2 {
  border-bottom: 2px solid #efefef;
  padding-bottom: 10px;
  margin-bottom: 14px;
}

.terms-list {
  margin: 10px 0 0 0;
  padding-left: 24px;
  color: #555;
  font-size: 15px;
  line-height: 1.7;
}

.terms-list li {
  margin-bottom: 10px;
}

.pricing-table {
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  margin: 18px 0;
  background: #fff;
}

.pricing-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  border-bottom: 1px solid #e8e8e8;
}

.pricing-row:last-child {
  border-bottom: 0;
}

.pricing-row div {
  padding: 14px 16px;
  line-height: 1.6;
  color: #555;
  font-size: 14px;
}

.pricing-row div:first-child {
  background: #f7f7f7;
  color: #111;
}

.terms-note {
  background: #f7f7f7;
  border-left: 5px solid #333;
  padding: 14px 16px;
  border-radius: 6px;
}

.terms-final-cta {
  text-align: center;
  background: #fff;
}

.terms-final-cta p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (max-width: 980px) {
  .headerlanding,
  .smallheader,
  .navland,
  .topnavland,
  .nav,
  .topnav,
  .content,
  .review-widget,
  .contact-section {
    width: calc(100% - 20px);
    box-sizing: border-box;
  }

  .smallheader {
    background-size: cover;
    background-position: center;
    height: 260px;
  }

  .topnav a,
  .topnavland a {
    font-size: 16px;
    padding: 12px 10px;
  }

  .terms-logo-strip {
    grid-template-columns: 1fr;
  }

  .terms-logo-card {
    min-height: 86px;
  }

  
.terms-trust .terms-grid,
  .terms-grid.three {
    grid-template-columns: 1fr;
  }

  .pricing-row {
    grid-template-columns: 1fr;
  }

  .pricing-row div:first-child {
    padding-bottom: 6px;
  }

  .pricing-row div:last-child {
    padding-top: 6px;
  }
}

@media screen and (max-width: 620px) {
  .terms-hero h1 {
    font-size: 24px;
  }

  .terms-cta-row .quote-btn {
    display: block;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }

  .topnav a,
  .topnavland a {
    float: none !important;
    display: block;
    text-align: center;
  }
}

/* T&C page-only nav and mobile refinements */
.terms-page .topnav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  overflow: visible;
}

.terms-page .topnav a {
  float: none;
  font-size: 17px;
  padding: 14px 13px;
  white-space: nowrap;
}

.terms-page .topnav a.active {
  background-color: #333333;
  color: greenyellow;
  border-radius: 10px;
}

.terms-page .topnav .nav-phone {
  margin-left: auto;
  background: #1f1f1f;
  color: greenyellow;
  font-weight: bold;
}

.terms-page .smallheader {
  background-size: cover;
  background-position: center;
}

.terms-page .terms-logo-card img {
  width: 100%;
  height: auto;
  max-height: 90px;
}

@media screen and (max-width: 980px) {
  .terms-page .smallheader {
    height: 190px;
  }

  .terms-page .topnav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .terms-page .topnav a {
    font-size: 15px;
    padding: 11px 10px;
  }

  .terms-page .topnav .nav-phone {
    margin-left: 0;
  }

  .terms-page .content {
    margin-top: 14px;
  }
}

@media screen and (max-width: 620px) {
  .terms-page .smallheader {
    height: 120px;
    background-image: linear-gradient(135deg, #080808 0%, #2f2f2f 100%);
  }

  .terms-page .topnav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
  }

  .terms-page .topnav a,
  .terms-page .topnavland a {
    float: none !important;
    display: block;
    text-align: center;
    font-size: 14px;
    padding: 10px 6px;
    box-sizing: border-box;
  }

  .terms-page .topnav .nav-phone {
    grid-column: 1 / -1;
    border-radius: 0 0 10px 10px;
  }

  .terms-page .terms-hero,
  .terms-page .terms-intro,
  .terms-page .terms-trust,
  .terms-page .terms-section,
  .terms-page .terms-final-cta {
    padding: 16px;
  }

  .terms-page .terms-logo-card {
    min-height: 74px;
    padding: 8px;
  }

  .terms-page .terms-logo-card img {
    max-height: 64px;
  }

  .terms-page .terms-list {
    padding-left: 18px;
    font-size: 14px;
  }

  .terms-page .pricing-row div {
    font-size: 14px;
    padding: 12px;
  }
}

/* Home trust/accreditation section */
.home-trust {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
    margin-top: 20px;
    padding: 34px 32px;
    text-align: center;
}

.home-eyebrow {
    color: #2d6a2d;
    font-weight: 700;
    letter-spacing: .12em;
    margin: 0 0 8px 0;
    text-transform: uppercase;
}

.home-trust h2 {
    margin-top: 0;
}

.home-trust-intro {
    max-width: 760px;
    margin: 0 auto 24px auto;
    line-height: 1.65;
}

.home-logo-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    align-items: center;
    margin: 24px auto 26px auto;
}

.home-logo-card {
    min-height: 118px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f8f8;
    border: 1px solid #e4e4e4;
    border-radius: 10px;
    padding: 18px;
    transition: transform .2s ease, box-shadow .2s ease;
}

.home-logo-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

.home-logo-card img {
    display: block;
    max-width: 100%;
    max-height: 82px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.home-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 18px;
    text-align: left;
}

.home-trust-card {
    background: #f8f8f8;
    border-left: 4px solid greenyellow;
    border-radius: 10px;
    padding: 20px;
}

.home-trust-card i {
    color: #2d6a2d;
    font-size: 28px;
    margin-bottom: 8px;
}

.home-trust-card h3 {
    margin: 0 0 8px 0;
}

.home-trust-card p {
    margin: 0;
    line-height: 1.55;
}

.home-trust-btn {
    margin-top: 26px;
}

@media (max-width: 720px) {
    .home-trust {
        padding: 26px 18px;
    }

    .home-logo-strip,
    .home-trust-grid {
        grid-template-columns: 1fr;
    }

    .home-logo-card {
        min-height: 100px;
        padding: 16px;
    }

    .home-logo-card img {
        max-height: 72px;
    }

    .home-trust-card {
        text-align: center;
    }
}

/* =========================================================
   Responsive header, navigation and footer polish
   Keeps the 950px desktop layout, but prevents overflow on
   tablets and mobiles across the NSE site.
   ========================================================= */

.headerlanding,
.smallheader,
.nav,
.topnav,
.navland,
.topnavland,
.footer,
.containerfoot,
.content,
.contentblack,
.review-widget,
.contact-section,
.gallery {
  box-sizing: border-box;
  max-width: 950px;
}

.headerlanding,
.smallheader,
.nav,
.navland,
.topnavland,
.footer,
.containerfoot {
  width: calc(100% - 24px);
}

.topnav {
  width: 100%;
}

.headerlanding,
.smallheader,
.footer {
  background-size: cover;
  background-position: center;
}

.topnav {
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap;
}

.topnav a {
  box-sizing: border-box;
  white-space: nowrap;
}

.topnav a[href^="tel:"] {
  margin-left: auto;
  background: #171717;
  color: greenyellow;
  font-weight: bold;
}

.topnavland {
  display: flex;
  justify-content: flex-end;
}

.topnavland a {
  float: none !important;
}

@media screen and (max-width: 980px) {
  .headerlanding {
    height: 560px;
  }

  .smallheader {
    height: 240px;
  }

  .topnav {
    justify-content: center;
    flex-wrap: wrap;
  }

  .topnav a {
    float: none;
    font-size: 16px;
    padding: 12px 11px;
  }

  .topnav a[href^="tel:"] {
    margin-left: 0;
  }

  .topnavland a {
    padding: 10px 12px;
  }

  .topnavland .fa {
    font-size: 42px !important;
  }

  .content,
  .contentblack,
  .review-widget,
  .contact-section {
    width: calc(100% - 24px);
  }

  .contentslide {
    width: calc(100% - 24px);
  }

  .gallery {
    width: calc(100% - 24px);
  }
}

@media screen and (max-width: 680px) {
  .headerlanding {
    height: 360px;
    border-radius: 0;
  }

  .smallheader {
    height: 150px;
    border-radius: 0;
  }

  .nav {
    border-radius: 0 0 10px 10px;
  }

  .topnav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .topnav a {
    width: 100%;
    padding: 11px 6px;
    font-size: 14px;
    line-height: 1.2;
    text-align: center;
  }

  .topnav a[href^="tel:"] {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(255,255,255,0.12);
    border-radius: 0 0 10px 10px;
    letter-spacing: .02em;
  }

  .topnavland {
    justify-content: center;
  }

  .topnavland a {
    padding: 8px 12px;
  }

  .topnavland .fa {
    font-size: 34px !important;
  }

  .content,
  .review-widget,
  .contact-section {
    padding: 16px;
    margin-top: 14px;
  }

  .contentblack {
    width: calc(100% - 24px);
    min-height: 260px;
    height: auto;
    padding: 28px 18px;
    background-image: linear-gradient(135deg, rgba(0,0,0,.86), rgba(45,45,45,.82)), url("/images/welcome banner.jpeg");
    background-size: cover;
    background-position: center;
  }

  .footer {
    min-height: 170px;
    height: auto;
    background-image: linear-gradient(135deg, rgba(0,0,0,.86), rgba(45,45,45,.84)), url("images/NSEfooter.jpeg");
    background-size: cover;
    background-position: center;
  }

  .containerfoot {
    width: 100%;
    height: auto;
    padding: 14px 10px 18px;
  }

  .containerfoot p {
    margin: 8px 0;
    line-height: 1.45;
  }

  .containerfoot a {
    display: inline-block;
    padding: 7px !important;
  }

  .containerfoot .fa {
    font-size: 30px !important;
  }
}

@media screen and (max-width: 420px) {
  .headerlanding {
    height: 300px;
  }

  .smallheader {
    height: 125px;
  }

  .topnav a {
    font-size: 13px;
    padding: 10px 4px;
  }

  .topnavland .fa {
    font-size: 30px !important;
  }
}


/* =========================================================
   Mobile-only NSE logo header
   Desktop header imagery remains unchanged.
   ========================================================= */
@media screen and (max-width: 680px) {
  .headerlanding,
  .smallheader {
    height: 168px;
    background: #050505 !important;
    background-image: none !important;
    overflow: hidden;
  }

  .headerlanding::after,
  .smallheader::after {
    content: "";
    display: block;
    width: 82%;
    max-width: 360px;
    height: 94px;
    margin: 10px auto 0;
    background-image: url("/images/nse-se-ltd-mobile-logo.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
  }

  .topnavland {
    min-height: 52px;
  }
}

@media screen and (max-width: 420px) {
  .headerlanding,
  .smallheader {
    height: 150px;
  }

  .headerlanding::after,
  .smallheader::after {
    width: 84%;
    max-width: 310px;
    height: 78px;
    margin-top: 8px;
  }
}


/* =========================================================
   Terms page mobile header logo overlap fix
   Gives the smaller header enough height before the nav starts.
   ========================================================= */
@media screen and (max-width: 680px) {
  body.terms-page .smallheader {
    height: 190px !important;
  }

  body.terms-page .smallheader::after {
    height: 98px !important;
    margin-top: 12px !important;
  }
}

@media screen and (max-width: 420px) {
  body.terms-page .smallheader {
    height: 176px !important;
  }

  body.terms-page .smallheader::after {
    height: 88px !important;
    margin-top: 10px !important;
  }
}


/* =========================================================
   Homepage mobile layout repair
   Keeps the approved desktop and Terms page styling intact.
   Fixes homepage cards/images/services/reviews on small screens.
   ========================================================= */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

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

@media screen and (max-width: 680px) {
  /* General homepage section spacing */
  .content,
  .review-widget {
    width: calc(100% - 24px);
    margin-left: auto;
    margin-right: auto;
    border-radius: 8px;
  }

  .content h2,
  .contentblack h2,
  .review-widget h2 {
    font-size: 22px;
    line-height: 1.25;
  }

  .content p,
  .contentblack p,
  .review-widget p {
    font-size: 15px;
    line-height: 1.65;
  }

  .quote-btn {
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }

  /* Homepage welcome/hero card */
  .contentblack {
    min-height: 230px;
    padding: 28px 18px;
    border-radius: 8px;
  }

  .contentblack h2 {
    margin-bottom: 14px;
  }

  /* About slideshow */
  .aboutus .mySlides {
    width: 100% !important;
    height: 230px;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
  }

  /* Services */
  .servicegrid,
  .servicegrid.single {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 16px;
  }

  .servicecard {
    width: 100%;
    box-sizing: border-box;
    padding: 14px;
    border-radius: 8px;
    overflow: hidden;
  }

  .service-img {
    height: 210px;
    border-radius: 8px;
  }

  .servicecard:hover .service-img {
    transform: none;
  }

  .servicecard.sidebyside {
    width: 100%;
    display: block;
  }

  .servicecard.sidebyside .service-img.side {
    width: 100%;
    height: 210px;
    border-right: none;
    border-bottom: 1px solid #e0e0e0;
  }

  .servicecard.sidebyside .service-text {
    width: 100%;
    height: auto;
    padding: 16px 10px 4px;
    box-sizing: border-box;
  }

  .servicecard.sidebyside p {
    font-size: 14px;
  }

  /* Review widget */
  .review-widget {
    padding: 16px;
  }

  .review-header {
    display: block;
  }

  .review-header .left {
    display: block;
    margin-bottom: 14px;
  }

  .review-header h3 {
    font-size: 15px;
    line-height: 1.45;
  }

  .reviews-scroll {
    overflow-x: auto;
    gap: 14px;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }

  .review {
    flex: 0 0 86%;
    padding: 14px;
    gap: 10px;
  }

  .review img {
    width: 44px;
    height: 44px;
  }

  .stars {
    font-size: 17px;
  }

  .review p {
    font-size: 13px;
  }
}

@media screen and (max-width: 420px) {
  .contentblack {
    min-height: 245px;
    padding: 26px 18px;
  }

  .aboutus .mySlides,
  .service-img,
  .servicecard.sidebyside .service-img.side {
    height: 190px;
  }

  .content h2,
  .contentblack h2,
  .review-widget h2 {
    font-size: 21px;
  }

  .review {
    flex-basis: 92%;
  }
}


/* =========================================================
   NSE homepage hero - clean isolated rebuild
   Uses unique classes; legacy .contentblack rules cannot affect it.
   ========================================================= */
.nse-home-hero {
  width: 950px;
  max-width: 950px;
  margin: 20px auto 0;
  display: grid;
  grid-template-columns: 42% 58%;
  min-height: 360px;
  overflow: hidden;
  border-radius: 10px;
  background: #1f1f1f;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.nse-home-hero__photo {
  position: relative;
  min-height: 360px;
  background-image: url("/images/nse-home-hero-photo.jpeg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.nse-home-hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0) 45%, rgba(31,31,31,.18) 72%, #1f1f1f 100%);
}

.nse-home-hero__panel {
  position: relative;
  padding: 44px 40px 40px;
  color: #fff;
}

.nse-home-hero__panel::before {
  content: "";
  position: absolute;
  top: -60px;
  left: -54px;
  width: 92px;
  height: 150%;
  background: #000;
  transform: rotate(13deg);
}

.nse-home-hero__panel > * {
  position: relative;
  z-index: 2;
}

.nse-home-hero__eyebrow {
  display: inline-block !important;
  margin: 0 0 14px !important;
  padding: 7px 12px !important;
  border: 1px solid rgba(173,255,47,.5);
  border-radius: 999px;
  background: rgba(0,0,0,.25);
  color: greenyellow !important;
  font-size: 12px !important;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.2;
  text-transform: uppercase;
}

.nse-home-hero h1 {
  margin: 0 0 18px !important;
  padding: 0 !important;
  color: #fff !important;
  font-size: 30px !important;
  font-weight: 500;
  line-height: 1.25;
}

.nse-home-hero p {
  margin: 0 0 15px !important;
  padding: 0 !important;
  color: rgba(255,255,255,.92) !important;
  font-size: 16px !important;
  line-height: 1.65;
}

.nse-home-hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.nse-home-hero__button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 145px;
  padding: 14px 18px;
  background: #444;
  color: #fff !important;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  text-decoration: none !important;
}

.nse-home-hero__button:hover {
  background: greenyellow;
  color: #000 !important;
}

.nse-home-hero__button--light {
  background: #fff;
  color: #000 !important;
}

@media screen and (max-width: 980px) {
  .nse-home-hero {
    width: calc(100% - 24px);
    max-width: 950px;
  }
}

@media screen and (max-width: 680px) {
  .nse-home-hero {
    display: block;
    width: calc(100% - 24px);
    min-height: auto;
    margin: 16px auto 0;
    border-radius: 12px;
    background:
      linear-gradient(135deg, rgba(0,0,0,.90), rgba(0,0,0,.68)),
      url("/images/nse-home-hero-photo.jpeg") center top / cover no-repeat;
  }

  .nse-home-hero__photo {
    display: none;
  }

  .nse-home-hero__panel {
    padding: 34px 18px 30px;
  }

  .nse-home-hero__panel::before {
    display: none;
  }

  .nse-home-hero h1 {
    font-size: 25px !important;
  }

  .nse-home-hero p {
    font-size: 15px !important;
    text-shadow: 0 2px 10px rgba(0,0,0,.55);
  }

  .nse-home-hero__buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 24px;
  }

  .nse-home-hero__button {
    width: 100%;
    min-width: 0;
    border-radius: 7px;
    background: greenyellow;
    color: #000 !important;
  }

  .nse-home-hero__button--light {
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.18);
    color: #fff !important;
  }
}

@media screen and (max-width: 420px) {
  .nse-home-hero__panel {
    padding: 30px 16px 28px;
  }

  .nse-home-hero h1 {
    font-size: 23px !important;
  }

  .nse-home-hero p {
    font-size: 14.5px !important;
  }
}



/* =========================================================
   NSE hero final fixes
   Eyebrow is green text only. Mobile buttons stay dark.
   ========================================================= */
.nse-home-hero__eyebrow {
  display: block !important;
  margin: 0 0 22px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: greenyellow !important;
  font-size: 14px !important;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1.2;
  text-transform: uppercase;
}

@media screen and (max-width: 680px) {
  .nse-home-hero__button {
    background: #444 !important;
    color: #fff !important;
  }

  .nse-home-hero__button--light {
    background: rgba(255,255,255,.14) !important;
    border: 1px solid rgba(255,255,255,.18);
    color: #fff !important;
  }
}


/* =========================================================
   NSE hero shading restore
   Restores the soft black blend over the photo and removes
   the harsh solid divider.
   ========================================================= */
.nse-home-hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(0,0,0,0) 0%,
      rgba(0,0,0,.10) 35%,
      rgba(0,0,0,.42) 63%,
      rgba(31,31,31,.86) 84%,
      #1f1f1f 100%
    ) !important;
}

.nse-home-hero__panel::before {
  display: none !important;
  content: none !important;
}

@media screen and (max-width: 680px) {
  .nse-home-hero {
    background:
      linear-gradient(135deg, rgba(0,0,0,.90), rgba(0,0,0,.68)),
      url("/images/nse-home-hero-photo.jpeg") center top / cover no-repeat !important;
  }
}


/* =========================================================
   NSE hero mobile button colour match
   Makes mobile hero buttons match desktop normal/hover/active states.
   ========================================================= */
@media screen and (max-width: 680px) {
  .nse-home-hero .nse-home-hero__button,
  .nse-home-hero .nse-home-hero__button:visited {
    background: #444 !important;
    color: #fff !important;
    border: 0 !important;
  }

  .nse-home-hero .nse-home-hero__button:hover,
  .nse-home-hero .nse-home-hero__button:focus,
  .nse-home-hero .nse-home-hero__button:active {
    background: greenyellow !important;
    color: #000 !important;
  }

  .nse-home-hero .nse-home-hero__button--light,
  .nse-home-hero .nse-home-hero__button--light:visited {
    background: #fff !important;
    color: #000 !important;
    border: 0 !important;
  }

  .nse-home-hero .nse-home-hero__button--light:hover,
  .nse-home-hero .nse-home-hero__button--light:focus,
  .nse-home-hero .nse-home-hero__button--light:active {
    background: greenyellow !important;
    color: #000 !important;
  }
}


/* =========================================================
   NSE hero final safe fixes
   Eyebrow stays green text only. Mobile hero buttons match desktop.
   ========================================================= */
.nse-home-hero__eyebrow {
  display: block !important;
  margin: 0 0 22px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: greenyellow !important;
  font-size: 14px !important;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1.2;
  text-transform: uppercase;
}

@media screen and (max-width: 680px) {
  .nse-home-hero .nse-home-hero__button,
  .nse-home-hero .nse-home-hero__button:visited {
    background: #444 !important;
    color: #fff !important;
    border: 0 !important;
  }

  .nse-home-hero .nse-home-hero__button:hover,
  .nse-home-hero .nse-home-hero__button:focus,
  .nse-home-hero .nse-home-hero__button:active {
    background: greenyellow !important;
    color: #000 !important;
  }

  .nse-home-hero .nse-home-hero__button--light,
  .nse-home-hero .nse-home-hero__button--light:visited {
    background: #fff !important;
    color: #000 !important;
    border: 0 !important;
  }

  .nse-home-hero .nse-home-hero__button--light:hover,
  .nse-home-hero .nse-home-hero__button--light:focus,
  .nse-home-hero .nse-home-hero__button--light:active {
    background: greenyellow !important;
    color: #000 !important;
  }
}


/* =========================================================
   Sitewide header/nav final rollout
   Applies the approved nav active/hover behaviour to all pages.
   ========================================================= */
.topnav a.active {
  background-color: #333333;
  color: greenyellow;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.topnav .nav-phone,
.topnav a.nav-phone {
  background: #171717;
  color: greenyellow !important;
  font-weight: bold;
}

@media screen and (max-width: 680px) {
  .topnav a.active {
    background-color: #333333;
    color: greenyellow !important;
    border-radius: 10px;
  }

  .topnav .nav-phone,
  .topnav a.nav-phone {
    grid-column: 1 / -1;
    background: #171717;
    color: greenyellow !important;
    border-radius: 0 0 10px 10px;
  }
}

/* =========================================================
   Contact page mobile-friendly rebuild
   ========================================================= */
.contact-page .contact-hero {
  background: linear-gradient(135deg, #111 0%, #303030 100%);
  color: #fff;
}

.contact-page .contact-hero h1 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 30px;
  line-height: 1.2;
}

.contact-page .contact-hero p {
  max-width: 760px;
  color: rgba(255,255,255,.9);
  font-size: 16px;
}

.contact-eyebrow {
  margin: 0 0 10px !important;
  color: greenyellow !important;
  font-size: 13px !important;
  font-weight: bold;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.contact-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.contact-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 18px;
  background: #444;
  color: #fff !important;
  font-weight: bold;
  text-decoration: none;
}

.contact-action:hover {
  background: greenyellow;
  color: #000 !important;
}

.contact-action-light {
  background: #fff;
  color: #000 !important;
}

.contact-action-whatsapp {
  background: #2b2b2b;
}

.contact-panel {
  padding: 0;
  overflow: hidden;
}

.contact-layout {
  display: grid;
  grid-template-columns: 34% 66%;
}

.contact-info-card,
.contact-form-card {
  padding: 28px;
  box-sizing: border-box;
}

.contact-info-card {
  background: #f7f7f7;
  border-right: 1px solid #e3e3e3;
}

.contact-info-card h2,
.contact-form-card h2,
.contact-map-section h2 {
  margin-top: 0;
}

.contact-info-card p {
  margin: 0 0 18px;
  line-height: 1.65;
}

.contact-info-card a {
  color: #111;
  font-weight: bold;
}

.nse-contact-form {
  width: 100%;
}

.nse-contact-form label {
  display: block;
  margin: 0 0 6px;
  color: #222;
  font-weight: bold;
}

.nse-contact-form input[type="text"],
.nse-contact-form input[type="email"],
.nse-contact-form textarea {
  width: 100%;
  margin: 0 0 16px;
  padding: 12px;
  border: 1px solid #cfcfcf;
  border-radius: 5px;
  box-sizing: border-box;
  font-family: verdana;
  font-size: 15px;
}

.nse-contact-form textarea {
  min-height: 180px;
  resize: vertical;
}

.nse-contact-form input:focus,
.nse-contact-form textarea:focus {
  border-color: #555;
  outline: 2px solid rgba(173,255,47,.28);
}

.nse-contact-form input[type="submit"] {
  width: auto;
  min-width: 180px;
  padding: 14px 25px;
  border: 0;
  border-radius: 5px;
  background: #3f3f3f;
  color: #fff;
  cursor: pointer;
  font-weight: bold;
}

.nse-contact-form input[type="submit"]:hover {
  background: #000;
}

.contact-map-section {
  padding: 20px;
}

.contact-map-card {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}

.contact-map-card iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(100%) contrast(90%);
}

@media screen and (max-width: 760px) {
  .contact-page .contact-hero h1 {
    font-size: 25px;
  }

  .contact-quick-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .contact-action {
    width: 100%;
    box-sizing: border-box;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-info-card {
    border-right: 0;
    border-bottom: 1px solid #e3e3e3;
  }

  .contact-info-card,
  .contact-form-card {
    padding: 20px 16px;
  }

  .nse-contact-form input[type="submit"] {
    width: 100%;
  }

  .contact-map-section {
    padding: 16px;
  }

  .contact-map-card {
    height: 260px;
  }
}

@media screen and (max-width: 420px) {
  .contact-page .contact-hero h1 {
    font-size: 23px;
  }

  .contact-info-card,
  .contact-form-card {
    padding: 18px 14px;
  }

  .contact-map-card {
    height: 230px;
  }
}




/* =========================================================
   Contact form honeypot and clear button
   ========================================================= */
.nse-hp-field {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.contact-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.contact-form-actions input[type="submit"],
.contact-form-actions input[type="reset"] {
  margin: 0 !important;
}

.contact-clear-btn {
  background: #777 !important;
}

.contact-clear-btn:hover {
  background: #000 !important;
}

@media screen and (max-width: 760px) {
  .contact-form-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .contact-form-actions input[type="submit"],
  .contact-form-actions input[type="reset"] {
    width: 100% !important;
  }
}

/* =========================================================
   Thank you / message sent page styling
   ========================================================= */
.thank-you-hero {
  text-align: center;
  background: linear-gradient(135deg, #111 0%, #303030 100%);
  color: #fff;
  padding: 44px 34px;
}

.thank-you-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: greenyellow;
  color: #000;
  border-radius: 50%;
  font-size: 34px;
  box-shadow: 0 10px 24px rgba(0,0,0,.28);
}

.thank-you-hero h1 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 34px;
  line-height: 1.2;
}

.thank-you-hero p {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255,255,255,.9);
  font-size: 16px;
  line-height: 1.7;
}

.thank-you-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}

.thank-you-next {
  padding: 30px;
}

.thank-you-next h2 {
  text-align: center;
  margin-top: 0;
}

.thank-you-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 22px;
}

.thank-you-card {
  padding: 22px 18px;
  background: #f8f8f8;
  border-left: 4px solid greenyellow;
  border-radius: 10px;
  text-align: center;
}

.thank-you-card i {
  color: #2d6a2d;
  font-size: 30px;
  margin-bottom: 10px;
}

.thank-you-card h3 {
  margin: 0 0 8px;
  color: #111;
}

.thank-you-card p {
  margin: 0;
  line-height: 1.55;
}

.thank-you-card a {
  color: #111;
  font-weight: bold;
}

@media screen and (max-width: 760px) {
  .thank-you-hero {
    padding: 34px 18px 30px;
  }

  .thank-you-icon {
    width: 64px;
    height: 64px;
    font-size: 28px;
  }

  .thank-you-hero h1 {
    font-size: 28px;
  }

  .thank-you-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .thank-you-grid {
    grid-template-columns: 1fr;
  }

  .thank-you-next {
    padding: 20px 16px;
  }
}

@media screen and (max-width: 420px) {
  .thank-you-hero h1 {
    font-size: 25px;
  }
}

/* =========================================================
   Recent Work page upgrade
   Keeps auto image-folder gallery while improving layout/SEO.
   ========================================================= */

.recent-work-page .content {
  overflow: hidden;
}

.recent-hero {
  background:
    linear-gradient(135deg, rgba(0,0,0,.92), rgba(35,35,35,.88)),
    url("/images/nse-home-hero-photo.jpeg") center center / cover no-repeat;
  color: #fff;
}

.recent-eyebrow {
  color: greenyellow !important;
  font-size: 13px !important;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0 0 12px !important;
}

.recent-hero h1 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 38px;
  line-height: 1.18;
}

.recent-hero p,
.recent-cta p {
  color: rgba(255,255,255,.92);
  font-size: 17px;
  line-height: 1.7;
  max-width: 760px;
}

.recent-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.recent-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  background: #444;
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
}

.recent-btn:hover {
  background: greenyellow;
  color: #000 !important;
}

.recent-btn-light {
  background: #fff;
  color: #000 !important;
}

.recent-instagram {
  display: grid;
  grid-template-columns: 1.5fr .9fr;
  gap: 22px;
  align-items: stretch;
  background: #111;
  color: #fff;
}

.recent-instagram h2,
.recent-instagram h3 {
  color: #fff;
}

.recent-instagram p {
  color: rgba(255,255,255,.88);
}

.recent-instagram-card {
  padding: 24px;
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(240,148,51,.92), rgba(220,39,67,.92), rgba(188,24,136,.92));
  box-shadow: 0 8px 22px rgba(0,0,0,.22);
}

.recent-instagram-card i {
  font-size: 40px;
  margin-bottom: 10px;
}

.recent-services {
  margin-top: 20px;
}

.recent-section-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 24px;
}

.recent-section-heading code {
  background: #f2f2f2;
  padding: 2px 5px;
  border-radius: 4px;
}

.recent-gallery {
  width: 100%;
  max-width: 900px;
  column-width: 260px;
  column-gap: 14px;
}

.recent-gallery-item {
  background: #111;
  margin-bottom: 14px;
}

.recent-gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 18px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 42%, rgba(0,0,0,.72) 100%);
  color: #fff;
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}

.recent-gallery-overlay span {
  font-weight: 700;
  background: rgba(0,0,0,.45);
  padding: 8px 12px;
  border-radius: 999px;
}

.recent-gallery-item:hover .recent-gallery-overlay {
  opacity: 1;
}

.recent-cta {
  background: linear-gradient(135deg, #111 0%, #2f2f2f 100%);
  color: #fff;
}

.recent-cta h2 {
  color: #fff;
  margin-top: 0;
}

@media screen and (max-width: 760px) {
  .recent-hero h1 {
    font-size: 29px;
  }

  .recent-instagram {
    grid-template-columns: 1fr;
  }

  .recent-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .recent-btn {
    width: 100%;
    box-sizing: border-box;
  }

  .recent-gallery {
    column-width: 100%;
    column-count: 1;
  }
}



/* =========================================================
   Sitewide nav standard - match Terms page
   ========================================================= */
.home-page .topnav,
.contact-page .topnav,
.recent-work-page .topnav,
.seo-page .topnav,
.service-page .topnav,
.terms-page .topnav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  overflow: visible;
}

.home-page .topnav a,
.contact-page .topnav a,
.recent-work-page .topnav a,
.seo-page .topnav a,
.service-page .topnav a,
.terms-page .topnav a {
  float: none;
  font-size: 17px;
  padding: 14px 13px;
  white-space: nowrap;
}

.home-page .topnav a.active,
.contact-page .topnav a.active,
.recent-work-page .topnav a.active,
.seo-page .topnav a.active,
.service-page .topnav a.active,
.terms-page .topnav a.active {
  background-color: #333333;
  color: greenyellow !important;
  border-radius: 10px;
}

.home-page .topnav .nav-phone,
.contact-page .topnav .nav-phone,
.recent-work-page .topnav .nav-phone,
.seo-page .topnav .nav-phone,
.service-page .topnav .nav-phone,
.terms-page .topnav .nav-phone {
  margin-left: auto;
  background: #1f1f1f;
  color: greenyellow !important;
  font-weight: bold;
}

@media screen and (max-width: 980px) {
  .home-page .topnav,
  .contact-page .topnav,
  .recent-work-page .topnav,
  .seo-page .topnav,
  .service-page .topnav,
  .terms-page .topnav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .home-page .topnav a,
  .contact-page .topnav a,
  .recent-work-page .topnav a,
  .seo-page .topnav a,
  .service-page .topnav a,
  .terms-page .topnav a {
    font-size: 15px;
    padding: 11px 10px;
  }

  .home-page .topnav .nav-phone,
  .contact-page .topnav .nav-phone,
  .recent-work-page .topnav .nav-phone,
  .seo-page .topnav .nav-phone,
  .service-page .topnav .nav-phone,
  .terms-page .topnav .nav-phone {
    margin-left: 0;
  }
}

@media screen and (max-width: 620px) {
  .home-page .topnav,
  .contact-page .topnav,
  .recent-work-page .topnav,
  .seo-page .topnav,
  .service-page .topnav,
  .terms-page .topnav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
  }

  .home-page .topnav a,
  .contact-page .topnav a,
  .recent-work-page .topnav a,
  .seo-page .topnav a,
  .service-page .topnav a,
  .terms-page .topnav a {
    float: none !important;
    display: block;
    text-align: center;
    font-size: 14px;
    padding: 10px 6px;
    box-sizing: border-box;
  }

  .home-page .topnav .nav-phone,
  .contact-page .topnav .nav-phone,
  .recent-work-page .topnav .nav-phone,
  .seo-page .topnav .nav-phone,
  .service-page .topnav .nav-phone,
  .terms-page .topnav .nav-phone {
    grid-column: 1 / -1;
    border-radius: 0 0 10px 10px;
  }
}



/* =========================================================
   Sitewide nav standard - Terms style on all key pages
   ========================================================= */
.home-page .topnav,
.contact-page .topnav,
.recent-work-page .topnav,
.seo-page .topnav,
.service-page .topnav,
.terms-page .topnav,
.crowborough-page .topnav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  overflow: visible;
}

.home-page .topnav a,
.contact-page .topnav a,
.recent-work-page .topnav a,
.seo-page .topnav a,
.service-page .topnav a,
.terms-page .topnav a,
.crowborough-page .topnav a {
  float: none;
  font-size: 17px;
  padding: 14px 13px;
  white-space: nowrap;
}

.home-page .topnav a.active,
.contact-page .topnav a.active,
.recent-work-page .topnav a.active,
.seo-page .topnav a.active,
.service-page .topnav a.active,
.terms-page .topnav a.active,
.crowborough-page .topnav a.active {
  background-color: #333333;
  color: greenyellow !important;
  border-radius: 10px;
}

.home-page .topnav .nav-phone,
.contact-page .topnav .nav-phone,
.recent-work-page .topnav .nav-phone,
.seo-page .topnav .nav-phone,
.service-page .topnav .nav-phone,
.terms-page .topnav .nav-phone,
.crowborough-page .topnav .nav-phone {
  margin-left: auto;
  background: #1f1f1f;
  color: greenyellow !important;
  font-weight: bold;
}

@media screen and (max-width: 980px) {
  .home-page .topnav,
  .contact-page .topnav,
  .recent-work-page .topnav,
  .seo-page .topnav,
  .service-page .topnav,
  .terms-page .topnav,
  .crowborough-page .topnav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .home-page .topnav a,
  .contact-page .topnav a,
  .recent-work-page .topnav a,
  .seo-page .topnav a,
  .service-page .topnav a,
  .terms-page .topnav a,
  .crowborough-page .topnav a {
    font-size: 15px;
    padding: 11px 10px;
  }

  .home-page .topnav .nav-phone,
  .contact-page .topnav .nav-phone,
  .recent-work-page .topnav .nav-phone,
  .seo-page .topnav .nav-phone,
  .service-page .topnav .nav-phone,
  .terms-page .topnav .nav-phone,
  .crowborough-page .topnav .nav-phone {
    margin-left: 0;
  }
}

@media screen and (max-width: 620px) {
  .home-page .topnav,
  .contact-page .topnav,
  .recent-work-page .topnav,
  .seo-page .topnav,
  .service-page .topnav,
  .terms-page .topnav,
  .crowborough-page .topnav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
  }

  .home-page .topnav a,
  .contact-page .topnav a,
  .recent-work-page .topnav a,
  .seo-page .topnav a,
  .service-page .topnav a,
  .terms-page .topnav a,
  .crowborough-page .topnav a {
    float: none !important;
    display: block;
    text-align: center;
    font-size: 14px;
    padding: 10px 6px;
    box-sizing: border-box;
  }

  .home-page .topnav .nav-phone,
  .contact-page .topnav .nav-phone,
  .recent-work-page .topnav .nav-phone,
  .seo-page .topnav .nav-phone,
  .service-page .topnav .nav-phone,
  .terms-page .topnav .nav-phone,
  .crowborough-page .topnav .nav-phone {
    grid-column: 1 / -1;
    border-radius: 0 0 10px 10px;
  }
}



/* =========================================================
   Google Reviews restyle
   Brings the homepage review widget in line with NSE styling.
   ========================================================= */

.review-widget {
  width: 950px;
  max-width: 950px;
  margin: 20px auto;
  padding: 30px;
  box-sizing: border-box;
  background:
    linear-gradient(135deg, #111 0%, #303030 100%);
  color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,.2);
  overflow: hidden;
}

.review-widget h2 {
  margin: 0 0 10px !important;
  color: #fff !important;
  font-size: 28px;
  line-height: 1.2;
}

.review-widget h2::before {
  content: "Google Reviews";
  display: block;
  margin: 0 0 10px;
  color: greenyellow;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.review-header {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 22px !important;
  padding: 0 0 18px;
  border-bottom: 1px solid rgba(255,255,255,.14);
}

.review-header .left {
  display: block !important;
}

.review-header h3 {
  margin: 0 !important;
  color: rgba(255,255,255,.86) !important;
  font-size: 15px !important;
  font-weight: 400;
  line-height: 1.5;
}

.review-header .quote-btn {
  margin-top: 0 !important;
  background: #fff !important;
  color: #000 !important;
  border-radius: 6px;
  white-space: nowrap;
}

.review-header .quote-btn:hover {
  background: greenyellow !important;
  color: #000 !important;
}

.reviews-scroll {
  display: flex;
  gap: 18px;
  overflow-x: hidden;
  scroll-behavior: smooth;
  margin-top: 0 !important;
  padding: 4px 2px 8px;
}

.review {
  flex: 0 0 calc(50% - 9px);
  display: flex;
  gap: 14px;
  padding: 20px;
  box-sizing: border-box;
  background: rgba(255,255,255,.96) !important;
  border: 0 !important;
  border-left: 4px solid greenyellow !important;
  border-radius: 10px !important;
  box-shadow: 0 8px 22px rgba(0,0,0,.22);
}

.review img {
  width: 54px !important;
  height: 54px !important;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #f1f1f1;
  flex: 0 0 54px;
}

.review-content {
  flex: 1;
  min-width: 0;
}

.review strong {
  display: block;
  margin-bottom: 3px;
  color: #111 !important;
  font-size: 15px !important;
  line-height: 1.3;
}

.review-date {
  margin-bottom: 6px;
  color: #777 !important;
  font-size: 12px !important;
}

.stars {
  margin-bottom: 8px !important;
  color: #d6a600 !important;
  font-size: 18px !important;
  letter-spacing: 1px;
}

.review p {
  margin: 0 !important;
  color: #333 !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
}

@media screen and (max-width: 980px) {
  .review-widget {
    width: calc(100% - 24px);
    max-width: 950px;
  }
}

@media screen and (max-width: 760px) {
  .review-widget {
    padding: 22px 16px;
    border-radius: 10px;
  }

  .review-widget h2 {
    font-size: 24px;
  }

  .review-header {
    display: block !important;
  }

  .review-header .quote-btn {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin-top: 14px !important;
    text-align: center;
    white-space: normal;
  }

  .reviews-scroll {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    overflow-x: visible;
  }

  .review {
    flex: none;
    width: 100%;
  }
}

@media screen and (max-width: 420px) {
  .review {
    display: block;
  }

  .review img {
    margin-bottom: 10px;
  }
}



/* =========================================================
   Google Reviews premium polish v2
   ========================================================= */

.review-widget {
  position: relative;
}

.review-widget::after {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(rgba(173,255,47,.14), rgba(173,255,47,0));
  pointer-events: none;
}

.review-widget .review-summary {
  color: #ffd95e !important;
  font-weight: 700;
  font-size: 17px !important;
}

.review-widget .show-more,
.review-widget .quote-btn {
  transition:
    background .25s ease,
    color .25s ease,
    transform .25s ease,
    box-shadow .25s ease;
}

.review-widget .show-more:hover,
.review-widget .quote-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0,0,0,.22);
}

.reviews-scroll {
  scrollbar-width: thin;
  scrollbar-color: greenyellow rgba(255,255,255,.08);
}

.reviews-scroll::-webkit-scrollbar {
  height: 10px;
}

.reviews-scroll::-webkit-scrollbar-track {
  background: rgba(255,255,255,.08);
  border-radius: 999px;
}

.reviews-scroll::-webkit-scrollbar-thumb {
  background: greenyellow;
  border-radius: 999px;
}

.review {
  min-height: 220px;
  transition:
    transform .25s ease,
    box-shadow .25s ease,
    border-color .25s ease;
}

.review:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(0,0,0,.24);
  border-left-color: #8fd600 !important;
}

.review strong {
  font-size: 16px !important;
}

.review p {
  font-size: 14.5px !important;
  line-height: 1.7 !important;
}

.stars {
  display: inline-flex;
  align-items: center;
  gap: 1px;
}

.review-date {
  text-transform: uppercase;
  letter-spacing: .05em;
}

.review-widget .left::before {
  content: "Trusted by local homeowners & businesses";
  display: block;
  margin-bottom: 8px;
  color: greenyellow;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

@media screen and (min-width: 761px) {
  .reviews-scroll {
    overflow-x: auto;
    padding-bottom: 10px;
  }

  .review {
    flex: 0 0 calc(50% - 9px);
  }
}

@media screen and (max-width: 760px) {
  .review {
    min-height: auto;
  }

  .review-widget::after {
    display: none;
  }
}
