/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: linear-gradient(rgba(27, 38, 59, 0.9), rgba(27, 38, 59, 0.9)), url('https://images.unsplash.com/photo-1652022642695-3ee8f03f384f?q=80&w=1974&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D') center/cover no-repeat fixed;
    color: white;
    text-align: center;
}
/* Testimonials Grid Layout */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 columns */
    gap: 20px; /* Space between cards */
    justify-items: center; /* Center items in the grid */
    align-items: center;
    margin-bottom: 50px; /* Space before company logos */
}

/* Testimonial Card */
.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Client Image */
.client-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.5);
}

/* Company Logos */
.company-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.company-logos img {
    max-width: 120px;
    height: auto;
    filter: brightness(0.9);
    transition: transform 0.3s ease;
}

.company-logos img:hover {
    transform: scale(1.1);
    filter: brightness(1);
}


/* CTA Section with Glassmorphism Effect */
.cta {
    position: relative;
    padding: 100px 0;
    background: url('https://images.unsplash.com/photo-1653280693244-d72876d5e422?q=80&w=2070&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D') 
                center center / cover no-repeat; /* Background image */
    color: white;
    text-align: center;
    overflow: hidden;
}

.cta .glass-panel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    background: rgba(255, 255, 255, 0.1); /* Transparent background */
    border: 1px solid rgba(255, 255, 255, 0.2); /* Subtle border */
    backdrop-filter: blur(15px); /* Glassmorphism blur effect */
    border-radius: 15px; /* Rounded corners */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); /* Subtle shadow */
    z-index: 2;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9); /* Slightly transparent white text */
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.8); /* Light text color */
}

.cta .glass-button {
    display: inline-block;
    padding: 15px 40px;
    border: 0;
    text-decoration: none;
    border-radius: 50px;
    background-color: rgba(255, 255, 255, 0.1); /* Transparent button background */
    border: 1px solid rgba(255, 255, 255, 0.2); /* Subtle border */
    backdrop-filter: blur(10px); /* Glassmorphism blur effect */
    color: rgba(255, 255, 255, 0.9); /* Light text color */
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Subtle shadow */
}

.cta .glass-button:hover {
    background-color: rgba(255, 255, 255, 0.2); /* Slightly darker on hover */
    transform: translateY(-5px); /* Lift effect */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); /* Stronger shadow */
}

/* Stats Section */
.stats {
    padding: 100px 0;
    background: linear-gradient(rgba(27, 38, 59, 0.9), rgba(27, 38, 59, 0.9)), url('https://cdn.pixabay.com/photo/2015/03/30/19/23/shell-699945_1280.jpg') center/cover no-repeat fixed;
    color: white;
    text-align: center;
}

.stat-box {
    margin-bottom: 30px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.stat-number:after {
    content: '+';
    position: absolute;
    font-size: 2rem;
    top: 0;
    right: -20px;
}

.stat-text {
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.stat-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary);
    border-radius: 50%;
    font-size: 1.8rem;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.stat-box:hover .stat-icon {
    transform: rotateY(360deg);
    background-color: var(--accent);
}

/* Service Card with Glassmorphism Effect */
.service-card {
    background: rgba(255, 255, 255, 0.1); /* Transparent background */
    border: 1px solid rgba(255, 255, 255, 0.2); /* Subtle border */
    backdrop-filter: blur(15px); /* Glassmorphism blur effect */
    border-radius: 15px; /* Rounded corners */
    padding: 20px;
    box-shadow: 0 10px 30px rgba(8, 8, 8, 0.2); /* Subtle shadow */
    transition: all 0.3s ease;
    text-align: center;
    color: rgba(255, 255, 255, 0.9); /* Light text color for visibility */
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px); /* Lift effect */
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.3); /* Stronger shadow on hover */
}

/* Service Icon */
.service-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9); /* Light text color */
}

/* Service Title */
.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9); /* Light text color */
}

/* Service Description */
.service-card p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8); /* Subtle text color */
    line-height: 1.6;
}

/* Solutions Section with Background Image */
.services {
    padding: 100px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
                url('assests/goals.jpg') center/cover no-repeat; /* Add scaffolding background */
    color: rgb(255, 255, 255);
    text-align: center;
}

/* Footer */
.footer {
    background-color: var(--dark);
    color: white;
    padding: 80px 0 20px;
}

/* Navbar */
.navbar-brand img {
    height: 50px; /* Adjust the height as needed */
    margin-right: 10px;
    border-radius: 0; /* Ensure no rounding is applied */
    transition: transform 0.3s ease; /* Keep the hover effect */
}

.navbar-brand img:hover {
    transform: scale(1.1); /* Adds a hover effect */
}

/* Navbar Links */
.nav-link {
    font-size: 19px; /* Increase font size */
    font-weight: bold; /* Make text bold */
    color: black; /* Change text color */
    margin-left: 25px;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--secondary-color); /* Change color on hover */
}

.nav-link:before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

.nav-link:hover:before, 
.nav-link.active:before {
    width: 100%;
}

@media (max-width: 768px) {
    .navbar-brand img {
        height: 30px; /* Adjust logo size for smaller screens */
    }
}

/* Default Navbar Styles */
.navbar {
    background: rgba(255, 255, 255, 0.9); /* Add a semi-transparent background */
    z-index: 1000; /* Ensure the navbar is above other elements */
    transition: all 0.3s ease; /* Smooth transition for background changes */
}

/* Navbar when scrolled */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.9); /* Keep the same background for consistency */
    backdrop-filter: blur(10px); /* Add a blur effect for glassmorphism */
    border-bottom: 1px solid rgba(0, 0, 0, 0.1); /* Add a subtle border */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); /* Add a shadow for depth */
}

/* Navbar Mobile Styles */
@media (max-width: 768px) {
    .navbar {
        padding: 10px 15px; /* Adjust padding for smaller screens */
    }

    .navbar-toggler {
        font-size: 1.5rem; /* Ensure the hamburger icon is large enough */
        color: black; /* Ensure the icon is visible */
    }

    .navbar-collapse {
        background: rgba(255, 255, 255, 0.95); /* Add a background to the dropdown menu */
        border-radius: 10px; /* Add rounded corners for a modern look */
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); /* Add a shadow for depth */
    }

    .nav-link {
        font-size: 1rem; /* Adjust font size for links */
        color: black; /* Ensure links are visible */
        margin: 10px 0; /* Add spacing between links */
    }

    .nav-link:hover {
        color: var(--primary-color); /* Change color on hover */
    }
}

/* Navbar Mobile Styles */
@media (max-width: 768px) {
    .navbar {
        padding: 10px 0; /* Reduce padding for smaller screens */
    }

    .navbar-brand {
        font-size: 1.4rem; /* Adjust font size for the brand */
    }

    .nav-link {
        font-size: 1rem; /* Reduce font size for links */
        margin-left: 15px; /* Reduce spacing between links */
    }

    .navbar-toggler {
        font-size: 1.2rem; /* Adjust size of the toggler icon */
    }
}

/* Hero Section Mobile Styles */
@media (max-width: 768px) {
    .hero {
        text-align: center; /* Center-align content for mobile */
        padding: 50px 20px; /* Add padding for better spacing */
    }

    .hero-title {
        font-size: 2rem; /* Reduce font size for the title */
        line-height: 1.3;
    }

    .hero-text {
        font-size: 1rem; /* Adjust font size for the text */
        margin-bottom: 20px;
    }

    .hero-btns {
        display: flex;
        flex-direction: column; /* Stack buttons vertically */
        gap: 10px; /* Add spacing between buttons */
    }

    .hero-image {
        margin-top: 20px;
        max-width: 80%; /* Reduce image size for mobile */
        border-radius: 15px; /* Keep rounded corners */
    }
}

/* General Mobile Adjustments */
@media (max-width: 768px) {
    .section-padding {
        padding: 50px 0; /* Reduce section padding for smaller screens */
    }

    .section-title h2 {
        font-size: 2rem; /* Adjust section title size */
    }

    .section-title p {
        font-size: 0.9rem; /* Adjust section subtitle size */
    }
}

/* Add margin to the hero title to separate it from the navbar */
.hero-title {
    margin-top: 80px; /* Add space between the heading and the navbar */
    font-size: 3rem; /* Ensure the font size remains consistent */
    line-height: 1.2;
}

@media (max-width: 768px) {
    .hero-title {
        margin-top: 100px; /* Increase margin for smaller screens */
        font-size: 2rem; /* Adjust font size for mobile */
    }
}

/* Navbar Styles */
.navbar {
    padding: 20px 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.9); /* Semi-transparent background */
    backdrop-filter: blur(10px); /* Glassmorphism blur effect */
    border-bottom: 1px solid rgba(0, 0, 0, 0.1); /* Subtle border */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); /* Add shadow for depth */
    padding: 10px 0; /* Adjust padding when scrolled */
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.6rem;
    color: black;
}

.nav-link {
    color: var(--dark-color);
    font-weight: 500;
    margin-left: 25px;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link:before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

.nav-link:hover:before,
.nav-link.active:before {
    width: 100%;
}

/* General Mobile and Tablet Adjustments */
@media (max-width: 992px) { /* For tablets and smaller screens */
    .hero {
        flex-direction: column; /* Stack content vertically */
        text-align: center;
        padding: 50px 20px;
    }

    .hero-title {
        font-size: 2.5rem; /* Adjust font size for smaller screens */
    }

    .hero-text {
        font-size: 1rem; /* Adjust font size for smaller screens */
        margin-bottom: 20px;
    }

    .hero-btns {
        flex-direction: column; /* Stack buttons vertically */
        gap: 10px;
    }

    .hero-image {
        margin-top: 20px;
        max-width: 90%; /* Reduce image size for smaller screens */
    }

    .about .row {
        flex-direction: column; /* Stack image and text vertically */
        gap: 20px;
    }

    .about img {
        max-width: 100%; /* Ensure the image fits within the container */
        margin-bottom: 20px;
    }

    .about h2 {
        font-size: 2rem; /* Adjust heading size */
    }

    .about ul {
        padding-left: 20px; /* Add padding for better spacing */
    }

    .services .service-card {
        margin-bottom: 20px; /* Add spacing between cards */
    }

    .services .service-card h3 {
        font-size: 1.2rem; /* Adjust heading size */
    }

    .services .service-card p {
        font-size: 0.9rem; /* Adjust paragraph size */
    }

    .testimonial-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 columns for tablets */
        gap: 15px; /* Reduce gap between cards */
    }
}

.show-less-button {
    display: block;
    margin: 0 auto;
}

@media (max-width: 768px) { /* For mobile screens */
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for mobile */
        gap: 10px; /* Reduce gap between cards */
    }
}

@media (max-width: 768px) { /* For mobile screens */
    .hero {
        padding: 30px 15px; /* Reduce padding for smaller screens */
    }

    .hero-title {
        font-size: 2rem; /* Further reduce font size */
    }

    .hero-text {
        font-size: 0.9rem; /* Adjust font size */
    }

    .hero-btns {
        gap: 8px; /* Reduce spacing between buttons */
    }

    .hero-image {
        max-width: 100%; /* Ensure the image fits within the container */
    }

    .about .row {
        flex-direction: column; /* Stack image and text vertically */
        gap: 15px;
    }

    .about img {
        max-width: 100%; /* Ensure the image fits within the container */
    }

    .about h2 {
        font-size: 1.8rem; /* Adjust heading size */
    }

    .about ul li {
        font-size: 0.9rem; /* Adjust list item size */
    }

    .services .service-card {
        margin-bottom: 15px; /* Add spacing between cards */
    }

    .services .service-card h3 {
        font-size: 1rem; /* Adjust heading size */
    }

    .services .service-card p {
        font-size: 0.8rem; /* Adjust paragraph size */
    }

    .testimonial-grid {
        grid-template-columns: 1fr; /* 1 column for mobile */
        gap: 10px; /* Reduce gap between cards */
    }

    .footer {
        padding: 40px 20px; /* Reduce padding for smaller screens */
    }

    .footer h3, .footer h4 {
        font-size: 1.2rem; /* Adjust heading size */
    }

    .footer-links li {
        margin-bottom: 5px; /* Reduce spacing between links */
    }

    .footer-links a {
        font-size: 0.9rem; /* Adjust link size */
    }

    .contact-info p {
        font-size: 0.9rem; /* Adjust contact info size */
    }
}

/* Contact Float Styles */
.contact-float-container {
    position: fixed;
    bottom: 90px;
    right: 30px;
    z-index: 1000;
}

.contact-float-button {
    position: relative;
}

.contact-float-main {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
    position: absolute;
    bottom: 0;
    right: 0;
}

.contact-float-options {
    position: absolute;
    bottom: 70px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    visibility: hidden; /* Change from pointer-events to visibility */
    transform: translateY(20px);
    transition: all 0.3s ease;
}

/* Hover Effects */
.contact-float-button:hover .contact-float-options {
    opacity: 1;
    visibility: visible; /* Change from pointer-events to visibility */
    transform: translateY(0);
}

.contact-option {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    border-radius: 25px;
    color: white;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.contact-option i {
    margin-right: 10px;
    font-size: 20px;
}

.contact-option.whatsapp {
    background-color: #25d366;
}

.contact-option.phone {
    background-color: #007bff;
}

.contact-option.indiamart {
    background-color: #ff6b6b;
}

/* Hover Effects */
.contact-float-container:hover .contact-float-options {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.contact-float-container:hover .contact-float-main {
    transform: rotate(360deg);
}

.contact-option:hover {
    transform: translateX(-10px);
}

.contact-info1 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-left: 20%;
}

.contact-info1 i {
    color: var(--primary-color);
}

.mobile-contact {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
}

.mobile-phone {
    display: flex;
    align-items: center;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 500;
}

.mobile-phone i {
    margin-right: 8px;
}

.mobile-phone span {
    color: var(--dark-color);
}

@media (max-width: 991px) {
    .navbar-brand img {
        height: 60px; /* Slightly smaller logo on mobile */
    }
    
    .mobile-contact {
        margin-left: 50px; /* Add some space from the logo */
        padding-left: 12px; /* Add some padding to the left */
    }
}