@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --primary: #003366;
    --secondary: #0066cc;
    --accent: #27ae60;
    --bg-light: #f4f7f9;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Montserrat", sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}
/* Menu */
.burger {
  position: absolute;
  right: 0;
  width: 40px;
  height: 30px;
  background: transparent;
  cursor: pointer;
  display: none;
}

.burger input {
  display: none;
}

.burger span {
  display: block;
  position: absolute;
  height: 4px;
  width: 100%;
  background: black;
  border-radius: 9px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: .25s ease-in-out;
}

.burger span:nth-of-type(1) {
  top: 0px;
  transform-origin: left center;
}

.burger span:nth-of-type(2) {
  top: 50%;
  transform: translateY(-50%);
  transform-origin: left center;
}

.burger span:nth-of-type(3) {
  top: 100%;
  transform-origin: left center;
  transform: translateY(-100%);
}

.burger input:checked ~ span:nth-of-type(1) {
  transform: rotate(45deg);
  top: 0px;
  left: 5px;
}

.burger input:checked ~ span:nth-of-type(2) {
  width: 0%;
  opacity: 0;
}

.burger input:checked ~ span:nth-of-type(3) {
  transform: rotate(-45deg);
  top: 28px;
  left: 5px;
}

/* #logout-btn {
    display: none;
} */

/* Navbar Styling */
.navbar {
    background: var(--white);
    height: 80px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    cursor: pointer;
}

.logo span {
    color: var(--secondary);
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 500;
    transition: 0.3s;
}

.nav-menu a:hover {
    color: var(--secondary);
}

.login-link {
    background: var(--primary);
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.login-link:hover {
    background: var(--secondary);
}

.btn-primary {
    background: var(--primary);
    color: white !important;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--secondary);
}

/* Hero Styling */
.hero {
    background: linear-gradient(rgba(0, 51, 102, 0.6), rgba(0, 51, 102, 0.1)), url('https://images.pexels.com/photos/28586201/pexels-photo-28586201.jpeg');
    height: 85vh;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero h1 span {
    color: var(--white);
    font-weight: 600;
}

.hero p {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 40px;
}

/* Search Panel */
/* 1. Container Fix */
.search-panel {
    background: #ffffff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 1200px;
    width: 95%;
    /* margin: -50px auto 20px; */
    position: relative;
    z-index: 100;
}

.search-panel i {
    color: var(--primary);
}

/* 2. Flex Grid Fix */
.search-grid {
    display: flex;
    flex-wrap: wrap; /* Jab jagah kam ho to niche shift ho jaye */
    align-items: flex-end;
    gap: 15px;
}

/* 3. Item logic - Shrink aur Growth ko handle karna */
.search-item {
    flex: 1 1 200px; /* Grow kare, shrink kare, lekin base 200px rakhe */
    min-width: 0;    /* CSS Flexbox ka fix taake content shrink ho sake */
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* 4. Inputs aur Selects ko 100% responsive banana */
.search-input, 
.search-item select {
    width: 100%;
    box-sizing: border-box; /* Padding ko width ke andar rakhega */
    height: 45px;
    padding: 0 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
}

/* 5. Slider Fix - Jo screenshot mein toota hua hai */
.range-slider-container {
    position: relative;
    width: 100%;
    height: 45px;
    display: flex;
    align-items: center;
}

/* Slider track fix taake thumbs ke sath sahi alignment mein rahe */
.slider-track {
    width: 100%;
    border-radius: 5px;
}

.slider-track label {
    font-size: 14px;
}

/* Search Button logic */
.btn-search {
    flex: 0 0 auto; /* Button shrink nahi hoga */
    height: 45px;
    padding: 0 30px;
    background: #003d73;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

/* 6. Media Queries for Mobile/Tablet */

@media (max-width: 768px) {
    .search-item {
        flex: 1 1 calc(50% - 15px); /* Tablet par 2 columns */
    }
}

@media (max-width: 480px) {
    .search-panel {
        padding: 15px;
    }
    
    .search-item {
        flex: 1 1 100%; /* Mobile par sab ek line mein */
    }
    
    .btn-search {
        width: 100%;
        margin-top: 10px;
    }
}

/* --- TRUST SECTION STYLING --- */
.trust-section {
    padding: 0px 5% 100px 5%;
    background-color: var(--white);
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.trust-section h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 50px;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.trust-card {
    padding: 40px 30px;
    border-radius: 20px;
    background: #fdfdfd;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.trust-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border-color: var(--secondary);
}

.trust-card i {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

.trust-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.trust-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- DASHBOARD PREVIEW STYLING --- */
.dashboard-preview {
    padding: 100px 5%;
    background: linear-gradient(135deg, #f4f7f9 0%, #ffffff 100%);
}

.dashboard-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.dashboard-text {
    flex: 1;
}

.dashboard-text h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.dashboard-text p {
    font-size: 1.1rem;
    color: #666;
}

.dashboard-visuals {
    flex: 1;
    display: flex;
    gap: 20px;
}

.preview-box {
    flex: 1;
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-left: 5px solid var(--primary);
    transition: 0.3s;
}

.preview-box:nth-child(2) {
    border-left-color: var(--secondary);
    margin-top: 40px;
    /* Slight offset for dynamic look */
}

.preview-box:hover {
    transform: scale(1.05);
}

.preview-box h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #333;
}

.stat {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat span {
    font-weight: 700;
    color: var(--primary);
}

.stat .score {
    background: rgba(39, 174, 96, 0.1);
    color: var(--accent);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 992px) {
    .dashboard-content {
        flex-direction: column;
        text-align: center;
    }

    .dashboard-visuals {
        width: 100%;
        justify-content: center;
    }

    .preview-box:nth-child(2) {
        margin-top: 0;
    }
}

@media (max-width: 600px) {
    .dashboard-visuals {
        flex-direction: column;
    }
}


/* Footer */
/* Footer Main Styling */
.main-footer {
    background-color: #ffffff;
    padding: 80px 0 30px 0;
    border-top: 1px solid #eee;
    color: #333;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding: 0 5%;
}

/* Brand Section */
.footer-brand .logo {
    font-size: 28px;
    margin-bottom: 20px;
}

.footer-brand p {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 38px;
    height: 38px;
    background: #f0f4f8;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* Columns & Links */
.footer-col h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--primary);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    text-decoration: none;
    color: #666;
    font-size: 14px;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

/* Newsletter Input */
.footer-subscribe {
    display: flex;
    margin-top: 15px;
}

.footer-subscribe input {
    flex: 1;
    padding: 12px;
    border: 1px solid #eee;
    border-radius: 5px 0 0 5px;
    outline: none;
    background: #f9f9f9;
}

.footer-subscribe button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0 20px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: 0.3s;
}

.footer-subscribe button:hover {
    background: var(--secondary);
}

/* Footer Bottom */
.footer-bottom {
    margin-top: 60px;
    padding-top: 25px;
    border-top: 1px solid #eee;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: #999;
}

/* Responsive */
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-subscribe {
        justify-content: center;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .nav-menu {
        display: none;
    }

    .search-grid {
        grid-template-columns: 1fr;
    }

    .login-link {
    padding: 10px 20px;
}

.btn-primary {
    padding: 10px 20px;
}

}
@media (max-width:960px) {
    .burger {
  display: block;
  margin-right: 20px;
  
}
    .nav-menu {
        display: none;
    }

.nav-auth{
    display: none;
}
}

/* Menu js Class list add ki hai */
.set_navbar{
position: absolute;
right: 0;
top: 70px;
padding: 20px;
background-color: var(--white);
width: 180px;
line-height: 40px;
display: block;
}
.set_btn{
    position: absolute;
right: 0;
top: 200px;
word-wrap: break-word;
width: 180px;
gap: 200px;
line-height:50px;
padding: 20px;
background-color: var(--white);
display: block;

}
.set_btn_none{
    display: none;
}
.set_navbar_none{
display: none;
}