/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-4);
}

/* Header */
.header {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all var(--transition-normal);
}

.top-bar {
    background-color: var(--primary-dark);
    color: var(--bg-white);
    padding: var(--space-2) 0;
    font-size: 0.875rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-info {
    display: flex;
    gap: var(--space-6);
}

.top-bar-info span {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.top-bar-social {
    display: flex;
    gap: var(--space-3);
}

.top-bar-social a {
    color: var(--bg-white);
    opacity: 0.8;
    transition: opacity var(--transition-fast);
}

.top-bar-social a:hover {
    opacity: 1;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-4) 0;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: var(--space-3);
    letter-spacing: -0.5px;
}

.logo i {
    font-size: 2rem;
    color: var(--primary-light);
}

.logo span {
    color: var(--text-main);
    font-weight: 600;
}

.nav-links {
    display: flex;
    gap: var(--space-6);
    align-items: center;
}

.nav-link {
    color: var(--text-main);
    font-weight: 500;
    position: relative;
    padding: var(--space-2) 0;
    font-family: var(--font-heading);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.75rem;
    color: var(--text-main);
}

/* Footer */
.footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: var(--space-16) 0 var(--space-4);
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-8);
    margin-bottom: var(--space-12);
}

.footer-col h3 {
    color: var(--bg-white);
    font-size: 1.25rem;
    margin-bottom: var(--space-6);
    position: relative;
    padding-bottom: var(--space-3);
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-light);
    border-radius: var(--radius-full);
}

.footer-logo {
    color: var(--bg-white) !important;
    margin-bottom: var(--space-4);
}

.footer-logo span {
    color: var(--bg-white);
}

.footer-col p {
    color: var(--text-muted);
    line-height: 1.8;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer-links a {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    transition: all var(--transition-fast);
}

.footer-links a::before {
    content: '\f105';
    /* FontAwesome angle-right */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--primary-light);
    font-size: 0.875rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: var(--bg-white);
    transform: translateX(5px);
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    margin-bottom: var(--space-4);
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-contact i {
    color: var(--primary-light);
    margin-top: 4px;
    font-size: 1.25rem;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-6);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Sections */
.section {
    padding: var(--space-24) 0;
}

.section-light {
    background-color: var(--bg-light);
}

.section-white {
    background-color: var(--bg-white);
}

/* Responsive */
@media (max-width: 991px) {
    .top-bar {
        display: none;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-white);
        flex-direction: column;
        align-items: stretch;
        padding: var(--space-4);
        box-shadow: var(--shadow-md);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path var(--transition-normal);
    }

    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .nav-link {
        display: block;
        padding: var(--space-3);
        border-bottom: 1px solid var(--border-color);
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .mobile-menu-btn {
        display: block;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .section {
        padding: var(--space-16) 0;
    }
}