/* General Reset and Body */
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 Section Styles */
.inner_banner {
    position: relative;
    width: 100%;
    height: 520px; /* Adjust height as needed */
    overflow: hidden;
}

.inner_banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.innertxt1 {
    position: absolute;
    bottom: 0; /* Aligns the content to the bottom */
    left: 0; /* Aligns the content to the left */
    width: 100%;
    padding: 20px;
}



.container1 {
    text-align: left; /* Aligns text to the left */
    color: #fff;
}

.container1 h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 10px;
}

.container1 ul {
    list-style: none;
    padding: 0;
    display: inline-flex;
    gap: 10px;
}

.container1 ul li {
    font-size: 16px;
    color: #fff;
}

.container1 ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.container1 ul li a:hover {
    color: #ffd700; /* Change color on hover */
}

.container1 ul li::after {
    content: "/";
    margin-left: 10px;
    color: #fff;
}

.container1 ul li:last-child::after {
    content: "";
}


/* Import web fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Pacifico&display=swap');

/* Styling for the section */
.api_class {
    padding: 20px;
    padding-top: 80px; /* Increased padding at the top */
    padding-bottom: 100px; /* Increased padding at the bottom */
    padding-left: 150px; /* Added padding on the left */
    padding-right: 150px; /* Added padding on the right */
    background-color: #f9f9f9;
    opacity: 0; /* Initially hidden */
    transform: translateY(20px); /* Initial position */
    animation: fadeInUp 1s forwards; /* Apply the animation */
}

/* Animation for the section */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Optional: Add a delay to the animation */
.api_class.animated {
    animation-delay: 0.5s; /* Delay before animation starts */
}

/* Styling for h1 in the api_class */
.api_class h1 {
    font-size: 36px; /* Adjust size as needed */
    color: #1a73e8; /* Change color to a shade of blue */
    font-family: 'Roboto', sans-serif; /* Apply chosen font */
    margin-bottom: 20px; /* Optional: Adjust margin below h1 */
}

/* Styling for paragraphs in the api_class */
.api_class p {
    font-size: 23px;
    margin-bottom: 20px;
}

button {
    background-color: #007bff;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 15px;
}

button:hover {
    background-color: #0056b3;
}

/* Styling for the "Products" heading */
.products h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: rgb(236, 8, 8); /* Change text color to red */
    font-family: 'Pacifico', cursive; /* Slightly cursive font */
    font-weight: 600; /* Make the text a bit stronger */
}

/* Styling for the table */
.table-responsive {
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

/* Increase the height of table rows */
.table td, .table th {
    min-height: 50px; /* Adjust height as needed */
    vertical-align: middle; /* Center content vertically */
    padding: 12px; /* Optional: Increase padding for better spacing */
}

/* Styling for table headers */
.table th {
    background-color: #06eac7;
    font-weight: 600; /* Slightly bolder */
    font-family: 'Arial', sans-serif; /* Clean, modern font */
    font-size: 16px; /* Optional: Adjust font size if needed */
}

/* Ensure equal column widths */
.table th:nth-child(1), 
.table td:nth-child(1) {
    width: 50%;
}

.table th:nth-child(2), 
.table td:nth-child(2) {
    width: 50%;
}

.table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.table tbody tr:hover {
    background-color: #f1f1f1;
}

/* Optional: Adjust font size in table cells */
.table td {
    font-size: 14px;
}

/* 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: 320px; /* Adjusted height for smaller screens */
    }

    .innertxt1 {
        padding: 10px; /* Reduced padding */
    }

    .container1 h1 {
        font-size: 32px; /* Adjust font size for mobile */
    }

    .container1 ul li {
        font-size: 14px; /* Adjust font size */
    }

    /* API Section */
    .api_class {
        padding-left: 20px; /* Reduced padding */
        padding-right: 20px; /* Reduced padding */
    }

    .api_class h1 {
        font-size: 28px; /* Adjust font size */
    }

    .api_class p {
        font-size: 18px; /* Adjust paragraph size */
    }

    /* Products Section */
    .products h3 {
        font-size: 18px; /* Adjust font size */
    }

    /* Table */
    .table td, .table th {
        padding: 8px; /* Reduced padding for table cells */
        font-size: 12px; /* Smaller font size */
    }

    /* 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 */
    }
}
