/* Convergent Advisors - Main Stylesheet */

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

body {
    font-family: 'Arial', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

/* Header Styles */
.header {
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #1a365d;
}

.logo-icon {
    height: 40px;
    width: auto;
    margin-right: 15px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a365d;
    display: block;
}

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

.nav li a {
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.nav li a:hover,
.nav li a.active {
    color: #1a365d;
    border-bottom-color: #2c5282;
}

/* Hero Banner Styles */
.hero-banner {
    position: relative;
    height: 100vh;
    overflow: hidden;
    margin-top: 80px;
}

.banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.banner-image.active {
    opacity: 1;
}

.banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.8) 0%, rgba(44, 82, 130, 0.6) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.banner-content {
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 2rem;
}

.banner-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.banner-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    font-weight: 300;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #2c5282 0%, #1a365d 100%);
    color: white;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(44, 82, 130, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 82, 130, 0.4);
}

/* Main Content Styles */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.section {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #4a5568;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 300;
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2c5282 0%, #1a365d 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.service-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1a365d;
    margin-bottom: 1rem;
}

.service-description {
    color: #4a5568;
    line-height: 1.7;
}

/* Mission Section */
.mission-section {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    padding: 4rem 2rem;
    border-radius: 20px;
    text-align: center;
}

.mission-title {
    font-size: 2rem;
    font-weight: 600;
    color: #1a365d;
    margin-bottom: 1.5rem;
}

.mission-text {
    font-size: 1.1rem;
    color: #4a5568;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Footer Styles */
.footer {
    background: #1a365d;
    color: white;
    padding: 3rem 0 2rem;
}

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

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #e2e8f0;
}

.footer-section p,
.footer-section a {
    color: #a0aec0;
    text-decoration: none;
    line-height: 1.6;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid #2d3748;
    color: #a0aec0;
}

/* Contact Page Styles */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.contact-info {
    padding: 2rem 0;
}

.contact-section-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1a365d;
    margin-bottom: 1.5rem;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f7fafc;
    border-radius: 8px;
    border-left: 4px solid #2c5282;
}

.contact-icon {
    color: #2c5282;
    font-size: 1.2rem;
    margin-right: 1rem;
    margin-top: 0.2rem;
    width: 20px;
}

.contact-text {
    flex: 1;
}

.contact-text strong {
    color: #1a365d;
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-text span,
.contact-text a {
    color: #4a5568;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-text a:hover {
    color: #2c5282;
}

.contact-benefits {
    display: grid;
    gap: 0.8rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    color: #4a5568;
    font-weight: 500;
}

.contact-form-container {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
}

.contact-form {
    width: 100%;
}

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

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #1a365d;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    background-color: white;
    color: #4a5568;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #2c5282;
    box-shadow: 0 0 0 3px rgba(44, 82, 130, 0.1);
}

.form-control::placeholder {
    color: #a0aec0;
}

select.form-control {
    cursor: pointer;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    width: 100%;
    margin-top: 1rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.form-status {
    padding: 1rem;
    border-radius: 6px;
    margin-top: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-status.success {
    background-color: rgba(72, 187, 120, 0.1);
    color: #38a169;
    border: 1px solid rgba(72, 187, 120, 0.2);
}

.form-status.error {
    background-color: rgba(245, 101, 101, 0.1);
    color: #e53e3e;
    border: 1px solid rgba(245, 101, 101, 0.2);
}

.form-status.loading {
    background-color: rgba(66, 153, 225, 0.1);
    color: #3182ce;
    border: 1px solid rgba(66, 153, 225, 0.2);
}

/* Contact page responsive design */
@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .contact-item {
        padding: 0.8rem;
    }
}
.text-center {
    text-align: center;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mt-4 {
    margin-top: 2rem;
}

/* Page-specific styles */
.page-header {
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    color: white;
    padding: 8rem 2rem 4rem;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.page-header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.page-header-text {
    z-index: 2;
    position: relative;
}

.page-header-image {
    position: relative;
    z-index: 1;
}

.page-header-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
    }

    .nav {
        gap: 1rem;
    }

    .banner-title {
        font-size: 2.5rem;
    }

    .banner-subtitle {
        font-size: 1.1rem;
    }

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

    .page-title {
        font-size: 2.5rem;
    }

    .page-header-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .page-header-image {
        order: -1;
    }

    .page-header-image img {
        height: 250px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .main-content {
        padding: 2rem 1rem;
    }
}