/* assets/css/index.css */

/* General settings */
body {
    font-family: 'Inter', sans-serif; /* Recommended font */
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f4f7f6; /* Light background color */
    color: #333;
    direction: ltr; /* For English language */
    text-align: left; /* For English language */
}

.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Hero section */
.hero-section {
    background-color: #e0f2f7; /* Light blue color */
    padding: 80px 40px;
    text-align: center;
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.hero-title {
    font-size: 3.5em; /* Larger font size for title */
    color: #2c3e50; /* Dark color for readability */
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5em;
    color: #555;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background-color: #4A90E2; /* Calming Blue (Login) */
    color: white;
    border: 2px solid #4A90E2;
}

.btn-primary:hover {
    background-color: #357ABD; /* Darker blue on hover */
    border-color: #357ABD;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: #8E44AD; /* Muted Purple (Register) */
    color: white;
    border: 2px solid #8E44AD;
}

.btn-secondary:hover {
    background-color: #7D3C98; /* Darker purple on hover */
    border-color: #7D3C98;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.btn-tertiary {
    background-color: #27AE60; /* Soft Green (About Us) */
    color: white;
    border: 2px solid #27AE60;
}

.btn-tertiary:hover {
    background-color: #229954; /* Darker soft green on hover */
    border-color: #229954;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}


/* Features section */
.features-section {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.feature-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 15px;
    flex: 1;
    min-width: 280px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item h3 {
    color: #3498db; /* Blue */
    font-size: 1.8em;
    margin-bottom: 15px;
}

.feature-item p {
    font-size: 1.1em;
    line-height: 1.6;
    color: #666;
}

/* Why Choose Us Section */
.why-choose-us-section {
    background-color: #ffffff;
    padding: 60px 40px;
    text-align: center;
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.why-choose-us-section h2 {
    font-size: 2.8em;
    color: #2c3e50;
    margin-bottom: 40px;
}

.reason-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.reason-item {
    background-color: #f8f8f8;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    text-align: left;
    transition: background-color 0.3s ease;
}

.reason-item:hover {
    background-color: #eef7fa; /* Lighter blue on hover */
}

.reason-item h4 {
    color: #3498db;
    font-size: 1.5em;
    margin-bottom: 10px;
}

.reason-item p {
    font-size: 1em;
    line-height: 1.5;
    color: #666;
}


/* Call to Action section */
.cta-section {
    background-color: #2c3e50; /* Dark blue */
    color: white;
    padding: 60px 40px;
    text-align: center;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.cta-section h2 {
    font-size: 2.8em;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.3em;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Footer styles */
.main-footer {
    background-color: #2c3e50; /* Dark blue, matching CTA */
    color: #ecf0f1; /* Light gray text */
    padding: 40px 20px;
    font-size: 0.9em;
    border-top: 5px solid #3498db; /* Blue accent line */
    margin-top: auto; /* Pushes footer to the bottom */
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
    padding-bottom: 30px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin-bottom: 20px;
}

.footer-section h3 {
    color: #ffffff;
    font-size: 1.4em;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: #3498db; /* Blue accent */
    border-radius: 2px;
}

.footer-section p,
.footer-section ul {
    color: #bdc3c7; /* Lighter gray for body text */
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #95a5a6; /* Even lighter gray for copyright */
}


/* Responsiveness for mobile */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 20px;
    }

    .hero-title {
        font-size: 2.5em;
    }

    .hero-subtitle {
        font-size: 1.2em;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        width: 80%;
        margin: 0 auto;
    }

    .features-section {
        flex-direction: column;
        align-items: center;
    }

    .feature-item {
        width: 90%;
        min-width: unset;
    }

    .why-choose-us-section {
        padding: 40px 20px;
    }

    .why-choose-us-section h2 {
        font-size: 2em;
    }

    .reason-grid {
        grid-template-columns: 1fr;
    }

    .cta-section {
        padding: 40px 20px;
    }

    .cta-section h2 {
        font-size: 2em;
    }

    .cta-section p {
        font-size: 1em;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-section {
        min-width: unset;
        width: 90%;
    }

    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
}
