/* Global Styles */
:root {
    --primary-color: #4A90E2;
    --primary-light: #6BA3E8;
    --primary-dark: #357ABD;
    --secondary-color: #E8F4F8;
    --text-dark: #2C3E50;
    --text-light: #5A6C7D;
    --white: #FFFFFF;
    --gray-light: #F5F7FA;
    --gray-border: #E1E8ED;
    --shadow: 0 2px 8px rgba(74, 144, 226, 0.1);
    --shadow-lg: 0 10px 40px rgba(74, 144, 226, 0.15);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

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

/* Header & Navigation */
header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

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

.logo-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--white) 100%);
    padding: 80px 0;
    text-align: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.highlight-blue {
    color: var(--primary-color);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Modern Hero with Background Blocks */
.hero-modern {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
    padding: 140px 0 100px;
}

.hero-background-blocks {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.block {
    position: absolute;
    opacity: 0.15;
}

.block-1 {
    width: 250px;
    height: 250px;
    background: var(--primary-color);
    transform: rotate(25deg);
    top: -80px;
    right: 10%;
}

.block-2 {
    width: 200px;
    height: 200px;
    background: var(--primary-color);
    transform: rotate(45deg);
    bottom: 20%;
    left: 5%;
}

.block-3 {
    width: 180px;
    height: 180px;
    background: var(--primary-color);
    transform: rotate(-15deg);
    top: 40%;
    right: 15%;
}

.hero-modern .container {
    position: relative;
    z-index: 1;
}

.hero-modern .hero-content {
    color: var(--text-dark);
}

.hero-title-modern {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title-modern .line {
    display: block;
    font-weight: 700;
}

.line-strategic {
    color: var(--text-dark);
    font-size: 3.5rem;
}

.line-partnerships {
    color: #1e3a5f;
    font-size: 4rem;
    margin: 0.2rem 0;
}

.line-redefined {
    color: var(--primary-color);
    font-size: 3.5rem;
}

.hero-modern .hero-subtitle {
    color: var(--text-light);
    opacity: 1;
}

.btn {
    padding: 12px 32px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: var(--white);
}

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

.feature-card {
    padding: 2rem;
    background-color: var(--gray-light);
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background-color: var(--white);
}

.feature-icon {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Content Sections */
.content-section {
    padding: 80px 0;
}

.content-section.alt {
    background-color: var(--gray-light);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.content-wrapper p {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.content-wrapper h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin: 2rem 0 1rem;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

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

.card h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Center aligned cards for 5-item grid */
.cards-grid:has(.card-center) {
    grid-template-columns: repeat(6, 1fr);
}

.cards-grid:has(.card-center) .card {
    grid-column: span 2;
}

.cards-grid:has(.card-center) .card-center:nth-child(4) {
    grid-column: 2 / 4;
}

.cards-grid:has(.card-center) .card-center:nth-child(5) {
    grid-column: 4 / 6;
}

@media (max-width: 768px) {
    .cards-grid:has(.card-center) {
        grid-template-columns: 1fr;
    }
    
    .cards-grid:has(.card-center) .card {
        grid-column: span 1;
    }
    
    .cards-grid:has(.card-center) .card-center:nth-child(4),
    .cards-grid:has(.card-center) .card-center:nth-child(5) {
        grid-column: span 1;
    }
}

/* Team Members */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.team-member {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.team-photo {
    width: 180px;
    height: 180px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary-color);
    box-shadow: var(--shadow);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h3 {
    font-size: 1.75rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.linkedin-icon {
    display: inline-flex;
    align-items: center;
    color: #0077B5;
    transition: all 0.3s ease;
}

.linkedin-icon:hover {
    color: #006399;
    transform: scale(1.1);
}

.team-member h4 {
    font-size: 1.125rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-contact {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--gray-border);
}

.team-contact p {
    margin: 0.25rem 0;
}

.team-contact a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.team-contact a:hover {
    color: var(--primary-color);
}

.linkedin-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background-color: #0077B5;
    color: var(--white);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.linkedin-btn:hover {
    background-color: #006399;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 119, 181, 0.3);
}

.linkedin-btn svg {
    flex-shrink: 0;
}

.team-bio {
    color: var(--text-light);
    line-height: 1.8;
    text-align: left;
    font-size: 0.95rem;
    list-style: none;
    padding: 0;
}

.team-bio li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.team-bio li:before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
    position: absolute;
    left: 0;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--gray-border);
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* Footer */
footer {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--primary-light);
}

.footer-section p {
    color: var(--gray-light);
    line-height: 1.6;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--gray-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-light);
}

.social-links {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--gray-light);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.social-links svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: var(--gray-light);
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: var(--shadow);
        display: none;
    }

    .nav-menu.active {
        display: flex;
    }

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

    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-title-modern {
        font-size: 2.5rem;
    }
    
    .line-strategic,
    .line-redefined {
        font-size: 2rem;
    }
    
    .line-partnerships {
        font-size: 2.5rem;
    }
    
    .block-1 {
        width: 180px;
        height: 180px;
    }
    
    .block-2 {
        width: 140px;
        height: 140px;
    }
    
    .block-3 {
        width: 120px;
        height: 120px;
    }

    .section-title {
        font-size: 2rem;
    }

    .features-grid,
    .cards-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .logo-text {
        display: none;
    }
    
    .team-member {
        padding: 2rem 1.5rem;
    }
    
    .team-photo {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 40px 0;
    }

    .content-section {
        padding: 40px 0;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .btn {
        padding: 10px 24px;
        font-size: 0.875rem;
    }
}

/* News Page Styles */
.news-section {
    padding: 60px 0;
    background-color: var(--gray-light);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.news-article {
    background-color: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid var(--primary-color);
}

.news-article:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.news-date {
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.news-headline {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.3;
    font-weight: 600;
}

.news-overview {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 1rem;
}

.news-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-link:hover {
    color: var(--primary-dark);
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .news-article {
        padding: 25px;
    }

    .news-headline {
        font-size: 1.25rem;
    }
}

/* Portfolio Companies */
.portfolio-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.portfolio-item {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 300px;
    min-height: 200px;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.portfolio-item img {
    max-width: 100%;
    max-height: 120px;
    object-fit: contain;
}

/* Investment Criteria - Timeline Style */
.criteria-timeline {
    max-width: 900px;
    margin: 3rem auto 0;
}

.criteria-item {
    margin-bottom: 2rem;
}

.criteria-item:last-child {
    margin-bottom: 0;
}

.criteria-content {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.criteria-content:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.criteria-content h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.criteria-content p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1rem;
    margin: 0;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: var(--white);
    margin: auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    position: relative;
    animation: slideIn 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 15px;
    color: var(--text-light);
    font-size: 32px;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 1;
}

.modal-close:hover {
    color: var(--text-dark);
}

.modal-body {
    padding: 2.5rem;
}

.modal-logo {
    max-width: 200px;
    max-height: 100px;
    object-fit: contain;
    margin-bottom: 1.5rem;
}

.modal-name {
    font-size: 1.75rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.modal-website {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    margin-bottom: 1.5rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.modal-website:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.modal-description {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }

    .modal-content {
        width: 95%;
        margin: 20px;
    }

    .modal-body {
        padding: 2rem 1.5rem;
    }

    .modal-name {
        font-size: 1.5rem;
    }

    .criteria-item {
        margin-bottom: 1.5rem;
    }

    .criteria-content {
        padding: 1.5rem;
    }

    .criteria-content:hover {
        transform: translateX(0);
    }

    .pdf-modal-content {
        width: 95%;
        height: 90vh;
    }

    .pdf-container {
        height: calc(90vh - 60px);
    }
}

/* PDF Modal Styles */
.pdf-modal-content {
    width: 90%;
    max-width: 1200px;
    height: 85vh;
    padding: 0;
    overflow: hidden;
}

.pdf-container {
    width: 100%;
    height: calc(85vh - 50px);
    margin-top: 50px;
}

.pdf-container iframe {
    width: 100%;
    height: 100%;
}
