/* Import modern font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

/* Header for combined navbar and top bar */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1001;
}

/* Body adjustment for fixed header */
body {
    margin-top: 100px; /* Account for fixed header height */
}

@media (max-width: 768px) {
    body {
        margin-top: 110px; /* Adjusted for mobile */
    }
    
    html {
        scroll-padding-top: 110px; /* Account for header height on mobile */
    }
}

/* Top Contact Bar Styling */
.top-contact-bar {
    background-color: #2ba2ec;
    color: white;
    padding: 8px 0;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    width: 100%;
    /* Removed fixed positioning as it's now in the header */
}

.top-contact-bar .container {
    display: flex;
    justify-content: center;
    padding: 0 15px;
}

.top-contact-bar .contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.top-contact-bar i {
    margin-right: 5px;
}

.top-contact-bar a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.top-contact-bar a:hover {
    color: #f8f9fa;
    text-decoration: underline;
}

/* Desktop and Mobile Contact Versions */
.desktop-contact {
    display: flex;
    gap: 15px;
    justify-content: center;
    width: 100%;
}

.mobile-contact {
    display: none;
    gap: 15px;
    justify-content: center;
    width: 100%;
}

/* Media query for mobile devices */
@media (max-width: 768px) {
    .desktop-contact {
        display: none;
    }
    
    .mobile-contact {
        display: flex;
    }
    
    .top-contact-bar {
        padding: 5px 0;
    }
    
    .top-contact-bar .contact-info {
        gap: 10px;
    }
    
    .top-contact-bar {
        font-size: 13px;
    }
}

html {
    /* scroll-padding-top: 116px; Remove scroll padding for fixed bars */
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Account for header height */
}

.navbar {
    background: white;
    /* position: fixed; Remove fixed positioning */
    /* top: 36px; Remove offset for top-contact-bar */
    width: 100%;
    z-index: 1000;
    padding: 12px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-family: 'Poppins', sans-serif;
}

.navbar-brand img {
    height: 45px;
}

/* Navbar Links Styling */
.navbar-nav .nav-link {
    color: #333;
    font-weight: 400;
    padding: 8px 15px;
    transition: all 0.3s ease-in-out;
    font-size: 16px;
    margin-left: 10px;
}

/* Hover Effect */
.navbar-nav .nav-link:hover,
.navbar-nav .dropdown:hover .nav-link {
    color: #0056b3; /* Deep professional blue */
    background: rgba(0, 86, 179, 0.1);
    border-radius: 5px;
}

/* Manually Add Active Link */
.navbar-nav .nav-link.active {
    color: white;
    background-color: #2ba2ec;
    border-radius: 5px;
    padding: 8px 15px;
}

/* Dropdown Styling */
.dropdown-menu {
    border-radius: 8px;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.dropdown-item {
    transition: all 0.3s ease-in-out;
    font-size: 15px;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, #0056b3, #0096f1);
    color: white;
}

/* Remove the Black Border from Navbar Toggler */
.navbar-toggler {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Custom Navbar Toggler - Turns into "X" */
.navbar-toggler {
    width: 40px;
    height: 40px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.navbar-toggler span {
    display: block;
    width: 28px;
    height: 3px;
    background: #333;
    position: absolute;
    transition: all 0.3s ease-in-out;
}

.navbar-toggler span::before,
.navbar-toggler span::after {
    content: "";
    position: absolute;
    width: 28px;
    height: 3px;
    background: #333;
    transition: all 0.3s ease-in-out;
}

.navbar-toggler span::before {
    transform: translateY(-8px);
}

.navbar-toggler span::after {
    transform: translateY(8px);
}

/* When Toggler is Active (Hamburger to X) */
.navbar-toggler.active span {
    background: transparent;
}

.navbar-toggler.active span::before {
    transform: rotate(45deg) translate(5px, 5px);
}

.navbar-toggler.active span::after {
    transform: rotate(-45deg) translate(5px, -5px);
}



/* Floating Buttons Container............................ */
.floating-buttons {
    z-index: 1000;
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column-reverse; /* Stack buttons with contact at the bottom */
    gap: 10px; /* Space between buttons */
}

/* General Floating Button Style */
.floating-btn {
    position: relative; /* Needed for tooltip positioning */
    background-color: #2ba2ec;
    color: white;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    font-size: 24px;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

/* Tooltip Text */
.floating-btn::after {
    content: attr(data-tooltip); /* Retrieves tooltip text from data attribute */
    position: absolute;
    right: 70px; /* Adjust distance from button */
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Show Tooltip on Hover */
.floating-btn:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Scroll to Top Button */
.scroll-top-btn {
    background-color: #28a745; /* Green */
}

.scroll-top-btn:hover {
    background-color: #218838; /* Darker Green */
}

/* Client Ticketing System Button */
.floating-contact-btn {
    background-color: #2ba2ec;; /* Orange */
}

.floating-contact-btn:hover {
    background-color: #319ee2;; /* Darker Orange */
}

/* Hover Effects */
.floating-btn:hover {
    transform: scale(1.1);
}

/* Material UI Icon Size */
.floating-btn i {
    font-size: 32px;
}




      /*Footer ...............*/



      /* Footer Section */
/* Footer */
.footer {
    background-color: whitesmoke;
    color: black;
    padding: 30px 20px;
    text-align: center;
}

/* Footer Container */
.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

/* Social Media Icons */
.footer-social {
    display: flex;
    gap: 15px;
}

.social-link {
    color: black;
    font-size: 24px;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

/* Hover effect */
.social-link:hover {
    color: #2ba2ec;
    transform: scale(1.1);
}

/* Footer Text */
.footer-info p {
    margin: 5px 0;
    font-size: 1rem;
}

/* Terms & Conditions Link */
.footer-info a {
    color: #2ba2ec;
    text-decoration: none;
    font-weight: bold;
}

/* Hover Effect for Terms */
.footer-info a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}
