/*

Theme Name: Classic Roofing Child Theme

Description: This is a custom child theme for Mineral

Theme URI:   https://hometownmediaservices.com/

Author: Hometown Media

Author URI:  https://hometownmediaservices.com/

Template: salient

Version: 1.0

*/
:root {
    --nectar-sticky-top-distance: 0px !important;
}

body {
	font-family: "Plus Jakarta Sans" !important;
	font-size: 18px;
	color: #202020;
	font-weight: 400;
	line-height:1.3em!important;
}
.mb-1
{
	margin-bottom:10px !important;
}
.img-carousal {
	position: relative !important;
	overflow: hidden !important;
}
.img-carousal::before {
	content: "" !important;
	position: absolute !important;
	top: -6rem !important;
	left: -5vw !important;
	width: 110vw !important;
	height: 10rem !important;
	background: #fff;
	border-radius: 50% !important;
	z-index: 5;
	pointer-events: none;
}
.img-carousal::after {
	content: "";
	position: absolute;
	bottom: -6rem;
	left: -5vw;
	width: 110vw;
	height: 10rem;
	background: #fff;
	border-radius: 50%;
	z-index: 5;
	pointer-events: none;
}
.img-carousal .swiper-slide {
	animation: grow-scroll 4s linear infinite;
}
@keyframes grow-scroll {
	from { transform: translateX(0); }
	to { transform: translateX(-100%); } 
}
.container {
	max-width: 1340px !important;
	padding: 0 12px !important;
}
body #header-outer, body[data-header-color="dark"] #header-outer {
	background: transparent !important;
}
.logo-spacing {
	display: none;
}
.yellow_btn_header a {
	background: url('data:image/svg+xml,<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><rect width="32" height="32" rx="16" fill="%23202020"/><path d="M11.8333 20.1667L20.1666 11.8333" stroke="white" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M11.8333 11.8333H20.1666V20.1667" stroke="white" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat, #F5D367;
	padding: 12px 51px 12px 10px !important;
    background-position: calc(100% - 9px) center;
    color: #202020 !important;
    font-family: "Plus Jakarta Sans";
    font-size: 18px !important;
    font-style: normal;
    font-weight: 600 !important;
    line-height: normal !important;
    border-radius: 70px;
}
.inner_yellow_btn {
	background: url('data:image/svg+xml,<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><rect width="32" height="32" rx="16" fill="%23202020"/><path d="M11.8333 20.1667L20.1666 11.8333" stroke="white" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M11.8333 11.8333H20.1666V20.1667" stroke="white" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat, #F5D367;
	padding: 12px 80px 12px 43px !important;
    background-position: calc(100% - 39px) center;
    color: #202020 !important;
    font-family: "Plus Jakarta Sans";
    font-size: 18px !important;
    font-style: normal;
    font-weight: 600 !important;
    line-height: normal !important;
    border-radius: 70px;
	border: none !important;
}
.yellow_btn_header a span {
    color: #202020 !important;
}

.main-content {
	--nectar-sticky-top-distance: 0 !important;
	max-width: 100% !important;
	padding: 0px !important;
}

.row-bg-wrap {
	width: 100% !important;
    margin-left: 0 !important;
    left: 0 !important;
}
.hero_banner {
/* 	z-index: -1; */
}
.hero_banner + .custom_container{
	z-index:3;
}
.hero_banner_content {
    margin: auto !important;
    width: 100% !important;
}
.custom_container {
	 margin: auto !important;
    width: 100% !important;
}
.mount_layer::before {
	content: '';
	position: absolute;
	background: url('data:image/svg+xml,%3Csvg%20width%3D%221440%22%20height%3D%22262%22%20viewBox%3D%220%200%201440%20262%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20clip-path%3D%22url(%23clip0_163_73)%22%3E%3Cpath%20opacity%3D%220.15%22%20d%3D%22M1440%20261.127L1442.88%2017.4667C1219.68%20-13.9733%20996.48%20135.367%20845.28%20160.693C697.478%20185.452%20630.72%20132.747%20511.2%20133.62C396%20134.493%20306.72%20179.907%20181.44%20203.487C87.0624%20221.25%2036%20216.587%200%20213.626V261.127H1440Z%22%20fill%3D%22%231F3A5F%22%2F%3E%3Cpath%20opacity%3D%220.3%22%20d%3D%22M1440%20249.773L1442.88%2029.6934C1216.8%20-7.85997%201008%20155.453%20859.68%20185.147C714.082%20214.299%20630.72%20144.1%20511.2%20144.973C396%20145.847%20302.27%20192.194%20181.44%20220.953C87.5376%20243.302%2031.5792%20235.555%200%20230.219V249.773H1440Z%22%20fill%3D%22%231F3A5F%22%2F%3E%3Cpath%20d%3D%22M1440%20262L1441.44%2060.8801C1128.96%2049.78%201008.76%20173.671%20859.68%20197.373C711.36%20220.953%20609.12%20171.173%20489.6%20172.047C374.4%20172.92%20302.27%20204.421%20181.44%20233.18C93.2688%20254.14%2025.92%20246.813%200%20242.446V262H1440Z%22%20fill%3D%22%231F3A5F%22%2F%3E%3C%2Fg%3E%3Cdefs%3E%3CclipPath%20id%3D%22clip0_163_73%22%3E%3Crect%20width%3D%221440%22%20height%3D%22262%22%20fill%3D%22white%22%2F%3E%3C%2FclipPath%3E%3C%2Fdefs%3E%3C%2Fsvg%3E') no-repeat;
	left: 0;
	top: 0;
	width: 100%;
	height: 300px;
	background-size: contain;
}
body[data-button-style*="slightly_rounded"] .nectar-button {
	border-radius: 70px !important;
}
.nectar-shape-divider-wrap {
	top: -262px !important;
    transform: rotate(0) !important;
    left: 0 !important;
    margin-left: 0 !important;
	width: 100% !important;
}
.inner_banner .nectar-shape-divider-wrap {
	bottom: -0px !important;
    top: auto !important;
}
.custom_container .row_col_wrap_12 {
	max-width: 1310px;
	margin-left: auto !important;
	margin-right: auto !important;
}

.text_styling p {
	font-size: 18px;
	font-weight: 400 !important;
	line-height: 26px;
	font-family: "Plus Jakarta Sans";
}
.fancy_cards .nectar-fancy-box[data-style=hover_desc] .box-bg:after, .fancy_cards .nectar-fancy-box[data-style=hover_desc] .box-bg:before {
	height: 35% !important;
}
.left-text
{
	text-align:left !important;
}
.inner_blue_btn, .form_styling .forminator-button-submit {
	background: url('data:image/svg+xml,%3Csvg%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Crect%20width%3D%2232%22%20height%3D%2232%22%20rx%3D%2216%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M11.834%2020.1667L20.1673%2011.8334%22%20stroke%3D%22%231F3A5F%22%20stroke-width%3D%222.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpath%20d%3D%22M11.834%2011.8334H20.1673V20.1667%22%20stroke%3D%22%231F3A5F%22%20stroke-width%3D%222.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E') no-repeat, #1F3A5F  !important;
	padding: 15px 86px 15px 36px !important;
    background-position: calc(100% - 36px) center  !important;
    color: #ffffff !important;
    font-family: "Plus Jakarta Sans";
    font-size: 18px !important;
    font-style: normal;
    font-weight: 600 !important;
    line-height: normal !important;
    border-radius: 70px;
}
.sf-menu ul
{
	top: 70% !important;
}
.sf-menu ul li
{
	padding:6px 0px;
}
.sf-menu ul li:hover
{
	background-color:rgba(31, 58, 95, 0.07);
}
.ocm-effect-wrap .small-nav 
{
	background-color:rgba(31, 58, 95, 0.65) !important;
}



/* Estimator page  */
.estimate_box {
    border: 3px dashed #C0CBD5;
    padding: 0 !important;
    border-radius: 24px;
    overflow: hidden;
}
.estimate_img {
/* 	height: 204px; */
}
.form_styling h3 {
	text-align: left !important;
}
.form_styling input, .form_styling textarea, .form_styling select {
	height: 52px !important;
	background: #FFFFFF;
	border-radius: 8px !important;
	border: none !important;
	outline: none !important;
}
.form_styling .forminator-row {
	margin-bottom: 16px !important;
}
.forminator-ui#forminator-module-257.forminator-design--default .forminator-select2 + .forminator-select .selection .select2-selection--single[role="combobox"]:focus, .forminator-ui#forminator-module-257.forminator-design--default .forminator-select2 + .forminator-select.select2-container--open .selection .select2-selection--single[role="combobox"], .forminator-ui#forminator-module-257.forminator-design--default .forminator-select2 + .forminator-select .selection .select2-selection--single[role="combobox"]
 {
    background-color: #fff !important;
    border: none !important;
    outline: none !important;
	border-radius: 8px !important;
    height: 52px;
}
.forminator-field {
	text-align: left !important;
}
.inline_form_styling .forminator-field {
	display: flex;
	align-items: center; 
	gap: 10px;
}



/* gallery page  */

/* ── TOP SLIDER ─────────────────────────────────────────────────────────── */
.slider-section{
  background:#ffffff;   /* dark navy background — matches screenshot */
  padding:18px 0;
  position:relative;
	margin: 100px 0px !important;
     /* hides overflow beyond section */
}
/* Top Curve Mask */
.slider-section::before {
	content: "" !important;
	position: absolute !important;
	top: -6rem !important;
	left: -5vw !important;
	width: 110vw !important;
	height: 10rem !important;
	background: #fff; /* Change this to match the background color above the slider */
	border-radius: 50% !important;
	z-index: 5;
	pointer-events: none;
}

/* Bottom Curve Mask */
.slider-section::after {
	content: "";
	position: absolute;
	bottom: -6rem;
	left: -5vw;
	width: 110vw;
	height: 10rem;
	background: #fff; /* Change this to match the background color below the slider */
	border-radius: 50%;
	z-index: 5;
	pointer-events: none;
}

/* The continuous scroll animation */
.slider-section .slide {
	animation: grow-scroll 4s linear infinite;
}

@keyframes grow-scroll {
	from { transform: translateX(0); }
	to { transform: translateX(-100%); } 
}
/* The viewport window that clips the track */
.slider-viewport{
  width:100%;

}

/* Track holds all images in a row */
.slider-track{
  display:flex;
  gap:6px;
  transition:transform 0.42s cubic-bezier(.4,0,.2,1);
  will-change:transform;
  /* Negative margin on both sides creates the "peek" effect:
     images bleed off left and right edges */
  padding:0 0;
}

/* Each slide image */
.slider-track .slide{
  flex:0 0 calc(25% - 5px); /* 4 items visible in center */
  min-width:0;
}
.slider-track .slide img{
  width:100%;
  height:300px;
  object-fit:cover;
  display:block;
}

/* Touch/drag swipe support — cursor feedback */
.slider-viewport{ cursor:grab }
.slider-viewport:active{ cursor:grabbing }

/* ── INTRO TEXT ──────────────────────────────────────────────────────────── */
.intro{
  max-width:1280px;
  margin:0 auto;
  padding: 26px 15px 48px;
}
.intro p{
  font-size:12.5px;
  color:#555;
  line-height:1.65;
  max-width:580px;
}

/* ── MAIN CONTENT ────────────────────────────────────────────────────────── */
.content{
  max-width:1280px;
  margin:0 auto;
  padding:26px 15px 60px;
}

/* ── CITY SECTION ────────────────────────────────────────────────────────── */
.city-section{margin-bottom:36px}
.city-title{
  font-size:40px;
  font-weight:700;
  color:#202020;
  margin-bottom:33px;
}

/* ── PROPERTY GRID ───────────────────────────────────────────────────────── */
.property-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}

.property-card{ 
	cursor:pointer;
}
.property-card img{
  width:100%;
  height:216px;
  object-fit:cover;
  display:block;
	border: 1px solid #C2C2C2;
	border-radius: 20px;
	overflow: hidden;
/*   transition:opacity .22s; */
}
/* .property-card img:hover{ opacity:.88 } */
.property-card .addr{
  font-size:20px;
  color:#000;
  font-weight: 700;
  margin-top:16px;
}

/* ── LOAD MORE ───────────────────────────────────────────────────────────── */
.load-more-wrap{
  display:flex;
  justify-content:left;
  margin-top:28px;
}
.load-more-btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  background:#1a2f4a;
  color:#fff;
  border:none;
  border-radius:50px;
  padding:10px 24px;
  font-family:'DM Sans',sans-serif;
  font-size:13px;
  font-weight:500;
  cursor:pointer;
  letter-spacing:.3px;
  transition:background .2s;
}
.load-more-btn:hover{ background:#243d61 }
.load-more-btn:disabled{ opacity:.55; cursor:default }
.spinner{
  width:16px;height:16px;
  border:2px solid rgba(255,255,255,0.35);
  border-top-color:#fff;
  border-radius:50%;
  animation:spin 0.8s linear infinite;
  flex-shrink:0;
}
@keyframes spin{to{transform:rotate(360deg)}}

/* Top section */
.top-section {
  display: flex;
  gap: 30px 68px;
  background: #fff;
  padding: 48px 20px 100px;
  border-radius: 12px;
}

.text-content {
  flex: 1;
}

.text-content h1 {
  font-size: 48px;
	color: #202020;
  margin-bottom: 16px;
}

/* .subtext {
  color: #666;
  margin-bottom: 15px;
	padding-top: 0 !important;
} */

.details {
  display: flex;
  gap: 40px;
  margin-bottom: 15px;
}
.details .feature_gallery, .details .style_gallery  {
	padding: 10px 16px;
	border-radius: 16px;    
	flex: 1;
}
.details .style_gallery {
	background: #F1EDDF;
}
.details .feature_gallery {
	background: #EDF0F3;
}
.details p {
  font-size: 18px;
	font-weight: 400 !important;
	line-height: 26px;
	font-family: "Plus Jakarta Sans";
	margin-bottom: 0;
	padding-bottom: 0;
	color: #202020;
}

.comments {
  margin-bottom: 20px;
}
.comments p {
	font-size: 18px;
	font-weight: 400 !important;
	line-height: 26px;
	font-family: "Plus Jakarta Sans";
	margin-bottom: 0;
	padding-bottom: 0;
	color: #202020;
}

.cta {
  background: #f4c542;
  border: none;
  padding: 10px 18px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: bold;
}

.cta:hover {
  background: #e6b800;
}

/* Main image */
.main-image {
  width: 45%;
	height: 400px;
}
.main-image img {
  border-radius: 16px;
  object-fit: cover;
	width: 100% !important;
	height: 100% !important;
}
.text-content {
  flex: 1;
}

.text-content h1 {
  font-size: 26px;
  margin-bottom: 10px;
}

.subtext {
  font-size: 18px;
	font-weight: 400 !important;
	line-height: 26px;
	font-family: "Plus Jakarta Sans";
	color: #202020;
  margin-bottom: 0px;
	padding-bottom: 16px;
}

.details {
  display: flex;
  gap: 16px;
  margin-bottom: 15px;
}

.details p {
 font-size: 18px;
	font-weight: 400 !important;
	line-height: 26px;
	font-family: "Plus Jakarta Sans";
	color: #202020;
}

.comments {
  margin-bottom: 20px;
  font-size: 14px;
  color: #333;
}

.cta {
  background: #f4c542;
  border: none;
  padding: 10px 18px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: bold;
}

.cta:hover {
  background: #e6b800;
}

/* Main image */

/* Grid */
.gallery_grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.gallery_grid_card {
  background: #fff;
  padding: 12px;
  border-radius: 12px;
}

.gallery_grid_card h3 {
  margin-bottom: 10px;
	font-size: 40px;
	font-weight: 700;
	margin-bottom: 32px !important;
}

.gallery_grid_card img {
     width: 100% !important;
    border-radius: 16px;
    height: 418px !important;
  object-fit: cover;
}
.container {
  max-width: 1280px;
  margin: auto;
  padding: 20px 15px;
}
#header-outer #mobile-menu a>.sf-sub-indicator{
	padding-right:10px!important;	
}

/* ── RESPONSIVE ──────────────────────────────────────────────────────────── */
@media(max-width:640px){
  .property-grid{ grid-template-columns:1fr }
  .slider-track .slide{ flex:0 0 calc(50% - 4px) }
}
@media(min-width:641px) and (max-width:860px){
  .property-grid{ grid-template-columns:repeat(2,1fr) }
  .slider-track .slide{ flex:0 0 calc(33.33% - 5px) }
}
/**Responsiveness*/ 
@media screen and (max-width: 1440px) {
	.inner_banner_heading {
		font-size: 55px !important;
/* 		line-height: 100% !important; */
	}
	.estimate_heading {
		font-size: 35px !important;
/* 		line-height: 100% !important; */
		max-width: 900px !important;
		margin-left: auto !important;
		margin-right: auto !important;
	}
	.top-section {
	  gap: 30px 38px;
	  padding: 48px 20px 60px;
	  border-radius: 12px;
	}

}
@media screen and (max-width: 991px) {
	 .top-section {
		flex-direction: column;
	  }

	  .main-image {
		width: 100%;
	  }

	  .gallery_grid {
		grid-template-columns: 1fr;
  }
	.text-content {
		width: 100%;
		order: 1;
	}
}
@media screen and (max-width: 768px) {
	.inner_banner {
		padding-top: 250px !important;
	}
	.inline_form_styling .forminator-field {
		flex-wrap: wrap;
	}
	#header-outer #mobile-menu ul li>a
	{
		color:#000000 !important;
	}
	#header-outer #mobile-menu
	{
		padding: 20px;
	}
	#header-outer #mobile-menu ul li.current-menu-item>a
	{
		color:rgba(31, 58, 95, 0.07);
	}
	
}