/*
 Theme Name: HPDEVCO Child
 Theme URI: https://wpastra.com/
 Description: Child Theme for Astra Theme
 Author: Your Name
 Template: astra
 Version: 1.0.0
*/


/* General Styles */
:root {      
      --sec-bg: #202020;
      --white: #ffffff;
      --black: #000000;
      --max-width: 1360px;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary {
    display: block;
}

body, ol, ul, li, div, p, span, form, h1, h2, h3, h4, h5, h6, table, thead, th, tbody, tr, td, img, input, textarea, dd, dt, dl {
    word-wrap: break-word;
    outline: none;
    padding: 0;
    margin: 0;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

textarea {
    overflow: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, p, ul, ol, dd, dt, dl {
    -webkit-margin-before: 0px;
    -webkit-margin-after: 0px;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
}

a img, img {
    border: none;
    outline: none !important;
}

img {
    width: auto;
    max-width: 100%;
    display: block;
}

input[type=submit], input[type=reset], input[type=button], button {
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    appearance: none;
}

a, button {
    cursor: pointer;
    text-decoration: none;
    outline: 0 !important;
    color: inherit;
    transition: .3s;
}

a:hover, button:hover {
    text-decoration: none;
}

input {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    outline: 0 !important;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -ms-font-smoothing: antialiased;
    background-color: #fff;
    font-family: "Inter", sans-serif;
}

::selection {
    text-shadow: none;
    background: #4183c466;
}

ul, menu, dir {
    margin: 0;
    padding: 0;
    display: block;
    list-style-type: none;
}

*, *:after, *:before {
    box-sizing: border-box;
    outline: 0;
}



/* Layout & Typography */
/* font-family: "Inter", sans-serif; */

.layout {
    width: 100%;
    max-width: var(--max-width);
    padding: 0 30px;
    margin: 0 auto;
}

h1{    
    font-weight: 600;
    font-size: 75px;
    line-height: 90px;
    color: var(--white);
    display: block;
}
h2{    
    font-weight: 600;
    font-size: 52px;
    line-height: 65px;
    color: var(--white);
    display: block;
    position: relative;
}

p {
    font-weight: 400;
    font-size: 24px;
    line-height: 34px;
    color: var(--white);
    display: block;
}
.small-text{
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: var(--white);
    display: block;
}
.flex{
    display: flex;
}
.flex-col{
    flex-direction: column;
}
.flex-row{
    flex-direction: row;
}
.items-center{
    align-items: center;
}
.justify-between{
    justify-content: space-between;
}
.justify-center{
    justify-content: center;
}

/* header */
.hpdevco-main,.success-main, .footer-main{
    background: var(--black);
    position: relative;
}
.hpdevco-main:after {
    content: '';
    background: linear-gradient(to bottom, #D9D9D900 0%, #000000 100%);
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: 30%;
    position: absolute;
}
.bg-img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.bg-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.header-section{
    padding-top: 37px;    
}
.header-inner{
    padding: 22px 32px;
    background: var(--white);
    border-radius: 100px;
}
/* hero */
.header-section, .hero-section{
    position: relative;
    z-index: 2;
}
.hero-inner{
    padding: 90px 0px 188px;
    /* max-width: 1000px; */
    width: 100%;
    gap: 36px;
    text-align: center;
    margin: auto;
}
.hero-inner p{
    max-width: 1000px;
}
.highlight-tag{
    font-size: 18px;
    line-height: 18px;
    font-weight: 600;
    padding: 12px 32px;
    background: var(--white);
    border-radius: 60px;
    color: var(--black);
}

/* success business */
.success-inner{
    padding-top: 100px;
    gap: 32px;
    text-align: center;
}
.success-content{
    gap: 11px;
    max-width: 1000px;
    width: 100%;
}
.success-card-main{
    background: var(--sec-bg);
    border-radius: 32px;
    align-self: stretch;
    padding: 50px 30px;
}
.success-card-inner{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.success-card-block{
    padding: 10px 10px;
    gap: 10px;
}
.success-card-block:not(:last-child){
    border-right: 1px solid rgba(255, 255, 255, 0.5);    
}
.success-icon{
    padding: 10px 25px;
    border-radius: 60px;
}
.success-card-block p{
    font-size: 20px;
    line-height: 24px;
    font-weight: 500;
    color: var(--white);
}
.yellow{
    background: #F9EB57;
}
.blue{
    background: #83E7EE;    
}
.pink{
    background: #FFB9A2;
}

/* footer */
.footer-inner{
    padding: 60px 0px;
    text-align: center;
}

/* slider */
.slider-section{
    background: var(--black);
}
.scroll-container {
  width: 100%;
  max-width: 1000px;
  margin: auto;
  overflow: hidden;
  padding: 18px 0 0;
  background: var(--black);
  /* This creates a soft fade effect on the left and right edges */
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.scroll-track {
  display: flex;
  width: max-content;
  flex-wrap: nowrap;
  animation: scroll 60s linear infinite;
}

.scroll-track img {
  margin: 0 25px;
  object-fit: contain; 
  filter: grayscale(100%);
  flex-shrink: 0;
}

/* Pause on Hover */
/* .scroll-track:hover {
  animation-play-state: paused;
} */

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* Resets seamlessly halfway */
}

#ast-scroll-top{
    background: #1FAE94;
}

.follow-us{
    gap: 8px;
    font-size: 16px;
    line-height: 16px;
    font-weight: 400;
    color: var(--white);
    text-transform: capitalize;
    transition: 0.3s ease;
    padding: 8px 24px;
    background: var(--black);
    border-radius: 30px;
}
.follow-us a:hover{
    opacity: 0.9;
}


@media screen and (max-width: 1024px) {
    h1{
        font-size: 55px;
        line-height: 65px;
    }
    h2{
        font-size: 40px;
        line-height: 50px;
    }
    p{
        font-size: 22px;
        line-height: 30px;
    }
    .header-section{
        padding-top: 25px;
    }
    .success-card-block p{
        font-size: 18px;
        line-height: 22px;
    }
    .left-logo, .right-logo{
        max-width: 200px;
    }
    .header-inner {
        padding: 18px 25px;
        border-radius: 80px;
    }
    .hero-inner {
        padding: 70px 0px 180px;
        gap: 25px;
    }
    .success-inner{
        padding-top: 70px;
    }
    .success-card-main{
        border-radius: 25px;
        padding: 35px 15px;
    }
    .footer-inner{
        padding: 40px 0px;
    }
    .scroll-track img {
            margin: 0 12px;
    }
}
@media screen and (max-width: 767px) {
    .layout{
        padding: 0px 15px;
    }
    h1{
        font-size: 44px;
        line-height: 58px;
    }
    h2{
        font-size: 30px;
        line-height: 40px;
    }
    p{
        font-size: 20px;
        line-height: 28px;
    }
    .highlight-tag {
        font-size: 16px;
        line-height: 16px;
        padding: 10px 20px;
        border-radius: 30px;
    }
    .header-section{
        padding-top: 15px;
    }
    .success-card-block p{
        font-size: 18px;
        line-height: 22px;
    }
    .left-logo, .right-logo{
        max-width: 150px;
    }
    .header-inner {
        padding: 15px 20px;
        border-radius: 60px;
    }
    .hero-inner {
        padding: 50px 0px 170px;
        gap: 20px;
    }
    .success-inner{
        padding-top: 50px;
    }
    .success-card-main{
        border-radius: 20px;
        padding: 25px 10px;
    }
    .footer-inner{
        padding: 25px 0px;
    }
    .follow-us{
        gap: 2px;
        font-size: 14px;
        line-height: 14px;
        padding: 5px 14px;
    }
    .follow-us img{
        max-width: 30px;
    }
}
@media screen and (max-width: 480px) {
    h1{
        font-size: 34px;
        line-height: 46px;
    }
    h2{
        font-size: 26px;
        line-height: 36px;
    }
    p{
        font-size: 18px;
        line-height: 26px;
    }
    .highlight-tag {
        font-size: 15px;
    }
    .header-section{
        padding-top: 10px;
    }
    .left-logo, .right-logo{
        max-width: 130px;
    }
    .header-inner {
        padding: 10px 10px;
        border-radius: 40px;
    }
    .hero-inner {
        padding: 35px 0px 120px;
        gap: 15px;
    }
    .success-inner{
        padding-top: 30px;
    }
    .success-card-main{
        border-radius: 20px;
        padding: 10px 15px;
    }
    .success-card-inner{
        grid-template-columns: repeat(1, 1fr);
    }
    .success-card-block:not(:last-child) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.5);
        border-right: unset;
    }
    .success-card-block {
        padding: 20px 0px;
    }
}