/* ==========================================
   ABPDC - Rebranded Styles
   Colors: #99CA3C (lime green), #333333 (dark gray),
           #FFFFFF (white), #CDCDCD (light gray), #66744A (olive green)
   ========================================== */

/* CSS Reset & Base Styles */

/* Offset anchor scroll targets to account for sticky header height */
html {
    scroll-padding-top: 110px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: #333333;
    background-color: #f8f9fa;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================
   HEADER & NAVIGATION
   ========================================== */
header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo img {
    height: 80px;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333333;
    letter-spacing: -0.5px;
}

/* Navigation */
nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

nav ul li a {
    color: #333333;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #99CA3C;
    transition: width 0.3s ease;
}

nav ul li a:hover {
    color: #99CA3C;
}

nav ul li a:hover::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #333333;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    background: linear-gradient(135deg, #66744A 0%, #99CA3C 100%);
    color: #ffffff;
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="none"/><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
} Mus

.hero p {
    font-size: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    font-weight: 300;
}

.hero img {
    max-width: 100%;
    height: auto;

}

.btn {
    display: inline-block;
    background-color: #ffffff;
    color: #66744A;
    padding: 14px 35px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background-color: #f8f9fa;
}

/* ==========================================
   SECTIONS
   ========================================== */
section {
    padding: 80px 20px;
}

section h2 {
    font-size: 2.5rem;
    color: #333333;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 700;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

section h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #99CA3C, #66744A);
    margin: 15px auto 0;
    border-radius: 2px;
}

section h3 {
    font-size: 1.75rem;
    color: #66744A;
    margin: 2.5rem 0 1.5rem;
    font-weight: 600;
}

section h4 {
    font-size: 1.3rem;
    color: #66744A;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.content-wrapper {
    max-width: 900px;
    font-size: 1.15rem;
    line-height: 1.8;
    color: #555;
    margin: 2.5rem auto 0;
}

.content-wrapper p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.section-intro {
    font-size: 1.15rem;
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* Lists */
.finalidades-list,
.congressos-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.finalidades-list li,
.congressos-list li {
    padding-left: 2rem;
    margin-bottom: 1.2rem;
    position: relative;
    line-height: 1.7;
}

.finalidades-list li::before,
.congressos-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #99CA3C;
    font-weight: bold;
    font-size: 1.3rem;
}

/* ==========================================
   MEMBER CATEGORIES
   ========================================== */
.member-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 2.5rem 0;
}

.member-category-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.member-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(153, 202, 60, 0.15);
    border-color: #99CA3C;
}

.member-category-card h4 {
    color: #99CA3C;
    margin-top: 0;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.member-category-card p {
    color: #555;
    line-height: 1.7;
}

/* ==========================================
   DIRETORIA GRID
   ========================================== */
.diretoria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 2rem 0;
}

.diretoria-card {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid #99CA3C;
    transition: all 0.3s ease;
}

.diretoria-card:hover {
    background-color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.diretoria-card h4 {
    color: #66744A;
    margin-top: 0;
}

/* ==========================================
   INFO BOX
   ========================================== */
.info-box {
    background-color: #f0f7e6;
    border-left: 5px solid #99CA3C;
    padding: 25px;
    margin: 2.5rem 0;
    border-radius: 8px;
}

.info-box p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.info-box p:last-child {
    margin-bottom: 0;
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact-content {
    text-align: center;
}

.contact-info {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.contact-detail {
    margin: 2rem 0;
    font-size: 1.1rem;
}

.contact-detail a {
    color: #99CA3C;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-detail a:hover {
    color: #66744A;
}

.contact-note {
    margin-top: 1.5rem;
    color: #666;
    font-size: 0.95rem;
}

/* ==========================================
   FOOTER
   ========================================== */
footer {
    background-color: #333333;
    color: #ffffff;
    padding: 50px 20px 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo img {
    height: 100px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-logo span {
    font-size: 1.3rem;
    font-weight: 700;
    color: #99CA3C;
}

.footer-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-nav ul li a {
    color: #CDCDCD;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.footer-nav ul li a:hover {
    color: #99CA3C;
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    color: #CDCDCD;
    font-size: 0.9rem;
    margin: 5px 0;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

/* Tablet */
@media (max-width: 968px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    section h2 {
        font-size: 2rem;
    }

    .member-categories {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .diretoria-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .footer-nav ul {
        justify-content: center;
    }
}

/* Mobile */
@media (max-width: 768px) {
    header .container {
        padding: 1rem 20px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    nav ul {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: #ffffff;
        flex-direction: column;
        justify-content: flex-start;
        padding: 2rem;
        gap: 1rem;
        transition: left 0.3s ease;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }

    nav ul.active {
        left: 0;
    }

    nav ul li {
        width: 100%;
    }

    nav ul li a {
        display: block;
        padding: 1rem;
        font-size: 1.1rem;
    }

    .hero {
        padding: 60px 20px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    section {
        padding: 50px 20px;
    }

    section h2 {
        font-size: 1.8rem;
    }

    section h3 {
        font-size: 1.5rem;
    }

    .member-categories {
        grid-template-columns: 1fr;
    }

    .footer-nav ul {
        flex-direction: column;
        gap: 0.8rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .logo img {
        height: 40px;
    }

    .logo-text {
        font-size: 1.3rem;
    }

    .hero h1 {
        font-size: 1.6rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .btn {
        padding: 12px 25px;
        font-size: 0.95rem;
    }

    section h2 {
        font-size: 1.5rem;
    }

    .member-category-card,
    .contact-info {
        padding: 20px;
    }
}
