/* Custom CSS for SageInsure Website */

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

body {
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    scroll-behavior: smooth;
}

/* Navigation Styles */
.nav-link {
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #1E88E5;
    background-color: #F3F4F6;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 100%);
    background-image: url('./search_images/TmTQPhiZ81N3.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-overlay {
    background: rgba(255, 255, 255, 0.85);
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

/* Button Styles */
.btn-primary {
    background: linear-gradient(135deg, #1E88E5 0%, #1565C0 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(30, 136, 229, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #1E88E5;
    padding: 1rem 2rem;
    border: 2px solid #1E88E5;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-secondary:hover {
    background: #1E88E5;
    color: white;
    transform: translateY(-2px);
}

/* Section Styles */
.section-padding {
    padding: 5rem 0;
}

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

.section-subtitle {
    font-size: 1.25rem;
    color: #005F73;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Challenge Items */
.challenge-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.challenge-icon {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.challenge-icon i {
    font-size: 1.5rem;
    color: #1E88E5;
}

.challenge-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #005F73;
    margin-bottom: 0.5rem;
}

.challenge-description {
    color: #4B5563;
    line-height: 1.6;
}

/* Feature Items */
.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 1.25rem;
    color: #1E88E5;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #005F73;
    margin-bottom: 0.5rem;
}

.feature-description {
    color: #4B5563;
    line-height: 1.5;
}

/* Team Styles */
.team-member-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.team-member-card:hover {
    transform: translateY(-5px);
}

.team-photo {
    width: 8rem;
    height: 8rem;
    border-radius: 1rem;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    display: block;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.team-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: #0B3D91;
    margin-bottom: 0.5rem;
    text-align: center;
}

.team-title {
    font-size: 1rem;
    font-weight: 600;
    color: #005F73;
    margin-bottom: 1rem;
    text-align: center;
}

.team-bio {
    color: #4B5563;
    line-height: 1.6;
    margin-bottom: 1rem;
    text-align: center;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #1E88E5;
    text-decoration: none;
    font-weight: 500;
    justify-content: center;
    width: 100%;
}

.social-link:hover {
    color: #1565C0;
}

/* Fund Items */
.fund-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.fund-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.fund-icon i {
    font-size: 1.25rem;
    color: #1E88E5;
}

.fund-title {
    font-size: 1.125rem;
    font-weight: bold;
    color: #005F73;
    margin-bottom: 0.5rem;
}

.fund-description {
    color: #4B5563;
    line-height: 1.5;
}

/* Step Items */
.step-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.step-number {
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(135deg, #1E88E5 0%, #1565C0 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.step-title {
    font-size: 1.125rem;
    font-weight: bold;
    color: #005F73;
    margin-bottom: 0.5rem;
}

.step-description {
    color: #4B5563;
    line-height: 1.5;
}

/* Contact Items */
.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.125rem;
}

.contact-item i {
    width: 1.5rem;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section p {
        font-size: 1.125rem;
    }
    
    .section-padding {
        padding: 3rem 0;
    }
    
    .team-member-card {
        padding: 1.5rem;
    }
    
    .challenge-item,
    .feature-item,
    .fund-item,
    .step-item {
        flex-direction: column;
        text-align: center;
    }
    
    .challenge-icon,
    .feature-icon,
    .fund-icon {
        margin: 0 auto 1rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Chart Container Styles */
canvas {
    max-width: 100%;
    height: auto;
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(30, 136, 229, 0.3);
    border-radius: 50%;
    border-top-color: #1E88E5;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Utility classes */
.text-gradient {
    background: linear-gradient(135deg, #1E88E5 0%, #005F73 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-custom {
    box-shadow: 0 10px 25px rgba(30, 136, 229, 0.1);
}

.border-gradient {
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, #1E88E5, #005F73) border-box;
}

