/* 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-right {
    display: flex;
    align-items: center;
}

.call-now {
    background-color: #40B3A2;
    color: white;
    border-radius: 8px;
    padding: 1rem 2rem;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
    margin-right: 1rem;
    text-align: center;
}

.call-now:hover {
    background-color: #359686;
}

.burger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 20px;
    cursor: pointer;
}

.burger .line {
    width: 100%;
    height: 3px;
    background-color: #333;
    transition: all 0.3s ease;
}

.navbar-links {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: white;
    flex-direction: column;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-left: auto;
}

.navbar-links a {
    color: black;
    text-decoration: none;
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.navbar-links a:last-child {
    border-bottom: none;
}

.nav-item {
    position: relative;
    display: inline-block;
}

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

.nav-link {
    text-decoration: none;
    color: inherit;
    padding: 1rem;
    display: inline-block;
    cursor: pointer;
}

.large-screen-only {
    display: block !important;
}

.small-screen-only {
    display: none !important;
}

@media (max-width: 768px) {
    .large-screen-only {
        display: none !important;
    }

    .small-screen-only {
        display: block !important;
    }
}

/* Mega Menu Styles */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 8px;
    background: #f8f9fa;
    min-width: 600px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
}

.nav-item:hover .mega-menu {
    opacity: 1;
    visibility: visible;
}

.mega-menu-title {
    color: #1B2333;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 500;
    text-align: left;
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.mega-menu-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.75rem !important;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    color: #1B2333;
}

.mega-menu-item:hover {
    background: rgba(0, 0, 0, 0.05);
}

.mega-menu-item i {
    font-size: 1.25rem;
    color: #40B3A2;
    margin-top: 0.25rem;
}

.mega-menu-content h4 {
    font-size: 1rem;
    margin: 0 0 0.5rem 0;
    color: #1B2333;
    font-weight: 600;
    text-align: left;
}

.mega-menu-content p {
    font-size: 0.875rem;
    margin: 0;
    color: #666;
    line-height: 1.4;
    text-align: left;
}

@media (max-width: 768px) {
    .mega-menu {
        position: fixed;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        min-width: auto;
        max-width: 600px;
    }
}

/* 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;
    }

    .call-now {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .burger {
        display: flex;
    }

    .navbar-links.nav-active {
        display: flex;
    }

}

@media (min-width: 769px) {
    .navbar-links {
        display: flex;
        position: static;
        width: auto;
        flex-direction: row;
        box-shadow: none;
        margin: 0 auto;
        flex-grow: 1;
        justify-content: flex-end;
    }

    .navbar-links a {
        padding: 0 1rem;
        border-bottom: none;
    }

    .burger {
        display: none;
    }

    .navbar-right {
        margin-left: auto;
        order: 2;
    }
}