/* ============================================
   Makwana Corporate Services - Custom Styles
   ============================================ */

/* ============================================
   CSS Variables
   ============================================ */
:root {
    --navy-dark: #1B2F59;
    --navy: #2A4173;
    --green-olive: #6B8E23;
    --green-light: #8FB73E;
    --bg-gradient-start: #E8EBF3;
    --bg-gradient-middle: #F0F2F8;
    --bg-gradient-end: #E8F0D5;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --radius-lg: 1rem;
    --radius-xl: 1.25rem;
    --radius-2xl: 1.5rem;
}

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

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   Main Background
   ============================================ */
.main-bg {
    background: linear-gradient(to bottom right, var(--bg-gradient-start), var(--bg-gradient-middle), var(--bg-gradient-end));
    min-height: 100vh;
}

/* ============================================
   Header Styles
   ============================================ */
.top-bar {
    background: linear-gradient(to right, var(--navy-dark), var(--green-olive));
}

.top-link {
    color: white;
    text-decoration: none;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s ease;
}

.top-link:hover {
    color: #a7f3d0;
}

.social-link {
    color: white;
    transition: color 0.2s ease;
}

.social-link:hover {
    color: #a7f3d0;
}

.main-nav {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid #e2e8f0;
    padding: 0.75rem 0;
}

.nav-link-custom {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link-custom:hover {
    color: var(--green-olive);
}

/* ============================================
   Buttons
   ============================================ */
.btn-gradient {
    background: linear-gradient(to right, var(--navy-dark), var(--green-olive));
    color: white;
    border: none;
    padding: 0.625rem 1.5rem;
    border-radius: var(--radius-lg);
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.btn-gradient:hover {
    background: linear-gradient(to right, #152544, #5a7a1d);
    color: white;
    box-shadow: var(--shadow-lg);
    transform: translateY(-1px);
}

/* ============================================
   Section Titles
   ============================================ */
.section-title {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 40rem;
    margin: 0 auto;
}

.gradient-text {
    background: linear-gradient(to right, var(--navy-dark), var(--green-olive), var(--green-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   Badge Pills
   ============================================ */
.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(to right, rgba(187, 247, 208, 0.5), rgba(191, 219, 254, 0.5));
    border-radius: 9999px;
    font-size: 0.875rem;
    color: var(--navy-dark);
}

.badge-pill i {
    color: var(--green-olive);
}

/* ============================================
   Form Card
   ============================================ */
.form-card {
    border-radius: var(--radius-2xl);
    overflow: hidden;
}

.form-header {
    position: relative;
    background: linear-gradient(to right, var(--navy-dark), var(--navy), var(--green-olive));
    padding: 2rem;
    color: white;
    overflow: hidden;
}

.form-header-bg {
    position: absolute;
    inset: 0;
}

.form-header-bg::before,
.form-header-bg::after {
    content: '';
    position: absolute;
    width: 12rem;
    height: 12rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    filter: blur(2rem);
}

.form-header-bg::before {
    top: -6rem;
    right: -6rem;
}

.form-header-bg::after {
    bottom: -6rem;
    left: -6rem;
}

/* ============================================
   Icon Boxes
   ============================================ */
.icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    color: white;
    font-size: 0.875rem;
    box-shadow: var(--shadow-md);
}

.gradient-blue-navy {
    background: linear-gradient(to bottom right, var(--navy-dark), var(--green-olive));
}

.gradient-green {
    background: linear-gradient(to bottom right, var(--green-olive), var(--green-light));
}

.gradient-navy {
    background: linear-gradient(to bottom right, var(--navy-dark), var(--navy));
}

.gradient-blue-green {
    background: linear-gradient(to bottom right, var(--navy-dark), var(--green-olive));
}

.gradient-green-navy {
    background: linear-gradient(to bottom right, var(--green-olive), var(--navy-dark));
}

/* ============================================
   Form Controls
   ============================================ */
.form-control,
.form-select {
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-lg);
    padding: 0.75rem 1rem;
    transition: all 0.2s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--green-olive);
    box-shadow: 0 0 0 4px rgba(107, 142, 35, 0.2);
}

.form-label {
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

/* ============================================
   Terms Box
   ============================================ */
.terms-box {
    background: linear-gradient(to right, rgba(187, 247, 208, 0.3), rgba(191, 219, 254, 0.3));
    border: 2px solid rgba(107, 142, 35, 0.3);
    border-radius: var(--radius-xl);
    padding: 1.25rem;
}

/* ============================================
   Promotional Card
   ============================================ */
.promo-card {
    position: relative;
    border-radius: var(--radius-2xl);
}

.promo-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, var(--navy-dark), var(--navy), var(--green-olive));
    border-radius: var(--radius-2xl);
}

.promo-bg::before,
.promo-bg::after {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.promo-bg::before {
    width: 10rem;
    height: 10rem;
    top: 0;
    right: 0;
    transform: translate(50%, -50%);
}

.promo-bg::after {
    width: 8rem;
    height: 8rem;
    bottom: 0;
    left: 0;
    transform: translate(-50%, 50%);
}

.badge-exclusive {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border-radius: 9999px;
    font-size: 0.875rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-lg);
    padding: 0.75rem;
}

.benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    flex-shrink: 0;
}

/* ============================================
   EMI Preview
   ============================================ */
.emi-preview {
    background: linear-gradient(to bottom right, #f8fafc, rgba(187, 247, 208, 0.3));
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-xl);
    padding: 1.5rem;
}

/* ============================================
   Feature Cards
   ============================================ */
.feature-card {
    padding: 1.5rem;
    border-radius: var(--radius-2xl);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.feature-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: var(--radius-lg);
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-lg);
}

.bg-blue-light {
    background-color: rgba(239, 246, 255, 1);
}

.bg-green-light {
    background-color: rgba(236, 253, 245, 1);
}

.bg-slate-light {
    background-color: rgba(248, 250, 252, 1);
}

.bg-green-light-soft {
    background-color: rgba(236, 253, 245, 0.5);
}

/* ============================================
   Service Cards
   ============================================ */
.service-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-xl);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    box-shadow: var(--shadow-2xl);
    transform: translateY(-8px);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: var(--radius-xl);
    color: white;
    font-size: 1.75rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
}

/* ============================================
   Why Choose Us Card
   ============================================ */
.why-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-2xl);
}

.check-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    background: linear-gradient(to bottom right, var(--navy-dark), var(--green-olive));
    border-radius: 50%;
    font-size: 0.75rem;
    margin-top: 0.125rem;
}

.info-box {
    background: linear-gradient(to right, rgba(236, 253, 245, 1), rgba(239, 246, 255, 1));
    border: 1px solid rgba(107, 142, 35, 0.3);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    color: var(--text-dark);
    line-height: 1.75;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background-color: #0f172a;
    color: white;
}

.footer-social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    background: #1e293b;
    border-radius: 0.5rem;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social:hover {
    background: linear-gradient(to right, var(--navy-dark), var(--green-olive));
    color: white;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

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

.bullet {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.bullet.green {
    background-color: var(--green-olive);
}

.bullet.navy {
    background-color: var(--navy-dark);
}

.footer-contact li {
    margin-bottom: 1rem;
}

.footer-contact a {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

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

.footer-contact div {
    font-size: 0.875rem;
    color: #94a3b8;
}

.text-navy {
    color: var(--navy-dark);
}

/* ============================================
   Responsive Adjustments
   ============================================ */
@media (max-width: 991.98px) {
    .main-nav .navbar-collapse {
        background: white;
        padding: 1rem;
        border-radius: var(--radius-lg);
        margin-top: 1rem;
        box-shadow: var(--shadow-lg);
    }
}

@media (max-width: 767.98px) {
    .section-title {
        font-size: 1.5rem;
    }
    
    .form-header {
        padding: 1.5rem;
    }
    
    .feature-card,
    .service-card {
        padding: 1.25rem;
    }
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* ============================================
   Smooth Scroll
   ============================================ */
html {
    scroll-behavior: smooth;
}

/* ============================================
   Selection Styles
   ============================================ */
::selection {
    background-color: var(--navy-dark);
    color: white;
}

