/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.125rem; }

p {
    margin-bottom: 1rem;
    color: #6b7280;
}

a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #1d4ed8;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-4xl { font-size: 2.25rem; }
.flex { display: flex; gap: 1rem; align-items: center; }
.grid { display: grid; gap: 1.5rem; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.cta-button {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.125rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 1.5rem;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.4);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(229, 231, 235, 0.8);
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header-top {
    background: #1f2937;
    color: white;
    padding: 0.5rem 0;
    font-size: 0.875rem;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-top a {
    color: #93c5fd;
    margin-left: 1rem;
    text-decoration: none;
}

.header-top a:hover {
    color: white;
}

.header-main {
    padding: 1rem 0;
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: #ad6609;
    font-size: 2rem;
    font-weight: 900;
    margin: 0;
}

/* Navigation */
.navigation {
    position: relative;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #1f2937;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

/* Navigation */
.navigation {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.nav-menu a {
    color: #1f2937;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    background: #f3f4f6;
    color: #3b82f6;
}

.nav-contact {
    background: #3b82f6 !important;
    color: white !important;
    font-weight: 600 !important;
}

.nav-contact:hover {
    background: #2563eb !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 120px;
}

.hero-bg-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -0.5;
    filter: brightness(0.3);
    display: flex;
    
}

.bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    transform: scale(1.05);
    animation: slideZoom 12s infinite;
}

.bg-slide.active {
    opacity: 1;
}

@keyframes slideZoom {
    0%, 100% {
        transform: scale(1.05);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Calque bleu supprimé pour rendre les images transparentes */

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-text h2 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
}

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-text ul {
    list-style: none;
    margin-bottom: 2rem;
}

.hero-text li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    font-size: 1.125rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-text li span:first-child {
    color: #10b981;
    font-weight: 700;
    margin-right: 0.75rem;
    font-size: 1.25rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.image-placeholder {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 2rem;
    width: 100%;
    max-width: 400px;
}

.award-badge {
    position: relative;
}

.ntv-badge {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1f2937;
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.3);
    transform: rotate(-5deg);
}

.ntv-logo {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

.award-text {
    font-size: 0.75rem;
    line-height: 1.2;
    display: block;
    margin-bottom: 0.5rem;
}

.award-year {
    font-size: 2rem;
    font-weight: 900;
}

/* Credit Offers Section */
.credit-offers {
    padding: 5rem 0;
    background: #f8fafc;
}

.credit-offers h3 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.credit-offers > .container > p {
    text-align: center;
    font-size: 1.25rem;
    margin-bottom: 3rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.credit-offers .grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.offer-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    position: relative;
    overflow: hidden;
}

.offer-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.offer-image {
    width: 100%;
    height: 200px;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.offer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.offer-card:hover .offer-image img {
    transform: scale(1.05);
}

.offer-card .text-4xl {
    margin-bottom: 1rem;
}

.offer-card h4 {
    color: #1f2937;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.offer-card > p {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    color: #6b7280;
}

.offer-details {
    text-align: left;
    margin-bottom: 2rem;
}

.offer-details ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.offer-details li {
    padding: 0.5rem 0;
    color: #374151;
    font-size: 0.95rem;
}

.offer-highlights {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.highlight-badge {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.rate-info {
    color: #2563eb;
    font-weight: 700;
    font-size: 0.875rem;
}

.offer-card a {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.offer-card a:hover {
    color: #1d4ed8;
    transform: translateX(5px);
}

/* Award Section */
.award-section {
    padding: 5rem 0;
    background: white;
}

.award-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.award-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.award-badge-large {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1f2937;
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    font-weight: 700;
    margin-bottom: 2rem;
    display: inline-block;
}

.ntv-logo-large {
    font-size: 1.25rem;
    display: block;
    margin-bottom: 0.5rem;
}

.award-text-large {
    font-size: 0.875rem;
    line-height: 1.2;
}

.award-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #1f2937;
}

.award-text p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.award-text a {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
}

.award-text a:hover {
    text-decoration: underline;
}

/* Partner Banks Section */
.partner-banks {
    padding: 5rem 0;
    background: #f8fafc;
}

.partner-banks h3 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.partner-banks > .container > p {
    text-align: center;
    font-size: 1.25rem;
    margin-bottom: 3rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.carousel-container {
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    gap: 2rem;
    animation: scroll 30s linear infinite;
}

.bank-logo {
    flex-shrink: 0;
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.bank-logo img {
    height: 40px;
    width: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.bank-logo:hover img {
    opacity: 1;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Loan Simulator Section */
.loan-simulator {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.loan-simulator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1554224155-6726b3ff858f?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
}

.loan-simulator .container {
    position: relative;
    z-index: 1;
}

.loan-simulator h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.loan-simulator > .container > .text-center > p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
}

.loan-simulator .flex {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.simulator-inputs {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.input-group {
    margin-bottom: 2rem;
}

.input-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.slider-container {
    position: relative;
}

.slider {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.3);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fbbf24;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.4);
}

.slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fbbf24;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.4);
}

.slider-value {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

.slider-value span:nth-child(2) {
    font-weight: 700;
    color: #fbbf24;
    font-size: 1rem;
}

.simulator-results {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.result-card {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.result-card h4 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.monthly-payment {
    font-size: 3rem;
    font-weight: 900;
    color: #fbbf24;
    margin-bottom: 0.5rem;
}

.result-note {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.result-details {
    space-y: 1rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    color: rgba(255, 255, 255, 0.8);
}

.detail-value {
    font-weight: 700;
    color: white;
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: white;
}

.services h3 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.services > .container > p {
    text-align: center;
    font-size: 1.25rem;
    margin-bottom: 3rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.services .grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-item {
    text-align: center;
    padding: 2rem;
    border-radius: 16px;
    background: #f8fafc;
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-icon img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    transition: all 0.3s ease;
}

.service-item:hover .service-icon img {
    transform: scale(1.1);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.15));
}

.service-item .text-4xl {
    margin-bottom: 1rem;
}

.service-item h4 {
    color: #1f2937;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.service-item p {
    color: #6b7280;
    line-height: 1.6;
}

.service-item a {
    color: #3e21e4;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.service-item a:hover {
    color: hsl(234, 90%, 37%);
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e5e7eb 100%);
    position: relative;
    overflow: hidden;
}

.testimonials h3 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    color: #1f2937;
}

.testimonials > .container > p {
    text-align: center;
    font-size: 1.25rem;
    margin-bottom: 3rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    color: #6b7280;
}

.testimonials-slider {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 2rem;
}

.testimonial-card {
    min-width: 100%;
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 2rem;
    font-size: 4rem;
    color: #3b82f6;
    font-weight: 900;
    line-height: 1;
}

.testimonial-content {
    position: relative;
    z-index: 1;
}

.stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.stars i {
    color: #fbbf24;
    font-size: 1.25rem;
}

.testimonial-content p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #374151;
    margin-bottom: 2rem;
    text-align: center;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #3b82f6;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h5 {
    margin: 0;
    color: #1f2937;
    font-weight: 700;
}

.author-info span {
    color: #6b7280;
    font-size: 0.875rem;
}

/* Testimonials Controls */
.testimonials-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-btn {
    background: #3b82f6;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-btn:hover {
    background: #2563eb;
    transform: scale(1.1);
}

.testimonials-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #3b82f6;
    transform: scale(1.2);
}

/* FAQ Section */
.faq {
    padding: 5rem 0;
    background: #f8fafc;
}

.faq h3 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.faq > .container > p {
    text-align: center;
    font-size: 1.25rem;
    margin-bottom: 3rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f8fafc;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: 300;
    color: #6b7280;
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer > div {
    padding: 0 1.5rem 1.5rem;
    color: #6b7280;
    line-height: 1.6;
}

/* Contact Form Section */
.contact-form {
    padding: 5rem 0;
    background: url("/images/bk2.jpeg") no-repeat center center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(37, 99, 235, 0.1);
    z-index: 0;
}

.contact-form .container {
    position: relative;
    z-index: 1;
}

.contact-form h3 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    color: white;
}

.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.form-message {
    margin-bottom: 2rem;
}

.form-loader {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    z-index: 10;
}

.loader-gif {
    width: 60px;
    height: 60px;
    border: 4px solid #e5e7eb;
    border-top: 4px solid #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.form-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 1.5rem;
}

.form-row {
    margin-bottom: 1.5rem;
}

.form-row.grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #374151;
    font-size: 0.875rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.error-message {
    display: none;
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    font-weight: 500;
}

.checkbox-group {
    margin-bottom: 1.5rem;
}

.checkbox-group .flex {
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.checkbox-group label {
    font-size: 0.875rem;
    line-height: 1.5;
    color: #6b7280;
    margin-bottom: 0;
}

.simulator-summary {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.summary-details {
    display: grid;
    gap: 0.75rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}

.summary-row.highlight {
    background: #3b82f6;
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 700;
}

/* Google Maps Integration */
.map-container {
    margin-top: 2rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 300px;
    border: none;
}

/* Cookie Banner */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1f2937;
    color: white;
    padding: 1.5rem 0;
    z-index: 1000;
    transform: translateY(0);
    transition: all 0.3s ease;
    display: none;
}

#cookie-banner .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

#cookie-banner p {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #d1d5db;
}

#cookie-banner .flex {
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-btn {
    background: #374151;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cookie-btn:hover {
    background: #4b5563;
}

.cookie-btn:first-child {
    background: #6d5f0e;
}

.cookie-btn:first-child:hover {
    background: #2563eb;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.footer-links {
    margin-bottom: 1rem;
}

.footer-links a {
    color: #93c5fd;
    margin: 0 1rem;
    font-size: 0.875rem;
}

.footer-links a:hover {
    color: white;
}

.footer-text p {
    margin: 0;
    font-size: 0.875rem;
    color: #9ca3af;
}

/* Animations */
.fade-in,
.slide-in-left,
.slide-in-right,
.slide-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.slide-in-left {
    transform: translateX(-30px);
}

.slide-in-right {
    transform: translateX(30px);
}

.fade-in.visible,
.slide-in-left.visible,
.slide-in-right.visible,
.slide-in-up.visible {
    opacity: 1;
    transform: translate(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-text h2 {
        font-size: 2.5rem;
    }
    
    .award-section .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .loan-simulator .flex {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .credit-offers .grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    /* Header */
    .header-top {
        display: none;
    }
    
    .nav-toggle {
        display: block;
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1001;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 6rem 2rem 2rem;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1000;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu a {
        padding: 1rem;
        border-bottom: 1px solid #e5e7eb;
        width: 100%;
        text-align: left;
    }
    
    /* Hero */
    .hero {
        margin-top: 80px;
        min-height: 80vh;
        padding: 2rem 0;
    }
    
    .hero-text h2 {
        font-size: 2rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .hero-text li {
        font-size: 1rem;
    }
    
    .hero .flex {
        flex-direction: column;
        gap: 1rem;
    }
    
    /* Sections */
    .credit-offers,
    .award-section,
    .partner-banks,
    .loan-simulator,
    .services,
    .testimonials,
    .faq,
    .contact-form {
        padding: 3rem 0;
    }
    
    .credit-offers h3,
    .award-section h3,
    .partner-banks h3,
    .loan-simulator h3,
    .services h3,
    .testimonials h3,
    .faq h3,
    .contact-form h3 {
        font-size: 2rem;
    }
    
    .credit-offers .grid,
    .services .grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Contact Form */
    .contact-form-container {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .form-row.grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Testimonials */
    .testimonial-card {
        padding: 2rem;
    }
    
    .testimonials-controls {
        gap: 1rem;
    }
    
    .testimonial-btn {
        width: 40px;
        height: 40px;
    }
    
    /* Cookie Banner */
    #cookie-banner .container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-text h2 {
        font-size: 1.75rem;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .cta-button {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .monthly-payment {
        font-size: 2.5rem;
    }
    
    .simulator-inputs,
    .simulator-results {
        padding: 1.5rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .offer-card {
        padding: 1.5rem;
    }
}

/* Print Styles */
@media print {
    .header,
    .nav-toggle,
    #cookie-banner,
    .cta-button,
    .testimonials-controls {
        display: none !important;
    }
    
    .hero {
        margin-top: 0;
    }
    
    * {
        background: white !important;
        color: black !important;
    }
}
