/* 3E Partners Shared Styles - Clean Minimal Design */
:root {
    --primary-color: #0055a4;
    --secondary-color: #00a389;
    --accent-color: #1B8CCB;
    --text-color: #404142;
    --light-text: #666;
    --lighter-text: #999;
    --border-color: #e5e7eb;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    background-color: #f8f9fa;
}

/* Enhanced Side fill panels */
body::before,
body::after {
    content: '';
    position: fixed;
    top: 0;
    bottom: 0;
    width: calc((100vw - 1200px) / 4);
    min-width: 30px;
    max-width: 150px;
    z-index: 5;
    transition: all 0.3s ease;
}

body::before {
    left: 0;
    background-color: #f8f9fa;
    box-shadow: inset -8px 0 16px rgba(0, 0, 0, 0.02);
}

body::after {
    right: 0;
    background-color: #f8f9fa;
    box-shadow: inset 8px 0 16px rgba(0, 0, 0, 0.02);
}

/* Responsive adjustments */
@media (max-width: 1300px) {
    body::before,
    body::after {
        width: 40px;
        opacity: 0.8;
    }
}

@media (max-width: 768px) {
    body::before,
    body::after {
        display: none;
    }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: 16px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s ease;
}

.nav-links a:not([style]):hover {
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        gap: 16px;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
}

/* Page Container */
.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 20px 60px;
    position: relative;
    z-index: 10;
    background: white;
    min-height: calc(100vh - 200px);
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

.page-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.page-subtitle {
    font-size: 18px;
    color: var(--light-text);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Content Sections */
.content-section {
    margin-bottom: 60px;
}

.section-title {
    font-size: 32px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 30px;
    letter-spacing: -0.01em;
}

.section-subtitle {
    font-size: 16px;
    color: var(--light-text);
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 0;
    padding: 40px 30px;
    transition: all 0.3s ease;
    position: relative;
}

.card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-light);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.card-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.card-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 15px;
}

.card-description {
    font-size: 15px;
    color: var(--light-text);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border: none;
    border-radius: 0;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: #003d7a;
    color: white;
    text-decoration: none;
    transform: translateX(2px);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    text-decoration: none;
}

/* List Styles */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.feature-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 15px;
    color: var(--text-color);
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 0;
    flex-shrink: 0;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border: 1px solid var(--border-color);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 14px;
    color: var(--light-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* CTA Section */
.cta-section {
    background: var(--primary-color);
    color: white;
    padding: 60px 40px;
    text-align: center;
    margin: 60px 0;
}

.cta-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 20px;
}

.cta-description {
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer Styles */
.footer {
    background: linear-gradient(180deg, #0a1628 0%, #040b1a 100%);
    position: relative;
    color: #ffffff;
    padding: 0;
    border-top: none;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #1B8CCB 20%, 
        #0055a4 50%, 
        #1B8CCB 80%, 
        transparent 100%
    );
}

.footer-newsletter {
    background: linear-gradient(180deg, rgba(27, 140, 203, 0.08) 0%, rgba(0, 85, 164, 0.05) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 50px 0;
    position: relative;
}

.newsletter-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.newsletter-content h3 {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #ffffff;
    letter-spacing: -0.5px;
    position: relative;
    padding-bottom: 15px;
}

.newsletter-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #1B8CCB;
}

.newsletter-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 500px;
    margin-left: auto;
}

.newsletter-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 14px 18px;
    border-radius: 0;
    font-size: 15px;
    transition: all 0.3s ease;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 0 3px rgba(27, 140, 203, 0.1);
}

.newsletter-btn {
    background: #1B8CCB;
    color: white;
    padding: 14px 28px;
    border: none;
    border-radius: 0;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.newsletter-btn:hover {
    background: #0055a4;
    transform: translateX(2px);
}

.footer-main {
    padding: 60px 0 40px;
    position: relative;
    background: rgba(0, 0, 0, 0.2);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 40px;
    position: relative;
}

.footer-company {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    padding-right: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.footer-logo img {
    height: 45px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.footer-tagline {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 300px;
}

.footer-column h3 {
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    padding-bottom: 15px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
}

.footer-column h3::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 25px;
    height: 1px;
    background: #1B8CCB;
    z-index: 1;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-weight: 400;
    font-size: 14px;
    transition: all 0.2s ease;
    line-height: 1.5;
    position: relative;
    display: inline-block;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #1B8CCB;
    transition: width 0.2s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.4);
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.footer-bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-legal p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    margin: 0;
}

.footer-legal-links {
    display: flex;
    gap: 24px;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.footer-legal-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #1B8CCB;
    transition: width 0.3s ease;
}

.footer-legal-links a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.footer-legal-links a:hover::after {
    width: 100%;
}

.footer-social {
    display: flex;
    gap: 10px;
    align-items: center;
}

.social-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    transition: all 0.2s ease;
    font-size: 14px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(27, 140, 203, 0.1);
    transition: width 0.3s ease;
    z-index: -1;
}

.social-icon:hover {
    color: #1B8CCB;
    border-color: rgba(27, 140, 203, 0.3);
}

.social-icon:hover::before {
    width: 100%;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 40px;
    }

    .newsletter-container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .newsletter-form {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .page-container {
        padding: 100px 15px 40px;
    }
    
    .page-title {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-company {
        align-items: center;
        padding-right: 0;
    }

    .footer-tagline {
        text-align: center;
    }

    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal {
        flex-direction: column;
        gap: 15px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-btn {
        width: 100%;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 14px;
}

::-webkit-scrollbar-track {
    background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.2);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #cbd5e1 0%, #94a3b8 100%);
    border-radius: 12px;
    border: 2px solid #f1f5f9;
    box-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
    border: 2px solid #dbeafe;
    box-shadow: 
        0 2px 8px rgba(59, 130, 246, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transform: scale(1.02);
}
