/* 
    Credoras - Professional Finance Website 
    Design System & Global Styles
*/

:root {
    --primary-color: #001C3D;
    --primary-light: #003366;
    --secondary-color: #2EB872;
    --secondary-hover: #27ae60;
    --accent-color: #3B82F6;
    --text-color: #111827;
    --text-muted: #4B5563;
    --white: #FFFFFF;
    --bg-light: #F9FAFB;
    --bg-dark: #001C3D;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-light);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* SECTION PADDING */
section {
    padding: 80px 0;
}

/* TYPOGRAPHY */
h1, h2, h3, h4 {
    color: var(--primary-color);
    font-weight: 700;
}

h1 { font-size: 3rem; margin-bottom: 20px; }
h2 { font-size: 2.25rem; margin-bottom: 30px; text-align: center; }
h3 { font-size: 1.5rem; margin-bottom: 15px; }

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* NAVBAR */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    height: 80px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 60px;
    width: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.logo span {
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

/* HERO SECTION */
.hero {
    background: linear-gradient(rgba(0, 28, 61, 0.8), rgba(0, 28, 61, 0.8)), url('images/hero-finance_1.jpg');
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    align-items: center;
    color: var(--white);
}

.hero h1 {
    color: var(--white);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    max-width: 600px;
}

/* CARDS */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-10px);
}

.card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    display: block;
}

/* FORM STYLES */
.form-container {
    background: var(--white);
    padding: 50px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    max-width: 800px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 25px;
}

.form-checkbox input {
    width: auto;
    margin-top: 5px;
}

.error-message {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 5px;
    display: none;
}

/* TESTIMONIALS */
.testimonials {
    background-color: var(--bg-dark);
    color: var(--white);
}

.testimonials h2 {
    color: var(--white);
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
}

/* FOOTER */
footer {
    background-color: var(--bg-dark);
    color: var(--white);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 25px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
    text-align: center;
    font-size: 0.875rem;
}

/* MOBILE RESPONSIVENESS */
@media (max-width: 768px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.75rem; }
    .nav-links { display: none; }
    .hero { height: 60vh; text-align: center; }
    .hero p { margin: 0 auto 30px; }
    .form-container { padding: 30px; }
}
