/*about page html*/

.custom-navbar {
    
    position: fixed; /* Fix the top bar at the top */
    top: 0px; /* Position it below the top bar (adjust this if your top bar height changes) */
    left: 0; /* Align it to the left */
    right: 0; /* Align it to the right */
    z-index: 1020; /* Ensure it stays above other content but below the top bar */
    
    background-color: #fdf036; /* Change this to your desired color */
    padding: 0.5rem 0; /* Adjust the vertical padding to change the depth */
    min-height: 80px; /* Set a minimum height for the navbar */
    display: flex; /* Use flexbox for alignment */
    align-items: flex-start; /* Vertically center the items */

}

.custom-navbar .navbar-brand {
color: #ffffff; /* Change the color of the brand name */
font-size: 1.75rem; /* Increase font size for visibility */
font-weight: bold; /* Make the text bold */
text-decoration: none; /* Remove underline */
transition: transform 0.3s ease; /* Smooth transition for zoom effect */
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Add shadow for depth */
}

.custom-navbar .navbar-brand:hover {
transform: scale(1.1); /* Zoom in slightly on hover */
}

.custom-navbar .logo {
height: 50px; /* Set the desired height for the logo */
width: auto; /* Maintain aspect ratio */
font-size: 50px;
}






.custom-navbar .navbar-nav .nav-link {


padding-left: 20px;
color: #3d3d3d; /* Change the color of the nav items */
font-size: 1.2rem; /* Adjust the font size for the navbar links */
line-height: 1.5; /* Adjust line height for spacing */
margin-left: 10px; /* Use a negative margin to move items left */
padding: 0.5rem 1rem; /* Adjust padding for spacing around links */
transition: color 0.3s ease, background-color 0.3s ease, border 0.3s ease; /* Smooth transition for hover effect */
border: 2px solid transparent; /* Add a transparent border by default */
border-radius: 8px; /* Round corners for a modern look */

}





.custom-navbar .navbar-nav .nav-link:hover {
color: #5f5f5d; /* Change color on hover for a modern effect */
background-color: rgba(255, 255, 255, 0.2); /* Background color on hover */
border: 2px solid #4b4b49; /* Change border color on hover */
}



/* Dropdown menu styling */
.navbar-nav .dropdown-menu {
background-color: #f8f9fa;
border-radius: 0.5rem;
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
padding: 0.5rem -2rem;
transition: all 0.3s ease;
}

/* Dropdown items */
.dropdown-menu .dropdown-item {
color: #343a40;
padding: 0.5rem -2rem;
font-size: 1rem;
transition: background-color 0.3s ease, color 0.3s ease;
}

/* Dropdown items hover effect */
.dropdown-menu .dropdown-item:hover {
background-color: #007bff;
color: white;
}

/* Navbar toggler for mobile view */
.navbar-toggler {
border: none;
}

.navbar-toggler-icon {
background-color: #343a40;
width: 30px;
height: 2px;
display: block;
margin: 5px 0;
transition: all 0.3s ease;
}

.navbar-toggler:hover .navbar-toggler-icon {
background-color: #007bff;
}

/* Navbar collapse */
.collapse.navbar-collapse {
justify-content: flex-end;
}

/* Mobile dropdown */
@media (max-width: 991.98px) {
    .custom-navbar .navbar-nav .nav-link {
        color: #343a40;
        padding: 0.5rem 1rem;
        font-size: 1rem;
        display: block;
        text-align: left;
    }
    
    .custom-navbar .navbar-nav .nav-item {
        margin-bottom: 0.5rem;
    }
    
    .dropdown-menu {
        padding: 0;
    }
    
    .dropdown-item {
        padding: 0.75rem 1.5rem;
    }
    
    .navbar-toggler-icon {
        background-color: #0080ff; /* Background color for the toggle button */
        width: 35px; /* Width of the toggle button */
        height: 20px; /* Height of the toggle button bars */
        display: block; /* Display as a block element */
        margin: 5px 0; /* Spacing between toggle button bars */
        transition: background-color 0.3s ease, transform 0.3s ease; /* Smooth transitions */
        border-radius: 5px; /* Rounded corners for a smoother look */
        position: relative; /* Positioning for pseudo-element */
    }
    
    .navbar-toggler-icon::after {
        content: "Click"; /* Text to display */
        color: #ffffff; /* Text color */
        font-size: 0.9rem; /* Font size */
        position: absolute; /* Position the text absolutely */
        top: 50%; /* Center vertically */
        left: 50%; /* Center horizontally */
        transform: translate(-50%, -50%); /* Adjust position to truly center */
        white-space: nowrap; /* Prevent wrapping */
    }
    
    /* Hover effect */
    .navbar-toggler-icon:hover {
        background-color: #0056b3; /* Change color on hover */
    }
    
    }

/* Media query for mobile devices */
@media (max-width: 767.98px) {
    /* Adjust navbar brand text */
    .custom-navbar .navbar-brand {
        font-size: 1.8rem; /* Smaller text size for mobile devices */
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3); /* Reduce text shadow for better readability */
        margin-left: 25px; /* Adjust this value to move the brand to the right */
    }

    /* Adjust logo image size */
    .custom-navbar .logo {
        display: none; /* Hide logo on mobile devices */
    }
}

    body {
        margin: 0;
        padding: 0;
    }
    
    /* Hero Section */
    .hero-about {
        background: linear-gradient(135deg, #007acc 0%, #00c6ff 100%);
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 10px 20px; /* Reduce padding for smaller height */
        margin-top: 80px;
        overflow: hidden;
        height: 120px; /* Smaller height to fit everything in one line */
        flex-direction: row; /* Ensure all containers are in a single line */
        gap: 20px; /* Space between text elements */
    }
    
    /* Text container */
    .container-about {
        z-index: 1;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        opacity: 0; /* Start with hidden text */
        animation: fadeInZoom 12s ease-in-out infinite; /* General animation for container */
        white-space: nowrap; /* Ensure text stays in one line */
    }
    
    /* Company-specific classes to manage timing */
    .company1 {
        animation-delay: 0s;
    }
    
    .company2 {
        animation-delay: 2s;
    }
    
    .company3 {
        animation-delay: 4s;
    }
    
    .company4 {
        animation-delay: 6s;
    }
    
    .company5 {
        animation-delay: 8s;
    }
    
    @keyframes fadeInZoom {
        0% {
            opacity: 0;
            transform: scale(0.8); /* Start smaller */
        }
        25% {
            opacity: 1;
            transform: scale(1.1); /* Slight zoom */
        }
        50% {
            opacity: 1;
            transform: scale(1.0); /* Normal size */
        }
        75% {
            opacity: 1;
            transform: scale(1.1); /* Zoom again */
        }
        100% {
            opacity: 0;
            transform: scale(0.8); /* End smaller */
        }
    }
    
    /* Company name styles */
    .company-name-about {
        font-size: 1.8rem;
        margin: 0;
        white-space: nowrap;
    }
    
    /* Slogan styles */
    .slogan-about {
        font-size: 1rem;
        margin: 0;
        white-space: nowrap;
    }
    
    /* Text hover effect */
    .container-about:hover {
        transform: scale(1.05); /* Scale text container on hover */
        transition: transform 0.3s ease;
    }
    
    /* Media query for mobile devices */
    @media (max-width: 767.98px) {
        .hero-about {
            flex-direction: column; /* Stack elements vertically */
            height: 250px; /* Allow height to adjust */
            padding: 20px; /* Increase padding for better touch targets */
        }
    
       /* Media query for mobile devices */
    @media (max-width: 767.98px) {
        .hero-about {
            flex-direction: column; /* Stack elements vertically */
            height: auto; /* Allow height to adjust */
            padding: 20px; /* Increase padding for better touch targets */
        }
    
        .company-name-about {
            font-size: 1.5rem; /* Adjust font size for mobile */
            margin: 0; /* Reset margins */
            margin-bottom: 30px; /* Add space below the company name */
            display: block; /* Ensure it takes up a full line */
        }
    
        .slogan-about {
            font-size: 0.9rem; /* Adjust slogan font size for mobile */
            margin: 0; /* Reset margins */
            display: block; /* Ensure it takes up a full line */
            margin-top: 5px; /* Add space above the slogan */
            visibility: hidden; /* Make the slogan invisible while keeping its space */
        }
    
        .container-about {
            opacity: 1; /* Ensure the text is visible */
            animation: none; /* Remove animation */
            display: flex; /* Ensure flexbox layout remains */
            flex-direction: column; /* Stack items vertically in the container */
            align-items: center; /* Center align items horizontally */
        }
    
        /* Only display the first company name and slogan */
        .container-about > div:not(:first-child) {
            display: none; /* Hide all but the first company name and slogan */
        }
    }
    
        .container-about {
            opacity: 1; /* Ensure the text is visible */
            animation: none; /* Remove animation */
            display: flex; /* Ensure flexbox layout remains */
        }
    
        /* Only display the first company name and slogan */
        .container-about > div:not(:first-child) {
            display: none; /* Hide all but the first company name and slogan */
        }
    }
    


/* Zigzag Card Section */
.zigzag-cards-about {
    padding: 50px 0;
    background-color: #f4f4f4; /* Light background for contrast */
}

.zigzag-cards-about .container-about {
    max-width: 1200px; /* Max width for better alignment */
    margin: auto; /* Center the container */
}

/* Individual Card Style */
.zigzag-card-about {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 10px;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Transition for hover effects */
    opacity: 0; /* Initially invisible */
    
}

/* Image style with animation */
.zigzag-card-about img {
    width: 100%;
    border-radius: 8px;
    max-height: 300px; /* Limit the image height */
    object-fit: cover; /* Maintain aspect ratio */
}

/* Content styles */
.zigzag-card-about .content-about {
    font-size: 4.0rem; /* Increased font size for content */
    color: #555; /* Darker text for better readability */
    text-align: left;
    line-height: 1.8; /* Improved line height for readability */
}

/* Hover effects */
.zigzag-card-about:hover {
    transform: translateY(-5px); /* Lift effect on hover */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); /* Deeper shadow on hover */
}

/* Heading styles */
.zigzag-card-about h4 {
    font-size: 2.25rem; /* Increased font size for headings */
    font-family: 'Arial', sans-serif; /* Custom font for headings */
    color: #007bff;
    margin-bottom: 15px;
    transition: color 0.3s ease; /* Smooth color transition */
}

/* Change heading color on hover */
.zigzag-card-about h4:hover {
    color: #0056b3; /* Darker color on hover */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .zigzag-card-about {
        flex-direction: column; /* Stack elements on smaller screens */
        align-items: center; /* Center align for smaller screens */
    }

    .zigzag-card-about img {
        width: 80%; /* Limit image width on mobile */
    }
}

/* Animation for the card effect */
@keyframes push-zoom {
    0% {
        transform: scale(0.9) translateY(20px); /* Start with zoom and push */
        opacity: 0; /* Initially invisible */
    }
    100% {
        transform: scale(1) translateY(0); /* End at original position and size */
        opacity: 1; /* Fully visible */
    }
}

/* Class to trigger animation */
.card-animate {
    animation: push-zoom 0.6s ease forwards; /* Animation for cards */
}

/* Adjust card animation delay based on their order */
.zigzag-card-about:nth-child(1) { animation-delay: 0.1s; }
.zigzag-card-about:nth-child(2) { animation-delay: 0.2s; }
.zigzag-card-about:nth-child(3) { animation-delay: 0.3s; }
.zigzag-card-about:nth-child(4) { animation-delay: 0.4s; }
/* Add more delays for additional cards if necessary */




/* Service Card Styles */
.service-card {
    background: linear-gradient(145deg, #5faffa, #e6e6e6); /* Subtle gradient background */
    border: 1px solid #ffda09; /* Border for better separation */
    border-radius: 12px; /* Rounded corners for a softer look */
    padding: 20px; /* Padding around content */
    transition: transform 0.3s, box-shadow 0.3s; /* Smooth transition for hover effects */
    margin-bottom: 30px; /* Space between cards */
    text-align: center; /* Center text */
    opacity: 0; /* Start with opacity 0 for animation */
    transform: translateY(20px); /* Start slightly below for animation */
    animation: fadeIn 0.5s forwards; /* Apply fade-in animation */
}

/* Image styles */
.service-card img {
    border-radius: 12px; /* Rounded corners for images */
    max-height: 200px; /* Limit image height */
    object-fit: cover; /* Cover image area */
    transition: transform 0.3s; /* Smooth transition for image zoom effect */
}

/* Title styles */
.service-card h3 {
    margin-top: 15px; /* Space above title */
    font-size: 1.6rem; /* Slightly larger title font size */
    color: #333; /* Darker color for better visibility */
}

/* Description styles */
.service-card p {
    font-size: 1rem; /* Description font size */
    color: #666; /* Description color */
}

/* Hover Effects */
.service-card:hover {
    transform: translateY(-5px) scale(1.02); /* Lift the card slightly and zoom */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3); /* Stronger shadow effect on hover */
}

/* Image Hover Effect */
.service-card img:hover {
    transform: scale(1.05); /* Slight zoom effect on image hover */
}

/* Fade-in Animation */
@keyframes fadeIn {
    to {
        opacity: 1; /* Fully visible */
        transform: translateY(0); /* Move to original position */
    }
}

/* Delay animations for each service card */
.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }
.service-card:nth-child(7) { animation-delay: 0.7s; }

/* Add a background effect */
body {
    background-color: #f0f2f5; /* Light gray background for the entire page */
}

/* Optional: Add some padding to the container holding the service cards */
.service-container {
    padding: 40px; /* Add some padding around the service cards */
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Center the cards */
}





/* Contact Us Section */
.contact-us {
    text-align: center;
    padding: 40px 0;
}

.contact-us h2 {
    font-size: 32px;
    color: #212529;
}

.contact-us a {
    background-color: #007bff;
    color: #fff;
    padding: 10px 30px;
    font-size: 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.contact-us a:hover {
    background-color: #0056b3;
}