/* ===================================
    Crafto - Real estate
====================================== */
/* font */
@import url('https://fonts.googleapis.com/css2?family=Urbanist:wght@100;200;300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible:wght@400;700&display=swap');
/* variable */
:root {
    --alt-font: 'Urbanist', sans-serif;
    --primary-font: 'Atkinson Hyperlegible', sans-serif;
    --base-color: #e31e24; 
    --secondary-color: #393185; 
    --dark-gray:#262b35;
    --base-color-transparent: rgba(227, 30, 36,.35);
}
body{
    font-size: 17px;
    line-height: 32px;
}
/* reset */
.placeholder-light-gray::-webkit-input-placeholder {
    color: var(--medium-gray) !important;
    text-overflow: ellipsis;
    opacity:0.6;
}
.placeholder-light-gray::-moz-placeholder {
    color: var(--medium-gray) !important;
    text-overflow: ellipsis;
    opacity:0.6;
}
.placeholder-light-gray:-ms-input-placeholder {
    color: var(--medium-gray) !important;
    text-overflow: ellipsis;
    opacity:0.6;
}
/* heading */
h1, h2, h3, h4, h5, h6 {word-spacing: -2px;}
h1 {
    line-height: 4.375rem;
}
h2 {
    line-height: 3.438rem;
}
h3 {
    line-height: 2.813rem;
}
h4 {
    line-height: 2.575rem;
}
h5 {
    line-height: 2rem;
}
h6 {
    line-height: 1.75rem;
}
/* header */
header .navbar-brand img {
    max-height: 60px;
}
.navbar .navbar-nav .nav-link {
    font-size: 18px;
    font-weight: 600;
}
header.sticky .navbar-nav .nav-link,
header.sticky .fixed-header .navbar-nav .nav-link,
header.sticky .disable-fixed .navbar-nav .nav-link{
    padding-top: 30px;
    padding-bottom: 30px;
}
header .left-nav .navbar-nav:before {
    background-color: var(--dark-gray);
    opacity: 0.2; 
    transform: translate(-28px, 0px);
    -webkit-transform: translate(-28px, 0px);
    transition: 0s;
}
header.sticky .left-nav .navbar-nav:before {
    transform: translate(-28px, 0px);
    -webkit-transform: translate(-28px, 0px);
}
header .btn.btn-small {
    padding: 10px 20px;
}
.navbar .navbar-nav .dropdown.dropdown-with-icon .dropdown-menu {
    width: 320px;
}
.navbar .navbar-nav .dropdown.dropdown-with-icon .dropdown-menu li a p {
    line-height: 22px;
    font-size: 14px;
}
.navbar .navbar-nav .dropdown.dropdown-with-icon .dropdown-menu li a img {
    width: 70px;
}
.navbar .navbar-nav .dropdown.dropdown-with-icon .dropdown-menu li a span {
    font-size: 17px;
    line-height: 30px;
}
/* bg color */
.bg-raven-blue {
    background-color: #6c757d;
}
.bg-orange {
    background-color: #ffa800;
}
.bg-base-color-transparent {
    background-color: rgba(227, 30, 36,.15);
}
.bg-base-color-light {
    background-color: #edf9f2;
}
.border-radius-left-8px {
    border-radius: 8px 0 0 0;
}
.bg-gradient-gray-light-dark-transparent {
    background-image: -webkit-gradient(linear, left bottom, left top, from(rgba(32, 35, 41, 1)), to(transparent));
    background-image: linear-gradient(to top, rgba(32, 35, 41, 1) 0%, transparent 80%);
}
/* text */
.text-orange {
    color: #ffa800;
}
.text-red {
    color: #ec5b54;
}
/* btn */
.btn {
    letter-spacing: normal;
    font-weight: 700;
}
.btn i { 
    margin-left: 5px;
}
.btn.btn-hover-animation-switch .btn-icon {
    margin-left: 4px;
}
.btn.btn-hover-animation-switch:hover .btn-text {
    transform: translateX(21px);
}
.btn.btn-transparent-white-light:hover {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 1);
    color: var(--white);
}
.btn.btn-dark-gray:not(.btn.submit):hover, .btn.btn-dark-gray:not(.btn.submit):active {
    background-color: var(--base-color);
    border-color: var(--base-color);
    color: var(--white);
}
.btn.btn-base-color:hover {
    background-color: var(--dark-gray);
    border-color: var(--dark-gray);
    color: var(--white);
}
.btn.btn-light-base-color {
    background-color: #c7e9d4;
    border-color: #c7e9d4;
    color: var(--dark-gray);
}
.btn.btn-box-shadow.btn-base-color:hover {
    background-color: var(--dark-gray);
    border-color: var(--dark-gray);
}
.btn.btn-link {
    padding: 0 0 2px;
}
.btn.text-uppercase-inherit i {
    top: 1px;
}
/* top right bottom left */
.right-minus-250px {
    right: -250px;
}
.right-minus-170px {
    right: -170px;
}
.right-minus-155px {
    right: -155px;
}
.bottom-minus-85px {
    bottom: -85px;
}
/* page title */
.page-title-extra-small h1 {
    font-size: 20px;
    line-height: 24px;
    margin-bottom: 15px;
}
.page-title-extra-small h2 {
    font-size: 3.438rem;
    line-height: 3.438rem;
}
/* custom */
.icon-with-text-style-10:hover .feature-box-icon {
    -webkit-transform: scale(1);
    transform: scale(1);
}
.contact-form-style-03 {
    margin-top: -100px;
}
.process-step-style-05 .progress-step-separator {
    bottom: -10px;
    height: 100%;
    z-index: -1;
}
.social-icon-style-02 .small-icon li {
    margin: 0;
}
input, select, textarea, .form-control {
    font-size: 16px;
}
/* footer */
footer{
    font-size: 16px;
    line-height: 30px;
}
footer ul li {
    margin-bottom: 0;
}
footer .footer-logo img {
    max-height: 70px;
}
.footer-light a:hover {
    color: var(--dark-gray);
}
/* media query responsive */
@media (max-width: 1199px) {
    .newsletter-style-03 .btn {
        padding: 12px 18px 12px 18px;
    }
    .newsletter-style-03 input {
        padding-right: 145px !important;
        padding-left: 20px !important;
    }
    header .left-nav .navbar-nav:before {
        transform: translate(-9px, 0px);
        -webkit-transform: translate(-9px, 0px);
    }
    header .btn.btn-small {
        padding: 9px 15px;
    }
}
@media (max-width: 991px) {
    .contact-form-style-03 {
        margin-top: 0;
    }
}
@media (max-width: 767px) {
    .newsletter-style-03 input {
        padding-right: 70px !important;
        padding-left: 20px !important;
    }
}
@media (max-width: 576px) {
    .extra-small-screen {
        height: 300px !important;
    }
}

.border-top-left-radius{
    border-top-left-radius: 150px;
}

.service-box {
    position: relative;
    display: flex;
    gap: 20px;
    padding: 20px;
    background: #ffff;
    border: 2px solid var(--base-color);
    border-top-right-radius: 20px;
}

.service-box-bottom {
    position: relative;
    display: flex;
    gap: 20px;
    padding: 20px;
    background: #ffff;
    border: 2px solid var(--base-color);
    border-bottom-right-radius: 20px;
}
.service-box-bottom {
    position: relative;
    display: flex;
    gap: 20px;
    padding: 20px;
    background: #ffff;
    border: 2px solid var(--base-color);
    border-bottom-right-radius: 20px;
}

/* Bottom Right Accent Border */
.service-box::after {
    content: "";
    position: absolute;
    bottom: -6px;
    right: -6px;
  background: var(--base-color-transparent);
  border-top-right-radius: 20px;
    width: 100%;
    height: 100%;
    z-index: -1;
}
/* Bottom Right Accent Border */
.service-box-bottom::after {
    content: "";
    position: absolute;
    bottom: -6px;
    right: -6px;
  background: var(--base-color-transparent);
  border-bottom-right-radius: 20px;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.top-360px{
  top: 360px;
}

/* hinal custom 
css */
/* Counter Section Styles */
.outline-text {
    font-size: 4.5rem; /* Adjust size as needed */
    font-weight: 800;
    color: transparent; /* Makes the inside of the text invisible */
    -webkit-text-stroke: 1.5px #262b35; /* Dark gray outline */
    display: inline-block;
    margin-bottom: 0;
    line-height: 1;
}

/* hinal custom 
css */
/* Counter Section Styles */
.outline-text {
    font-size: 4.5rem; /* Adjust size as needed */
    font-weight: 800;
    color: transparent; /* Makes the inside of the text invisible */
    -webkit-text-stroke: 1.5px #262b35; /* Dark gray outline */
    display: inline-block;
    margin-bottom: 0;
    line-height: 1;
}

.solid-plus {
    /* Assuming SRP's primary red is close to standard Bootstrap danger. 
       Change this hex code to match your exact logo red if needed. */
    color: #e31e24 !important; 
    -webkit-text-stroke: 0px; /* Removes outline from the plus sign */
    font-weight: 800;
    font-size: 3.5rem;
    vertical-align: baseline;
    margin-left: 2px;
}

.counter-divider {
    width: 60%;
    border-top: 1px solid #e0e0e0;
    opacity: 1;
    margin-top: 15px;
    margin-bottom: 15px;
}

.counter-title {
    color: #262b35; /* Dark gray matching your heading text */
    letter-spacing: 0.5px;
    font-size: 1.1rem;
    margin-bottom: 0;
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    .outline-text {
        font-size: 3.5rem;
    }
    .solid-plus {
        font-size: 2.5rem;
    }
}

.top-60{
    top: 60% !important;
}

.Urbanist-font{
  font-family: 'Urbanist', sans-serif;
}

@media (max-width: 568px) {
    .mobile-hide {
        display: none;
    }
}

/* Target mobile screens specifically */
@media (max-width: 568px) {
    
    /* Adds breathing room at the bottom of the Secure Cable Management section */
    .page-title-big-typography {
        padding-bottom: 185px !important; 
    }

    /* Adds breathing room at the top of the Product Range section */
    .bg-very-light-gray.z-index-3 {
        padding-top: 50px !important; 
    }
    
    
}

.table-wrapper{
    width:100%;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
}

/* Watermark for tables (apply on wrapper: class="table-wrapper table-watermark") */
.table-wrapper.table-watermark{
    position:relative;
}
.table-wrapper.table-watermark::before{
    content:"";
    position:absolute;
    inset:0;
    background:url('../../img/logo.webp') no-repeat center;
    background-size: 80%;
    opacity:0.15;
    pointer-events:none;
    z-index:0;
}
.table-wrapper.table-watermark > .product-table{
    position:relative;
    z-index:1;
}

/* Mobile & tablet: no word wrap, horizontal scroll */
@media (max-width: 991px) {
    .table-wrapper{
        overflow-x:auto;
        -webkit-overflow-scrolling:touch;
    }
    .product-table th,
    .product-table td{
        white-space:nowrap !important;
        word-break:normal;
        overflow-wrap:normal;
    }
    .product-table{
        table-layout:auto;
        width:max-content;
        min-width:100%;
    }
}

/* Small phones: slightly smaller table text for better fit */
@media (max-width: 576px) {
    .product-table th,
    .product-table td{
        padding:8px 10px;
        font-size:14px;
    }
}

/* Desktop & laptop: no horizontal scroll, table fits with proper column alignment */
@media (min-width: 992px) {
    .table-wrapper{
        overflow-x:visible;
    }
    .product-table{
        table-layout:fixed;
        width:100%;
    }
    .product-table th,
    .product-table td{
        white-space:normal;
        word-wrap:break-word;
    }
    /* Column widths so long headers don't overlap */
    .product-table .col-gland-code{ width: 18%; }
    .product-table .col-size{ width: 7%; }
    .product-table .col-metric{ width: 12%; }
    .product-table .col-npt{ width: 10%; }
    .product-table .col-cable-bedding{ width: 16%; }
    .product-table .col-overall{ width: 16%; }
    .product-table .col-af{ width: 10%; }
    .product-table .col-ac{ width: 11%; }
    /* A1/A2 table: 8 columns – Overall Cable Diameter spans Min/Max */
    .product-table-a1a2 .col-gland-code{ width: 20%; }
    .product-table-a1a2 .col-size{ width: 8%; }
    .product-table-a1a2 .col-metric{ width: 12%; }
    .product-table-a1a2 .col-npt{ width: 10%; }
    .product-table-a1a2 .col-min{ width: 10%; }
    .product-table-a1a2 .col-max{ width: 10%; }
    .product-table-a1a2 .col-af{ width: 12%; }
    .product-table-a1a2 .col-ac{ width: 18%; }
    /* CW Gland (4 Part): 8 columns – Size wider, A/F Max narrower */
    .product-table-cw4pt .col-gland-code{ width: 19%; }
    .product-table-cw4pt .col-size{ width: 11%; }
    .product-table-cw4pt .col-metric{ width: 11%; }
    .product-table-cw4pt .col-npt{ width: 10%; }
    .product-table-cw4pt .col-cable-bedding{ width: 14%; }
    .product-table-cw4pt .col-min{ width: 13%; }
    .product-table-cw4pt .col-max{ width: 12%; }
    .product-table-cw4pt .col-af{ width: 10%; }
}

.product-table{
    width:100%;
    border-collapse:collapse;
}
.product-table th,
.product-table td{
    box-sizing:border-box;
}

.product-table th,
.product-table td{
    border:1px solid #444;
    padding:5px 7px;
    text-align:center;
    font-size:16px;
    color: var(--black);
}

.product-table th{
    background:#f2efeb;
    font-weight:600;
    vertical-align:middle;
    box-sizing:border-box;
}

/* CW Gland (4 Part) & BW tables: all cells center-aligned */
.product-table-cw4pt th,
.product-table-cw4pt td{
    text-align:center !important;
}

/* A1/A2 only: first column (Gland Code) left align, numeric columns right-align */
.product-table-a1a2 th:first-child,
.product-table-a1a2 td:first-child{
    text-align:center;
}
.product-table-a1a2 th:nth-child(n+5),
.product-table-a1a2 td:nth-child(n+5){
    text-align:center;
}

#places-map{
    padding:40px 20px;
    }
    
    .map{
    position:relative;
    max-width:903px;
    margin:auto;
    width:100%;
    }
    
    .map img{
    width:100%;
    height:auto;
    display:block;
    }
    
    .map-pins{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    }
    
    /* MARKER */
    
    .map-location-marker{
    position:absolute;
    
    width:2.3%;
    height:auto;
    
    aspect-ratio:21/30;
    
    background:url("https://jeffbridgforth.com/codepen/map-pin.png") no-repeat center;
    background-size:contain;
    
    transform:translate(-50%,-100%);
    
    animation:dropPin 0.8s ease forwards;
    }
    
    /* DROP ANIMATION */
    
    @keyframes dropPin{
    
    0%{
    transform:translate(-50%,-300%);
    opacity:0;
    }
    
    60%{
    transform:translate(-50%,10%);
    opacity:1;
    }
    
    80%{
    transform:translate(-50%,-5%);
    }
    
    100%{
    transform:translate(-50%,0);
    }
    
    }
    
    /* PULSE */
    
    .map-location-marker::after{
    
    content:"";
    position:absolute;
    
    width:150%;
    height:150%;
    
    border:2px solid white;
    border-radius:50%;
    
    left:-25%;
    top:-25%;
    
    animation:pulse 2s infinite;
    }
    
    @keyframes pulse{
    
    0%{
    transform:scale(0.5);
    opacity:1;
    }
    
    100%{
    transform:scale(2);
    opacity:0;
    }
    
    }
    
    /* MARKER POSITIONS */
    
    .marker-san-francisco{left:8%;top:30%;}
    .marker-denver{left:13%;top:29%;}
    .marker-costa-rica{left:17.5%;top:50%;}
    .marker-argentina{left:29.5%;bottom:21.5%;}
    .marker-peterborough{left:45.5%;top:20%;}
    .marker-vilnius{left:52%;top:18%;}
    .marker-dubai{left:64%;top:42%;}
    .marker-singapore{left:79%;bottom:42%;}
    .marker-manila{left:84.5%;top:48%;}
    .marker-sydney{right:7.5%;bottom:14%;}

    .product-img{
        position:relative;
        display:inline-block;
        line-height:0;
        overflow:hidden;
        max-width:100%;
    }

    .product-img a{
        display:block;
    }

    /* Hover zoom effect */
    .product-img img{
        display:block;
        max-width:100%;
        height:auto;
        transform:scale(1);
        transition:transform 250ms ease;
        will-change:transform;
    }

    .product-img:hover img{
        transform:scale(1.06);
    }
      
      /* Logo watermark (unchanged/original settings) */
      .product-img::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 120px;
        height: 60px;
        background: url('../../img/logo.webp') no-repeat center;
        background-size: contain;
        opacity: 0.4;
        pointer-events: none;
      }