/* --- Specific Landing Page Styles --- */
:root {
    --primary: #064e3b;
    --primary-dark: #022c22;
    --primary-light: #0d6e53;
    --secondary: #0f172a;
    --accent: #b4d429; /* Lime green from reference */
    --accent-hover: #a1c223;
    --accent-soft: rgba(180, 212, 41, 0.1);
    --text-dark: #1e293b;
    --text-gray: #64748b;
    --light: #f8fafc;
    --white: #ffffff;
    --border-light: rgba(0, 0, 0, 0.05);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', 'Inter', sans-serif;
    color: var(--text-dark);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background: var(--light);
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 5%;
}

@media (min-width: 1400px) {
    .container {
        padding: 0 8%;
    }
}

.hero {
    height: 95vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--primary-dark);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-image: linear-gradient(to right, rgba(2, 44, 34, 0.95) 20%, rgba(2, 44, 34, 0.4) 100%), url('/images/advertising_bg.png');
    background-size: cover;
    background-position: center;
}

.hero-content {
    max-width: 700px;
    z-index: 10;
    position: relative;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--accent);
    color: var(--primary-dark);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: clamp(3rem, 5.5vw, 5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #ffffff;
    letter-spacing: -1px;
    font-weight: 800;
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 650px;
    margin-bottom: 3rem;
    line-height: 1.7;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

.btn-solid-accent {
    background: var(--accent);
    color: var(--primary-dark);
    padding: 16px 36px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.15rem;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    display: inline-block;
    text-align: center;
}

.btn-solid-accent:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

.btn-outline-white {
    border: 2px solid #fff;
    color: #fff;
    padding: 14px 36px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.15rem;
    text-decoration: none;
    transition: all 0.3s;
    background: transparent;
    cursor: pointer;
    display: inline-block;
    text-align: center;
}

.btn-outline-white:hover {
    background: #fff;
    color: var(--primary-dark);
}

/* Gray Banner Placement */
.ad-leaderboard-top {
    background: #e2e8f0;
    color: var(--text-gray);
    font-weight: 600;
    text-align: center;
    border-radius: 12px;
    border: 2px dashed #cbd5e1;
    letter-spacing: 2px;
    
    /* Desktop layout alignment */
    width: 90%;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2.2rem 1rem;
    
    /* Centering text */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
}

.ad-leaderboard-bottom {
    background: #e2e8f0;
    color: var(--text-gray);
    font-weight: 600;
    text-align: center;
    border-radius: 12px;
    border: 2px dashed #cbd5e1;
    letter-spacing: 2px;
    
    /* Desktop layout alignment - Flush with footer */
    width: 90%;
    max-width: 1200px;
    margin-top: 2rem;
    margin-bottom: 0px !important;
    margin-left: auto;
    margin-right: auto;
    padding: 2.2rem 1rem;
    
    /* Centering text */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
}

.ad-square {
    background: #e2e8f0;
    color: var(--text-gray);
    font-weight: 600;
    text-align: center;
    border-radius: 12px;
    border: 2px dashed #cbd5e1;
    letter-spacing: 1px;
    
    /* Box/Square proportions */
    width: 100%;
    aspect-ratio: 1 / 1;
    margin-top: 1.5rem;
    padding: 1.5rem;
    
    /* Centering text */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.ad-square:hover {
    border-color: var(--primary);
    background: rgba(226, 232, 240, 0.6);
    transform: translateY(-2px);
}

.ad-leaderboard-top.has-image, .ad-leaderboard-bottom.has-image {
    padding: 0;
    border: none;
    background: transparent;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ad-leaderboard-top.has-image img, .ad-leaderboard-bottom.has-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
}

.ad-square.has-image {
    padding: 0;
    border: none;
    background: transparent;
}

.ad-square.has-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* Stats */
.stats-section {
    background: var(--primary-dark);
    padding: 3rem 0;
    position: relative;
    z-index: 20;
    width: 100%;
}

.stats-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 120px;
}

.stat-number {
    font-size: 4.5rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 0.2rem;
    font-family: 'Outfit', sans-serif;
}

.stat-label {
    color: #fff;
    text-transform: uppercase;
    font-size: 1.1rem;
    letter-spacing: 2px;
    font-weight: 700;
}

/* Sections */
.section {
    padding: 8rem 0;
}

.bg-white { background: var(--white); }
.bg-light { background: var(--light); }

.section-header {
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    color: var(--text-dark);
    margin-bottom: 1.2rem;
    font-weight: 800;
}

.section-header p {
    color: var(--text-gray);
    font-size: 1.3rem;
    max-width: 700px;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 12px;
    background: var(--white);
    height: 450px;
    width: 100%;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.about-img-actual {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--accent);
    padding: 3rem 2.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    color: var(--primary-dark);
}

.experience-badge strong {
    font-size: 3rem;
    display: block;
    margin-bottom: 0.5rem;
}

.about-features {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-dark);
    color: #fff;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-weight: bold;
    flex-shrink: 0;
    font-size: 1.5rem;
}

.feature-item h4 {
    margin: 0 0 0.5rem;
    font-size: 1.4rem;
    color: var(--text-dark);
}

.feature-item p {
    margin: 0;
    color: var(--text-gray);
    font-size: 1.2rem;
    line-height: 1.6;
}

/* Directory Section */
.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
}

.header-actions {
    display: flex;
    gap: 1rem;
}

.btn-solid-dark {
    background: var(--primary-dark);
    color: #fff;
    padding: 14px 32px;
    border-radius: 6px;
    border: none;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    text-decoration: none;
}

.search-input {
    padding: 14px 20px;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    outline: none;
    width: 300px;
    font-size: 1.1rem;
}

.directory-layout {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 4rem;
}

.category-box {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.category-box h3 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-gray);
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    font-size: 1.2rem;
}

.category-list li:last-child {
    border-bottom: none;
}

.category-list li.active {
    color: var(--primary);
    font-weight: 700;
}

.category-list li .badge {
    background: var(--light);
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 1rem;
}

.category-list li.active .badge {
    background: var(--primary-dark);
    color: #fff;
}

.map-placeholder {
    height: 400px;
    background: #f1f5f9;
    border-radius: 12px;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.member-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.member-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s;
}

.member-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.member-logo {
    width: 70px;
    height: 70px;
    background: var(--light);
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.member-card h3 {
    font-size: 1.4rem;
    margin: 0 0 0.8rem;
}

.member-card p {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin: 0 0 1.2rem;
}

.member-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.member-tags span {
    font-size: 0.95rem;
    padding: 6px 14px;
    background: var(--accent-soft);
    color: var(--primary-dark);
    border-radius: 6px;
    font-weight: 600;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px;
    background: var(--light);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    transition: all 0.2s;
}

.btn-block:hover {
    background: var(--primary);
    color: #fff;
}

/* Banner CTA */
.cta-banner {
    background: var(--primary-dark);
    padding: 5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('data:image/svg+xml;utf8,<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1.5" fill="rgba(255,255,255,0.05)"/></svg>');
}

.cta-tag {
    color: var(--accent);
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 1.5rem;
    position: relative;
}

.cta-banner h2 {
    color: #fff;
    font-size: 3.8rem;
    margin: 0 0 2rem;
    position: relative;
    font-weight: 800;
}

.cta-banner p {
    color: rgba(255,255,255,0.9);
    max-width: 800px;
    margin: 0 auto 3rem;
    position: relative;
    font-size: 1.4rem;
    line-height: 1.6;
}

/* Org Chart */
.org-chart {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 4rem;
}

.org-node {
    background: var(--white);
    border: 1px solid var(--border-light);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    width: 320px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
    position: relative;
    z-index: 2;
}

.org-node img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 5px solid var(--light);
}

.org-node h4 {
    margin: 0 0 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
}

.org-node p {
    margin: 0;
    font-size: 1rem;
    color: var(--accent);
    background: var(--primary-dark);
    padding: 6px 16px;
    border-radius: 6px;
    display: inline-block;
    font-weight: 700;
    letter-spacing: 1px;
}

.org-lines {
    width: 2px;
    height: 50px;
    background: var(--border-light);
    position: relative;
    z-index: 1;
}

.org-lines::after {
    content: '';
    position: absolute;
    top: 100%;
    left: -180px;
    width: 360px;
    height: 2px;
    background: var(--border-light);
}

.org-level-2 {
    display: flex;
    gap: 80px;
    padding-top: 50px;
    position: relative;
}

.org-level-2 .org-node::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    width: 2px;
    height: 50px;
    background: var(--border-light);
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.contact-info {
    background: var(--primary-dark);
    color: #fff;
    padding: 6rem;
}

.contact-info h2 {
    color: #fff;
    font-size: 3.5rem;
    margin-top: 0;
    font-weight: 800;
}

.contact-info p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 4rem;
    font-size: 1.3rem;
    line-height: 1.6;
}

.contact-detail {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    align-items: flex-start;
}

.contact-detail i {
    color: var(--accent);
    margin-top: 5px;
}

.contact-form {
    background: var(--white);
    padding: 6rem;
}

.form-group {
    margin-bottom: 2rem;
}

.form-control {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1.2rem;
    outline: none;
    transition: all 0.3s;
    background: #f8fafc;
}

.form-control:focus {
    border-color: var(--primary);
    background: #fff;
}

textarea.form-control {
    min-height: 180px;
    resize: vertical;
}

.btn-submit {
    background: var(--primary-dark);
    color: #fff;
    border: none;
    padding: 18px;
    width: 100%;
    border-radius: 8px;
    font-weight: 800;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-submit:hover {
    background: var(--primary);
}

/* Responsive */
@media (max-width: 1200px) {
    .about-grid, .contact-wrapper {
        grid-template-columns: 1fr;
    }
    .directory-layout {
        grid-template-columns: 1fr;
    }
    .hero h1 { font-size: 3.5rem; }
}

@media (max-width: 768px) {
    .container { padding: 0 5%; }
    .hero { height: auto; padding: 120px 0 80px; text-align: center; }
    .hero-content { margin: 0 auto; }
    .hero p { margin-left: auto; margin-right: auto; }
    .hero-btns { justify-content: center; flex-wrap: wrap; }
    .stats-grid { flex-direction: column; gap: 2rem; }
    .section-header-flex { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .contact-info, .contact-form { padding: 2.5rem; }
    .org-lines::after { width: 100%; left: 0; }
    .org-level-2 { gap: 2rem; flex-direction: column; padding-top: 0; }
    .org-level-2 .org-node::before { display: none; }
    .org-lines { display: none; }
}

@media (max-width: 991px) {
    .section-header-flex { flex-direction: column; align-items: flex-start; gap: 1rem; }
}
