body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevent horizontal scrollbar */
}

/* Header */
header {
    background-color: #ffffff;
    color: #00aec7;
    padding: 20px 40px; /* Increased padding for a more substantial look */
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    height: 80px; /* Increased height for a bigger header */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional: add a subtle shadow for depth */
}

/* Navbar Brand (Logo Container) */
.navbar-brand {
    display: flex;
    align-items: center;
    margin-right: 40px; /* Increased margin for separation from navigation items */
}

/* Logo */
.logo {
    height: 60px; /* Adjusted height to match the increased header size */
    transition: height 0.3s ease; /* Smooth transition effect */
}

/* Navbar */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Vertically center align items */
    width: 100%;
}

/* Navigation Menu */
nav ul {
    list-style-type: none; /* Remove default list styling */
    padding: 0;
    margin: 0; /* Reset default margin */
    display: flex; /* Display list items side by side */
    align-items: center; /* Align items vertically */
}

/* Navigation Items */
nav ul li {
    position: relative; /* Position relative for submenu absolute positioning */
    margin: 0 20px; /* Increased spacing between menu items */
}

/* Navigation Links */
nav ul li a {
    color: #00aec7;
    text-decoration: none;
    padding: 10px 16px; /* Increased padding for larger clickable area */
    font-size: 18px; /* Larger font size */
    font-weight: 500; /* Semi-bold for more prominence */
    letter-spacing: 0.5px; /* Slight spacing for better readability */
    transition: background-color 0.3s, color 0.3s; /* Smooth hover effect */
}

/* Navigation Links Hover Effect */
nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.2); /* Light background on hover */
    color: #019b77; /* Maintain text color on hover */
    border-radius: 4px; /* Optional: round the corners for a button-like effect */
}

/* Submenu Styling */
.submenu1 {
    display: none; /* Hide submenu initially */
    position: absolute; /* Position it absolutely relative to parent li */
    top: 100%; /* Position below the parent li */
    left: 0;
    background-color: #ffffff; /* Single-layer background color */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: light shadow for subtle effect */
    padding: 0;
    margin: 0;
    list-style: none; /* Remove list style */
    z-index: 1000; /* Ensure it appears above other content */
    border-radius: 4px; /* Optional: round the corners */
    min-width: 150px; /* Increased minimum width for better fit */
    width: max-content; /* Adjust width based on content */
}

/* Submenu Items */
.submenu1 li {
    padding: 0; /* Remove padding around li items */
    background-color: transparent; /* Transparent background for each item */
}

/* Submenu Links */
.submenu1 li a {
    color: #00aec7; /* Text color for submenu links */
    text-decoration: none;
    display: block;
    padding: 10px 16px; /* Adjusted padding inside each submenu link */
    white-space: nowrap; /* Prevent text wrapping */
    font-size: 16px; /* Slightly larger font size for better readability */
}

/* Show Submenu on Hover */
nav ul li:hover .submenu1 {
    display: block; /* Show submenu on hover */
}

/* Optional: Hover effect for submenu items */
.submenu1 li a:hover {
    background-color: rgba(255, 255, 255, 0.1); /* Lighter background on hover */
}

/*Inner Banner CSS */
.inner_banner {
    position: relative;
    width: 100%;
    height: 520px; /* Adjust height as needed */
    overflow: hidden;
}

.inner_banner img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the area */
}

.innertxt1 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 70px; /* Adjust padding as needed */
}

.container1 {
    text-align: left; /* Aligns text to the left */
}

.container1 h1 {
    color: #ffffff;
    font-size: 2.5rem; /* Adjust as needed */
    margin: 0;
    padding: 0;
}

.container1 ul {
    list-style: none;
    padding: 0;
    margin-top: 10px; /* Space between h1 and ul */
    display: flex;
    gap: 10px;
}

.container1 ul li {
    color: #fff;
    position: relative;
    font-family: Arial, Helvetica, sans-serif;
}

.container1 ul li:not(:last-child)::after {
    content: "/";
    margin-left: 10px; /* Adds space before the slash */
    color: #fff;
}

.container1 ul li a {
    color: #fff;
    text-decoration: none;
}

.container1 ul li:last-child {
    color: rgb(103, 10, 243); /* Makes the second list item purple */
}

/* Hover effect */
.container1 ul li a:hover {
    color: aqua; /* Changes the text color on hover */
}

/* CSS */
.our-profile {
    padding: 25px 20px; 
    background-color: #f7f7f7; 
    text-align: center; 
    overflow: hidden; /* Ensures animation visibility */
    position: relative;
}

.our_profile {
    max-width: 800px; 
    margin: 0 auto; 
    opacity: 0; /* Initial state before animation */
    transform: translateY(20px); /* Slightly below its original position */
    animation: fadeUp 1.5s ease-out forwards 0.5s; /* Smooth upward fade-in animation */
}

.our_profile h2 {
    font-size: 2.5rem; 
    color: #333; 
    margin-bottom: 20px; 
    font-family: 'Arial', sans-serif; 
    animation: slideInLeft 1.2s ease-out forwards 0.3s; /* Slide from left */
    opacity: 0;
}

.our_profile p {
    font-size: 1.1rem; 
    color: #666; 
    line-height: 1.6; 
    margin-bottom: 20px; 
    font-family: 'Georgia', serif; 
    opacity: 0;
    animation: fadeIn 1.2s ease-out forwards 0.8s; /* Fade in each paragraph */
}

.our_profile p:nth-child(3) {
    animation-delay: 1.2s; /* Staggered animation for the second paragraph */
}

/* Animation keyframes */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0); /* Moves to the original position */
    }
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0); /* Moves from left to original position */
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Basic styling for the section */
.plus-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Adjust spacing between x_container and y_container */
}

/* Container for the x and y sections */
.x_container,
.y_container {
    display: flex;
    flex: 1 1 100%; /* Full width for these containers */
}

/* Apply specific gap for x_container */
.x_container {
    gap: 5px; /* Adjust gap between x_negative and x_positive */
    margin-left: 80px; /* Move x_container a bit to the right */
}

/* Styling for x_positive to include image and content side by side */
.x_positive {
    display: flex;
    align-items: center; /* Vertically center the content and image */
    justify-content: center; /* Horizontally center the content and image */
    flex: 1 1 100%; /* Takes full width */
    padding: 5px; /* Adjust padding around content */
}

/* Ensure image is smaller and beside content */
.x_positive img {
    max-width: 30%; /* Reduce image size */
    height: auto; /* Maintain aspect ratio */
    padding: 5px; /* Add padding around the image */
    box-sizing: border-box; /* Include padding in element's total width and height */
}

/* Styling for the content next to the image */
.x_content {
    flex: 1; /* Allows content to take up the remaining space */
    padding: 0 10px; /* Add padding around content */
    display: flex;
    flex-direction: column; /* Align text vertically */
    justify-content: center; /* Center text vertically in content */
    text-align: left; /* Align text to the left within the content */
    margin-left: 80px;
}

/* Ensure y_negative and y_positive are side by side */
.y_negative {
    display: flex;
    flex-direction: column; /* Align content vertically */
    align-items: flex-start; /* Align items to the start (left) */
    flex: 1; /* Takes up equal space with y_positive */
    padding: 5px; /* Add padding around content */
    margin-left: 40px;
}

/* Place h2 at the start and above the ul items */
.y_negative h2 {
    margin-bottom: 10px; /* Add spacing between h2 and ul */
    text-align: left; /* Align the h2 text to the left */
    width: 100%; /* Ensure h2 takes full width to align left properly */
}

/* Style for ul and li */
.y_negative ul {
    padding-left: 20px; /* Adjust indentation of list items */
    margin: 0; /* Remove default margin */
    width: 100%; /* Ensure ul takes full width */
}

.y_negative li {
    margin-bottom: 10px; /* Add spacing between list items */
}

/* Styling for y_positive to be side by side */
.y_positive {
    display: flex;
    align-items: center; /* Vertically center content */
    justify-content: center; /* Horizontally center content */
    flex: 1; /* Takes up equal space with y_negative */
    padding: 5px; /* Add padding around content */
}

/* Ensure image is smaller and fits well */
.y_positive img {
    max-width: 55%; /* Reduce image size for better fit */
    height: auto; /* Maintain aspect ratio */
    padding: 10px; /* Add padding around the image */
    box-sizing: border-box; /* Include padding in element's total width and height */
}

/* Adjust image size for y_negative */
.y_negative img {
    max-width: 50%; /* Ensure y_negative image is also smaller */
}

/* Optional: Styling for text and lists */
h2 {
    margin-top: 0;
}

ul {
    padding-left: 20px; /* Adjust indentation of list items */
}

li {
    margin-bottom: 10px; /* Adjust spacing between list items */
}

/* Optional: Add some styling for the images */
img {
    max-width: 100%; /* Ensure images don’t overflow their containers */
}

/* Keyframes for fade-in and slide-up animation */
@keyframes fadeInSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Keyframes for zoom-in effect */
@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Animation classes */
.animate-fadeInSlideUp {
    animation: fadeInSlideUp 1s ease-out forwards;
}

.animate-zoomIn {
    animation: zoomIn 1s ease-out forwards;
}

/* Initial hidden state */
.hidden {
    opacity: 0;
    transform: translateY(20px); /* For vertical slide effect */
}

/* Footer Styling */
.footer {
    background: url('../images/footer_bg.png') no-repeat center center / cover, rgba(0, 0, 0, 0.5); /* Combined background-image and color */
    color: #fff;
    padding: 30px 0;
    position: relative;
}

/* Pattern Layer Styling (If used) */
.footer .pattern-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Ensure it sits behind other content */
    background: inherit; /* Use inherited background properties */
}

/* Container for Footer Content */
.footer .container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Footer Inner Sections */
.footer_in {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 20px;
}

/* Left Side of the Footer */
.footer_in_left {
    flex: 1;
    max-width: 50%;
}

.footer_in_left img {
    max-width: 30px; /* Set a max width for the logo */
    height: auto; /* Maintain the aspect ratio */
    margin-right: 6px; /* Add space between the logo and the text */
}

.footer_in_left em {
    font-size: 20px; /* Set the font size for the text */
    font-weight: bold; /* Make the text bold */
    color: #ffffff; /* Set a suitable color for the text */
    vertical-align: middle; /* Align the text to the middle */
}

.footer_in_left h2 {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 15px 0;
    color: ghostwhite;
}

.footer_in_left p {
    font-size: 1rem;
    line-height: 1.6;
}

/* Right Side of the Footer */
.footer_in_right {
    flex: 1;
    max-width: 50%;
    text-align: right;
    margin-top: 240px; /* Adjust if needed */
    padding-left: 80px; /* Adjust for positioning */
}

/* Links Styling */
.footer_in_right a {
    display: inline-block;
    color: #000000; /* Adjusted color for better contrast */
    font-size: 1.2rem;
    margin: 0 15px;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Hover Effect for Links */
.footer_in_right a:hover {
    color: #f0f0f0; /* Lighter color on hover */
}

/* Social Icons Styling */
.footer_in_right .ft_soc {
    margin: 20px 0;
    display: flex;
    justify-content: flex-end; /* Align icons to the right */
}

.footer_in_right .ft_soc a {
    color: #000000; /* Adjusted color for icons */
    font-size: 3rem;
    margin-right: 5px;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.footer_in_right .ft_soc a i {
    font-size: 30px;
    transition: transform 0.3s ease, color 0.5s ease;
    z-index: 2;
}

.footer_in_right .ft_soc a::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    z-index: 0;
    transform: scale(1, 0);
    transform-origin: bottom;
    transition: transform 0.5s ease;
}

.footer_in_right .ft_soc a:hover::before {
    transform: scale(1, 1);
}

.footer_in_right .ft_soc a:hover i {
    color: #fff;
    transform: rotateY(360deg);
}

/* Social icons background colors */
.footer_in_right .ft_soc a:nth-child(1) { --bg-color: #f42719; } /* Gmail */
.footer_in_right .ft_soc a:nth-child(2) { --bg-color: #34f9b4; } /* Location */
.footer_in_right .ft_soc a:nth-child(3) { --bg-color: #0088cc; } /* Facebook */
.footer_in_right .ft_soc a:nth-child(4) { --bg-color: #0077b5; } /* LinkedIn */
.footer_in_right .ft_soc a:nth-child(5) { --bg-color: linear-gradient(to bottom right, #f9ce34, #ee2a7b, #6228d7); } /* Instagram */
.footer_in_right .ft_soc a:nth-child(6) { --bg-color: #00aff0; } /* Skype */
.footer_in_right .ft_soc a:nth-child(7) { --bg-color: #00b389da; } /* Phone */

/* Copyright Section */
.copy {
    text-align: center; /* Center text horizontally */
    font-size: 0.9rem;
    padding-top: 10px;
    margin: 0 auto; /* Center the container if it's block-level and not already centered */
}

@keyframes landAnimation {
    0% {
        transform: translateY(-50px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.footer_in_right.animate {
    animation: landAnimation 1s ease-out;
}

.footer_in_left.animate {
    animation: landAnimation 1s ease-out;
}

/* Media Query for mobile devices */
@media only screen and (max-width: 768px) {

    /* Header */
    header {
        padding: 10px 15px; /* Reduced padding */
        height: 60px; /* Adjust height for mobile */
    }

    .navbar-brand {
        margin-right: 10px; /* Reduced margin */
    }

    .logo {
        height: 35px; /* Adjusted logo size */
    }

    nav ul li {
        margin: 0 2px; /* Reduced spacing between menu items */
        flex-wrap: nowrap;
    }

    nav ul li a {
        font-size: 14px; /* Smaller font size */
        padding: 8px 5px; /* Reduced padding */
    }

    /* Inner Banner Section */
    .inner_banner {
        height: 250px; /* Already adjusted height for smaller screens */
        margin-top: 40px; /* Increase margin-top to move the section further down */
    }

    .innertxt1 {
        padding: 8px; /* Keep the reduced padding */
    }

    .container1 h1 {
        font-size: 1.8rem; /* Adjusted font size for mobile */
        color: #ff1212;
    }

    .container1 ul {
        flex-direction: column; /* Stack list items vertically */
        gap: 5px; /* Adjust gap between items */
        margin-top: 10px; /* Space between h1 and ul */
    }

    .container1 ul li {
        font-size: 12px; /* Keep smaller font size for list items */
    }

    .our-profile {
        padding: 15px 10px; /* Adjust padding for mobile */
    }

    .our_profile {
        max-width: 100%; /* Full width on mobile */
        opacity: 1; /* Ensure visibility */
        transform: translateY(0); /* Original position */
    }

    .our_profile h2 {
        font-size: 2rem; /* Adjust font size for mobile */
    }

    .our_profile p {
        font-size: 1rem; /* Adjust paragraph size */
    }

    /* Flex containers for x and y sections */
    .plus-layout {
        flex-direction: column; /* Stack items vertically on mobile */
        margin-right: 30px;
    }

    x_container, .y_container {
        flex-direction: column;
        margin-right: 0;
    }

    /* Arrange .x_positive image first, then .x_content in column layout */
    .x_positive {
        order: 1; /* First in the column */
    }

    .x_content {
        order: 2; /* Second in the column */
        width: 100%; /* Make sure it takes full width */
        display: flex;
        flex-direction: column;
        align-items: center; /* Center the content in mobile */
        padding: 10px;
    }

    .x_positive img {
        max-width: 100%; /* Full width for mobile */
        padding: 0;
    }

    .x_container, .y_container {
        flex: 1 1 100%; /* Full width for these containers */
        margin-left: 0; /* Reset margin */
    }

    .x_positive, .x_content, .y_positive, .y_negative {
        flex-direction: column; /* Stack content vertically */
        align-items: center; /* Center content */
        padding: 10px; /* Adjust padding around content */
    }

    /* Adjust images */
    .x_positive img, .y_positive img, .y_negative img {
        max-width: 250px; /* Adjust image size for better fit */
        height: auto; /* Maintain aspect ratio */
        padding: 5px; /* Add padding around the image */
    }

    /* Footer */
    .footer_in {
        flex-direction: column; /* Stack footer content vertically */
    }

    .footer_in_left, 
    .footer_in_right {
        max-width: 100%;
        text-align: center; /* Center-align footer content */
        margin-bottom: 20px; /* Add space between sections */
    }

    .footer_in_right {
        margin-top: 20px; /* Adjust margin */
        padding-left: 0; /* Remove left padding */
    }

    .footer_in_right .ft_soc {
        justify-content: center; /* Center-align social icons */
    }

    .footer_in_right .ft_soc a {
        font-size: 2rem; /* Reduce icon size */
        width: 40px; /* Adjust button size */
        height: 40px;
    }

    .footer_in_right .ft_add {
        margin-top: 10px;
        padding-left: 0; /* Remove left padding */
        justify-content: center; /* Center contact details */
    }

    .call-button-container {
        align-items: center; /* Center the call button */
    }
    
    .call-options {
        left: 50%; /* Adjust position relative to button */
        transform: translateX(-50%) translateY(-50%); /* Center horizontally */
    }
}
