/* --- CSS VARIABLES & RESET --- */
:root {
    --bg-white: #FFFFFF;
    --bg-light: #F7F9FA; 
    --text-primary: #111111;
    --text-secondary: #555555;
    --accent-orange: #FF8000; /* On-Off Group Orange */
    --accent-orange-hover: #E67300;
    --border-color: #E1E1E1;
    --shadow-card: 0 20px 40px rgba(0,0,0,0.06);
    --shadow-float: 0 10px 30px rgba(0,0,0,0.12);
    --shadow-menu: 0 15px 35px rgba(0,0,0,0.1);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-white);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5 {
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.5px;
}

p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

img {
    max-width: 100%;
    display: block;
}

/* --- UTILITIES --- */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 6rem 0;
}

.text-orange {
    color: var(--accent-orange);
}

.btn {
    display: inline-block;
    background-color: var(--accent-orange);
    color: white;
    padding: 1.1rem 2.8rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
    border-radius: 4px;
}

.btn:hover {
    background-color: var(--accent-orange-hover);
}

.section-header {
    max-width: 800px;
    margin: 0 auto 4rem auto;
    text-align: center;
}

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

/* --- TOP BANNER --- */
.top-banner {
    background-color: var(--accent-orange);
    color: white;
    padding: 0.8rem 0;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
}

.top-banner a {
    color: white;
    text-decoration: underline;
    margin-left: 0.5rem;
    font-weight: 700;
}

.top-banner a:hover {
    opacity: 0.9;
}

/* --- HEADER & MEGA MENU --- */
header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-family: 'Inter', sans-serif;
    font-size: 1.8rem;
    letter-spacing: -1px;
    font-weight: 900;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo::after {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    background-color: var(--accent-orange);
    border-radius: 50%;
}

.nav-links {
    display: flex;
    gap: 0; 
    height: 100%;
    align-items: center;
}

.menu-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    cursor: pointer;
}

.menu-item > a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.menu-item:hover > a {
    color: var(--accent-orange);
}

.mega-menu {
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    background: white;
    box-shadow: var(--shadow-menu);
    border: 1px solid var(--border-color);
    border-top: 3px solid var(--accent-orange);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 999;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    border-radius: 0 0 8px 8px;
}

.menu-item:hover .mega-menu {
    opacity: 1;
    visibility: visible;
}

.mega-col h6 {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.mega-link {
    display: block;
    padding: 0.5rem 0;
    font-weight: 600;
    color: var(--text-primary);
}

.mega-link:hover {
    color: var(--accent-orange);
    padding-left: 5px;
}

.mega-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* --- HERO SECTION --- */
.hero {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    min-height: 80vh;
    padding-top: 2rem;
    padding-bottom: 4rem;
}

.hero-content {
    padding-right: 4rem;
    z-index: 2;
}

.eyebrow {
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    font-weight: 700;
    color: var(--accent-orange);
    margin-bottom: 1.5rem;
    display: block;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 2rem;
    letter-spacing: -2px;
}

.hero-sub {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin-bottom: 3rem;
}

.cta-wrapper {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.cta-label {
    font-size: 0.9rem;
    font-weight: 600;
}

.hero-visual {
    position: relative;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.hero-visual img {
    max-width: 120%;
    margin-bottom: -4rem;
    mix-blend-mode: multiply; 
    filter: contrast(1.1);
}

.floating-badge {
    position: absolute;
    top: 20%;
    left: -40px;
    background: white;
    padding: 1.5rem;
    box-shadow: var(--shadow-float);
    max-width: 200px;
    border-left: 4px solid var(--accent-orange);
    z-index: 3;
}

.badge-title {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 2.5rem;
    line-height: 1;
    color: var(--text-primary);
    display: block;
}

.badge-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    display: block;
    line-height: 1.4;
}

/* --- STATS SECTION --- */
.stats-section {
    background-color: var(--bg-light);
    padding: 6rem 0;
    border-top: 1px solid var(--border-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    margin-top: 4rem;
    text-align: center;
}

.stat-item {
    position: relative;
}

.stat-item::after {
    content: '';
    position: absolute;
    right: -2rem;
    top: 20%;
    height: 60%;
    width: 1px;
    background-color: #DDD;
}

.stat-item:last-child::after {
    display: none;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent-orange);
    display: block;
    margin-bottom: 0.5rem;
    letter-spacing: -2px;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* --- OFFERINGS --- */
.offerings-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.card {
    background: white;
    border: 1px solid var(--border-color);
    padding: 3rem;
    transition: box-shadow 0.3s ease;
}

.card:hover {
    box-shadow: var(--shadow-card);
    border-color: transparent;
}

.card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.link-arrow {
    font-weight: 700;
    color: var(--accent-orange);
    margin-top: 1rem;
    display: inline-block;
}

/* --- HOW IT WORKS --- */
.process-section {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
}

.steps-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
}

.step {
    position: relative;
    padding-top: 1rem;
    border-top: 3px solid var(--border-color);
}

.step-num {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 3rem;
    color: var(--accent-orange);
    margin-bottom: 1rem;
    display: block;
    line-height: 1;
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* --- FEATURED CONTENT (INSIGHTS) --- */
.insights-section {
    background-color: var(--bg-light);
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.insight-card {
    background: white;
    border: 1px solid var(--border-color);
}

.insight-img {
    height: 240px;
    overflow: hidden;
}

.insight-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.insight-card:hover .insight-img img {
    transform: scale(1.05);
}

.insight-content {
    padding: 2rem;
}

.insight-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    display: block;
    font-weight: 700;
}

.insight-content h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.read-more {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-primary);
    text-decoration: underline;
}

/* --- FORM --- */
.form-section {
    background-color: var(--bg-white);
    padding: 6rem 0;
}

.form-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
}

.input-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

input, select {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ccc;
    background: white;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
}

input:focus, select:focus {
    outline: 1px solid var(--accent-orange);
    border-color: var(--accent-orange);
}

/* --- FOOTER --- */
footer {
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--border-color);
    background-color: #FAFAFA;
    color: var(--text-secondary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-col h5 {
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.footer-col ul li a:hover {
    color: var(--accent-orange);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #E5E5E5;
    font-size: 0.85rem;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-content {
        padding-right: 0;
    }
    
    .cta-wrapper {
        justify-content: center;
    }

    .hero-visual {
        margin-top: 2rem;
    }
    
    .floating-badge {
        left: 50%;
        transform: translateX(-50%);
        top: -30px;
    }

    .stats-grid, .steps-wrapper, .insights-grid, .form-layout, .offerings-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .stat-item::after {
        display: none;
    }
    
    .nav-links {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* --- BPO PAGE SPECIFIC STYLES --- */

/* Comparison Section (Old Way vs New Way) */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    margin-top: 2rem;
}

.comparison-table th, .comparison-table td {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
}

.comparison-table th {
    background-color: var(--bg-light);
    font-weight: 800;
    color: var(--text-primary);
    width: 50%;
}

.comparison-table td {
    color: var(--text-secondary);
}

.check-icon {
    color: var(--accent-orange);
    font-weight: 800;
    margin-right: 0.5rem;
}

/* Detailed Framework Grid */
.detail-card {
    background: white;
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    border-top: 4px solid var(--accent-orange);
}

.detail-card h4 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

/* Pricing / Tiers Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.pricing-card {
    background: white;
    border: 1px solid var(--border-color);
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.pricing-card.featured {
    border: 2px solid var(--accent-orange);
    position: relative;
}

.featured-label {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-orange);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
}

.tier-name {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.tier-size {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.tier-includes {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1; /* Pushes button to bottom */
}

.tier-includes li {
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
}

.tier-includes li::before {
    content: '•';
    color: var(--accent-orange);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    flex-shrink: 0;
}

@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}
/* --- INSIGHTS PAGE SPECIFIC STYLES --- */

/* Featured Article Hero */
.featured-hero {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 0;
    background-color: var(--text-primary); /* Dark background for premium feel */
    color: white;
    min-height: 500px;
}

.featured-content {
    padding: 5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-tag {
    color: var(--accent-orange);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.featured-title {
    font-size: 3rem;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: white;
}

.featured-excerpt {
    font-size: 1.1rem;
    color: #cccccc;
    margin-bottom: 2rem;
    max-width: 600px;
    line-height: 1.6;
}

.featured-image {
    background-image: url('https://images.pexels.com/photos/3183197/pexels-photo-3183197.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1');
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Overlay to darken image slightly */
.featured-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.2);
}

/* Filter Bar */
.filter-bar {
    border-bottom: 1px solid var(--border-color);
    background: white;
    position: sticky;
    top: 80px; /* Below the main header */
    z-index: 90;
}

.filter-list {
    display: flex;
    gap: 2rem;
    list-style: none;
    overflow-x: auto; /* Allow scroll on mobile */
    padding: 1.5rem 0;
}

.filter-item {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.filter-item:hover, .filter-item.active {
    color: var(--accent-orange);
}

/* Article Grid Adjustments */
.meta-info {
    font-size: 0.8rem;
    color: #888;
    margin-top: 1rem;
    display: block;
}

/* Newsletter Section */
.newsletter-section {
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-color);
    text-align: center;
    padding: 5rem 0;
}

.newsletter-box {
    max-width: 500px;
    margin: 0 auto;
}

.email-row {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .featured-hero {
        grid-template-columns: 1fr;
    }
    .featured-content {
        padding: 3rem;
        order: 2;
    }
    .featured-image {
        min-height: 300px;
        order: 1;
    }
}

/* --- ABOUT PAGE SPECIFIC STYLES --- */

/* Narrow Text Column for Storytelling */
.editorial-text {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.editorial-text p {
    margin-bottom: 2rem;
}

.editorial-text h3 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: var(--text-primary);
}

/* Logo Cloud (Trust Signals) */
.logo-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4rem;
    opacity: 0.6;
    margin-top: 3rem;
    align-items: center;
}

.logo-item {
    font-weight: 700;
    font-size: 1.5rem;
    color: #ccc; /* Placeholder for actual SVGs */
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Team Grid */
.team-section {
    background-color: var(--bg-light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.team-card {
    text-align: center;
}

.team-photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    margin-bottom: 1.5rem;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.team-card:hover .team-photo {
    filter: grayscale(0%);
}

.team-name {
    font-size: 1.1rem;
    font-weight: 700;
    display: block;
    color: var(--text-primary);
}

.team-role {
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: block;
    margin-top: 0.2rem;
}

@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: 1fr 1fr;
    }
}
/* --- STORIES PAGE SPECIFIC STYLES --- */

/* Result Metric Highlight */
.result-stat {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-orange);
    line-height: 1;
    margin-bottom: 0.5rem;
    display: block;
}

.result-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    display: block;
}

/* Quote Card */
.quote-card {
    background-color: var(--text-primary); /* Dark background */
    color: white;
    padding: 3rem;
    border-radius: 4px;
    margin: 4rem 0;
    text-align: center;
}

.quote-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.8rem;
    font-weight: 300;
    line-height: 1.4;
    margin-bottom: 2rem;
    font-style: italic;
}

.quote-author {
    font-weight: 700;
    color: var(--accent-orange);
}

/* Company Header in Card */
.company-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.company-logo-text {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: -0.5px;
}
/* --- FAQ PAGE SPECIFIC STYLES --- */

/* FAQ Layout */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-category {
    margin-bottom: 4rem;
}

.category-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-orange);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

/* Accordion Styling */
details {
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: white;
    transition: all 0.3s ease;
}

details[open] {
    border-color: var(--accent-orange);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

summary {
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    list-style: none; /* Hide default triangle */
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-primary);
}

/* Custom Icon for Accordion */
summary::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-secondary);
    transition: transform 0.3s ease;
}

details[open] summary::after {
    transform: rotate(45deg); /* Turns plus to x */
    color: var(--accent-orange);
}

details[open] summary {
    border-bottom: 1px solid #f0f0f0;
}

.faq-answer {
    padding: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.6;
    background-color: #FAFAFA;
}

.faq-answer p {
    margin-bottom: 1rem;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

/* --- CONTACT PAGE SPECIFIC STYLES --- */

.contact-hero-split {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
    margin-top: 3rem;
}

.contact-info-sidebar {
    padding-right: 2rem;
}

.contact-label {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    display: block;
}

.contact-detail {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 2.5rem;
    display: block;
    font-weight: 500;
}

.contact-detail a {
    border-bottom: 1px solid #ccc;
}

.contact-detail a:hover {
    color: var(--accent-orange);
    border-color: var(--accent-orange);
}

.map-container {
    width: 100%;
    height: 300px;
    background-color: #EEE;
    margin-top: 2rem;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%); /* Keeps it looking corporate */
}

/* Enhancing the form for the main page */
.main-contact-form {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .contact-hero-split {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .contact-info-sidebar {
        padding-right: 0;
        order: 2; /* Put form first on mobile */
    }
    .main-contact-form {
        order: 1;
        padding: 2rem;
    }
}
/* --- EVENTS PAGE SPECIFIC STYLES --- */

/* Featured Event (The Summit) */
.featured-event-wrapper {
    background-color: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

.featured-event-split {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem 0;
}

.event-tag {
    background-color: var(--text-primary);
    color: white;
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 1.5rem;
    border-radius: 2px;
}

.event-meta-large {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-weight: 500;
    display: flex;
    gap: 2rem;
}

.event-poster {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: var(--shadow-card);
}

/* Event Grid Layout */
.event-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.event-card {
    background: white;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-float);
}

.event-date-bar {
    background: #FAFAFA;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.event-date {
    font-weight: 700;
    color: var(--accent-orange);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.event-type {
    font-size: 0.75rem;
    color: #999;
    font-weight: 600;
    text-transform: uppercase;
    border: 1px solid #ddd;
    padding: 2px 6px;
    border-radius: 3px;
}

.event-content {
    padding: 2rem;
    flex-grow: 1;
}

.event-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

/* Speaker Mini-Profile */
.speaker-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f0f0f0;
}

.speaker-avi {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    background: #ddd;
}

.speaker-details {
    font-size: 0.85rem;
}

.speaker-name {
    display: block;
    font-weight: 700;
    color: var(--text-primary);
}

.speaker-role {
    display: block;
    color: var(--text-secondary);
}

@media (max-width: 1024px) {
    .featured-event-split, .event-grid {
        grid-template-columns: 1fr;
    }
    .event-poster {
        height: 250px;
        order: -1; /* Image on top for mobile */
    }
}
/* --- DIRECTORY PAGE SPECIFIC STYLES --- */

/* Search & Filter Bar */
.directory-toolbar {
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
    padding: 2rem 0;
}

.search-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 0.5fr;
    gap: 1rem;
    max-width: 1000px;
    margin: 0 auto;
}

.search-input {
    padding: 0.8rem 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
}

/* Directory Grid */
.directory-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.company-card {
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
}

.company-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
    border-color: var(--accent-orange);
}

/* The "Certified" Badge on the card */
.card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: var(--accent-orange); /* Placeholder for SVG badge */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.6rem;
    font-weight: 800;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.company-logo-area {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.company-card:hover .company-logo-area {
    filter: grayscale(0%);
    opacity: 1;
}

.company-name {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    display: block;
}

.cert-year {
    font-size: 0.85rem;
    color: var(--text-secondary);
    background: #f5f5f5;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 1rem;
}

.company-blurb {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Verification Tool Section */
.verify-section {
    background-color: var(--text-primary);
    color: white;
    text-align: center;
    padding: 4rem 0;
    margin-top: 4rem;
}

.verify-input {
    padding: 1rem;
    width: 300px;
    border: none;
    border-radius: 4px;
    margin-right: 1rem;
}

@media (max-width: 1024px) {
    .search-grid {
        grid-template-columns: 1fr;
    }
    .directory-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .directory-grid {
        grid-template-columns: 1fr;
    }
    .verify-input {
        width: 100%;
        margin-bottom: 1rem;
    }
}
/* --- LOGIN PAGE SPECIFIC STYLES --- */

/* Full Screen Split Layout */
.login-body {
    height: 100vh;
    overflow: hidden; /* Lock scroll for app feel */
    display: grid;
    grid-template-columns: 1fr 1.2fr;
}

/* Left Side (Visual/Marketing) */
.login-left {
    background-color: var(--text-primary);
    color: white;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

/* Decorative Circle to break up the dark background */
.login-left::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,128,0,0.2) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
}

.login-feature-pill {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

/* Right Side (Form) */
.login-right {
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.login-container {
    width: 100%;
    max-width: 400px;
}

/* SSO Buttons */
.sso-btn {
    width: 100%;
    background: white;
    border: 1px solid #ccc;
    color: var(--text-primary);
    padding: 0.8rem;
    border-radius: 4px;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.sso-btn:hover {
    background: #f9f9f9;
}

.sso-icon {
    width: 18px;
    height: 18px;
}

.divider-text {
    text-align: center;
    margin: 1.5rem 0;
    font-size: 0.85rem;
    color: #999;
    position: relative;
}

.divider-text::before, .divider-text::after {
    content: '';
    display: block;
    height: 1px;
    background: #eee;
    position: absolute;
    top: 50%;
    width: 40%;
}

.divider-text::before { left: 0; }
.divider-text::after { right: 0; }

.login-footer {
    position: absolute;
    bottom: 2rem;
    text-align: center;
    width: 100%;
    max-width: 400px;
    font-size: 0.8rem;
    color: #999;
}

@media (max-width: 900px) {
    .login-body {
        grid-template-columns: 1fr;
        height: auto;
        overflow: auto;
    }
    .login-left {
        display: none; /* Hide visual on mobile */
    }
    .login-right {
        height: 100vh;
    }
}