:root {
    --primary: #273a80;
    --primary-light: #3b50a3;
    --secondary: #dc282f;
    --secondary-light: #f53d44;
    --dark: #0f172a;
    --light: #f8fafc;
    --white: #ffffff;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--light);
    color: var(--dark);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.text-primary-custom { color: var(--primary); }
.text-secondary-custom { color: var(--secondary); }
.bg-primary-custom { background-color: var(--primary); }
.bg-secondary-custom { background-color: var(--secondary); }

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.navbar-custom {
    background: transparent;
    transition: all 0.4s ease;
    padding: 20px 0;
    z-index: 1030;
}

.navbar-custom.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 10px 0;
}
.pb-20 {padding-bottom:20px;}
.mb-60 {padding-bottom: 60px;}

.navbar-brand img {
    height: 60px;
    transition: transform 0.3s;
    background: #fff;
    padding: 7px;
    position: absolute;
    float: left;
    margin-top: -30px;
    left: 0px;
    -webkit-border-top-right-radius: 7px;
    -webkit-border-bottom-right-radius: 7px;
    -moz-border-radius-topright: 7px;
    -moz-border-radius-bottomright: 7px;
    border-top-right-radius: 7px;
    border-bottom-right-radius: 7px;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 500;
    color: var(--white) !important;
    padding: 10px 20px !important;
    transition: 0.3s;
}

.navbar-custom.scrolled .nav-link {
    color: var(--dark) !important;
    font-weight: 600;
}

.nav-link:hover {
    color: var(--secondary) !important;
}

.btn-modern {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    color: var(--white);
    border: none;
    border-radius: 12px;
    padding: 12px 28px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(39, 58, 128, 0.2);
    text-decoration: none;
}

.btn-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(39, 58, 128, 0.3);
    color: var(--white);
}

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    background: linear-gradient(rgba(15, 23, 42, 0.5), rgba(39, 58, 128, 0.85)),
        url('https://images.ctfassets.net/i874q3cs1cvx/54025/e0a1943a33b3851b59f2cd9719b9eea5/Car-Dealer-Talking-With-Customers.jpg') center/cover no-repeat;
    background-attachment: fixed;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.valuation-card {
    background: #ffffffed;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    position: relative;
    margin-top: 10px;
    z-index: 3;
}

.form-label {
    font-weight: 600;
    font-size: 0.85rem;
    color: #6c757d;
}

.form-control, .form-select {
    height: 60px;
    border-radius: 14px;
    border: 1.5px solid #eef0f5;
    background-color: #fcfcfc;
    padding: 10px 20px;
    font-weight: 500;
    font-size: 1rem;
    color: var(--dark);
    transition: all 0.3s ease;
    box-shadow: none !important;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    background-color: var(--white);
}

.select2-container--default .select2-selection--single {
    height: 60px !important;
    border-radius: 14px !important;
    border: 1.5px solid #eef0f5 !important;
    padding: 15px 20px !important;
    font-weight: 500;
    background-color: #fcfcfc !important;
    display: flex;
    align-items: center;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 58px !important;
    right: 15px !important;
}

.btn-action {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    color: var(--white);
    border: none;
    border-radius: 14px;
    padding: 18px 32px;
    font-weight: 700;
    font-size: 1.1rem;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(220, 33, 40, 0.3);
}

.btn-action:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(220, 33, 40, 0.4);
    color: var(--white);
}

.kredicars-banner {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--white);
    text-decoration: none;
    transition: all 0.4s ease;
    margin-top: 30px;
}

.kredicars-banner:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark);
}

.section-subtitle {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary);
    display: block;
    margin-bottom: 10px;
}

.feature-card {
    background: var(--white);
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    height: 100%;
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(39, 58, 128, 0.08);
    border-color: rgba(39, 58, 128, 0.1);
}

.service-card-custom {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.04);
    height: 100%;
    cursor: pointer;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.service-card-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card-custom:hover::before {
    transform: scaleX(1);
}

.service-card-custom:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(39, 58, 128, 0.1);
}

.icon-wrapper {
    height: 70px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 30px;
    background: linear-gradient(135deg, rgba(39, 58, 128, 0.1), rgba(220, 33, 40, 0.05));
    color: var(--primary);
    transition: 0.3s;
}

.service-card-custom:hover .icon-wrapper {
    background: var(--primary);
    color: var(--white);
}

.modal-content {
    border-radius: 24px;
    border: none;
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}

.modal-header {
    background: var(--light);
    border-bottom: 1px solid #eee;
    border-radius: 24px 24px 0 0;
    padding: 25px 30px;
}

.modal-body {
    padding: 30px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.stats-box {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.stats-icon {
    font-size: 40px;
    color: var(--secondary);
}

.accordion-item {
    border: none;
    background: var(--white);
    border-radius: 16px !important;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    overflow: hidden;
}

.accordion-button {
    font-weight: 600;
    padding: 20px 25px;
    border: none;
    background: var(--white);
    color: var(--dark);
    box-shadow: none !important;
    font-size: 1.1rem;
}

.accordion-button:not(.collapsed) {
    background: #f8faff;
    color: var(--primary);
}

.accordion-body {
    padding: 0 25px 25px;
    color: #6c757d;
    line-height: 1.8;
    background: #f8faff;
}

.contact-animated-bg {
    background: var(--primary);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.contact-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.blob {
    position: absolute;
    filter: blur(40px);
    z-index: 1;
    opacity: 0.6;
    animation: floatShape 10s infinite ease-in-out alternate;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: var(--secondary);
    border-radius: 50%;
}

.blob-2 {
    bottom: -20%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: var(--primary-light);
    border-radius: 50%;
    animation-delay: -5s;
}

.contact-content {
    position: relative;
    z-index: 2;
}

.contact-info-box {
    color: var(--white);
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-right: 20px;
}

.contact-form-wrap {
    background: var(--white);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

.footer {
    background: var(--dark);
    padding: 80px 0 30px;
    color: #a1a1aa;
}

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

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

.footer a:hover {
    color: var(--secondary);
    padding-left: 8px;
}

.social-icons a {
    width: 45px;
    height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    color: var(--white);
    margin-right: 10px;
    font-size: 18px;
    transition: 0.3s;
}

.social-icons a:hover {
    background: var(--secondary);
    transform: translateY(-5px);
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: 0.3s;
    text-decoration: none;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: var(--white);
}

@keyframes floatShape {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 50px) scale(1.1); }
}

@keyframes pulse-whatsapp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}