/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

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

/* Header and Navigation */
.header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background-image: url('../images/logo.jpeg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 4px;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    text-decoration: none;
}

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

.nav-menu a {
    color: #6b7280;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.2s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #1f2937;
}

.login-btn {
    background: #1f2937;
    color: white;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.login-btn:hover {
    background: #374151;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #1f2937;
    margin: 3px 0;
    transition: 0.3s;
}

/* Main content */
.main {
    min-height: calc(100vh - 80px);
}

.insights-section {
    padding: 4rem 0;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.insight-tile {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.insight-tile:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.insight-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.insight-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: #d1d5db;
    border-radius: 8px;
    opacity: 0.6;
}

.insight-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.insight-image img[src=""] {
    display: none;
}

/* Specific placeholder styles for different content types */
.insight-tile:nth-child(1) .insight-image {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
}

.insight-tile:nth-child(1) .insight-image::before {
    background: #3b82f6;
    border-radius: 50%;
}

.insight-tile:nth-child(2) .insight-image {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
}

.insight-tile:nth-child(2) .insight-image::before {
    background: #10b981;
    border-radius: 50%;
}

.insight-tile:nth-child(3) .insight-image {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.insight-tile:nth-child(3) .insight-image::before {
    background: #f59e0b;
    border-radius: 50%;
}

.insight-tile:nth-child(4) .insight-image {
    background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
}

.insight-tile:nth-child(4) .insight-image::before {
    background: #8b5cf6;
    border-radius: 50%;
}

.insight-tile:nth-child(5) .insight-image {
    background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%);
}

.insight-tile:nth-child(5) .insight-image::before {
    background: #ec4899;
    border-radius: 50%;
}

.insight-tile:nth-child(6) .insight-image {
    background: linear-gradient(135deg, #fef2f2 0%, #fecaca 100%);
}

.insight-tile:nth-child(6) .insight-image::before {
    background: #ef4444;
    border-radius: 50%;
}

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

.insight-content {
    padding: 1.5rem;
}

.insight-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.insight-content p {
    color: #6b7280;
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.insight-link {
    color: #1f2937;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.2s ease;
}

.insight-link:hover {
    color: #374151;
}

/* Contact section */
.contact-section {
    background: #f9fafb;
    padding: 4rem 0;
}

.contact-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-content h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.contact-content p {
    color: #6b7280;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.contact-form .form-group {
    display: flex;
    gap: 0.5rem;
    max-width: 400px;
    margin: 0 auto;
}

.contact-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 1rem;
}

.contact-form input:focus {
    outline: none;
    border-color: #1f2937;
}

.contact-form button {
    background: #1f2937;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.contact-form button:hover {
    background: #374151;
}

/* Footer */
.footer {
    background: #1f2937;
    color: #d1d5db;
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #d1d5db;
}

.footer-contact {
    font-size: 0.9rem;
    color: #9ca3af;
}

/* Responsive design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-container {
        padding: 1rem;
    }
    
    .insights-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-form .form-group {
        flex-direction: column;
    }
    
    .footer-content {
        text-align: center;
        flex-direction: column;
    }
    
    .insights-section {
        padding: 2rem 0;
    }
    
    .contact-section {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .logo a {
        font-size: 1.25rem;
    }
    
    .insight-content h3 {
        font-size: 1.1rem;
    }
    
    .contact-content h2 {
        font-size: 1.75rem;
    }
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(31, 41, 55, 0.8), rgba(31, 41, 55, 0.8)), url('../images/finance.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 8rem 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #e5e7eb;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Overview Section */
.overview-section {
    padding: 4rem 0;
    background: white;
}

.overview-content h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1.5rem;
    text-align: center;
}

.overview-content > p {
    font-size: 1.2rem;
    color: #6b7280;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

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

.feature-item {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.feature-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.feature-item p {
    color: #6b7280;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: #f9fafb;
    padding: 4rem 0;
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.cta-content p {
    color: #6b7280;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

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

.cta-btn {
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 1rem;
}

.cta-btn.primary {
    background: #1f2937;
    color: white;
}

.cta-btn.primary:hover {
    background: #374151;
}

.cta-btn.secondary {
    background: white;
    color: #1f2937;
    border: 2px solid #1f2937;
}

.cta-btn.secondary:hover {
    background: #1f2937;
    color: white;
}

/* Philosophy Page Styles */
.philosophy-section {
    padding: 4rem 0;
}

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

.philosophy-item {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.philosophy-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.philosophy-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.philosophy-item p {
    color: #6b7280;
    line-height: 1.6;
}

/* Strategies Page Styles */
.strategies-section {
    padding: 4rem 0;
}

.strategies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.strategy-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.strategy-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.strategy-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.strategy-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
}

.strategy-tag {
    background: #1f2937;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.strategy-card p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.strategy-features {
    list-style: none;
    padding: 0;
}

.strategy-features li {
    color: #6b7280;
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1rem;
}

.strategy-features li::before {
    content: '•';
    color: #1f2937;
    position: absolute;
    left: 0;
}

/* Team Page Styles */
.team-section {
    padding: 4rem 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.team-member {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.team-member:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.member-photo {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.member-photo::before {
    content: '';
    width: 60px;
    height: 60px;
    background: #9ca3af;
    border-radius: 50%;
}

.member-photo img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    position: absolute;
}

.member-photo img[src=""] {
    display: none;
}

.member-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.member-title {
    color: #6b7280;
    font-weight: 500;
    margin-bottom: 1rem;
}

.member-bio {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: left;
}

.member-credentials {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.member-credentials span {
    background: #f3f4f6;
    color: #1f2937;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Contact Page Styles */
.contact-detail-section {
    padding: 4rem 0;
}

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

.contact-info h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.contact-info p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-method h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.contact-method p {
    color: #6b7280;
    margin: 0;
}

.contact-form-container h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 2rem;
}

.detailed-contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 500;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1f2937;
}

.submit-btn {
    background: #1f2937;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    align-self: flex-start;
}

.submit-btn:hover {
    background: #374151;
}

/* Responsive design for new pages */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .philosophy-grid,
    .strategies-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .strategy-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* Animation for mobile menu (for future implementation) */
@media (max-width: 768px) {
    .nav-menu.active {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem 2rem;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        gap: 1rem;
    }
}