/* --- Global Variables & Resets --- */
:root {
    --primary-blue: #2874F0; /* A bright blue similar to the image */
    --yellow-accent: #FFEE3D; /* Yellow line accent */
    --text-dark: #333;
    --text-light: #f1f1f1;
    --header-height: 80px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* In your DK.css file */
body {
    /* CHANGED: Added 'Noto Sans Devanagari' */
    font-family: 'Montserrat', 'Noto Sans Devanagari', sans-serif;
    line-height: 1.6;
    background-color: #f8f8f8;
    padding-top: var(--header-height); /* Space for fixed header */
}

/* --- Header Styles --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: var(--primary-blue);
    display: flex;
    align-items: center;
    padding: 0 20px;
    justify-content: space-between;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
    transform: translateY(0);
    transition: transform 0.3s ease-in-out; /* Smooth animation */
}

.header.hidden {
    transform: translateY(calc(-1 * var(--header-height)));
}

.header-left {
    display: flex;
    align-items: center;
}

.site-logo { /* New style for the logo image */
    height: 100px; /* Adjust height as needed */
    width: auto;
    margin-right: 10px;
}

.logo-text {
    color: var(--text-light);
    font-size: 10px;
    line-height: 1.2;
    font-weight: 400;
    white-space: nowrap; /* Prevent text from wrapping if possible */
}

.search-bar-container {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    padding: 0 20px;
    max-width: 600px;
    position: relative; /* Needed for positioning the icon */
}

.search-input-wrapper { /* New wrapper for search input and icon */
    position: relative;
    width: 100%;
    max-width: 500px;
}

.search-bar {
    width: 100%;
    padding: 10px 40px 10px 15px; /* Added right padding for icon */
    border: none;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--text-dark);
}

.search-bar::placeholder {
    color: #999;
}

.search-icon { /* Style for the search icon inside the bar */
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #555; /* Icon color */
    pointer-events: none; /* Allows clicks to pass through to the input */
    font-size: 16px;
}


.header-right {
    display: flex;
    gap: 15px;
}

.icon-circle {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-light);
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.icon-circle:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

.header-yellow-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--yellow-accent);
}

/* --- Page Content Styles --- */
.hero-banner {
    width: 100%;
    height: 400px;
    background-color: #e0e0e0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hero-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.content-section {
    padding: 40px 20px;
    background-color: #ffffff;
    min-height: 800px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) { /* Tablets and smaller laptops */
    .header {
        padding: 0 15px;
    }
    .site-logo {
        height: 35px; /* Adjust logo size for tablets */
    }
    .logo-text {
        font-size: 9px;
    }
    .search-bar-container {
        padding: 0 10px;
    }
    .search-bar {
        padding: 8px 35px 8px 12px; /* Adjusted right padding for icon */
        font-size: 13px;
    }
    .search-icon {
        right: 12px;
        font-size: 14px;
    }
    .header-right {
        gap: 10px;
    }
    .icon-circle {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    .hero-banner {
        height: 300px;
    }
}

@media (max-width: 480px) { /* Smaller tablets and mobile */
    .header {
        height: 70px;
        padding: 0 10px;
    }
    .site-logo {
        height: 30px; /* Adjust logo size for mobile */
    }
    .logo-text {
        display: none; /* Hide tagline on very small screens */
    }
    .search-bar-container {
        padding: 0 5px;
    }
    .search-bar {
        padding: 6px 30px 6px 10px; /* Adjusted right padding for icon */
        font-size: 12px;
    }
    .search-icon {
        right: 10px;
        font-size: 13px;
    }
    .header-right {
        gap: 8px;
    }
    .icon-circle {
        width: 28px;
        height: 28px;
        font-size: 13px;
    }
    .hero-banner {
        height: 250px;
    }
}


/* ========== Category Section Styling (for PNG Icons) ========== */

.category-section {
    padding: 80px 4%;
    background-color: #f8f9fa;
    text-align: center;
}

.section-title {
    font-size: 36px;
    font-weight: 600;
    color: #333;
    margin-bottom: 50px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.category-card {
    background-color: #ffffff;
    padding: 25px 20px;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    border: 1px solid #e0e0e0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.category-card .icon-container {
    /* This container just provides spacing for your image */
    margin: 0 auto 20px auto;
    height: 80px; /* Set a fixed height for alignment */
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-card img {
    /* Controls the size of your icon image */
    width: 120px;
    height: 120px;
    object-fit: contain; /* Ensures your image fits without being distorted */
}

.category-card p {
    font-size: 16px;
    font-weight: 500;
}

/* --- Responsiveness for Mobile Devices --- */
@media (max-width: 992px) {
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 28px;
    }
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .category-card {
        padding: 20px 15px;
    }
    .category-card .icon-container {
        height: 70px;
    }
    .category-card img {
        width: 70px;
        height: 70px;
    }
}

/* --- CMF Selection Section Styles --- */
.cmf-section {
    padding: 60px 20px;
    background-color: #fff;
    text-align: center;
}

.cmf-section .container {
    max-width: 1100px;
    margin: 0 auto;
}

.cmf-section h2 {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.cmf-section .subtitle {
    font-size: 14px;
    color: #777;
    margin-bottom: 40px;
    font-weight: 500;
    letter-spacing: 1px;
}

.cmf-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.cmf-option {
    position: relative;
    cursor: pointer;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s ease-in-out;
}

.cmf-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

/* --- CMF Image and Wrapper Styles --- */
.cmf-image-wrapper { /* NEW: Wrapper for the image to maintain aspect ratio */
    width: 100%;
    padding-top: 100%; /* Creates a 1:1 aspect ratio square for the image area */
    position: relative; /* Needed for positioning the image inside */
    overflow: hidden; /* Ensures image doesn't bleed outside the wrapper */
}

.cmf-image { /* NEW: Image inside the wrapper */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* This makes the image cover the entire square area */
    display: block;
}


.cmf-label {
    padding: 12px 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    background-color: #fff;
}

.checkmark-icon {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    background-color: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    transform: scale(0);
    opacity: 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

/* --- Selected State --- */
.cmf-option.selected {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 2px var(--primary-blue);
}

.cmf-option.selected .checkmark-icon {
    transform: scale(1);
    opacity: 1;
}

/* --- Submit Button --- */
.submit-btn {
    padding: 12px 40px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background-color: var(--primary-blue);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover:not(:disabled) {
    background-color: #1e88e5; /* A slightly darker blue */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.submit-btn:disabled {
    background-color: #90caf9; /* A lighter, disabled blue */
    cursor: not-allowed;
}

/* --- Footer Styles --- */
footer {
    background-color: #2c3e50; /* A dark, complementary blue */
    color: #ecf0f1; /* A soft white */
    padding: 40px 20px;
    font-family: 'Montserrat', sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-main {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

.footer-column {
    flex: 1;
    min-width: 200px; /* Ensures columns don't get too squished */
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #ffffff;
    border-bottom: 2px solid var(--primary-blue); /* Uses your existing blue */
    padding-bottom: 8px;
    display: inline-block;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #bdc3c7; /* A lighter grey for links */
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-column ul li a:hover {
    color: var(--yellow-accent); /* Uses your existing yellow for hover */
}

.social-icons a {
    color: #ecf0f1;
    font-size: 20px;
    margin-right: 15px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.social-icons a:hover {
    color: var(--primary-blue);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e; /* A slightly lighter border */
}

.footer-bottom p {
    font-size: 14px;
    color: #bdc3c7;
}

/* Responsive adjustments for the footer */
@media (max-width: 768px) {
    .footer-main {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-column {
        min-width: 100%;
        margin-bottom: 20px;
    }
}
/* Add this to your DK.css file */
.lang-btn {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-blue);
    border: none;
    border-radius: 20px;
    padding: 6px 12px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    margin: 0 5px;
}

.scroll-indicator {
    text-align: center;
    padding: 20px 0;
    color: var(--primary-blue);
    cursor: pointer;
}

.scroll-indicator p {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.bouncing-arrow {
    font-size: 24px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}


