:root {
    --primary: #4AB7AC;
    --dark: #348B83;
    --dark-bg: #4AB7AC;
    --light-bg: #E6FFFC;
    --white: #ffffff;
    --black: #000000;
    --text-color: #333333;
}

/* ==========================================================================
   Global Utilities
   ========================================================================== */
body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: var(--text-color);
    background-color: var(--white);
}

.container-1200 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
    box-sizing: border-box;
}

/* ==========================================================================
   Header Styles
   ========================================================================== */
.main-header {
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 9999;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 15px 5%;
    box-sizing: border-box;
}

.logo img {
    height: 55px;
    width: auto;
    display: block;
}

.main-nav .main-nav__menu {
    list-style: none;
    display: flex;
    gap: 35px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    display: flex;
    align-items: center; 
}

.main-nav .main-nav__menu > li > a {
    padding: 25px 0; 
}

.main-nav a:hover,
.main-nav li.active > a {
    color: var(--primary);
    text-decoration: none;
}

.arrow {
    display: inline-block;
    margin-left: 6px;
    border-top: 5px solid var(--text-color);
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.has-dropdown:hover > a .arrow {
    border-top-color: var(--primary);
    transform: rotate(180deg); 
    text-decoration: none;
}

.has-dropdown { position: relative; }

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    min-width: 220px;
    list-style: none;
    padding: 15px 0; 
    margin: 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border-top: 3px solid var(--primary);
    visibility: hidden;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.has-dropdown:hover .dropdown {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.dropdown li { width: 100%; }

.dropdown a {
    padding: 12px 20px;
    font-size: 13px;
    text-transform: capitalize; 
    font-weight: 500;
}

.dropdown a:hover {
    background-color: var(--light-bg);
    color: var(--dark);
}

.phone-number {
    text-decoration: none;
    color: var(--primary);
    font-size: 24px;
    font-weight: 800;
    transition: color 0.3s ease;
}

.phone-number:hover { color: var(--dark); }

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--black);
    border-radius: 3px;
    transition: all 0.3s ease;
}


/* ==========================================================================
   Footer Styles
   ========================================================================== */
.site-footer-wrapper {
    margin-top: auto; /* Pushes footer to bottom if page content is short */
}

/* --- Footer CTA Bar --- */
.footer-cta {
    background-color: var(--primary);
    padding: 35px 0;
    color: var(--white);
}

.footer-cta__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-cta__text {
    font-size: 22px;
    font-weight: 500;
}

.footer-cta__text a {
    color: var(--white);
    text-decoration: underline;
    font-weight: 700;
}

.footer-cta__text a:hover {
    color: var(--light-bg);
}

.footer-cta__button button {
    background-color: var(--white);
    color: var(--primary);
    padding: 12px 35px;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.footer-cta__button button:hover {
    background-color: var(--dark);
    color: var(--white);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* --- Main Footer Grid --- */
.site-footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 60px 0 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding-bottom: 50px;
}

.footer-heading {
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary);
}

.footer-desc {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 25px;
}

/* --- Social Icons --- */
.footer-social-boxes {
    display: flex;
    gap: 12px;
}

.social-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-box:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.social-box svg {
    width: 18px;
    height: 18px;
}

/* --- Footer Lists (Contact & Links) --- */
.footer-contact-list,
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
}

.footer-contact-list li svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact-list li a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact-list li a:hover {
    color: var(--white);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--white);
    transform: translateX(5px);
}

/* --- Map --- */
.fb-widget-col iframe {
    width: 100%;
    height: 180px;
    border-radius: 6px;
    border: none;
    background-color: rgba(0,0,0,0.1);
}

/* --- Footer Bottom (Copyright) --- */
.footer-bottom {
    background-color: rgba(0, 0, 0, 0.15);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-bottom a.text-primary {
    color: var(--primary);
    font-weight: 600;
}

.footer-bottom a:hover {
    text-decoration: none;
    color: var(--white);

}

/* --- Scroll To Top Button --- */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background-color: var(--dark);
    transform: translateY(-5px);
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
}


/* ==========================================================================
   Responsive Design (Media Queries)
   ========================================================================== */

/* Tablet & Mobile Menu Adjustments */
@media (max-width: 992px) {
    /* Header Responsive overrides */
    .header-container { padding: 15px 20px; flex-wrap: wrap; }
    .mobile-toggle { display: flex; }
    .main-nav, .header-contact { display: none; width: 100%; }
    .main-header.menu-open .main-nav, .main-header.menu-open .header-contact { display: block; animation: fadeIn 0.3s ease-in-out; }
    .main-nav .main-nav__menu { flex-direction: column; width: 100%; gap: 0; padding-top: 15px; }
    .main-nav .main-nav__menu > li { width: 100%; border-top: 1px solid var(--light-bg); }
    .main-nav .main-nav__menu > li > a { padding: 15px 0; font-size: 16px; justify-content: space-between; }
    .main-nav a { font-size: 16px; }
    .dropdown { position: static; box-shadow: none; border-top: none; background-color: var(--light-bg); padding: 0; visibility: visible; opacity: 1; transform: none; display: none; }
    .has-dropdown:hover .dropdown { display: block; }
    .dropdown a { padding: 12px 0 12px 20px; font-size: 14px; border-top: 1px solid rgba(0,0,0,0.05); }
    .header-contact { display: flex; justify-content: center; padding: 20px 0 10px 0; border-top: 1px solid var(--light-bg); margin-top: 10px; }
    .mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 7px); }
    .mobile-toggle.active span:nth-child(2) { opacity: 0; }
    .mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -7px); }

    /* Footer Responsive Overrides (Tablet) */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet */
    }
}

/* Mobile Specific Adjustments */
@media (max-width: 768px) {
    /* CTA Bar */
    .footer-cta__inner {
        flex-direction: column;
        text-align: center;
    }
    .footer-cta__text {
        font-size: 18px;
    }
    
    /* Footer Grid */
    .footer-grid {
        grid-template-columns: 1fr; /* 1 column on mobile */
        gap: 30px;
    }

    /* Footer Bottom */
    .footer-bottom__inner {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }
    .copyright-right {
       display: none;
    }
    
    /* Scroll to top positioning for mobile */
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}