.navbar-brand img {
    height: 50px;
}
.caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
}

.nav-link{
    color: white !important;
}
#banner .carousel-item img {
    height: 700px;
    object-fit: cover;
}
.about-section {
    padding: 60px 0;
}
.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.about-text {
    flex: 1;
    max-width: 50%;
    text-align: left;
}
.about-text h3 {
    font-size: large;
    text-align: justify;
}
.about-image {
    flex: 1;
    max-width: 45%;
    text-align: center;
}
.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    animation: fadeIn 2s ease-in-out;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.read-more {
    padding: 5px 10px;
    font-size: 0.9rem;
    border: none;
    background-color: #007bff;
    color: white;
    border-radius: 3px;
    cursor: pointer;
    transition: 0.3s;
}
.read-more:hover {
    background-color: #0056b3;
}

.card {
    transition: transform 0.3s ease-in-out;
    border: none;
    border-radius: 10px;
}
.card:hover {
    transform: scale(1.05);
}
.card:nth-child(1) {
    background: linear-gradient(135deg, #f7c02c, #ff9b44);
}
.card:nth-child(2) {
    background: linear-gradient(135deg, #34c3ff, #007bff);
}
.card:nth-child(3) {
    background: linear-gradient(135deg, #5cb85c, #028a0f);
}
.card-body {
    color: white;
}
.card-img-top {
    transition: transform 0.3s ease-in-out;
}
.card:hover .card-img-top {
    transform: scale(1.1);
}
.clients-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 30px 0;
    background: #f8f9fa;
}
.clients-logos {
    display: flex;
    gap: 50px;
    animation: slide 20s linear infinite;
    align-items: center;
}
.client-logo img {
    height: 50px;
    max-width: 150px;
    transition: transform 0.3s ease-in-out;
}
.client-logo img:hover {
    transform: scale(1.1);
}


@keyframes slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}
#mission-vision {
    background: url('images/mission-vision.jpg') center/cover;
    padding: 60px 20px;
    text-align: center;
    position: relative;
}

.mission-vision-content {
    background: rgb(118 179 180 / 78%);
    padding: 40px;
    border-radius: 12px;
    color: #ffffff;
    /* text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6); */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    animation: fadeIn 1.5sease-in-out;
}

.mission-vision-content h3 {
    font-weight: bold;
    margin-bottom: 15px;
}

.mission-vision-content p {
    font-size: 1.1rem;
    text-align: justify;
}

.mission-vision-icons {
    font-size: 1.5rem;
    margin-right: 10px;
    color: #ffd700;
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.15);
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    z-index: 1000;
}
.whatsapp-float img {
    width: 100%;
    height: auto;
}
 .social-icons a {
    font-size: 18px;
    transition: color 0.3s;
}
.social-icons a:hover {
    color: #17a2b8;
}
.footer-image {
    width: 100%;
    height: 246px;
}
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        text-align: center;
    }
    .about-text, .about-image {
        max-width: 100%;
    }
    .client-logo img {
        height: 30px;
        max-width: 120px;
    }
}




 .hsn-banner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 700px;
    background: url('latest images/Cover-Page.jpg') no-repeat center center/cover;
    color: white;
    padding: 20px;
}

.hsn-banner-title {
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hsn-banner-subtitle {
    font-size: 1.2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}
.hns-container {
    display: flex;
    align-items: center;
    margin-top: 30px;
    text-align: justify;
}
.hns-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
}
.hns-text {
    font-size: 16px;
    line-height: 1.5;
}
.hns-image img {
    width: 50%;
    height: auto;
}


.hns-section {
    background-color: #f4faff;
    padding: 50px 20px;
}
.hns-title {
    color: #2b5797;
    text-align: center;
    margin-bottom: 20px;
}
.hns-text {
    text-align: center;
    color: #555;
    margin-bottom: 30px;
}
.hns-feature {
    background-color: #e8f5e9;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}
.hns-feature img {
    width: 150px;
    height: 150px;
    margin-bottom: 10px;
}
.hns-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.hns-card {
    flex: 1;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .hsn-banner {
        height: 400px;
        padding: 15px;
    }
    .hsn-banner-title {
        font-size: 1.5rem;
    }
    .hsn-banner-subtitle {
        font-size: 1rem;
    }
}


.service-cards {
    padding: 50px 20px;
    background-color: #f9f9f9;
}
.service-cards ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}
.service-cards li {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease-in-out;
}
.service-cards i {
    font-size: 2rem;
    margin-bottom: 15px;
}

.service-cards h3 {
    font-size: 1rem;
}

.hnss-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #2b5797;
    margin-bottom: 40px;
}
.hnss-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.hnss-list-item {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}
.hnss-list-item i {
    font-size: 2rem;
    margin-bottom: 15px;
}
.hnss-list-item h3 {
    font-size: 1.2rem;
    color: #333;
}
.hnss-list-item p {
    color: #555;
}
.hnss-vision {
    text-align: center;
    padding: 40px 20px;
}
.hnss-vision p {
    font-size: large;
    font-weight: bold;
}
.hnss-container {
    max-width: 1200px;
    margin: 0 12%;
    text-align: center;
    padding: 60px 20px;
}



@keyframes hns_concrete_slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === HNS Stone Crushers Responsive Styles === */

/* Default (Desktop First) */
.hns_stone-banner {
    height: 600px;
    background: url('latest images/stone-banner.jpg') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
  }
  .hns_stone-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
  }
  .hns_stone-banner-content {
    position: relative;
    z-index: 1;
    padding: 20px;
  }
  .hns_stone-banner-title {
    font-size: 3rem;
    font-weight: bold;
  }
  .hns_stone-banner-subtitle {
    font-size: 1.3rem;
    margin-top: 10px;
  }
  
  .hns_stone-section {
    padding: 60px 20px;
    background: #f9f9f9;
  }
  .hns_stone-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
  }
  .hns_stone-text {
    flex: 1;
    font-size: 1.1rem;
    color: #333;
    line-height: 1.7;
  }
  .hns_stone-image {
    flex: 1;
    text-align: center;
  }
  .hns_stone-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  }
  
  .hns_stone-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
  }
  .hns_stone-feature-card {
    flex: 1 1 calc(33.33% - 20px);
    background: white;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
  }
  .hns_stone-feature-card:hover {
    transform: translateY(-5px);
  }
  .hns_stone-feature-card i {
    font-size: 2rem;
    color: #007bff;
    margin-bottom: 10px;
  }
  .hns_stone-feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }
  .hns_stone-feature-card p {
    font-size: 1rem;
    color: #555;
  }


.hns_concrete_banner {
    background-image: url('latest images/concretes.jpg');
    width: 100%;
    height: 750px;
    background-size: cover;
    background-position: center;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    animation: hns_concrete_slideIn 2s ease-in-out;
    position: relative;
}

.hns_concrete_banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay for text readability */
}

.hns_concrete_banner_content {
    position: relative;
    z-index: 1;
}

.hns_concrete_banner h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin: 0;
    text-transform: uppercase;
}

.hns_concrete_banner p {
    font-size: 1.5rem;
    margin-top: 10px;
    font-weight: 300;
}

.hnsconcrete-section {
    padding: 40px 0;
}

.hnsconcrete-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
}

.hnsconcrete-text {
    flex: 1;
}

.hnsconcrete-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
}

.hnsconcrete-text p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

.hnsconcrete-image {
    flex: 1;
    text-align: center;
}

.hnsconcrete-image img {
    width: 60%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.hnsconcrete-hse-section {
    padding: 40px 0;
    background-color: #f9f9f9;
}

.hnsconcrete-hse-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.hnsconcrete-hse-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.hnsconcrete-hse-text {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

.hnsconcrete-hse-subtitle {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #444;
}

.hnsconcrete-hse-card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.hnsconcrete-hse-card {
    flex: 1 1 calc(25% - 15px); /* Ensures 4 cards per row */
    display: flex;
    align-items: center;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    min-width: 250px;
}

.hnsconcrete-hse-card:hover {
    transform: translateY(-5px);
}

.hnsconcrete-hse-icon {
    font-size: 24px;
    margin-right: 10px;
}

.hnsconcrete-hse-card-text {
    font-size: 16px;
    color: #333;
    text-align: left;
}
.hnsconcrete-rmc-section {
    padding: 40px 0;
    background-color: #f9f9f9;
}

.hnsconcrete-rmc-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.hnsconcrete-rmc-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.hnsconcrete-rmc-text {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

.hnsconcrete-rmc-card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.hnsconcrete-rmc-card {
    flex: 1 1 calc(33.33% - 15px); /* Ensures 3 cards per row */
    display: flex;
    align-items: center;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    min-width: 250px;
}

.hnsconcrete-rmc-card:hover {
    transform: translateY(-5px);
}

.hnsconcrete-rmc-icon {
    font-size: 24px;
    margin-right: 10px;
}

.hnsconcrete-rmc-card-text {
    font-size: 16px;
    color: #333;
    text-align: left;
}

.hnsconcrete-rmc-footer {
    font-size: 16px;
    color: #555;
    margin-top: 20px;
    font-weight: bold;
}





.hnsconcrete-products-section {
    padding: 50px 0;
    background-image: url('images/concretes.png');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.hnsconcrete-products-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.hnsconcrete-products-title {
    font-size: 28px;
    font-weight: bold;
    color: black;
    margin-bottom: 20px;
}

.hnsconcrete-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
    justify-content: center;
    align-items: stretch;
    padding: 20px;
}

/* Individual Card Styling */
.hnsconcrete-product-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    text-align: center;
    opacity: 0;  /* Initially hidden */
    transform: scale(0.5); /* Initially small */
    animation: brick-wall 1s forwards ease-out;
}

/* Keyframe Animation for Brick Effect */
@keyframes brick-wall {
    0% {
        opacity: 0;
        transform: scale(0.5) translateY(50px);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.02) translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Apply delay to each card so they appear like bricks being laid */
.hnsconcrete-product-card:nth-child(1) { animation-delay: 0.1s; }
.hnsconcrete-product-card:nth-child(2) { animation-delay: 0.2s; }
.hnsconcrete-product-card:nth-child(3) { animation-delay: 0.3s; }
.hnsconcrete-product-card:nth-child(4) { animation-delay: 0.4s; }
.hnsconcrete-product-card:nth-child(5) { animation-delay: 0.5s; }
.hnsconcrete-product-card:nth-child(6) { animation-delay: 0.6s; }
.hnsconcrete-product-card:nth-child(7) { animation-delay: 0.7s; }

/* Hover effect for better UI */
.hnsconcrete-product-card:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 1);
}


/* Section Styling */
.hns-why-choose {
background: linear-gradient(135deg, #1e3c72, #2a5298);
color: white;
position: relative;
overflow: hidden;
}

/* Title Styling */
.hns-title {
font-size: 2.2rem;
font-weight: 700;
color: #fff;
}

.hns-subtitle {
font-size: 1.1rem;
font-weight: 500;
color: #ddd;
max-width: 700px;
}

/* Card Styling */
.hns-card {
background: rgba(255, 255, 255, 0.15);
backdrop-filter: blur(10px);
border-radius: 12px;
padding: 20px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.hns-card:hover {
transform: scale(1.05);
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* List Styling */
.hns-card ul {
padding-left: 0;
list-style: none;
margin-top: 10px;
}

.hns-card ul li {
font-size: 1rem;
color:gray;
padding: 6px 0;
position: relative;
}

.hns-card ul li:before {
content: "";
color: #ffcc00;
font-weight: bold;
font-size: 1.2rem;
margin-right: 10px;
}

/* Geometric Shapes */
.hns-shape {
position: absolute;
background: rgba(255, 255, 255, 0.2);
filter: blur(40px);
border-radius: 50%;
animation: float 6s infinite alternate ease-in-out;
}

.shape1 {
width: 100px;
height: 100px;
top: 10%;
left: 15%;
}

.shape2 {
width: 150px;
height: 150px;
bottom: 10%;
right: 20%;
}

@keyframes float {
0% { transform: translateY(0px); }
100% { transform: translateY(20px); }
}

/* Banner Styling */
.hns_infra-banner {
background: url('latest images/infra-banner.jpg') no-repeat center center/cover;
width: 100%;
height: 700px;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
position: relative;
animation: hns_infra-fadeIn 2s ease-in-out;
}

/* Dark Overlay */
.hns_infra-banner::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay */
}

/* Banner Content */
.hns_infra-banner-content {
position: relative;
color: white;
z-index: 2;
max-width: 800px;
padding: 20px;
}

.hns_infra-banner-content h1 {
font-size: 3rem;
font-weight: bold;
margin-bottom: 10px;
}

.hns_infra-banner-content p {
font-size: 1.2rem;
font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
.hns_infra-banner {
height: 500px;
}

.hns_infra-banner-content h1 {
font-size: 2rem;
}

.hns_infra-banner-content p {
font-size: 1rem;
}
}

@media (max-width: 480px) {
.hns_infra-banner {
height: 400px;
}

.hns_infra-banner-content h1 {
font-size: 1.8rem;
}

.hns_infra-banner-content p {
font-size: 0.9rem;
}
}

/* Animation */
@keyframes hns_infra-fadeIn {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
/* Welcome Section */
.hns_infra-welcome-section {
background: linear-gradient(to right, #f8f9fa, #e9ecef);
padding: 60px 20px;
text-align: center;
position: relative;
overflow: hidden;
}

/* Adding a Geometric Shape */
.hns_infra-welcome-section::before {
content: "";
position: absolute;
top: -50px;
left: -50px;
width: 150px;
height: 150px;
background: rgba(0, 123, 255, 0.1);
transform: rotate(45deg);
z-index: 0;
}

.hns_infra-welcome-section::after {
content: "";
position: absolute;
bottom: -50px;
right: -50px;
width: 120px;
height: 120px;
background: rgba(255, 193, 7, 0.1);
transform: rotate(45deg);
z-index: 0;
}

/* Container */
.hns_infra-container {
max-width: 900px;
margin: 0 auto;
position: relative;
z-index: 1;
}

/* Title */
.hns_infra-title {
font-size: 2.5rem;
font-weight: bold;
color: #333;
margin-bottom: 15px;
animation: hns_infra-fadeIn 1.5s ease-in-out;
}


/* Description */
.hns_infra-description {
font-size: 1.2rem;
color: #555;
line-height: 1.8;
animation: hns_infra-slideIn 1.5s ease-in-out;
}

/* Responsive Design */
@media (max-width: 768px) {
.hns_infra-title {
font-size: 2rem;
}

.hns_infra-description {
font-size: 1rem;
}
}

/* Animations */
@keyframes hns_infra-fadeIn {
0% {
opacity: 0;
transform: translateY(-20px);
}
100% {
opacity: 1;
transform: translateY(0);
}
}

@keyframes hns_infra-slideIn {
0% {
opacity: 0;
transform: translateX(-20px);
}
100% {
opacity: 1;
transform: translateX(0);
}
}

.hns_infra-who-we-are {
display: flex;
justify-content: center;
align-items: center;
background-color: #ffffff;
padding: 50px 20px;
}
.hns_infra-container {
display: flex;
max-width: 1200px;
width: 100%;
align-items: center;
gap: 40px;
}
.hns_infra-content {
flex: 1;
}
.hns_infra-title {
font-size: 32px;
font-weight: bold;
color: #333;
margin-bottom: 15px;
}
.hns_infra-description {
font-size: 18px;
color: #555;
line-height: 1.6;
}
.hns_infra-image {
flex: 1;
text-align: center;
}
.hns_infra-image img {
max-width: 100%;
height: auto;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
@media (max-width: 768px) {
.hns_infra-container {
flex-direction: column;
text-align: center;
}
}

.hsninfra-services, .hsninfra-why-choose-us {
text-align: center;
padding: 60px 20px;
}
.hsninfra-title {
font-size: 2.5rem;
margin-bottom: 30px;
color: #333;
font-weight: bold;
position: relative;
}
.hsninfra-list {
display: grid;
grid-template-columns: repeat(6, 1fr);
gap: 20px;
padding: 0;
list-style: none;
justify-content: center;
}
.hsninfra-service-item {
background: white;
padding: 30px;
border-radius: 10px;
box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease, box-shadow 0.3s ease;
text-align: center;
opacity: 0;
transform: translateY(30px);
animation: fadeInUp 0.8s forwards;
}
.hsninfra-service-item:hover {
transform: translateY(-5px);
box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.15);
}
.hsninfra-service-item i {
font-size: 3rem;
margin-bottom: 15px;
}
.hsninfra-card-text {
display: block;
font-size: 1.2rem;
font-weight: bold;
margin-bottom: 10px;
color: #333;
}
p {
color: #555;
font-size: 1rem;
}
.hsninfra-why-choose-us .hsninfra-list {
grid-template-columns: repeat(3, 1fr);
}
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}

.hsninfra-industries-vision {
text-align: center;
padding: 60px 20px;
background: linear-gradient(135deg, #007bff, #00c6ff);
color: white;
}
.hsninfra-title {
font-size: 2.5rem;
margin-bottom: 30px;
font-weight: bold;
}
.hsninfra-list {
display: flex;
flex-wrap: wrap;
justify-content: center;
list-style: none;
padding: 0;
}
.hsninfra-service-item {
background: rgba(255, 255, 255, 0.1);
padding: 20px;
border-radius: 10px;
margin: 10px;
width: 250px;
text-align: center;
transition: transform 0.3s ease, box-shadow 0.3s ease;
animation: fadeInUp 0.8s forwards;
opacity: 0;
}
.hsninfra-service-item:hover {
transform: scale(1.05);
box-shadow: 0px 10px 20px rgba(255, 255, 255, 0.2);
}
.hsninfra-service-item i {
font-size: 3rem;
margin-bottom: 15px;
}
.hsninfra-card-text {
display: block;
font-size: 1.2rem;
font-weight: bold;
margin-bottom: 10px;
}
.description {
font-size: 1.2rem;
margin-top: 20px;
}
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}



.gallery-container {
max-width: 1200px;
margin: auto;
padding: 40px 20px;
text-align: center;
margin-top:15% !important;
}
.gallery-container h1 {
text-transform: uppercase;
margin-bottom: 30px;
color: #333;
}
.gallery-section {
border-bottom: 2px solid #ddd;
padding: 20px 0;
}
.gallery-section h2 {
cursor: pointer;
padding: 10px;
background: #e9ecef;
margin-bottom: 10px;
border-radius: 5px;
}
.gallery {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
grid-gap: 20px;
padding: 10px 0;
}
.gallery img {
width: 100%;
height: 250px;
object-fit: cover;
border-radius: 10px;
transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
.gallery img:hover {
transform: scale(1.05);
box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}
.fullscreen-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.8);
display: flex;
justify-content: center;
align-items: center;
z-index: 1000;
cursor: pointer;
}
.fullscreen-overlay img {
max-width: 90%;
max-height: 90%;
}
.hidden-gallery {
display: none;
}

.contact-container {
width: 80%;
margin: auto;
padding: 20px;
background: white;
border-radius: 10px;
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
animation: fadeIn 1s ease-in-out;
}

.contact-title {
text-align: center;
font-size: 2em;
margin-bottom: 20px;
}

.contact-wrapper {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
}

.contact-form, .contact-info {
width: 48%;
background: #fff;
padding: 20px;
border-radius: 8px;
}

.contact-form-group {
margin-bottom: 15px;
}

.contact-form-group label {
display: block;
font-weight: bold;
}

.contact-form-group input, 
.contact-form-group textarea {
width: 100%;
padding: 10px;
margin-top: 5px;
border: 1px solid #ccc;
border-radius: 5px;
}

.contact-send-btn {
width: 100%;
padding: 10px;
border: none;
background: #007BFF;
color: white;
font-size: 1em;
cursor: pointer;
border-radius: 5px;
transition: background 0.3s;
}

.contact-send-btn:hover {
background: #0056b3;
}

.contact-social-links {
text-align: center;
margin-top: 20px;
}

.contact-social-links a {
margin: 0 10px;
font-size: 1.5em;
color: #333;
transition: color 0.3s;
}

.contact-social-links a:hover {
color: #007BFF;
}


@keyframes fadeIn {
from { opacity: 0; transform: translateY(-10px); }
to { opacity: 1; transform: translateY(0); }
}

/* Responsive Enhancements for Mobile & Tablet */
@media (max-width: 768px) {
    .about-content {
      flex-direction: column;
      text-align: center;
    }
  
    .about-text, .about-image,
    .contact-form, .contact-info {
      max-width: 100%;
      width: 100%;
    }
  
    .client-logo img {
      height: 30px;
      max-width: 120px;
    }
  
    .hsn-banner {
      height: 400px;
      padding: 15px;
    }
  
    .hsn-banner-title {
      font-size: 1.5rem;
    }
  
    .hsn-banner-subtitle {
      font-size: 1rem;
    }
  
    .service-cards ul {
      grid-template-columns: repeat(2, 1fr);
    }
  
    .hsninfra-list {
      grid-template-columns: repeat(2, 1fr);
    }
  
    .gallery-container {
      margin-top: 25% !important;
    }
  
    .hns_infra-container {
      flex-direction: column;
      text-align: center;
    }
  
    .hns_infra-title {
      font-size: 2rem;
    }
  
    .hns_infra-description {
      font-size: 1rem;
    }
  }
  
  @media (max-width: 480px) {
    .service-cards ul,
    .hsninfra-list {
      grid-template-columns: 1fr;
    }
  
    .hsninfra-service-item i {
      font-size: 2rem;
    }
  
    .hsn_infra-banner {
      height: 400px;
    }
  
    .hsn_infra-banner-content h1 {
      font-size: 1.8rem;
    }
  
    .hsn_infra-banner-content p {
      font-size: 0.9rem;
    }
  
    .gallery img {
      height: 200px;
    }
  }
  
  @media (max-width: 768px) {
    .hns_stone-banner {
      height: 400px;
      padding: 20px;
    }
    .hns_stone-banner-title {
      font-size: 2rem;
    }
    .hns_stone-banner-subtitle {
      font-size: 1rem;
    }
  
    .hns_stone-container {
      flex-direction: column;
      text-align: center;
    }
  
    .hns_stone-text {
      font-size: 1rem;
    }
  
    .hns_stone-feature-card {
      flex: 1 1 calc(50% - 20px);
    }
  }
  
  /* Mobile */
  @media (max-width: 480px) {
    .hns_stone-banner {
      height: 300px;
    }
    .hns_stone-banner-title {
      font-size: 1.5rem;
    }
    .hns_stone-banner-subtitle {
      font-size: 0.9rem;
    }
  
    .hns_stone-feature-card {
      flex: 1 1 100%;
    }
  }