/* Reset and base styles */
body {
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    /* font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; */
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ==== HEADER & NAVIGATION ==== */
.navbar {
    background-color: white !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
    padding: 0;
}

.logo-placeholder {
    font-weight: 700;
    font-size: 1.5rem;
    color: #417690;
}

.nav-link {
    color: #333 !important;
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem 1rem !important;
}

.nav-link:hover {
    color: #4A41FF !important;
}

/* Button styles - works with both Bootstrap and custom buttons */
.btn-primary, .signup-btn {
    background-color: #417690 !important;
    border-color: #417690 !important;
    color: white !important;
    transition: all 0.3s;
}

.btn-primary:hover, .signup-btn:hover {
    background-color: #35617a !important;
    border-color: #35617a !important;
}

.btn-outline, .login-btn {
    color: #417690 !important;
    border: 2px solid #417690 !important;
    background: transparent !important;
    transition: all 0.3s;
}

.btn-outline:hover, .login-btn:hover {
    background-color: rgba(65, 118, 144, 0.1) !important;
}

.hero-cta .btn {
    padding: 12px 24px;
    font-weight: 600;
    border-radius: 6px;
}

/* ==== HERO SECTION ==== */
.hero {
    padding: 140px 0 100px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ef 100%);
    min-height: 100vh;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.hero-content {
    flex: 1;
}

.hero-image {
    flex: 0.6;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(74, 65, 255, 0.15);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #222;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #555;
    max-width: 600px;
}

.hero-cta {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

/* ==== SECTIONS ==== */
.section {
    padding: 60px 0;
}

.section-title {
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    font-weight: 600;
    color: #333;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60%;
    height: 3px;
    background: #417690;
}

/* ==== FEATURES SECTION ==== */
.features-container {
    max-width: 1100px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 20px;
}

.feature-card {
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.feature-icon {
    margin-bottom: 20px;
    color: #417690;
    display: inline-flex;
    padding: 15px;
    background: rgba(65, 118, 144, 0.1);
    border-radius: 12px;
}

.feature-title {
    margin-bottom: 15px;
    font-weight: 600;
    color: #222;
}

/* ==== ABOUT SECTION ==== */
.about {
    background-color: #f9f9ff;
}

.about-content {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    max-width: 800px;
    margin: 0 auto;
}

/* ==== FOOTER ==== */
.footer {
    background: #2d3748;
    color: #e2e8f0;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column {
    padding-right: 20px;
}

.footer-column.contact {
    display: flex;
    flex-direction: column;
}

.footer h3 {
    color: #fff;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.footer h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #4299e1;
}

.footer-contact-info {
    list-style: none;
    padding: 0;
}

.footer-contact-info li {
    margin-bottom: 10px;
}

.footer-contact-info a {
    color: #e2e8f0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact-info a:hover {
    color: #4299e1;
}

.copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    color: #a0aec0;
}

/* ==== RESPONSIVE STYLES ==== */
@media (min-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-container {
        flex-direction: column-reverse;
    }
    
    .hero-content, .hero-image {
        flex: none;
        width: 100%;
    }
    
    .hero-image {
        margin-bottom: 2rem;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 0 80px;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-container {
        flex-direction: column;
    }
    
    .hero-image {
        margin-top: 30px;
    }
    
    .hero-cta {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 90px 0 60px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
    
    .hero-cta .btn {
        width: 100%;
        text-align: center;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}