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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* Header styles */
header {
    background-color: #0a2a4d;
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo {
    height: 60px;
    margin-right: 15px;
}

header h1 {
    font-size: 1.8rem;
    display: flex;
    align-items: center;
}

.highlight {
    color: #d4af37;
    margin-left: 8px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #d4af37;
}

/* Main sections */
main {
    min-height: calc(100vh - 140px);
}

section {
    padding: 60px 0;
}

/* Hero section */
.hero {
    background: linear-gradient(135deg, #0a2a4d 0%, #1c5a8a 100%);
    color: white;
    text-align: center;
    padding: 100px 0;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background-color: #d4af37;
    color: #0a2a4d;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s;
    border: 2px solid #d4af37;
}

.cta-button:hover {
    background-color: #0a2a4d;
    color: #d4af37;
}

/* About section */
.about {
    background-color: white;
}

.about h2, .services h2, .testimonials h2, .stock-ticker h2, .contact h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #0a2a4d;
    font-size: 2rem;
}

.about p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.team {
    margin-top: 40px;
}

.team h3 {
    text-align: center;
    margin-bottom: 30px;
    color: #0a2a4d;
}

.team-members {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.team-member {
    text-align: center;
    max-width: 250px;
}

.team-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #d4af37;
    margin-bottom: 15px;
}

/* Services section */
.services {
    background-color: #f0f4f8;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
    color: #0a2a4d;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

/* Testimonials */
.testimonials {
    background-color: white;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial {
    background: #f0f4f8;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #d4af37;
}

.testimonial p:first-child {
    font-style: italic;
    margin-bottom: 15px;
}

.author {
    font-weight: bold;
    color: #0a2a4d;
    text-align: right;
}

/* Stock ticker */
.stock-ticker {
    background-color: #0a2a4d;
    color: white;
}

.stock-ticker h2 {
    color: white;
}

.stock-info {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.stock-price h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.up {
    color: #4caf50;
    font-weight: bold;
}

.down {
    color: #f44336;
    font-weight: bold;
}

.stock-chart {
    background: white;
    color: #0a2a4d;
    padding: 20px;
    border-radius: 4px;
    margin: 20px 0;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stock-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
    text-align: left;
}

.stock-details p {
    margin: 5px 0;
}

/* Contact section */
.contact {
    background-color: #f0f4f8;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-detail h3 {
    color: #0a2a4d;
    margin-bottom: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.contact-form textarea {
    height: 150px;
}

/* Stock page specific styles */
.stock-hero {
    background: linear-gradient(135deg, #0a2a4d 0%, #1c5a8a 100%);
    color: white;
    padding: 60px 0;
}

.stock-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.stock-main {
    flex: 1;
    min-width: 300px;
}

.stock-main h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
}

.price-change {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.stock-meta {
    flex: 1;
    min-width: 300px;
    text-align: right;
}

.stock-meta p {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.stock-analysis {
    background-color: white;
    padding: 40px 0;
}

.analysis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.analysis-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.analysis-card h3 {
    color: #0a2a4d;
    margin-bottom: 15px;
    border-bottom: 2px solid #d4af37;
    padding-bottom: 10px;
}

.analysis-card ul {
    margin-top: 15px;
}

.analysis-card li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.analysis-card li:before {
    content: "•";
    color: #d4af37;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.chart-section {
    margin: 50px 0;
    text-align: center;
}

.chart-placeholder {
    background: #f0f4f8;
    padding: 40px;
    border-radius: 8px;
    border: 2px dashed #ccc;
    margin-top: 20px;
}

.fundamentals {
    margin-top: 50px;
}

.fundamentals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.fundamental {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.fundamental h4 {
    color: #0a2a4d;
    margin-bottom: 10px;
}

.fundamental p {
    font-size: 1.3rem;
    font-weight: bold;
    color: #d4af37;
}

.performance-table {
    margin: 50px 0;
    text-align: center;
}

.performance-table table {
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.performance-table th,
.performance-table td {
    padding: 12px;
    border: 1px solid #ddd;
}

.performance-table th {
    background-color: #0a2a4d;
    color: white;
}

.up {
    color: #4caf50;
    font-weight: bold;
}

.down {
    color: #f44336;
    font-weight: bold;
}

/* Footer */
footer {
    background-color: #0a2a4d;
    color: white;
    padding: 40px 0 20px;
}

.disclaimer {
    font-size: 0.8rem;
    margin-top: 20px;
    color: #aaa;
    font-style: italic;
}

footer .container {
    text-align: center;
}

/* Responsive design */
@media (max-width: 768px) {
    .logo-container {
        flex-direction: column;
        text-align: center;
    }
    
    nav ul {
        margin-top: 20px;
        justify-content: center;
    }
    
    nav ul li {
        margin: 0 10px;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .stock-header {
        flex-direction: column;
        text-align: center;
    }
    
    .stock-meta {
        text-align: center;
        margin-top: 20px;
    }
    
    .analysis-grid {
        grid-template-columns: 1fr;
    }
}