/* Navbar Styles */
.navbar {
    background-color: white;
    color: black;
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 80px;
    gap: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-link {
    text-decoration: none;
    display: flex;
}

.logo {
    height: 55px;
    width: auto;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-left: 2rem;
}

.navbar-menu .nav-link {
    color: #666;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-menu .nav-link:hover {
    color: #40B3A2;
    border-bottom-color: #40B3A2;
}

.navbar-menu .nav-link.active {
    color: #40B3A2;
    border-bottom-color: #40B3A2;
}

.navbar-menu .nav-link.cta-link {
    background-color: #40B3A2;
    color: white;
    border-radius: 8px;
    padding: 0.5rem 1.5rem;
    border-bottom: none;
    margin-left: 1rem;
}

.navbar-menu .nav-link.cta-link:hover {
    background-color: #359686;
    color: white;
    border-bottom-color: transparent;
}

.navbar-shadow {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}



/* Footer Styles */
.footer {
    background-color: #E8F7F5;  /* Light teal background matching the theme */
    padding: 4rem 0 0 0;
    color: #333;
    text-align: center;
    font-family: 'Poppins', sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    gap: 4rem;
}

.footer-column {
    flex: 1;
}

.footer-column h3 {
    font-size: 1.25rem;
    color: #333;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-align: left;
}

.footer-column .speak-title {
    margin-top: 2rem;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.footer-column ul li {
    margin-bottom: 1rem;
    text-align: left;
    padding-left: 0;  /* Remove any default padding */
}

.footer-column ul li:before {
    content: none;
}

.footer-column ul li a {
    color: #555;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
    line-height: 1.4;
    padding-left: 0;  /* Align with title */
    display: block;
}

.footer-column ul li a:hover {
    color: #40B3A2;
}

.address {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
    text-align: left;
    padding-left: 0;  /* Align with title */
}

.footer-column:first-child ul li a {
    padding-left: 0;
}

/* Middle column - Supercharged with AI */
.footer-column:nth-child(2) ul li {
    padding-right: 2rem;
}

/* Last column - Contact Us */
.footer-column:last-child .speak-title {
    margin-top: 2rem;
}

.social-links {
    margin-top: 1rem;
    text-align: left;
    padding-left: 0;
}

.linkedin-link {
    color: #0077B5;
    font-size: 2rem;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.linkedin-link:hover {
    opacity: 0.8;
}

.footer-bottom {
    margin-top: 4rem;
}

.footer-copyright {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid rgba(64, 179, 162, 0.2);  /* Very light teal border */
}

.footer-copyright p {
    color: #555;
    font-size: 0.9rem;
    margin: 0;
}

.footer-copyright a {
    color: #555;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-copyright a:hover {
    color: #40B3A2;
}

.green-bar {
    height: 8px;
    background-color: #40B3A2;
    width: 100%;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-column {
        text-align: left;  /* Keep text left-aligned even on mobile */
    }

    .footer-copyright {
        flex-direction: column;
        gap: 1rem;
        text-align: left;  /* Keep copyright text left-aligned */
    }
}

.footer .footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.footer .footer-links a {
    color: white;
    text-decoration: none;
    margin: 0.5rem 1rem;
}

.footer .footer-links a:hover {
    text-decoration: underline;
}

.footer p {
    margin: 0;
    font-size: 0.875rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .logo {
        height: 45px;
    }

    .navbar {
        padding: 0.5rem 1rem;
    }

    .navbar-brand {
        font-size: 1.2rem;
    }

    .navbar-menu {
        display: none;
    }

    .call-now {
        display: none;
    }
}

@media (min-width: 769px) {
    .navbar-menu {
        display: flex;
    }
}

/* Mobile navbar enhancements */
.navbar-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
}

@media (max-width: 768px) {
    .navbar {
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    .navbar-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .navbar-menu {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: #ffffff;
        flex-direction: column;
        gap: 0;
        padding: 1rem;
        border-top: 1px solid #eee;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        overflow-x: hidden;
    }

    .navbar-menu.open {
        display: flex;
    }

    .navbar-menu .nav-link {
        padding: 0.75rem 0;
        border-bottom: none;
    }

    /* Dropdown behavior on mobile: always expanded inline */
    .nav-dropdown .dropdown-content {
        position: static;
        display: flex;
        flex-direction: column;
        box-shadow: none;
        margin-top: 0.5rem; /* add space below the Solutions link like other links */
        padding: 0;
        width: 100%;
    }

    .nav-dropdown.open .dropdown-content {
        display: flex;
    }

    /* Ensure Solutions link uses the same vertical padding as other links */
    .navbar-menu .nav-dropdown > .nav-link {
        padding: 0.75rem 0;
    }

    .smart-dropdown {
        min-width: auto;
        width: 100%;
        left: 0;
        transform: none;
        padding: 0.5rem 0;
    }

    .dropdown-column {
        padding: 0;
    }
}