/* Custom CSS for Esselque navbar */

body {
    font-family: 'Lato', serif;; /* Apply Lato font */
}
/* Navbar background and font color */
.navbar {
    background-color: #ffffff; /* White background */
    color: #000000; /* Black font color */
}

/* Navbar brand */
.navbar-brand {
    font-weight: bold; /* Bold font for brand */
    font-size: 2rem; /* Larger font size for brand */
    font-family: 'Lato', serif;;
}

/* Navbar links */
.navbar-nav .nav-link {
    color: #000000; /* Black font color */
    font-weight: bold; /* Bold font for links */
    font-size: 1.2rem; /* Font size for links */
    padding: 1rem 1.5rem; /* Padding around links */
    margin: 0 0.5rem; /* Margin between links */
    position: relative; /* Ensure relative positioning for pseudo elements */
    transition: all 0.3s ease; /* Smooth transition for animation */
    overflow: hidden; /* Ensure overflow hidden for scaling effect */
    font-family: 'Lato', serif;;
}

/* Underline animation */
.navbar-nav .nav-link::before {
    content: ''; /* Empty content for pseudo element */
    position: absolute; /* Position relative to nav-link */
    width: 100%; /* Full width */
    height: 2px; /* Height of underline */
    bottom: 0; /* Position at bottom */
    left: 0; /* Align at left */
    background-color: #000000; /* Color of underline */
    visibility: hidden; /* Initially hidden */
    transform: scaleX(0); /* Initially no width */
    transition: transform 0.5s; /* Smooth transition for animation */
}

/* Show underline on hover */
.navbar-nav .nav-link:hover::before {
    visibility: visible; /* Show underline */
    transform: scaleX(1); /* Full width */
}

/* Zoom in and rotate text on hover */
.navbar-nav .nav-link:hover {
    transform: scale(1.2) skew(10deg,8deg); /* Scale up to 120% and rotate */
    animation: none;
}

/* Active link */
.navbar-nav .nav-link.active {
    color: #ff0000; /* Red font color for active link */
    border-bottom: none; /* No bottom border for active link */
}

/* Navbar toggler icon color */
.navbar-toggler-icon {
    color: #000000; /* Black color for toggler icon */
}

/* Dropdown menu */
.dropdown-menu {
    background-color: #ffffff; /* White background */
    border: none; /* No border */
    border-radius: 0; /* No border radius */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Box shadow */
    transition: all 0.3s ease; /* Smooth transition */
}

/* Dropdown items */
.dropdown-item {
    color: #000000; /* Black font color */
    font-weight: bold; /* Bold font */
    font-size: 1.2rem; /* Font size */
    padding: 1rem 1.5rem; /* Padding */
    transition: all 0.3s ease; /* Smooth transition */
    font-family: 'Lato', serif;
}

/* Active dropdown item */
.dropdown-item.active {
    color: white; /* White font color for active item */
    background-color: black; /* Black background for active item */
}

/* Form controls in navbar */
.form-control {
    height: 48px; /* Height of form controls */
    margin-right: 0.5rem; /* Margin for search input */
    font-family: 'Lato', serif;
}

/* Search button */
.form-inline button {
    height: 48px; /* Height of buttons */
    font-family: 'Lato', serif;
}

/* Let's Talk button */
.btn-outline-light {
    color: #000000; /* Black font color */
    border-color: #000000; /* Black border color */
    font-size: 1.2rem; /* Adjust font size */
    padding: 0.5rem 2rem; /* Adjust padding */
    white-space: nowrap; /* Prevent text from wrapping */
    transition: all 0.3s ease; /* Smooth transition for animation */
    font-family: 'Lato', serif;
}

/* Pop-out animation on hover */
.btn-outline-light:hover {
    transform: scale(1.1); /* Scale up to 110% on hover */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2); /* Add box-shadow for pop-out effect */
}

/* Responsive navbar collapse breakpoint */
@media (max-width: 991.98px) {
    .navbar-nav .nav-link {
        margin: 0.5rem 0; /* Adjust margin for smaller screens */
    }
}

/* Footer styling */
footer {
    background-color: #000;
    color: #fff;
    padding: 60px 0; /* Adjust padding as needed */
    font-size: 16px;
    position: relative;
    font-family: 'Lato', serif;
}

/* Footer column styles */
footer .col-lg-3 {
    margin-bottom: 30px; /* Space between columns */
}

/* Footer heading styles */
footer h5 {
    font-size: 28px;
    margin-bottom: 20px;
    font-family: 'Lato', serif;
}

/* Footer link styles */
footer a {
    color: #fff;
    transition: transform 0.3s ease; /* Smooth transition */
    display: block; /* Ensures entire area is clickable */
    padding: 5px 0; /* Adds padding for better clickability */
    font-family: 'Lato', serif;
}

footer a:hover {
    color: #ccc; /* Lighter color on hover */
    transform: scaleX(1.2); /* Zoom effect on hover */
}

/* Close navbar icon */
.close-navbar {
    display: none; /* Hide the close-navbar icon initially */
}

/* Back to top button styles */
.back-to-top {
    position: fixed;
    bottom: 80px; /* Default position above WhatsApp icon */
    right: 20px;
    z-index: 9999;
    padding: 10px;
    background-color: #fff; /* White background */
    color: #333; /* Black font color */
    text-decoration: none;
    border: none; /* Remove border */
    border-radius: 5px; /* Add border radius for button */
    font-size: 14px; /* Example size */
    font-family: 'Lato', serif;
}

/* Hover effect for Back to Top button */
.back-to-top:hover {
    color: #555; /* Darker font color on hover */
    background-color: #eee; /* Lighter background color on hover */
}

/* Contact info styling */
.contact-info {
    background-color: #fff; /* White background */
    color: #333; /* Black font color */
    padding: 20px; /* Padding inside the div */
    border-radius: 10px; /* Rounded corners for a modern look */
    font-size: 16px; /* Larger font size */
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
    text-align: center; /* Center align text */
    font-family: 'Lato', serif;
}

.contact-info:hover {
    transform: scaleX(1.2);
}

.contact-info h5 {
    font-size: 20px; /* Larger font size for the heading */
    margin-bottom: 15px; /* Bottom margin for separation */
    font-family: 'Lato', serif;
}

.contact-info p {
    margin-bottom: 10px; /* Bottom margin for each paragraph */
}

.contact-info ul.list-inline {
    margin-top: 15px; /* Top margin for the social icons */
}

.contact-info ul.list-inline .list-inline-item a {
    font-size: 24px; /* Larger font size for social icons */
    color: #333; /* Black color for social icons */
    transition: transform 0.3s ease-in-out; /* Smooth transition for hover effect */
    font-family: 'Lato', serif;
}

.contact-info ul.list-inline .list-inline-item a:hover {
    color: #666; /* Darker color on hover */
    transform: scale(1.2); /* Scale up on hover */
}

/* WhatsApp icon styles */
.whatsapp-icon {
    position: fixed;
    bottom: 20px; /* Position from the bottom */
    right: 20px; /* Position from the right */
    z-index: 1000;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    padding: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s;
}

.whatsapp-icon a {
    color: white;
    font-size: 24px;
}

.whatsapp-icon a:hover {
    color: white;
    text-decoration: none;
    background-color: #128C7E;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .whatsapp-icon {
        bottom: 20px; /* Ensure visibility on smaller screens */
        right: 15px;
        padding: 12px;
    }

    .whatsapp-icon a {
        font-size: 22px;
    }

    .back-to-top {
        bottom: 100px; /* Adjust position to ensure visibility with gap */
        right: 15px;
    }
}

@media (max-width: 576px) {
    .whatsapp-icon {
        bottom: 15px; /* Further adjust bottom position */
        right: 10px;
        padding: 10px;
    }

    .whatsapp-icon a {
        font-size: 20px;
    }

    .back-to-top {
        bottom: 90px; /* Adjust position to ensure visibility with gap */
        right: 10px;
    }
}
