@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=Alegreya+Sans:wght@400;700&display=swap');

body {
    font-family: 'Alegreya Sans', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fdf6e3; /* Sandy background */
    color: #3a3a3a;
}

header {
    background-color: #003366; /* Deep Nile blue */
    color: #ffd700; /* Gold color for text */
    padding: 1rem 0;
    border-bottom: 3px solid #ffd700;
}

nav {
    width: 80%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .logo {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffd700;
    text-decoration: none;
    text-transform: uppercase;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-right: 25px;
}

nav ul li a {
    color: #ffffff; /* White for contrast */
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #ffd700; /* Gold on hover */
}

main {
    width: 80%;
    margin: 2rem auto;
}

.hero {
    text-align: center;
    padding: 5rem 1rem;
    background: url('https://www.transparenttextures.com/patterns/egyptian-flat.png'); /* Subtle pattern */
}

.hero h1 {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    color: #003366;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
}

.cta-button {
    background-color: #ffd700; /* Gold */
    color: #003366; /* Deep blue text */
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    border: 2px solid #003366;
    transition: background-color 0.3s, color 0.3s;
}

.cta-button:hover {
    background-color: #003366;
    color: #ffd700;
}

.content {
    padding: 2rem 0;
}

.content h1, h2 {
    font-family: 'Cinzel', serif;
    color: #003366;
}

form {
    display: flex;
    flex-direction: column;
}

form label {
    margin-top: 10px;
    font-weight: bold;
}

form input, form textarea {
    padding: 12px;
    margin-top: 5px;
    border-radius: 5px;
    border: 1px solid #ccc;
    background-color: #fff;
}

.services, .testimonials {
    padding: 3rem 0;
    border-top: 1px solid #e0e0e0;
}

.service-items, .testimonial-items {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    flex-wrap: wrap;
}

.service-item, .testimonial-item {
    background: #ffffff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    flex-basis: 30%;
    border-right: 5px solid #003366;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-item:hover, .testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.service-item h3 {
    font-family: 'Cinzel', serif;
    color: #003366;
}

.testimonial-item p {
    font-style: italic;
}

.testimonial-item span {
    display: block;
    margin-top: 15px;
    font-weight: bold;
    color: #003366;
}

#loan-calculator-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    border-right: 5px solid #003366;
}

.loan-result {
    margin-top: 20px;
    padding: 20px;
    background-color: #e8f4fd;
    border-radius: 8px;
    text-align: center;
    font-size: 1.2rem;
    color: #003366;
    font-weight: bold;
}

footer {
    text-align: center;
    padding: 2rem 0;
    background-color: #003366;
    color: #ffd700;
    margin-top: 3rem;
    border-top: 3px solid #ffd700;
}