/* Momentum Wealth - Custom Styles */

:root {
    --navy-blue: #003366;
    --charcoal-gray: #4A4A4A;
    --trustworthy-green: #00857C;
    --light-gray: #F8F9FA;
    --white: #FFFFFF;
    --text-dark: #2C3E50;
    --text-muted: #6C757D;
}

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Smooth scrolling for better mobile experience */
html {
    scroll-behavior: smooth;
}

/* Navigation */
.navbar-brand {
    font-size: 1.5rem;
    color: var(--white) !important;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--white) !important;
    transition: color 0.3s ease;
    padding: 0.75rem 1rem;
    min-height: 44px;
    display: flex;
    align-items: center;
}

.navbar-nav .nav-link:hover {
    color: var(--trustworthy-green) !important;
}

.navbar-nav .nav-link.active {
    color: var(--trustworthy-green) !important;
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
    min-height: 44px;
    min-width: 44px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--navy-blue) 0%, var(--charcoal-gray) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-icon {
    font-size: 15rem;
    color: var(--trustworthy-green);
    opacity: 0.8;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Trust Indicators */
.trust-indicator {
    padding: 2rem 1rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.trust-indicator:hover {
    transform: translateY(-5px);
}

.trust-icon {
    font-size: 3rem;
    color: var(--trustworthy-green);
    margin-bottom: 1rem;
}

/* Service Cards */
.service-card {
    background: var(--white);
    border: 1px solid #E9ECEF;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--trustworthy-green);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--trustworthy-green), var(--navy-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2rem;
}

/* Feature List */
.feature-item {
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateX(10px);
}

.feature-icon {
    color: var(--trustworthy-green);
    font-size: 1.5rem;
    width: 30px;
    text-align: center;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.stat-item h3 {
    color: var(--trustworthy-green);
}

/* Buttons */
.btn-primary {
    background-color: var(--trustworthy-green);
    border-color: var(--trustworthy-green);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 25px;
    transition: all 0.3s ease;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary:hover {
    background-color: var(--navy-blue);
    border-color: var(--navy-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 133, 124, 0.3);
}

.btn-outline-primary {
    color: var(--trustworthy-green);
    border-color: var(--trustworthy-green);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 25px;
    transition: all 0.3s ease;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-outline-primary:hover {
    background-color: var(--trustworthy-green);
    border-color: var(--trustworthy-green);
    transform: translateY(-2px);
}

.btn-outline-light {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-outline-light:hover {
    transform: translateY(-2px);
}

.btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

/* Footer */
footer {
    background-color: var(--navy-blue) !important;
}

footer h5, footer h6 {
    color: var(--white) !important;
}

footer p, footer .text-muted {
    color: #B0B0B0 !important;
}

footer a {
    text-decoration: none;
    transition: color 0.3s ease;
    color: #B0B0B0 !important;
}

footer a:hover {
    color: var(--trustworthy-green) !important;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--charcoal-gray);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--trustworthy-green);
    transform: translateY(-3px);
}

/* Bottom Bar */
.bottom-bar {
    background-color: var(--charcoal-gray) !important;
    font-size: 0.9rem;
}

.bottom-bar p {
    color: var(--white) !important;
}

.bottom-bar a {
    color: var(--trustworthy-green) !important;
    font-weight: 600;
    text-decoration: none;
}

.bottom-bar a:hover {
    color: var(--trustworthy-green) !important;
    text-decoration: underline;
}

/* Compliance Logos */
.compliance-badge {
    display: inline-block;
    background: var(--trustworthy-green);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: 1px solid var(--trustworthy-green);
}

.compliance-badge:hover {
    background: transparent;
    color: var(--trustworthy-green);
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0, 133, 124, 0.3);
}

/* Utility Classes */
.text-primary {
    color: var(--trustworthy-green) !important;
}

.bg-primary {
    background-color: var(--trustworthy-green) !important;
}

.bg-light {
    background-color: var(--light-gray) !important;
}

/* Responsive Design */

/* Large Mobile and Small Tablets */
@media (max-width: 991px) {
    .navbar-nav {
        text-align: center;
        padding: 1rem 0;
    }
    
    .navbar-nav .nav-item {
        margin: 0.5rem 0;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
        font-size: 1.1rem;
    }
    
    .dropdown-menu {
        text-align: center;
        border: none;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        margin-top: 0.5rem;
    }
    
    .dropdown-item {
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }
    
    .hero-section {
        padding: 2rem 0;
        min-height: 80vh;
    }
    
    .hero-section .row {
        text-align: center;
    }
    
    .hero-icon {
        font-size: 10rem;
        margin-top: 2rem;
    }
    
    .display-4 {
        font-size: 2.8rem;
        line-height: 1.2;
    }
    
    .lead {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .d-flex.gap-3 {
        flex-direction: column;
        gap: 1rem !important;
        align-items: center;
    }
    
    .btn-lg {
        width: 100%;
        max-width: 300px;
        padding: 12px 24px;
        font-size: 1.1rem;
    }
    
    .trust-indicator {
        padding: 1.5rem 1rem;
        margin-bottom: 1rem;
    }
    
    .trust-icon {
        font-size: 2.5rem;
    }
    
    .service-card {
        margin-bottom: 2rem;
        padding: 1.5rem;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .feature-item {
        margin-bottom: 2rem;
    }
    
    .feature-item .d-flex {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-icon {
        margin-bottom: 1rem;
        margin-right: 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .stat-item h3 {
        font-size: 2.5rem;
    }
    
    .footer .row > div {
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .compliance-logos {
        text-align: center !important;
        margin-top: 1rem;
    }
    
    .compliance-badge {
        margin: 0.25rem;
        display: inline-block;
    }
}

/* Mobile Devices */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.3rem;
    }
    
    .hero-icon {
        font-size: 8rem;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    .trust-indicator {
        padding: 1.25rem 0.75rem;
    }
    
    .trust-icon {
        font-size: 2.2rem;
    }
    
    .service-card {
        padding: 1.25rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .stats-grid {
        padding: 1rem;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
    
    .btn-lg {
        padding: 12px 20px;
        font-size: 1rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

/* Small Mobile Devices */
@media (max-width: 576px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .hero-section {
        text-align: center;
        padding: 1.5rem 0;
        min-height: 70vh;
    }
    
    .hero-icon {
        font-size: 6rem;
        margin-top: 1.5rem;
    }
    
    .display-4 {
        font-size: 2rem;
        line-height: 1.1;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
    
    .lead {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .btn-lg {
        padding: 10px 18px;
        font-size: 0.95rem;
        width: 100%;
        max-width: 280px;
    }
    
    .trust-indicator {
        padding: 1rem 0.5rem;
    }
    
    .trust-icon {
        font-size: 2rem;
    }
    
    .trust-indicator h5 {
        font-size: 1.1rem;
    }
    
    .trust-indicator p {
        font-size: 0.9rem;
    }
    
    .service-card {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .service-card h5 {
        font-size: 1.1rem;
    }
    
    .service-card p {
        font-size: 0.9rem;
    }
    
    .feature-item h5 {
        font-size: 1.1rem;
    }
    
    .feature-item p {
        font-size: 0.9rem;
    }
    
    .stats-grid {
        padding: 0.75rem;
        gap: 1rem;
    }
    
    .stat-item h3 {
        font-size: 1.75rem;
    }
    
    .stat-item p {
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .footer h5, .footer h6 {
        font-size: 1.1rem;
    }
    
    .footer p, .footer .text-muted {
        font-size: 0.9rem;
    }
    
    .compliance-badge {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
    }
    
    .bottom-bar {
        font-size: 0.8rem;
    }
}

/* Extra Small Mobile Devices */
@media (max-width: 375px) {
    .hero-icon {
        font-size: 5rem;
    }
    
    .display-4 {
        font-size: 1.75rem;
    }
    
    .display-5 {
        font-size: 1.5rem;
    }
    
    .btn-lg {
        padding: 8px 16px;
        font-size: 0.9rem;
        max-width: 250px;
    }
    
    .trust-icon {
        font-size: 1.8rem;
    }
    
    .service-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .stat-item h3 {
        font-size: 1.5rem;
    }
    
    .compliance-badge {
        font-size: 0.65rem;
        padding: 0.3rem 0.6rem;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-in-left {
    animation: slideInLeft 1s ease-out;
}

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

.slide-in-right {
    animation: slideInRight 1s ease-out;
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Service Page Styles */
.service-large-icon {
    font-size: 12rem;
    color: var(--trustworthy-green);
    opacity: 0.8;
}

.process-steps {
    position: relative;
}

.process-step {
    position: relative;
    padding: 2rem 1rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--trustworthy-green), var(--navy-blue));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
    box-shadow: 0 5px 15px rgba(0, 133, 124, 0.3);
}

.process-step h5 {
    color: var(--navy-blue);
    margin-bottom: 1rem;
}

.philosophy-item {
    padding: 2rem 1rem;
    transition: transform 0.3s ease;
}

.philosophy-item:hover {
    transform: translateY(-5px);
}

.philosophy-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--trustworthy-green), var(--navy-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2rem;
}

/* Team Page Styles */
.team-card {
    background: var(--white);
    border: 1px solid #E9ECEF;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--trustworthy-green);
}

.team-photo {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--trustworthy-green), var(--navy-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 4rem;
}

.team-info h4 {
    color: var(--navy-blue);
    margin-bottom: 0.5rem;
}

.credentials {
    margin-top: 1rem;
}

.credentials .badge {
    font-size: 0.8rem;
    padding: 0.5rem 0.75rem;
}

.value-item {
    padding: 2rem 1rem;
    transition: transform 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--trustworthy-green), var(--navy-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2rem;
}

/* Client Resources Styles */
.portal-features .feature-item {
    display: flex;
    align-items: center;
    font-weight: 500;
}

.portal-preview .card {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: none;
}

.calculator-card, .resource-card {
    background: var(--white);
    border: 1px solid #E9ECEF;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.calculator-card:hover, .resource-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--trustworthy-green);
}

.calculator-icon, .resource-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--trustworthy-green), var(--navy-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2rem;
}

/* Blog Page Styles */
.featured-article {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
}

.article-image {
    height: 200px;
    background: linear-gradient(135deg, var(--navy-blue), var(--trustworthy-green));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 4rem;
}

.article-content {
    padding: 2rem;
}

.article-meta {
    margin-bottom: 1rem;
}

.article-title {
    color: var(--navy-blue);
    margin-bottom: 1rem;
}

.article-excerpt {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.blog-card {
    background: var(--white);
    border: 1px solid #E9ECEF;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--trustworthy-green);
}

.blog-image {
    height: 150px;
    background: linear-gradient(135deg, var(--trustworthy-green), var(--navy-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2.5rem;
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    margin-bottom: 1rem;
}

.blog-title {
    color: var(--navy-blue);
    margin-bottom: 1rem;
}

.blog-excerpt {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.newsletter-signup {
    background: var(--white);
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Contact Page Styles */
.contact-form-section {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contact-info-section {
    background: var(--light-gray);
    border-radius: 15px;
    padding: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--trustworthy-green), var(--navy-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-details h5 {
    color: var(--navy-blue);
    margin-bottom: 0.5rem;
}

.social-link {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--charcoal-gray);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--trustworthy-green);
    transform: translateY(-3px);
    color: var(--white);
}

.map-placeholder {
    background: linear-gradient(135deg, var(--navy-blue), var(--charcoal-gray));
    border-radius: 15px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.map-content {
    text-align: center;
}

.map-content i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.map-content h4 {
    margin-bottom: 1rem;
}

/* Approach Card Styles */
.approach-card {
    background: var(--white);
    border: 1px solid #E9ECEF;
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.approach-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--trustworthy-green);
}

.approach-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--trustworthy-green), var(--navy-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--white);
    font-size: 2rem;
}

.approach-card h4 {
    color: var(--navy-blue);
    margin-bottom: 1rem;
}

.risk-factors .risk-item {
    display: flex;
    align-items: flex-start;
    font-weight: 500;
}

.risk-factors .risk-item i {
    margin-top: 0.2rem;
    flex-shrink: 0;
}

/* Print Styles */
@media print {
    .navbar, .bottom-bar, .btn {
        display: none !important;
    }
    
    .hero-section {
        background: none !important;
        color: var(--text-dark) !important;
    }
    
    .hero-icon {
        display: none;
    }
}
