/* Global styles */
body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    scroll-behavior: smooth;
    overflow-x: hidden; /* prevent horizontal scroll */
    width: 100%;
}

/* Container for proper spacing */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Main content spacing to account for fixed header */
main, section:first-of-type:not(.page-hero) {
    padding-top: 80px; /* Adjust based on your header height */
}

/* Don't add extra padding to page-hero sections as they have their own padding */

/* Global Header Styles */
header {
    background: #fff;
    box-shadow: 0 15px 40px -20px rgba(40, 44, 63, .15);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 8%;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    box-sizing: border-box;
}

nav .logo {
    display: flex;
    align-items: center;
}

nav .logo img {
    height: 65px;
    width: auto;
    transition: transform 0.2s ease;
}

nav .logo img:hover {
    transform: scale(1.05);
}

nav .nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    margin: 0 auto; /* Center the navigation links */
}

nav a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
}

nav a:hover {
    color: #FFCE19;
}

nav a i {
    font-size: 1.1rem;
}

/* Responsive header */
@media (max-width: 768px) {
    nav {
        padding: 0.5rem 5%;
        flex-direction: column;
    }
    
    nav .nav-links {
        gap: 1.5rem;
    }
    
    nav a {
        margin: 0.5rem 0;
    }
}

@media (max-width: 576px) {
    nav {
        flex-direction: column;
        padding: 0.5rem;
    }
    
    nav .logo {
        margin-bottom: 0.5rem;
    }
    
    nav .nav-links {
        width: 100%;
        justify-content: space-around;
        padding: 0.5rem 0;
    }
    
    nav a {
        margin: 0.5rem 0;
        font-size: 0.8rem;
    }
    
    nav a i {
        font-size: 1rem;
    }
}

/* Enhanced Footer Styles */
footer {
    background: #0F7E2C;
    color: white;
    padding: 60px 0 20px;
    margin-top: 60px;
    width: 100%;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.footer-column h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.footer-column h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.3);
}

.footer-column p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover {
    color: white;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.footer-contact-item i {
    margin-right: 10px;
    color: white;
    font-size: 1.1rem;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: white;
    color: #0F7E2C;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-column h3 {
        font-size: 1.2rem;
    }
}
