/* Add padding to the bottom of main content sections */
main {
    padding-bottom: 3rem; /* Adjust as needed to ensure content is not hidden behind the footer */
}

/* Reset some default browser styles */
body, ul {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
}

/*body {*/
/*    font-family: Arial, sans-serif;*/
/*    color: #333;*/
/*    background-color: #f4f4f4; /* Light background for the body */
/*}*/

body {
    font-family: 'jost', sans-serif;
    color: #333;
    /*background-color: #f4f4f4; /* Light background for the body */
    background-image: url('images/bg1.WebP'); /* Replace with the path to your image */
    background-size: cover; /* Ensures the image covers the entire background */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    
}


/* Header styling */
header {
    /*background-color: #007bff; /* Blue background for the header */
  background: linear-gradient(to right, #4facfe, #00f2fe);

    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

/* Logo styling */
.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px; /* Adjust height as needed */
    width: auto; /* Maintain aspect ratio */
    margin-right: 10px; /* Space between image and text */
}

.logo span {
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
}

/* Menu toggle button styling */
.menu-toggle {
    display: none;
    /*background: #0056b3;*/
    border: none;
    color: #fff;
    padding: 0.5rem 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Navigation links styling */
.nav-links {
    list-style: none;
    display: flex;
    gap: 1rem; /* Space between links */
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
}

/* Responsive styling */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Hide navigation links by default on mobile */
        flex-direction: column;
        width: 100%; /* Ensure full width for mobile menu */
        background: linear-gradient(to right, #4facfe, #00f2fe); /* Match header background */
        position: absolute;
        top: 60px; /* Position below the header */
        left: 0;
        z-index: 1; /* Ensure it appears above other content */
    }

    .nav-links.active {
        display: flex; /* Show navigation links when active */
    }

    .nav-links a {
        padding: 1rem;
        border-bottom: 1px solid #fff; /* Separate links */
    }

    .menu-toggle {
        display: flex; /* Show menu toggle button on mobile */
    }
}

/* inspirational section styling */
.responsive-section {
    background: linear-gradient(to bottom, #b3e0ff, #004080); /* Background gradient */
    padding: 40px 20px;
    text-align: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-content {
    width: 100%;
}

.responsive-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px; /* Optional: add rounded corners */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .responsive-image {
        /* Adjust image styling if needed */
    }
}

@media (max-width: 480px) {
    .responsive-image {
        /* Further adjustments for very small screens if necessary */
    }
}

/* About section styling */
/*.about-section {*/
/*    padding: 2rem;*/
/*    padding-bottom: 4rem; /* Ensure there is space for the footer */
/*   background-color: #fff; /* Light background for the section */
/*    color: #333;*/
/*}*/

.about-section {
    padding: 2rem;
    padding-bottom: 4rem; /* Ensure there is space for the footer */
    /*background-color: rgba(255, 255, 255, 0.8); /* White background with 80% opacity */
    color: #333;
}

.about-content {
    max-width: 800px; /* Max width for content */
    margin: 0 auto; /* Center the content */
    text-align: center; /* Center text for a cleaner look */
}

.about-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #007bff; /* Blue color for the heading */
}

.about-content p {
    font-size: 1rem;
    line-height: 1.6; /* Improve readability */
    margin-bottom: 1rem;
}

/* Responsive styling */
@media (max-width: 768px) {
    .about-content h2 {
        font-size: 1.5rem;
    }

    .about-content p {
        font-size: 0.9rem;
    }
}

/* Services section styling */
.services-section {
    padding: 2rem;
    padding-bottom: 4rem; /* Ensure there is space for the footer */
    /*background-color: #f9f9f9; /* Light grey background for the section */
    color: #333;
}

.services-content {
    max-width: 1200px; /* Max width for content */
    margin: 0 auto; /* Center the content */
    text-align: center; /* Center text for a cleaner look */
}

.services-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #007bff; /* Blue color for the heading */
}

.services-grid {
    display: grid;
    /*grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); */
    grid-template-columns:repeat(3, 1fr);
    gap: 1rem; /* Space between items */
}

.services-grid .service-item:nth-child(4) {
    grid-column: 2; /* places 4th card in the middle column */
  }

.service-item {
    background-color: #fff; /* White background for service items */
    padding: 1.5rem;
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    text-align: left; /* Align text to the left */
}

.service-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.service-item p {
    font-size: 1rem;
    line-height: 1.6; /* Improve readability */
    margin: 0;
}

/* Responsive styling */
@media (max-width: 768px) {
    .services-content h2 {
        font-size: 1.5rem;
    }

    .service-item h3 {
        font-size: 1.25rem;
    }

    .service-item p {
        font-size: 0.9rem;
    }
    
    /* Make cards stack in one column */
    .services-grid {
        grid-template-columns: 1fr;
    }

    /* Remove the custom placement of the 4th card */
    .services-grid .service-item:nth-child(4) {
        grid-column: auto;
    }
}

/* Contact section styling */
.contact-section {
    padding: 2rem;
    /*background-color: #fff;*/
    color: #333;
    max-width: 100%; /* Ensure section doesn't exceed viewport width */
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Flexbox container to hold both the address and form containers */
.contact-containers {
    display: flex;
    gap: 2rem; /* Space between the containers */
    flex-wrap: wrap; /* Ensure containers wrap on smaller screens */
    width: 100%;
}

/* Address container styling */
.contact-info-container {
    flex: 1; /* Take up equal space */
    background-color: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    max-width: 100%;
}

/* Form container styling */
.contact-form-container {
    flex: 1; /* Take up equal space */
    background-color: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    max-width: 100%;
}

/* Headings inside containers */
.contact-info-container h2, .contact-form-container h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: #007bff; /* Blue color for the heading */
}

/* Address and contact info styling */
.contact-info-container p {
    font-size: 1rem;
    line-height: 1.9;
    margin-bottom: 1rem;
}

/* Phone number link styling */
.contact-info-container a {
    color: #333; 
    text-decoration: none;
}

.contact-info-container a:hover {
    text-decoration: underline; /* Underline on hover */
}

/* Contact form styling */
.contact-form-container form {
    display: flex;
    flex-direction: column; /* Stack form elements */
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* Input and textarea styling */
.contact-form-container input,
.contact-form-container textarea {
    width: 100%; /* Ensure inputs take full width of container */
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    box-sizing: border-box; /* Prevent overflow issues */
}

/* Submit button styling */
.contact-form-container button {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    width: 100%; /* Full width button */
    box-sizing: border-box;
}

.contact-form-container button:hover {
    background-color: #0056b3; /* Darker blue on hover */
}

/* Responsive styling for smaller screens */
@media (max-width: 768px) {
    .contact-containers {
        flex-direction: column; /* Stack containers vertically */
    }

    .contact-info-container,
    .contact-form-container {
        margin-bottom: 1rem; /* Space between stacked sections */
    }
}

/* Location Section */
    .location-section {
        padding: 4rem 2rem;
        /*background-color: #f9f9f9;*/
        text-align: center;
    }
    
    .loc-container h2{
        color: #007BFF;
    }
    
    .map-container {
        position: relative;
        padding-bottom: 56.25%;
        height: 0;
        overflow: hidden;
        max-width: 100%;
        background: #eee;
        border-radius: 8px;
        margin-top: 1rem;
    }
    
    .map-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }
    
    @media (max-width: 768px) {
        .map-container {
            padding-bottom: 75%;
        }
    }

/* Footer Styles */
.site-footer {
    background-color: #1a1a1a;
    color: #e0e0e0;
    padding: 40px 0 20px;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-company {
    text-align: center;
    margin-bottom: 40px;
}

.company-name {
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    letter-spacing: 1px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 20px;
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

.footer-section.footer-nav {
    text-align: left;
}

.footer-section.footer-social {
    text-align: center;
}

.footer-section.footer-terms {
    text-align: right;
}

.footer-credits-section {
    text-align: center;
    margin-bottom: 20px;
}

.footer-heading {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Navigation Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #cccccc;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Social Media Icons */
.social-icons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: #333333;
    color: #cccccc;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.social-link.facebook:hover {
    background-color: #1877f2;
    color: #ffffff;
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #ffffff;
}

.social-link.linkedin:hover {
    background-color: #0077b5;
    color: #ffffff;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid #333333;
    padding-top: 20px;
}

.footer-copyright {
    margin: 0;
    color: #999999;
    font-size: 14px;
    text-align: center;
}

.footer-credits {
    margin: 20px 0 0 0;
    color: #999999;
    font-size: 14px;
}

.footer-credits a {
    color: #4CAF50;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-credits a:hover {
    color: #66BB6A;
    text-decoration: underline;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .site-footer {
        padding: 30px 0 15px;
    }
    
    .footer-container {
        padding: 0 15px;
    }
    
    .footer-content {
        /*flex-direction: column;*/
        gap: 20px;
        align-items: stretch;
    }
    
    .footer-section {
        flex: none;
        min-width: auto;
    }
    
    /* First row: Nav and Terms side by side */
    .footer-section.footer-nav {
        order: 1;
        text-align: left;
        flex: 1;
    }
    
    .footer-section.footer-terms {
        order: 1;
        text-align: right;
        flex: 1;
    }
    
    /* Create flex container for nav and terms */
    .footer-section.footer-nav,
    .footer-section.footer-terms {
        display: inline-block;
        width: 48%;
        vertical-align: top;
    }
    
    /* Second row: Social section */
    .footer-section.footer-social {
        order: 2;
        width: 100%;
        text-align: center;
        margin-top: 5px;
    }
    
    .company-name {
        font-size: 20px;
    }
    
    .footer-heading {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .footer-links a {
        font-size: 15px;
    }
    
    .social-icons {
        justify-content: center;
        gap: 12px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
    }
    
    .footer-copyright, .footer-credits {
        font-size: 13px;
    }
}

@media screen and (max-width: 480px) {
    .site-footer {
        padding: 25px 0 10px;
    }
    
    .footer-container {
        padding: 0 10px;
    }
    
    .footer-section.footer-nav,
    .footer-section.footer-terms {
        width: 48%;
    }
    
    .footer-heading {
        font-size: 15px;
        margin-bottom: 12px;
    }
    
    .footer-links a {
        font-size: 14px;
    }
    
    .footer-links li {
        margin-bottom: 10px;
    }
    
    .social-link {
        width: 38px;
        height: 38px;
    }
    
    .footer-copyright, .footer-credits {
        font-size: 12px;
        line-height: 1.4;
    }
}

/* Portfolio Section Styles */
/* Section Styling */
.portfolio-section {
  padding: 2rem;
  background-color: #f4f4f4;
  text-align: center;
}

.portfolio-section h2{
    color: #007bff;
}

/* Swiper Container */
.swiper {
  padding: 2rem 0;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden; /* Prevent overflow */
}

.swiper-wrapper {
  display: flex;
}

/* Each Slide */
.swiper-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #f4f4f4;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  box-sizing: border-box;
}

.swiper-slide img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.swiper-button-next,
.swiper-button-prev {
  color: #007bff; /* If using text-based arrows */
  background-color: transparent;
  width: 40px;
  height: 40px;
}

/* Override arrow images with your own or use custom shape */
.swiper-button-next::after,
.swiper-button-prev::after {
  content: ''; /* Clear Swiper's built-in arrow */
  display: inline-block;
  width: 100%;
  height: 100%;
  background-color: #007bff; /* Your color */
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
}

/* Replace with your own arrow SVG paths as masks */
.swiper-button-next::after {
  mask-image: url('data:image/svg+xml;utf8,<svg fill="white" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M8 4l8 8-8 8z"/></svg>');
}

.swiper-button-prev::after {
  mask-image: url('data:image/svg+xml;utf8,<svg fill="white" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M16 4l-8 8 8 8z"/></svg>');
}


/* Override Swiper default absolute positioning */
.swiper-pagination {
  position: static !important;  /* Removes absolute */
  margin-top: 1rem;
  text-align: center;
}


.portfolio-content {
  margin-top: 1rem;
  text-align: center;
}

.portfolio-content h3 {
  font-size: 1.5rem;
  color: #333;
}

.portfolio-content p {
  font-size: 1rem;
  color: #333;
  margin-bottom: 1rem;
}

.visit-btn {
  background-color: #007bff;
  color: #fff;
  padding: 0.5rem 1rem;
  text-decoration: none;
  border-radius: 5px;
}

.visit-btn:hover {
  background-color: #0056b3;
}

/* Animate on Scroll Styles */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#animate-on-scroll {
  padding: 2rem;
  background-color: rgba(255, 255, 255, 0.5);
  color: #333;
  transform: translateY(20px);
  overflow: hidden; /* prevent Swiper from spilling out */
}

#animate-on-scroll.visible {
  animation: fadeIn 2.5s forwards;
}



/* Our Product Section */
.product-section {
    padding: 2rem;
    /*padding: 60px 20px;*/
    background-color: rgba(255, 255, 255, 0.5);
    color: #007bff;
}

.product-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}
.product-content h2{
    font-size: 2rem;
}

.product-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.product-item {
    background-color: #fff;
    color: #333;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.product-item img {
    max-width: 30%;
    height: auto;
    border-radius: 8px;
}

.product-item h3 {
    font-size: 1.75rem;
    color: #4facfe;
}

.product-item p {
    font-size: 1rem;
    color: #666;
}

/* Responsive styling */
@media (max-width: 768px) {
    .product-content h2{
        font-size: 1.5rem;
    }
    
    .product-item img {
        max-width: 100%;
        height: auto;
        border-radius: 8px;
    }
    
    .product-grid {
        flex-direction: column;
    }

    .product-item {
        max-width: 100%;
    }
}

.slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: auto; /* Adjust height as necessary */
    display: flex; /* Use flexbox for centering */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically if needed */
}

.slider-image {
    width: 80%;
    display: none; /* Hide all images by default */
}

.slider-image.active {
    display: block; /* Show active image */
}










        .hero-container {
            min-height: 100vh;
            display: flex;
            align-items: center;
            padding: 2rem;
            max-width: 1400px;
            margin: 0 auto;
        }

        .hero-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            width: 100%;
            align-items: center;
        }

        .text-section {
            z-index: 2;
        }

        .typewriter-text {
            font-size: 1.75rem;
            font-weight: 600;
            color: #64748b;
            line-height: 1.3;
            margin-bottom: 2rem;
            min-height: 200px;
        }

        .highlight-blue {
            color: #3b82f6;
            font-weight: 700;
        }

        .highlight-green {
            color: #10b981;
            font-weight: 700;
        }

        .typewriter-cursor {
            display: inline-block;
            background-color: #3b82f6;
            margin-left: 3px;
            width: 3px;
            animation: blink 1s infinite;
        }

        @keyframes blink {
            0%, 50% { opacity: 1; }
            51%, 100% { opacity: 0; }
        }

        .subtitle {
            font-size: 1.25rem;
            color: #64748b;
            margin-bottom: 2.5rem;
            opacity: 0;
            transform: translateY(20px);
            animation: fadeInUp 0.8s ease-out 4s forwards;
            display: none;
        }

        .connect-button {
            background: linear-gradient(135deg, #3b82f6, #1d4ed8);
            color: white;
            padding: 1rem 2.5rem;
            font-size: 1.1rem;
            font-weight: 600;
            border: none;
            border-radius: 50px;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
            opacity: 0;
            transform: translateY(20px);
            animation: fadeInUp 0.8s ease-out 4.5s forwards;
            text-decoration: none;
            display: inline-block;
        }

        .connect-button:link,
        .connect-button:visited,
        .connect-button:hover,
        .connect-button:active {
            text-decoration: none;
        }

        .connect-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 35px rgba(59, 130, 246, 0.4);
            background: linear-gradient(135deg, #2563eb, #1e40af);
        }

        .connect-button:active {
            transform: translateY(-1px);
        }

        .image-section {
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
        }

        .hero-image {
            width: 100%;
            max-width: 500px;
            height: auto;
            border-radius: 20px;
            box-shadow: none;
            transition: transform 0.3s ease;
            opacity: 1;
        }

        .hero-image:hover {
            transform: scale(1.05) rotate(1deg);
        }



        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeInScale {
            from {
                opacity: 0;
                transform: scale(0.9);
            }
            to {
                opacity: 1;
                transform: scale(1);
            }
        }

        /* Mobile Responsiveness */
        @media (max-width: 768px) {
            .hero-content {
                grid-template-columns: 1fr;
                grid-template-rows: auto auto;
                gap: 2rem;
                text-align: center;
            }

            .image-section {
                order: -1;
            }

            .text-section {
                order: 1;
            }

            .typewriter-text {
                font-size: 1.25rem;
                min-height: 180px;
            }

            .hero-container {
                padding: 0.5rem 1rem;
                padding-top: 1rem;
            }

            .subtitle {
                font-size: 1rem;
            }

            .connect-button {
                padding: 0.8rem 2rem;
                font-size: 1rem;
            }
        }

        @media (max-width: 480px) {
            .typewriter-text {
                font-size: 1rem;
                min-height: 150px;
            }
        }
