/* Apply 'Dosis' font for general text */
body {
    font-family: 'Dosis', sans-serif;
}

/* Apply 'Libre Baskerville' for headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Libre Baskerville', serif;
}

/*************************** Banner */
.free-install-banner {
    background-color: #2bbc3c;
    color: white;
    font-size: 1rem;
    font-family: 'Dosis', sans-serif;
    white-space: nowrap;
    overflow: hidden;
    height: 40px;
    display: flex;
    align-items: center;
    z-index: 999;
    position: relative; /* Not fixed, so it stays under navbar */
    top: 82px;
}

.scrolling-text {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    animation: scroll-left 15s linear infinite;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-100%);
    }
}




/*************************** Navbar Section Styling */
.navbar-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 2;
    padding: 0;
}

/* Logo size */
.navbar-brand img {
    height: 70px;
}

.navbar-brand {
    margin-right: 0;
}

/****************************** Navbar Toggler Icon */
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3E%3Cpath stroke='black' stroke-width='4' d='M5 7h20M5 15h20M5 23h20'/%3E%3C/svg%3E");
    background-color: transparent;
}

.navbar-toggler {
    border-color: transparent;
    border: none;
    outline: none;
    margin-left: auto;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Navbar links */
.navbar-nav .nav-link {
    color: rgba(0, 0, 0, 0.8);
    transition: color 0.3s, padding 0.3s;
    padding: 10px 15px;
    font-weight: 300;
}

.navbar-nav .nav-link.active {
    color: #2bbc3c !important;
}

.navbar-nav .nav-link:hover {
    color: #2bbc3c;
    border-radius: 5px;
    padding: 10px 20px;
}

.navbar .dropdown-menu {
    z-index: 2000; /* Ensures dropdown appears on top */
    position: absolute; /* Ensures it does not get clipped */
}

.navbar-section {
    z-index: 1100; /* Increase navbar's stacking order */
}

/****************************** Footer Section Styling */
footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    width: 100%;
}

.footer-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-right: none; /* Remove right border if present */
}

.footer-section .navbar-brand img {
    max-height: 120px;
    width: auto;
}

/* Social icons */
.social-icons a {
    color: #030303;
    font-size: 30px;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #2bbc3c;
}

/* Map container */
.map-container {
    margin-top: 10px;
    width: 100%;
    position: relative;
    padding-top: 56.25%;
    height: 170px;
    overflow: hidden;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 5px;
}

/**************************** Footer Lists Styling */
footer .list-unstyled {
    list-style: none;
    padding: 0;
    margin: 0;
    color: #000000;
}

footer .list-unstyled li {
    margin-bottom: 10px;
    font-size: 12px;
}

.footer-section ul.list-unstyled li a {
    color: #000000 !important;
    text-decoration: none !important;
}

.footer-section ul.list-unstyled li a:hover {
    color: #2bbc3c !important;
}

.no-border-right .footer-section {
    border-right: none;
}

.no-padding-x {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/*************************** Phone Number & Email Styling */
.contact-info {
    font-size: 24px;  /* Adjust the font size as needed */
    font-weight: bold; /* Makes text bold */
    color: #000000 !important; /* Ensures visibility */
    text-decoration: none !important; /* Removes underline */
}

.contact-info:hover {
    color: #2bbc3c !important; /* Changes color on hover */
}

/*************************** Font Awesome Icon Styling */
.footer-section .list-unstyled li i {
    font-size: 24px; /* Default icon size */
    margin-right: 8px; /* Space between icon and text */
}


/* Flash Message Styling */
div.messages {
    margin-top: 120px;
}

.alert-success {
    background-color: #e6ffe6;
    color: #2d862d;
    border: 1px solid #b3ffb3;
    border-radius: 8px;
    padding: 15px 20px;
    font-size: 1.1rem;
    font-weight: 500;
    text-align: center;
}

.alert-error, .alert-danger {
    background-color: #ffe6e6;
    color: #a94442;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    padding: 15px 20px;
    font-size: 1.1rem;
    font-weight: 500;
    text-align: center;
}

.floating-messages {
    position: fixed;
    top: 80px; /* Just below navbar */
    left: 50%;
    transform: translateX(-50%);
    z-index: 2000;
    width: 90%;
    max-width: 600px;
    text-align: center;
    padding: 0 15px;
    opacity: 1;
    transition: opacity 1s ease-out; /* 👈 Fade out animation */
}

.floating-messages .alert {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    font-size: 1rem;
}



/*************************** Responsive Styling */
@media (max-width: 767px) {
    .footer-section {
        text-align: center;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        padding-bottom: 10px;
    }

    .copyright p {
        font-size: 16px;
    }

    .col-md-3 {
        margin-bottom: 30px;
    }

    .footer-section .navbar-brand img {
        max-height: 60px;
    }

    footer .list-unstyled li {
        font-size: 16px;
    }

    .footer-section h4,
    .footer-section .list-unstyled li {
        font-size: 30px;
    }

    /* Adjust font size for mobile */


    .footer-section .list-unstyled li i {
        font-size: 18px !important; /* Smaller size for mobile */
        margin-right: 0px; /* Space between icon and text */
    }

}

/* Desktop Adjustments */
@media (max-width: 1024px) {


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

    .navbar-nav .nav-link {
        font-size: 1.2rem;
        padding: 10px 30px !important;
    }

    .contact-info {
        font-size: 16px;
    }

    footer .list-unstyled li {
        font-size: 9.5px;
    }
}

@media (min-width: 1025px) {
    .navbar-nav .nav-link {
        font-size: 1.2rem;
        padding: 10px 30px !important;
    }
}
