body {
    display: flex;
    flex-direction: column;
    font-family: Arial, sans-serif;
    line-height: 1.6;
}



/* Top Bar */
.top-bar {
    position: fixed; /* Fix the top bar at the top */
    top: 0px; /* Position it at the top */
    left: 0; /* Align it to the left */
    right: 0; /* Align it to the right */
    z-index: 1030; /* Ensure it stays above other content */
    background-color: #bdbdbd; /* Change this to your desired color */
    color: rgb(73, 72, 72); /* Change text color if needed */
    padding: 5px 0; /* Increase padding for better spacing */
    display: flex; /* Use flexbox for alignment */
    flex-direction: column; /* Stack elements vertically on mobile */
    align-items: center; /* Center items horizontally */
    text-align: center; /* Center text for mobile */
}

.phone {
    color: black; /* Set the text color to black */
    font-size: 16px; /* Adjust the size if needed */
    padding: 5px 0; /* Add padding for spacing */
    font-weight: bold; /* Make the text bold */
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.7), /* White glow effect */
                 0 0 10px rgba(255, 255, 255, 0.5), 
                 0 0 15px rgba(0, 0, 0, 0.7); /* Darker outer glow */
}

/* Mobile Specific Styles */
@media (max-width: 768px) {
    .top-bar {
        padding: 5px 0; /* Reduced padding for mobile */
        height: 40px; /* Set a specific height if desired */
        background-color: rgba(15, 14, 14, 0.8); /* Semi-transparent background for the top bar */
    }

    .top-bar .container-fluid {
        flex-direction: column; /* Stack items vertically */
        align-items: center; /* Center items */
        background-color: rgba(20, 19, 19, 0.8); /* Background for the container */
        padding: 5px; /* Add padding around the container */
        border-radius: 8px; /* Optional: rounded corners */
    }

    .top-bar .phone {
        font-size: 0.9rem; /* Adjust font size for mobile */
        background-color: rgba(255, 255, 255, 0.8); /* Background for phone text */
        padding: 2px 5px; /* Padding around phone text */
        border-radius: 4px; /* Rounded corners for phone text */
        margin-bottom: 5px; /* Space below the phone text */
    }

    .top-bar .social-media {
        margin-top: 5px; /* Spacing adjustment */
        background-color: rgba(83, 73, 73, 0.8); /* Background for social media icons */
        padding: 5px; /* Padding around social media */
        border-radius: 8px; /* Rounded corners for social media */
    }

    .social-media a {
        font-size: 0.8rem; /* Reduce text size */
        margin-right: 2px; /* Reduce spacing between icons */
    }

    .social-media i {
        font-size: 0.8rem; /* Smaller icon size */
    }

    .social-media .Arabic {
        font-size: 0.7rem; /* Reduce Arabic button text size */
        padding: 3px 6px; /* Adjust button padding */
    }
}

/* Popup styles */
.popup {
    display: none; /* Hide popup by default */
    position: fixed; /* Position fixed for overlay */
    top: 50%; /* Center vertically */
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -50%); /* Adjust to center */
    background-color: #f9f9f9; /* Light background color for a softer look */
    border: 1px solid #ccc; /* Lighter border color */
    border-radius: 12px; /* More rounded corners */
    padding: 30px; /* Increased padding for better spacing */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); /* Deeper shadow for depth */
    z-index: 1000; /* High z-index for visibility */
    transition: all 0.3s ease; /* Smooth transition for popup appearance */
    animation: fadeIn 0.3s; /* Fade-in animation */
}

/* Overlay */
.popup::before {
    content: '';
    position: fixed; /* Fixed overlay */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Darker semi-transparent background */
    z-index: -1; /* Below the popup */
}

/* Button Styles */
.popup button {
    background-color: #007bff; /* Bootstrap primary color */
    color: white; /* Text color */
    border: none; /* No border */
    border-radius: 5px; /* Rounded corners for button */
    padding: 10px 15px; /* Padding for the button */
    cursor: pointer; /* Pointer cursor on hover */
    font-size: 16px; /* Font size */
    transition: background-color 0.3s ease; /* Smooth transition for hover */
}

/* Button hover effect */
.popup button:hover {
    background-color: #0056b3; /* Darker shade on hover */
}

/* Fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}


.custom-navbar {
    
        position: fixed; /* Fix the top bar at the top */
        top: 55px; /* 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: 1040; /* 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 */
    
}
/* Mobile Specific Styles */
@media (max-width: 768px) { /* Adjust max-width as needed */
    .top-bar {
        padding: 5px 0; /* Reduced padding for mobile */
        height: 25px; /* Set a specific height if desired */
        background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent background for the top bar */
        width: auto; /* Maintain aspect ratio */
    }

   
    

    
}

/* Media query for mobile devices */
@media (max-width: 767.98px) {
    /* Adjust navbar brand text */
    .custom-navbar .navbar-brand {
        font-size: 0.5rem; /* 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 */
    }
}
.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: 30px; /* 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: #007bff; /* Blue text color */
        background-color: #ece4e4; /* White background */
        padding: 0.5rem 1rem; /* Padding */
        font-size: 1rem; /* Font size */
        font-weight: bold; /* Make text bold */
        display: block; /* Display block */
        display: inline-block;
        border-radius: 4px; /* Optional: rounded corners */
    }
    
    .custom-navbar .navbar-nav .nav-link {
        display: inline-block; /* Inline-block for better control */
        color: #007bff; /* Blue text color */
        background-color: #ffffff; /* White background */
        padding: 0.5rem 1rem; /* Padding */
        font-size: 1rem; /* Font size */
        font-weight: bold; /* Make text bold */
        text-align: center; /* Center text alignment */
        border-radius: 4px; /* Optional: rounded corners */
        transition: background-color 0.3s, color 0.3s, padding 0.3s; /* Smooth transition */
    }
    
    /* Change text color when hovering over the nav link */
    .custom-navbar .navbar-nav .nav-link:hover {
        color: #fcfcfc; /* Change text color to yellow on hover */
        background-color: #0056b3; /* Darker blue background on hover */
        padding: 0.6rem 1.1rem; /* Slightly increase padding for emphasis */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add shadow for depth */
    }

    .navbar-toggler-icon {
        background-color: #0080ff; /* Blue background */
        width: 30px; /* Width of the toggler icon */
        height: 2px; /* Height of the toggler icon */
        display: block; /* Block display */
        margin: 5px 0; /* Margin between lines */
        transition: all 0.3s ease; /* Smooth transition for hover effects */
    }
    
    /* Change background color to yellow on hover */
    .navbar-toggler-icon:hover {
        background-color: #FFD700; /* Yellow background on hover */
    }
    .custom-navbar .navbar-nav .nav-item {
        margin-bottom: 0.5rem;
    }

    .dropdown-menu {
        padding: 0;
    }

    .dropdown-item {
        padding: 0.75rem 1.5rem;
    }
}




/*/////////////////////////////*/
.carousel-caption h5.company-name {
    display: inline-block; /* Ensures the background is only as wide as the text */
    font-size: 3rem; /* Larger font size for better visibility */
    font-weight: bold; /* Bold text */
    color: #ffffff; /* White text for good contrast */
    letter-spacing: 2px; /* Slightly increased letter spacing for elegance */
    margin-bottom: 10px; /* Spacing below the company name */
    margin-left: 400px; /* Space below the company name */
    animation: fadeInCompany 1.5s ease-in-out forwards; /* Fade-in animation */
    opacity: 0; /* Initially hidden, fades in */
    
    /* Stylish Background */
    background-color: rgba(141, 135, 107, 0.6); /* Semi-transparent black background */
    padding: 10px 20px; /* Padding around the text for more emphasis */
    border-radius: 8px; /* Rounded corners for the background */
    
    /* Stylish Text Shadow */
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8); /* More prominent shadow for depth */
    
    /* Box Shadow for Extra Style */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4); /* Slight box shadow around the text background */
}

.carousel-caption p.slogan {
    animation: fadeInSlogan 3s ease-in-out forwards; /* Slogan fades in after the company name */
    animation-delay: 1.5s; /* Delay slogan animation to appear after the company name */
    opacity: 0; /* Initially hidden */
    color: #ffffff; /* White color for clarity */
    font-size: 1.5rem; /* Slightly smaller than company name */
    text-align: center; /* Center the slogan */
    margin-left: 400px; /* Space below the company name */
    
    /* Added Styles for Visibility */
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black background */
    padding: 5px 10px; /* Adjusted padding (top/bottom, left/right) */
    border-radius: 5px; /* Rounded corners for better aesthetics */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Text shadow for better contrast */
    
    /* Make background fit text */
    display: inline-block; /* Makes the background fit the text */
}



@keyframes fadeInCompany {
    from {
        opacity: 0;
        transform: translateY(-20px); /* Slight upward motion */
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInSlogan {
    from {
        opacity: 0;
        transform: translateY(-20px); /* Slight upward motion */
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/*/////////////////////////////*/

/* Carousel */

#carousel {
    margin-top: 50px; /* Adjust margin as needed */
}

.carousel-caption {
    position: absolute;
    bottom: 100px;
    left: 100%;
    transform: translateX(-50%) translateY(50px); /* Start position off-screen */
    opacity: 0; /* Initially hidden */
    transition: opacity 1s ease, transform 1s ease; /* Smooth transition */
}

.carousel img {
    max-height: 400px;
    object-fit: cover;
    transition: transform 1.5s ease; /* Smooth zoom effect */
}

.carousel-image-container {
    position: relative;
    overflow: hidden; /* Hide the part of the image that scales beyond the container */
}

.carousel-image-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transform: scale(1); /* Initial scale */
    transition: transform 1.5s ease-in-out; /* Smooth zoom effect */
}

/* Overlay for Darkening Effect */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay */
    z-index: 1;
    opacity: 0.3;
}

.company-name {
    font-size: 50px;
    color: #0004ff;
}

.slogan {
    font-size: 20px;
    color: #ffffff;
}



/* Media query for mobile devices */
/* Media query for mobile devices */
@media (max-width: 767.98px) {
    .carousel-caption h5.company-name {
        font-size: 1.8em; /* Smaller font size for mobile */
        margin-top: 40px; /* Adjust margin to ensure the text is well-positioned */
        margin-left: 100px; /* Reduced left margin for better alignment */
        margin-right: 100px; /* Reduced right margin for better alignment */
        text-align: center; /* Center-align the company name */
    }
    
    .carousel-caption p.slogan {
        font-size: 1rem; /* Slightly smaller font size for the slogan */
        margin-left: 100px; /* Adjust left margin for better alignment */
        margin-right: 100px; /* Adjust right margin for better alignment */
        max-width: 80%; /* Set a maximum width to allow two lines */
        line-height: 1.2; /* Adjust line height for spacing between lines */
        text-align: center; /* Center-align the text */
        white-space: normal; /* Ensure text wraps normally */
        overflow: hidden; /* Hide any overflow */
        text-overflow: ellipsis; /* Optional: Add ellipsis for overflow */
    }
}

/* Hover Effects for Zoom and Text Slide */
.carousel-item.active .carousel-image-container img {
    transform: scale(1.1); /* Zoom effect */
}

.carousel-item.active .carousel-caption {
    opacity: 1; /* Show text */
    transform: translateX(-50%) translateY(0); /* Slide up to original position */
}

/* Vision and Mission Section */
.vision-mission-section {
    background: linear-gradient(135deg, #f0f4f8 30%, #e8ebef 100%); /* Subtle gradient background */
    padding: 60px 0; /* Add vertical padding */
    position: relative;
}

.vision-mission-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('your-background-image.jpg'); /* Optional background image */
    background-size: cover;
    background-position: center;
    opacity: 0.1; /* Light opacity for a professional look */
    z-index: 0;
}

.container.my-5 {
    position: relative;
    z-index: 1; /* Ensure content appears above the background */
}

.card {
    border: none; /* Remove border for clean look */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
    border-radius: 10px; /* Rounded corners */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 20px;
    background-color: #ffffff; /* White background */
}

.card:hover {
    transform: translateY(-10px); /* Slight lift on hover */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); /* More shadow on hover */
}

.card-title {
    font-size: 26px; /* Larger font size */
    font-weight: bold; /* Bold font */
    color: #fded05; /* Brand color for title */
    text-shadow: 1px 1px 2px rgb(0, 0, 0); /* Subtle shadow for depth */
    letter-spacing: 1px; /* Increased spacing between letters */
    background: linear-gradient(to right, #0056b3, #00c6ff); /* Gradient background */
    -webkit-background-clip: text; /* Clip background to text */
    color: transparent; /* Make text color transparent to show gradient */
    padding: 5px 0; /* Vertical padding for spacing */
    border-bottom: 2px solid #0056b3; /* Underline effect */
    transition: transform 0.3s ease, color 0.3s ease; /* Smooth transition effects */
}

.card-title:hover {
    transform: scale(1.05); /* Slightly zoom in on hover */
    color: #00c6ff; /* Change color on hover */
}

.card-text {
    font-size: 18px;
    line-height: 1.8;
    color: #555; /* Softer dark color */
}

@media (min-width: 768px) {
    .card-text {
        font-size: 20px; /* Larger text on bigger screens */
    }
}


/* Styles for Experience Card */
.experience-boxes {
    display: flex; /* Use flex to align boxes vertically */
    flex-direction: column; /* Stack boxes vertically */
}

.box {
    display: flex; /* Flex for inner alignment */
    flex-direction: column; /* Stack text vertically */
    align-items: center; /* Center align the text */
    justify-content: center; /* Center content */
    background-color: #007bff; /* Bootstrap primary color */
    color: white; /* Text color */
    border-radius: 10px; /* Rounded corners */
    padding: 20px; /* Padding inside the box */
    text-align: center; /* Center text */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); /* Shadow for depth */
    width: 100px; /* Width of the box, adjust as needed */
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease; /* Smooth transition */

    .hover-effect {
        transform: scale(1.05); /* Lightly zoom in */
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5); /* Glow effect with shadow */
        background-color: rgba(200, 200, 200, 0.5); /* Optional: Change background color to a lighter grey */
    }
}

.zoom {
    animation: zoomIn 0.5s forwards; /* Animation to zoom in */
}

@keyframes zoomIn {
    0% {
        transform: scale(1); /* Original size */
    }
    100% {
        transform: scale(1.25); /* Scale up to 125% for a more pronounced zoom */
    }
}

.box-text {
    font-size: 24px; /* Font size for the main text */
    font-weight: bold; /* Bold font for emphasis */
}

.box-label {
    font-size: 14px; /* Smaller font size for labels */
    opacity: 0.8; /* Slight transparency */
}

.box-description {
    font-size: 20px; /* Font size for description text */
    color: #fff; /* Change text color to white for contrast */
    margin: 20px ; /* Remove margin for proper spacing */
    line-height: 1.4; /* Increase line height for better readability */
    font-weight: bold; /* Bold font for emphasis */
    background-color: rgba(0, 123, 255, 0.8); /* Semi-transparent background color */
    padding: 15px; /* Add padding around the text */
    border-radius: 8px; /* Rounded corners for the background */
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.4); /* Shadow for depth */
    transition: transform 0.3s, box-shadow 0.3s; /* Smooth transition for hover effects */
    letter-spacing: 1px; /* Slightly increase spacing between letters */
}

.glow-effect {
    box-shadow: 0 0 10px rgba(255, 255, 0, 1), 0 0 10px rgba(255, 255, 0, 0.5); /* Yellow glow effect */
}

/* Optional hover effect for added interactivity */
.box-description:hover {
    transform: scale(1.05); /* Slightly enlarge the description on hover */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5); /* Enhance shadow on hover */
}

/* Base Styles */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}

.expertise {
    padding: 50px 0;
    background-color: #ffffff; /* Fallback color */
    text-align: center;
    background-image: url('MEDIA/newexpert.jpg'); /* Update with your image path */
    background-position: right; /* Position the image on the right */
    background-size: cover; /* Cover the entire section */
    background-repeat: no-repeat; /* Prevent image from repeating */
}

.expertise h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #333;
    position: relative;
}

.expertise h2:after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #007bff;
    margin: 20px auto;
}

/* Grid Styles */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

/* Item Styles */
.expertise-item {
    background: linear-gradient(135deg, #007bff, #00c4ff);
    color: white;
    border-radius: 15px;
    padding: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    opacity: 0; /* Start as invisible */
    transform: translateY(20px); /* Start slightly below */
    margin: 20px; /* Add margin for spacing between items */
}

/* Icon Styles */
.expertise-icon {
    font-size: 2.5em;
    margin-bottom: 10px;
}

/* Text Styles */
.expertise-item h3 {
    font-size: 1.5em;
    margin: 10px 0;
}

.expertise-item p {
    font-size: 1em;
    line-height: 1.5;
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Apply animation only when the animate class is added */
.expertise-item.animate {
    animation: fadeInUp 0.8s ease forwards;
}

/* Delay for each item */
.expertise-item:nth-child(1) { animation-delay: 0.1s; }
.expertise-item:nth-child(2) { animation-delay: 0.25s; }
.expertise-item:nth-child(3) { animation-delay: 0.40s; }
.expertise-item:nth-child(4) { animation-delay: 0.55s; }
.expertise-item:nth-child(5) { animation-delay: 0.7s; }
.expertise-item:nth-child(6) { animation-delay: 0.85s; }
.expertise-item:nth-child(7) { animation-delay: 1s; }
.expertise-item:nth-child(8) { animation-delay: 1.15s; }

/* Hover Effect for the class */
.expertise-item:hover {
    transform: translateY(-10px) scale(1.05); /* Slightly more pronounced hover effect */
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out; /* Smooth transition */
}

/* Adding glow effect on hover */
.expertise-item:hover h3,
.expertise-item:hover p {
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.7);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .expertise-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); /* Smaller min width */
    }

    .expertise h2 {
        font-size: 2em; /* Smaller heading on mobile */
    }

    .expertise-item {
        margin: 10px; /* Reduce margin on mobile */
    }
}



/* Chatbot Container */
.chatbot-container {
    width: 350px;
    height: 500px;
    position: fixed;
    bottom: 20px; /* Adjusted to sit more comfortably at the bottom */
    right: 20px;
    border: none;
    border-radius: 12px;
    background-color: #ffffff;
    display: none;
    flex-direction: column;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Softer shadow for a more elegant look */
    z-index: 2005;
    overflow: hidden; /* Prevent content overflow */
    font-family: 'Arial', sans-serif; /* Use a professional, clean font */
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out; /* Smooth transitions for a modern feel */
}

/* Chat Header */
.chat-header {
    background-color: #007bff;
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.chat-header h4 {
    margin: 0;
}

#close-chat {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: color 0.3s;
}

#close-chat:hover {
    color: #ff4d4d; /* Slight color change on hover for interactivity */
}

/* Chat Body */
.chat-body {
    flex-grow: 1;
    padding: 15px;
    overflow-y: auto;
    background-color: #f9f9f9; /* Light background for better contrast */
    scrollbar-width: thin; /* Custom scrollbar */
}

.chat-body::-webkit-scrollbar {
    width: 5px;
}

.chat-body::-webkit-scrollbar-thumb {
    background-color: rgba(0, 123, 255, 0.6);
    border-radius: 10px;
}

/* Chat Messages */
.message {
    padding: 10px 15px;
    border-radius: 12px;
    margin-bottom: 12px;
    max-width: 80%;
    font-size: 14px;
    line-height: 1.5;
    word-wrap: break-word;
}

.user-message {
    background-color: #007bff;
    color: white;
    align-self: flex-end;
    border-top-right-radius: 0;
    box-shadow: 0 4px 6px rgba(0, 123, 255, 0.3); /* Subtle shadow for depth */
}

.bot-message {
    background-color: #f1f1f1;
    color: #333;
    align-self: flex-start;
    border-top-left-radius: 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

/* Chat Input */
.chat-input {
    padding: 15px;
    background-color: #f9f9f9;
    display: flex;
    align-items: center;
    border-top: 1px solid #e0e0e0;
}

.chat-input input {
    flex-grow: 1;
    padding: 12px 20px;
    border-radius: 30px;
    border: 1px solid #ccc;
    font-size: 14px;
    background-color: white;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
    outline: none;
    transition: border 0.3s;
}

.chat-input input:focus {
    border-color: #007bff;
}

.chat-input button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 12px 20px;
    margin-left: 10px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 6px rgba(0, 123, 255, 0.2); /* Soft shadow for depth */
}

.chat-input button:hover {
    background-color: #0056b3;
    box-shadow: 0 6px 12px rgba(0, 123, 255, 0.3);
}

/* Toggle Button */
.open-chat-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #007bff;
    color: white;
    border: none;
    padding: 15px 20px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4); /* Strong shadow to make it stand out */
    transition: background-color 0.3s, box-shadow 0.3s;
    z-index : 1080;
}

.open-chat-btn:hover {
    background-color: #0056b3;
    box-shadow: 0 6px 18px rgba(0, 123, 255, 0.5); /* More shadow on hover */
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .chatbot-container {
        width: 90%; /* Make the chatbot wider on mobile */
        height: 80%;
        bottom: 10px;
        right: 5%;
    }

    .open-chat-btn {
        bottom: 10px;
        right: 10px;
    }
}







/* Footer */
footer {
    background-color: #f8f9fa;
    color: #212529;
    text-align: center;
    padding: 15px 0;
    width: 100%;
    position: relative;
    bottom: 0;
}

footer p {
    margin: 0;
}




/*about page html*/

.custom-navbar-new {
    position: fixed; /* Fix the navbar at the top */
    top: 0; /* Position it at the top of the page */
    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: center; /* Vertically center the items */
    justify-content: space-between; /* Align items to have space between them */
}

.custom-navbar-new .navbar-brand-new {
    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, color 0.3s ease; /* Smooth transition for zoom effect and color */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Add shadow for depth */
}

.custom-navbar-new .navbar-brand-new:hover {
    transform: scale(1.1); /* Zoom in slightly on hover */
    color: black; /* Change text color to black on hover */
}

.custom-navbar-new .logo-new {
    height: 10px; /* Set the desired height for the logo */
    width: auto; /* Maintain aspect ratio */
    font-size: 50px;
}

.custom-navbar-new .navbar-nav-new {
    display: flex; /* Use flexbox to arrange nav items in a single line */
    align-items: center; /* Center items vertically */
    margin-left: auto; /* Push nav items to the right */
}

.custom-navbar-new .navbar-nav-new .nav-link-new {
    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 */
    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: 5px; /* Round corners for a modern look */
}

.custom-navbar-new .navbar-nav-new .nav-link-new: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 */
}


/*///////////////////////////////////*/
.hero-about {
    position: relative; /* Enable absolute positioning for child elements */
    overflow: hidden; /* Hide overflow for the shape effect */
}

.hero-image {
    background-image: url('path/to/your/image.jpg'); /* Replace with your image path */
    background-size: cover; /* Cover the entire container */
    background-position: center; /* Center the image */
    height: 400px; /* Set a base height for the hero section */
    clip-path: polygon(0 0, 80% 0, 100% 100%, 0% 100%); /* Create a custom shape */
    display: flex; /* Use flexbox for alignment */
    align-items: center; /* Center content vertically */
    color: white; /* Change text color */
}

.container-about {
    text-align: center; /* Center align the text */
    z-index: 1; /* Place text above the background */
    position: relative; /* Allow z-index to take effect */
}

.display-4-about {
    font-size: 3rem; /* Adjust font size for the title */
}

.lead-about {
    font-size: 1.5rem; /* Adjust font size for the subtitle */
}

.btn-light-about {
    background-color: rgba(255, 255, 255, 0.8); /* Light background for the button */
    color: #333; /* Button text color */
}


/*////////////////////////////////////*/





/* Zigzag Card Section */
.zigzag-section {
    padding: 50px 0;
}

.zigzag-section .container {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.zigzag-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    background-color: #f9f9f9;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.zigzag-card img {
    width: 50%;
    border-radius: 8px;
}

.zigzag-card .card-text {
    width: 45%;
    font-size: 18px;
    color: #333;
    text-align: left;
}

.zigzag-card:nth-child(even) {
    flex-direction: row-reverse;
}

.zigzag-card h4 {
    font-size: 28px;
    color: #007bff;
    margin-bottom: 15px;
}

/* 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;
}


.scroll-to-top {
    position: fixed; /* Keep it fixed at the bottom right corner */
    bottom: 20px; /* Distance from the bottom */
    right: 20px; /* Distance from the right */
    background-color: #007bff; /* Background color */
    color: white; /* Text color */
    border-radius: 50%; /* Circular shape */
    width: 50px; /* Width */
    height: 50px; /* Height */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px; /* Adjust size if necessary */
    cursor: pointer; /* Pointer cursor on hover */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); /* Shadow for depth */
    transition: background-color 0.3s; /* Transition effect */
}

.scroll-to-top:hover {
    background-color: #0056b3; /* Darker shade on hover */
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    height: 100vh;
    background-color: #f4f4f4;
}

.popup-card {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    padding: 20px;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    z-index: 1000;
    text-align: center;
}

.popup-content {
    padding: 10px;
}

.hidden {
    display: none; /* Hide the popup by default */
}

.popup-card h2 {
    color: #333;
}

.popup-card p {
    color: #666;
}

.company-logo {
    max-width: 100%; /* Ensures the logo is responsive */
    height: auto; /* Maintains the aspect ratio */
    margin-bottom: 15px; /* Space below the logo */
}

