/* Home Page Specific Styles */

/* Hero Section */
.hero-section {
    padding: 5rem 0;
    min-height: 500px;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://hebbkx1anhila5yf.public.blob.vercel-storage.com/metal_building-2CwXMSnk2xNLH3fSMOwdvXzQiXbvqi.png');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    /* background: linear-gradient(to bottom, rgba(44, 48, 56, 0.8), rgba(44, 48, 56, 0.6)); */
    background-image:url("images/metal-building-banner.webp");
    width:100%;
    height:auto;
    background-position:center;
    background-size:cover;
    background-repeat:no-repeat;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero-highlight {
    position: relative;
    display: inline-block;
}

.hero-highlight::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    right: 0;
    height: 4px;
    background-color:transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
}

.search-bar {
    max-width: 900px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.search-bar .form-control,
.search-bar .form-select {
    background: transparent;
}

.search-bar .form-control:focus,
.search-bar .form-select:focus {
    box-shadow: none;
}

/* Category Icons */
.category-icons {
    margin-top: -3rem;
    position: relative;
    z-index: 20;
}

.category-card {
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
}

/* Added styles for linked category cards */
a:has(.category-card) {
    text-decoration: none;
}

a:has(.category-card):hover .category-card {
    transform: translateY(-5px);
}

.category-icon {
    font-size: 2.5rem;
}

/* Featured Categories & Cards */
.featured-card,
.job-card {
    transition: all 0.3s ease;
    cursor: pointer;
    background-color: #F8F4F3;
}

.featured-card:hover,
.job-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
    transform: translateY(-2px);
}

.featured-card:hover i,
.job-card:hover i {
    color: #f84525 !important;
}

/* Added styles for linked featured cards and job cards */
a:has(.featured-card),
a:has(.job-card) {
    text-decoration: none;
}

a:has(.featured-card):hover .featured-card,
a:has(.job-card):hover .job-card {
    transform: translateY(-2px);
}

/* Section Titles */
.section-title {
    font-size: 2.7rem;
    font-weight: 500;
    color: #212529;
}

/* Featured Listings */
.listing-card {
    transition: all 0.3s ease;
}

.listing-card:hover {
    box-shadow: 0 15px 35px rgba(0,0,0,0.15) !important;
}

.listing-image {
    height: 160px;
    object-fit: cover;
}

.rating i {
    font-size: 0.875rem;
}

.carousel-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #d9d9d9;
    margin: 0 0.25rem;
}

.carousel-dot.active {
    background-color: #f84525;
}

/* Digital Marketing Banner */
.marketing-banner {
    background: linear-gradient(90deg, #000000 0%, #212529 100%) !important;
}

/* How It Works */
.step-number {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: #f84525;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    position: relative;
    z-index: 99;
}

.dotted-line {
    position: absolute;
    top: 32px;
    /* left: 20%; */
    right: 20%;
    border-top: 2px dashed #f84525;
    z-index: -1;
}

/* Blog Cards */
.blog-card {
    transition: all 0.3s ease;
}

.blog-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
}

.blog-image {
    height: 200px;
    object-fit: cover;
    padding: 10px;
}

/* .arrow-decoration {
    opacity: 0.5;
} */
.process-text{
  font-size: 24px;
  font-weight: 500;
}
.featured-card-heading{
  font-size: 20px;
  font-weight: 500;
}
.btn-view-more {
    background-color: #f84525;
    color: #ffffff;
    border: none;
    padding: 7px 22px;
    border-radius: 8px;
    font-weight: 400;
    font-size: 16px;
    transition: all 0.3s ease;
}
.btn-view-more:hover {
    background-color: #e03515;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(248, 69, 37, 0.3);
}
.cta-highlight{
    background-color: #f84525;
}
/* Responsive Styles */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2.7rem;
    }

    .category-icons {
        margin-top: 0;
    }

    .dotted-line {
        display: none !important;
    }
}

/* Utilities */
.text-primary {
    color: #f84525 !important;
}

.bg-primary {
    background-color: #f84525 !important;
}

.border-primary {
    border-color: #f84525 !important;
}
.banner-img img{
  width: 100%;
  height:auto;
}
/*. font-family. */
.font-family-caveat{
    font-family: 'Caveat', cursive;
}
.small,
small{
    font-size: 1rem !important;
}
.icon-ratate-30{
    transform: rotate(-30deg);
}
.border-light{
    border: 1px solid #DEE2E6 !important;
}
.border-right-light{
    border-right:1px solid  #212529bf;
}
.h-20{
    height: 20px;
}

/*.  hero-line. */
.hero_line{
    top: 56%;
    left: 37%;
    transform: translate(-50%, -50%);
}
.process-line_design{
    top: 21%;
    left: 50.01%;
    transform: translate(-50%, -50%);
    width: 73%;
}
.fs-12{
    font-size: 12px;
}
.text-justify{
    text-align: justify;
}
@media (max-width: 556px) {
.about-us-para{
    font-size: 12px;
}
.step-number {
    width: 48px;
    height: 48px;
}
.listing-image {
    height: 100px;
    margin-bottom: 12px;
    }
.btn-view-more{
    font-size: 14px;
}
.featured-card-heading {
    font-size: 18px;
    font-weight: 500;
    line-height: 24px;
}
.hero_line {
               left: 57%;

        top: 31%;
        }
}