/* --- Default state: Hide hamburger on Desktop --- */
.menu-toggle-btn,
.close-menu-btn {
    display: none;
}

/* --- TABLET RESPONSIVENESS (Screens up to 1024px) --- */
@media (max-width: 1024px) {
    .main-container {
        margin: 1.5rem 1rem;
    }

    /* Header becomes a 2-row layout */
    .navbar {
        flex-wrap: wrap;
        gap: 16px;
        padding: 16px;
        /* margin-left: 0px; */
    }

    .nav-left,
    .nav-right {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .nav-right {
        width: auto;
        /* Move profile icon next to the nav links on tablet */
        order: 2;
    }

    .nav-left {
        order: 1;
    }

    .search-container {
        width: 100%;
        order: 3; /* Search bar at the bottom */
        max-width: none;
    }

    .slide img {
        aspect-ratio: 16 / 7;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .navbar {
        margin: 10px;
        padding: 12px 20px;
        flex-wrap: wrap;
        gap: 16px;
    }

    .menu-toggle-btn {
        display: flex;
    }

    .nav-left {
        gap: 16px;
        width: 100%;
        justify-content: space-between;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        z-index: 1000;
        flex-direction: column;
        justify-content: center;
        transform: translateX(-100%);
        transition: var(--transition);
    }

    .nav-links.is-open {
        transform: translateX(0);
    }

    .nav-links ul {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .nav-links a {
        font-size: 18px;
        padding: 16px 32px;
    }

    .close-menu-btn {
        position: absolute;
        top: 30px;
        right: 30px;
        background: var(--accent-gradient);
        border: none;
        width: 48px;
        height: 48px;
        border-radius: 50%;
        font-size: 24px;
        color: white;
        cursor: pointer;
        transition: var(--transition);
    }

    .search-container {
        width: 100%;
        order: 3;
    }

    .nav-right {
        order: 2;
        width: auto;
    }
}

@media (max-width: 480px) {
    .navbar {
        margin: 0px;
        padding: 12px 16px;
    }

    .logo {
        font-size: 20px;
    }

    .search-container {
        padding: 6px;
    }

    .location-selector-btn {
        padding: 10px 16px;
    }

    .search-button {
        width: 44px;
        height: 44px;
    }
}

/* Loading Animation */
@keyframes pulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.loading {
    animation: pulse 2s infinite;
}

/* Floating Animation for Interactive Elements */
@keyframes float {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}

.navbar:hover .logo {
    animation: float 3s ease-in-out infinite;
}

/* --- MOBILE RESPONSIVENESS (Screens up to 768px) --- */
@media (max-width: 768px) {
    /* --- HAMBURGER MENU STYLES --- */
    .menu-toggle-btn {
        /* This rule now correctly overrides the default display:none */
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: none;
        cursor: pointer;
        font-size: 24px;
        color: var(--primary-text);
    }

    .close-menu-btn {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        background: transparent;
        border: none;
        font-size: 28px;
        cursor: pointer;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 280px;
        height: 100vh;
        background-color: var(--background-color);
        z-index: 1000;
        display: flex;
        flex-direction: column;
        padding-top: 60px;
        box-shadow: 4px 0 15px rgba(0, 0, 0, 0.1);
        transform: translateX(-100%); /* Hide menu by default */
        transition: transform 0.3s ease-in-out;
    }

    .nav-links.is-open {
        transform: translateX(0); /* Show menu when active */
    }

    .nav-links ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
        margin-left: 0px;
    }

    .nav-links li a {
        display: block;
        padding: 15px 25px;
        font-size: 16px;
        border-bottom: 1px solid var(--border-color);
    }
    .nav-links a:hover {
        background-color: var(--hover-light);
    }
    .nav-links a::after {
        display: none; /* Remove underline animation on mobile */
    }

    /* --- HEADER LAYOUT ON MOBILE --- */
    .navbar {
        flex-wrap: nowrap;
        align-items: center;
        gap: 16px;
        justify-content: space-between;
    }

    .nav-left {
        width: auto;
        order: 1;
    }

    .nav-right {
        width: auto;
        order: 3;
    }

    .search-container {
        display: none; /* Hide the search bar from the header */
    }

    /* Slider adjustments */
    /* .slider-container {
    height: auto;
    aspect-ratio: 16 / 9;
  } */
}

/* --- Add this code to the bottom of your responsive.css file --- */

/* --- Search Overlay Styles --- */
/* --- Hidden by default --- */
.mobile-search-overlay {
    position: fixed;
    top: 100px;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 99;
    height: auto;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* --- When opened --- */
.mobile-search-overlay.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.mobile-search-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
}

.close-mobile-search {
    border: none;
    background: transparent;
    font-size: 22px;
    color: #111;
}

.mobile-search-field {
    flex: 1;
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 25px;
    padding: 6px 14px;
    background: #f7f7f7;
}

.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.search-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.close-search-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: var(--secondary-text);
}

.search-overlay-content {
    display: flex;
    width: 100%;
    max-width: 600px;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    overflow: hidden;
}

.search-overlay-input {
    flex-grow: 1;
    border: none;
    outline: none;
    padding: 15px 20px;
    font-size: 16px;
    font-family: var(--font-family);
}

.search-overlay-button {
    border: none;
    background-color: var(--primary-text);
    color: white;
    padding: 0 25px;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
}

/* Initially hide the mobile search icon */
.search-toggle-btn {
    display: none;
}

/* --- Show the search icon ONLY on mobile --- */
@media (max-width: 768px) {
    .search-toggle-btn {
        display: flex; /* Show the new search icon */
    }
}

/* --- NEW: Mobile Dropdown Search Bar Styles --- */

/* Initially hide the container by collapsing it */
.mobile-search-container {
    background-color: #ffffff;
    padding: 0 1rem; /* Padding will be applied when open */
    max-height: 0;
    overflow: hidden;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease-in-out !important;
}

/* This class will be toggled by JS to open the search bar */
.mobile-search-container.is-open {
    max-height: 100px; /* Itna khulega */
    opacity: 1;
    visibility: visible;
    padding: 10px 15px; /* Padding tabhi add ho jab khule */
    border-bottom: 1px solid #eee;
}

.mobile-search-content {
    display: flex;
    width: 100%;
    border: 1px solid var(--border-color);
    border-radius: 25px;
    overflow: hidden;
}

.mobile-search-input {
    flex-grow: 1;
    border: none;
    outline: none;
    padding: 12px 18px;
    font-size: 15px;
    font-family: var(--font-family);
}

.mobile-search-button {
    border: none;
    background-color: var(--primary-text);
    color: white;
    padding: 0 20px;
    cursor: pointer;
    font-size: 22px;
    display: flex;
    align-items: center;
}

/* --- Keep these rules for the search icon in the header --- */

/* Initially hide the mobile search icon */
.search-toggle-btn {
    display: none;
}

/* Show the search icon ONLY on mobile */
@media (max-width: 768px) {
    .search-toggle-btn {
        display: flex;
    }
}

.mobile-search-container {
    background-color: #fff;
    padding: 0 1rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease-in-out;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

.mobile-search-container.is-open {
    /* padding: 1rem; */
    /* max-height: 100px; <--- ISKO HATAO ya BADHAO */
    max-height: none !important; /* Animation ke baad height khuli chhod do */
    overflow: visible !important; /* Dropdown ko container se bahar nikalne do */
    z-index: 1100; /* Isse content ke upar laao */
    position: relative;
}

.mobile-search-content {
    display: flex;
    border: 1px solid #ccc;
    border-radius: 25px;
    overflow: visible !important;
}

.mobile-search-input {

    flex-grow: 1;
    border: none;
    outline: none;
    padding: 12px 15px;
    font-size: 15px;
    border-radius: 27px;
}

.mobile-search-button {
background-color: #ed1c24;
    color: #fff;
    border: none;
    padding: 0 20px;
    display: flex;
    align-items: center;
    border-radius: 20px;
}

/* --- UPDATED: Responsive styles for Services Section --- */

@media (max-width: 1024px) {
    .section-title {
        font-size: 28px;
    }
    .section-subtitle {
        font-size: 16px;
    }
    .service-cards-grid {
        /* Grid will automatically adjust, maybe to 2 columns */
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 21px;
        font-weight: 700;
    }
    .section-subtitle {
        font-size: 14px;
        padding: 0 0rem; /* Add padding to subtitle on mobile */
    }
    .service-cards-grid {
        /* Grid will stack to 1 column automatically */
        grid-template-columns: repeat(2, 1fr);
        gap: 15px; /* A slightly smaller gap for better spacing */
        padding: 0 1rem;
    }
    .service-card {
        flex-direction: column; /* This is the key change: stacks items vertically */
        text-align: center; /* Centers the text below the image */
        padding: 20px;
        gap: 10px;
    }

    .service-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 10px; /* Adds some space below the image */
    }

    .service-text-content {
        text-align: center; /* Ensures text inside the container is centered */
    }

    .service-name {
        font-size: 16px;
    }
}

/* --- NEW: Responsive Styles for Cool Brands Section --- */

@media (max-width: 1024px) {
    .brands-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 15px;
    }
    .brands-title {
        font-size: 28px;
    }
    .brands-subtitle {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .brands-section-futuristic {
        padding: 50px 0;
    }
    .brands-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
    }
    .brands-title {
        font-size: 24px;
    }
    .brands-subtitle {
        font-size: 14px;
        padding: 0 1rem;
    }
    /* Disable the hover animation on touch devices */
    .brand-card:hover {
        transform: none;
        box-shadow: none;
    }
    .brand-card:hover::before {
        background-size: 0 2px, 0 2px, 2px 0, 2px 0; /* Keep lines hidden */
    }
    .brand-card:hover img {
        transform: none;
    }
}

@media (max-width: 480px) {
    .brands-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
}

/* --- NEW: Responsive Styles for Modern Process Cards --- */

@media (max-width: 1024px) {
    .process-grid-final {
        grid-template-columns: 1fr 1fr; /* 2 columns on tablets */
    }
}

@media (max-width: 768px) {
    .process-section-final {
        padding: 60px 0;
    }
    .process-grid-final {
        grid-template-columns: 1fr; /* 1 column on mobile */
        gap: 40px; /* Increase gap for vertical layout */
        padding: 0 1.5rem;
    }
    .card-title {
        font-size: 20px;
    }
    .card-description {
        font-size: 14px;
    }
}

/* Responsive Design why choose us */
/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        grid-template-columns: 1fr;
        gap: 80px;
        text-align: center;
        padding: 40px 20px;
    }

    .main-title {
        font-size: 48px;
    }

    .solutions-title {
        font-size: 36px;
    }

    .laptop-container {
        transform: scale(0.8);
    }
}

@media (max-width: 768px) {
    .main-title {
        font-size: 36px;
    }

    .solutions-title {
        font-size: 28px;
    }

    .laptop-container {
        transform: scale(0.6);
        display: none;
    }

    .experience-number {
        font-size: 80px;
    }
}

/* issue slider responsive */

/* --- CORRECTED RESPONSIVE STYLES --- */
@media (max-width: 992px) {
    .tech-section {
        padding: 30px;
    }

    .tab-content {
        /* Stack the two main columns vertically on tablets and mobile */
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .info-box {
        position: static; /* Un-stick the info box */
    }
}

@media (max-width: 768px) {
    .tech-section {
        padding: 20px;
    }

    .tabs-container {
        gap: 8px;
    }

    .tab-btn {
        padding: 10px 18px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .category-slider .slide {
        min-width: 170px; /* readable cards */
        padding: 10px;
        gap: 8px;
    }

    .category-slider .slide img {
        width: 27px;
        height: 41px;
    }

    .category-slider .slide p {
        font-size: 14px;
    }

    .issue-title {
        font-size: 22px;
    }
}

/* ✅ Responsive features */
@media (max-width: 1024px) {
    .features-section {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .features-section {
        grid-template-columns: 1fr;
    }

    .feature-card {
        padding: 20px 15px;
    }

    .feature-icon {
        font-size: 42px;
        margin-bottom: 15px;
    }

    .feature-title {
        font-size: 16px;
    }

    .feature-text {
        font-size: 13px;
    }
}

/* testimonial Responsive */
@media (max-width: 768px) {
    .slider {
        animation: scroll 60s linear infinite;
        gap: 15px;
        padding: 0 10px;
    }

    .testimonial-card {
        width: 100%;
        max-width: 350px;
        min-height: 205px;
        height: auto;
        padding: 20px;
        margin: 0 auto;
        box_sizing: border-box;
        background-color: #fff;
        border-radius: 10px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        word-wrap: break-word;
    }

    .testimonial-section h2 {
        font-size: 22px;
        line-height: 1;
        padding: 0 10px;
    }

    .testimonial-section::before,
    .testimonial-section::after {
        width: 50px; /* ✅ edge fade chhota kar diya */
    }
}

/* RESPONSIVE faq */
@media (max-width: 992px) {
    .faq-container {
        flex-direction: column;
    }
    .faq-right {
        order: 2;
    }
    .faq-left {
        order: 1;
    }
    .faq-title {
        font-size: 28px;
    }
}

/* ✅ Responsive rating */
@media (max-width: 768px) {
    .trust-container {
        flex-direction: column;
        text-align: center;
    }
    .trust-text {
        font-size: 16px;
    }
}

/*footer responsive*/
@media (max-width: 992px) {
    .footer-main {
        grid-template-columns: 1fr 1fr; /* 2 columns on tablet */
        gap: 26px;
    }
}

@media (max-width: 768px) {
    .footer-main {
        grid-template-columns: 1fr; /* 1 column on mobile */
        /* text-align: center; */
    }
    .footer-about p {
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    .footer-logo {
        margin-left: auto;
        margin-right: auto;
    }
    .social-icons {
        justify-content: center;
    }
    .newsletter-form {
        flex-direction: column;
    }
}


/* Mobile View specific styles */
@media (max-width: 768px) {
    /* Make the H3 clickable and align arrow */
    .footer-collapse h3 {
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        /* align-items: center; */
        margin-bottom: 0px;
        padding: 0px 0;
        border-bottom: 1px solid #e0e0e0; /* Optional: separator line */
    }

    /* Show the arrow on mobile */
    .mobile-arrow {
        display: block;
        transition: transform 0.3s ease;
    }

    /* Rotate arrow when open */
    .footer-collapse.active .mobile-arrow {
        transform: rotate(180deg);
    }

    /* Hide the list by default with smooth animation */
    .footer-collapse .footer-links {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-out, opacity 0.3s ease;
        opacity: 0;
        margin-top: 0;
    }

    /* Show the list when active class is added */
    .footer-collapse.active .footer-links {
        max-height: 500px; /* Big enough to fit content */
        opacity: 1;
        margin-top: 10px;
    }

    /* Remove default margin from LI to make animation smoother */
    .footer-col li {
        margin-bottom: 12px;
    }
}

.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
.spinner {
    border: 4px solid #eee;
    border-top: 4px solid #333;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 1024px) {
    .process-grid-final {
        grid-template-columns: 1fr 1fr; /* 2 columns on tablets */
    }
}

@media (max-width: 768px) {
    .process-section-final {
        padding: 0px 0;
    }
    .process-grid-final {
        grid-template-columns: 1fr; /* 1 column on mobile */
        gap: 40px; /* Increase gap for vertical layout */
        padding: 0 1.5rem;
    }
    .card-title {
        font-size: 20px;
    }
    .card-description {
        font-size: 14px;
    }
}


/* --- LAPTOP & SCALED DESKTOP FIXES (1025px to 1450px) --- */
@media screen and (min-width: 1025px) and (max-width: 1450px) {
    
    /* 1. Navbar ko tight karo */
    .main-container {
        max-width: 95%; /* 1400px fixed hata kar percent use karo */
        margin: 1rem auto; 
    }

    .navbar {
        padding: 10px 15px; /* Padding kam karo */
    }

    .logo {
        width: 160px !important; /* Logo thoda chhota */
    }

    .nav-links ul {
        margin-left: 20px !important; /* 100px margin bohot zyada tha */
        gap: 15px !important; /* Links ke beech ka gap kam karo */
    }

    .nav-links a {
        font-size: 13px !important; /* Font thoda chhota taaki fit aaye */
    }

    .search-container {
        width: 280px !important; /* 500px se ghata kar 280px karo */
    }
    
    /* Location dropdown adjust */
    .location-selector-btn {
        font-size: 12px;
        padding: 6px 8px;
    }
}


/* 2. About Section Fix */
    .gridss {
        gap: 30px !important; /* Gap 64px se kam karo */
    }
    
    .main-imagess {
        margin-left: 0 !important; /* Left margin hata do taaki align ho */
    }
    
    .experience-numberss {
        font-size: 50px !important; /* Number bohot bada tha */
    }
    
    /* 3. Process Cards Fix */
    .process-grid-final {
        gap: 15px !important; /* Cards ke beech gap kam karo */
        padding: 0 10px;
    }

    .process-card-final {
        padding: 25px 15px !important; /* Card ke andar ki padding kam karo */
    }

    .card-icon-main {
        width: 50px;
        height: 50px;
        right: 15px; /* Icon ko thoda adjust karo */
    }
    
    .card-icon-main i {
        font-size: 22px;
    }
    
    
/* --- Mobile View (Reference Design Match) --- */
@media (max-width: 480px) {
    
    .repair-container {
        padding: 0 0px; /* Container padding adjust */
    }

    .models-grid {
        /* Force 3 Columns */
        grid-template-columns: repeat(3, 1fr); 
        gap: 8px; /* Gap kam rakha taaki cards bade dikhein */
    }

    .model-card {
        padding: 8px 4px !important;
        border-radius: 10px;
        border: 1px solid #eee;
        box-shadow: 0 2px 5px rgba(0,0,0,0.05);
        
        /* Mobile par almost Square shape */
        aspect-ratio: 1 / 1.15; 
        min-height: unset;
        justify-content: flex-start; /* Content top se start ho */
    }

    /* Image ko bada dikhana hai */
    .phone-img {
        width: auto !important;
        max-width: 95% !important;
        height: 65% !important; /* Image ko height ka major hissa diya */
        margin-bottom: 5px;
        object-fit: contain;
    }

    .model-name {
        font-size: 11px !important; /* Font size adjust kiya taaki 3 col me fit ho */
        /*font-weight: 700 !important; */
        color: #000;
        line-height: 1.2;
        height: auto; /* Height auto taaki content ke hisaab se le */
        min-height: 30px; /* Minimum jagah text ke liye */
        align-items: flex-start; /* Text thoda upar rahe */
        padding-top: 0;
        
        /* Text agar lamba ho to ... aa jaye (Optional) */
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* No Results wala box fix */
    .no-results {
        grid-column: 1 / -1;
        padding: 40px 10px;
    }
    
    .no-results svg {
        width: 40px;
        height: 40px;
    }
}

/* --- LAPTOP & SCALED DESKTOP FIXES (1025px to 1450px) --- */
@media screen and (min-width: 1025px) and (max-width: 1450px) {
    
    /* 1. Navbar Fixes (Jo pehle diye the wo rahne dena) */
    /* ... (Existing Navbar Code) ... */

    /* --- NEW FIXES FOR REPAIR PAGE --- */

    /* 1. Grid ko adjust karo taaki cards choke na hon */
    .services-grid {
        gap: 12px !important; /* Cards ke beech gap kam kiya */
    }

    /* 2. Card ki padding kam karo taaki text ko jagah mile */
    .service-cardss {
        padding: 10px 12px !important; /* Padding kam ki */
        gap: 10px !important;
        overflow: visible !important; /* IMPORTANT: Tooltip ko bahar nikalne do */
    }

    /* 3. Issue Name ko 1 line me fit karo */
    .service-title {
        font-size: 13px !important; /* Font chhota kiya */
        white-space: nowrap; /* Text ko 2 line me tootne se roko */
        overflow: hidden;
        text-overflow: ellipsis; /* Agar fir bhi bada ho to '...' dikhaye */
        max-width: 100%;
        display: block;
    }

    /* 4. Price Text ko adjust karo */
    .price-current {
        font-size: 16px !important; /* Price thoda chhota */
    }
    
    /* 5. Tooltip Fix (Black Box) */
    .info-tooltip {
        /* Force 1 Line */
        white-space: nowrap !important;
        
        /* IMPORTANT: max-width hata diya taaki black box text ke saath bada ho */
        max-width: unset !important; 
        width: max-content !important; 
        
        /* Styling */
        font-size: 11px !important;
        padding: 8px 12px !important;
        border-radius: 6px !important;
        background: #000 !important; /* Ensure background black ho */
        color: #fff !important;
        
        /* Positioning: Center align */
        left: 50% !important;
        transform: translateX(-50%) !important;
        bottom: 140% !important; /* Icon se thoda upar */
        z-index: 9999 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transition: opacity 0.2s ease;
    }
    
    .info-icon:hover .info-tooltip {
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* Arrow Center Fix */
    .info-tooltip::after {
        left: 50% !important;
        margin-left: -5px !important;
        right: auto !important;
    }
}



/* --- LAPTOP & SCALED DESKTOP FIXES (1025px to 1450px) --- */
@media screen and (min-width: 1025px) and (max-width: 1450px) {

    /* 1. Header Layout Adjustments */
    .navbar {
        gap: 10px !important; /* Elements ke beech gap kam karo */
        padding: 10px 15px !important;
    }

    /* 2. Logo Adjustments */
    .logo {
        width: 140px !important; /* Logo thoda chhota */
    }
    
    .nav-left {
        gap: 15px !important;
    }

    /* 3. Navigation Links (Menu) */
    .nav-links ul {
        margin-left: 20px !important; /* 100px margin bohot zyada tha, kam kar diya */
        gap: 15px !important;
    }
    
    .nav-links a {
        font-size: 13px !important;
    }

    /* 4. Search Container Fix (IMPORTANT) */
    .search-container {
        width: auto !important; /* Fixed 500px hata diya */
        flex: 1; /* Bachi hui jagah lega */
        max-width: 450px !important; /* Max limit set ki taaki tootey nahi */
        min-width: 250px !important;
    }
    
    /* Input field ko adjust karo */
    .search-input {
        font-size: 13px !important;
    }

    /* 5. Location Button */
    .location-selector-btn {
        padding: 5px 8px !important;
        font-size: 12px !important;
    }
}