/* ===========================
   ROOT THEME COLORS
=========================== */
:root {
    --primary-brown: #390f03;
    --secondary-gold: #c9a227;
    --light-gold: #fff3c4;
    --cream-bg: #fffdf5;
    --text-dark: #2e2e2e;
}

/* ===========================
   GLOBAL
=========================== */

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--cream-bg);
    color: var(--text-dark);
padding-top: 20px;
}

/* ===========================
   NAVBAR
=========================== */


/* ===========================
   HERO SECTION
=========================== */
.kyc-hero {
    background: linear-gradient(
        to right,
        rgba(101, 33, 22, 0.4), /* Lowered from 0.8 to 0.4 */
        rgba(83, 17, 5, 0.4)
    ), 
    url('../images/know_your_city.jpg');
    
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    padding: 80px 20px;
   height: 75vh; 
    min-height: 500px;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 60px;
}

.kyc-hero h1 {
    font-size: 3.5rem; 
    font-weight: 800; 
    color: #213b0a;
    text-transform: uppercase; 
    letter-spacing: 2px;
    text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.3); 
    margin-bottom: 15px;
}

.kyc-hero p {
    font-size: 2.25rem; 
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6; 
    color: #e7c75a; 
    text-shadow: 1px 2px 5px rgba(0, 0, 0, 0.5); 
}

/* ===========================
   SEARCH
=========================== */
.kyc-search-section {
    margin-top: -30px;
    margin-bottom: 50px;
    display: flex;
    justify-content: center;
}

.kyc-search {
    max-width: 600px;
    padding: 15px 25px;
    border-radius: 40px;
    border: 2px solid var(--secondary-gold);
    background-color: var(--cream-bg);
}

.kyc-search:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(201,162,39,0.3);
}

/* ===========================
   CATEGORY CARDS
=========================== */
.kyc-category-section {
    padding-bottom: 80px;
}

.kyc-card {
    cursor: pointer;
    
   
}

.kyc-card-inner {
    background-color: #fff;
    border-radius: 18px;
    padding: 30px 20px;
    text-align: center;
    border: 2px solid var(--secondary-gold);
    transition: all 0.3s ease;
    height: 100%;
}

.kyc-card-inner h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-brown);
}

.kyc-card-inner p {
    margin-top: 8px;
    font-size: 0.95rem;
    color: #666;
}

/* Hover Effect */
.kyc-card-inner:hover {
    background: linear-gradient(
        to bottom right,
        var(--secondary-gold),
        #e7c75a
    );
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.kyc-card-inner:hover h3,
.kyc-card-inner:hover p {
    color: var(--text-dark);
}

/* ===========================
   FOOTER
=========================== */
.kyc-footer {
    background-color: var(--primary-brown);
    color: #fff;
    padding: 20px 10px;
    font-size: 0.9rem;
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 768px) {
    .kyc-hero h1 {
        font-size: 2.3rem;
    }
}


/* Add this to the bottom of your kyc.css */
.back-btn {
    position: absolute;
    top: 30px;
    left: 30px;
    background: rgba(255, 255, 255, 0.2) !important; /* Made it slightly more visible */
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 50px;
    text-decoration: none;
    backdrop-filter: blur(8px); /* Increased blur for better look */
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
    font-weight: 500;
    z-index: 999; /* High z-index to stay on top of the header */
    display: inline-block;
}

.back-btn:hover {
    background: #c9a227 !important;
    color: #390f03 !important;
    border-color: #c9a227;
    transform: translateX(-5px); /* Slight slide effect on hover */
}