*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
    width: 100%;
    overflow-x: hidden;
}

body{
    background:#020914;
    color:#fff;
    font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    line-height:1.6;
    overflow-x:hidden;
    width: 100%;
}

img{
    max-width:100%;
    display:block;
}

a{
    text-decoration:none;
    color:inherit;
}

button,
input{
    font-family:inherit;
}
/*======================================
        NAVBAR
======================================*/
.navbar{
    border-bottom:1px solid #172238;
    background:#050d18;
    padding: 15px 0;
    top: 0;
    z-index: 1000;
    position: fixed;
    width: 100%;
}
.nav-container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    margin: 0 auto;
    padding: 0 45px;
}
.nav-container h1{
    font-size: 1.8rem;
    font-family: system-ui;
    font-weight: 700;
    letter-spacing: 2px;
    color: white;
}
.nav-container span{
    color:#1677ff;
}
.nav-menu{
    display: flex;
    list-style: none;
    gap: 30px;
}
.nav-menu a{
    text-decoration: none;
    text-transform: capitalize;
    color: white;
    font-size: 1.2rem;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition:all 0.3s ease ;
    padding: 8px ;
    letter-spacing: 1px;
    border-radius: 4px;
}
.nav-menu a:hover{
    color:#1680ff;
    border-bottom: 2px solid #1677ff;
    transform: translateY(4px);
    background: #6d7174;
}
.nav-menu a.active{
    color:#1680ff;
   border-bottom: 2px solid #1677ff;
}
.nav-menu a:active{
    font-size: 1.6rem;
    outline:2px solid #1677ff;
    outline-offset:3px;
}
/*======================================
        SEARCH
======================================*/
.search input{
    width:320px;
    padding:15px 18px;
    border-radius:10px;
    border:2px solid #243247;
    background:#111b2b;
    color:white;
}
.search input:focus{
    border-color:#1677ff;
    box-shadow:0 0 0 3px rgba(22,119,255,.15);
    outline:2px solid #1677ff;
    outline-offset:3px;
}
/*======================================
      HAMBURGE
======================================*/
.hamburger{
    display:none;
    cursor:pointer;
    background:none;
    border:none;
}
.bar{
    display:block;
    width:28px;
    height:3px;
    background:#fff;
    margin:6px 0;
    transition:.3s;
}
/* main start */
.hero-images{
    max-width:1400px;
    margin:110px auto 40px;
    border-radius:14px;
    overflow:hidden;
    border:1px solid #223248;
    box-shadow:0 10px 35px rgba(0,0,0,.35);
}
.hero-images img{
    width:100%;
    height:750px;
    object-fit:cover;
}
.mega-filter-bar {
  background: #0d1117;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #21262d;
  max-width: 1400px;
  margin: 20px auto;
}

.filter-header {
  margin-bottom: 15px;
  color: #8b949e;
  font-size: 14px;
}

.mega-filter-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr) 200px;
  gap: 15px;
  align-items: end;
}

.mega-filter-box label {
  display: block;
  font-size: 20px;
  color: #8b949e;
  margin-bottom: 8px;
  font-weight: 700;
  font-family: system-ui;
}

/* Premium Custom Select */
.custom-select {
  position: relative;
  background: #161b22;
  border: 1px solid #30363d;
  border-radius: 6px;
  cursor: pointer;
}
.custom-select:hover { border-color: #3b82f6; }
.custom-select.active { border-color: #3b82f6; box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2); }

.select-selected {
  padding: 11px 40px 11px 14px;
  color: #c9d1d9;
  font-size: 14px;
  position: relative;
  font-family: system-ui;
  font-weight: 700;
}
.select-selected::after {
  content: '▼';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #8b949e;
  font-size: 10px;
  transition: 0.3s;
}
.custom-select.active .select-selected::after { transform: translateY(-50%) rotate(180deg); }

.select-items {
  position: absolute;
  top: 105%;
  left: 0;
  right: 0;
  background: #161b22; 
  border: 1px solid #30363d;
  border-radius: 6px;
  z-index: 999;
  max-height: 0;
  overflow: hidden;
  transition: 0.3s;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}
.custom-select.active .select-items {
  max-height: 250px;
  overflow-y: auto;
}

.select-items div {
  padding: 10px 14px;
  color: #c9d1d9;
  font-size: 14px;
  cursor: pointer;
}
.select-items div:hover {
  background: #238636;
  color: #fff;
}

/* Buttons */
.mega-filter-btns {
  display: flex;
  gap: 10px;
}
.btn-apply, .btn-reset {
  flex: 1;
  padding: 11px;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  height: 57px;
}
.btn-apply {
  background: #238636;
  color: #fff;
}
.btn-apply:hover { background: #2ea043; }
.btn-reset {
  background: #21262d;
  color: #c9d1d9;
  border: 1px solid #30363d;
}
.btn-reset:hover { background: #30363d; }

/* Product Cards - FIXED */
.comparison-grid {
    display: grid; 
    grid-template-columns: repeat(4,1fr);
    gap: 30px; 
    margin: 0 auto;
    max-width: 1600px;
    padding: 20px;
    margin-bottom: 150px;
}
.compare-card {
  background: #111b2b;
  border: 2px solid #243247;
  border-radius: 12px;
  padding: 16px; 
  position: relative;
  box-shadow: 0 4px 20px rgba(10,37,64,0.8);
  transition:.35s ease;
  overflow: hidden;
}
.compare-card:hover{
    transform:translateY(-8px);
    border-color:#005fe0;
    box-shadow:0 15px 35px rgba(22,119,255,.25);
}
.cat-badge {
  position: absolute; top: 12px; left: 12px;
  background: #238636; padding: 4px 10px; border-radius: 20px; font-size: 11px;
  font-family: system-ui;
  font-weight: 700;
  z-index: 2;
}
.vs-images { 
    width: 100%; 
    height: 210px; 
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 12px; 
}
.vs-images img { 
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:.35s;
}
.compare-card:hover .vs-images img{
    transform:scale(1.08);
}
.compare-card p { 
  font-size: 14px; 
  color: #aaa; 
  margin-bottom: 8px;
  font-weight: 600; 
}
.rating { 
  font-size: 14px; 
  margin-bottom: 12px; 
  font-family: system-ui;
  font-weight: 700;
}
.compare-btn {
    width:100%;
    background:#2563EB;
    color:#fff;
    border:none;
    border-radius:8px;
    padding:10px 0;
    font-weight:700;
    cursor:pointer;
    display:flex;
    gap:6px;
    align-items:center;
    justify-content:center;
    font-size:18px;
    font-family: system-ui;
}
.compare-btn:hover { 
    background:#005fe0;
    transform:translateY(-2px);
    box-shadow:0 10px 25px rgba(22,119,255,.35); 
}
.compare-btn:active{
    transform:scale(.98);
}
.compare-btn:focus{
    outline:2px solid #1677ff;
    outline-offset:3px;
}
::selection{
    background:#1677ff;
    color:#fff;
}

.compare-card,
.hero-images,
.mega-filter-bar{
    animation:fadeUp .6s ease;
}
@keyframes fadeUp{
    from{
        opacity:0;
        transform:translateY(20px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}
/* footer section */
.main-footer{
    display: flex;
    flex-wrap: wrap;
    gap: 80px;
    justify-content: center;
    background: #111b2b;
}
.main-footer-heading{
    display: flex;
    width: 400px;
    flex-direction: column;
    margin-bottom: 150px;
}
.main-footer-heading h3{
    font-size: 2.2rem;
    font-family: system-ui;
    font-weight: 600;
    letter-spacing: 1px;
    margin-top: 70px;
}
.main-footer-heading span{
    color: #1677ff;
}
.main-footer-heading p{
    font-size: 1.1rem;
    line-height: 30px;
    padding: 20px;
}
.use-full-link{
    display: flex;
    flex-direction: column;
}
.use-full-link h3{
    font-size: 2.2rem;
    font-family: system-ui;
    font-weight: 600;
    letter-spacing: 1px;
    margin-top: 70px;
}
.use-full-link span{
    color: #1677ff;
}
.links{
    text-decoration: none;
    list-style: none;
    font-size: 1.5rem;
    padding: 20px;
}
.links li{
    margin-bottom: 15px;
}
.links a{
    text-decoration: none;
    text-transform: capitalize;
    color: white;
    font-size: 1.3rem;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition:all 0.3s ease ;
    padding: 8px ;
    letter-spacing: 1px;
    border-radius: 4px;
}
.links a:hover{
    color: #1677ff;
    border-bottom: 2px solid #1680ff;
    transform: translateY(4px);
    background: #6d7174;
}
.local-contact{
    display: flex;
    flex-direction: column;
}
.local-contact h3{
    font-size: 2.2rem;
    font-family: system-ui;
    font-weight: 600;
    letter-spacing: 1px;
    margin-top: 70px;
}
.local-contact span{
    color: #1677ff;
}
.contact-info-foter{
    text-decoration: none;
    list-style: none;
    font-size: 1.5rem;
    padding: 20px;
}
.contact-info-foter li{
    margin-bottom: 15px;
}
.contact-info-foter a{
    text-decoration: none;
    text-transform: capitalize;
    color: white;
    font-size: 1.3rem;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition:all 0.3s ease ;
    padding: 8px ;
    letter-spacing: 1px;
    border-radius: 4px;
}
.contact-info-foter a:hover{
    color: #1677ff;
    border-bottom: 2px solid #1680ff;
    transform: translateY(4px);
    background: #6d7174;
}
.disclaimer{
    display: flex;
    width: 350px;
    flex-direction: column;
    margin-bottom: 50px;
}
.disclaimer h3{
    font-size: 2.2rem;
    font-family: system-ui;
    font-weight: 600;
    letter-spacing: 1px;
    margin-top: 70px;
    
}
.disclaimer p{
    font-size: 1.1rem;
    line-height: 30px;
    padding: 20px;
}
.copyright{
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    padding: 30px;
    border-top: 2px solid #1677ff;
}
.copyright p{
    font-size: 1.4rem;
}

/*=========================================
        MOBILE MENU BUTTON
=========================================*/
.hamburger{
    display:none;
    width:32px;
    cursor:pointer;
}
.bar{
    display:block;
    height:3px;
    margin:6px 0;
    background:#fff;
    border-radius:5px;
    transition:.3s;
}
 /*=========================================
        TABLET
=========================================*/

@media(max-width:992px){
    .search input{
        max-width:250px;
    }
    .nav-menu{
        gap:18px;
    }
    .hero-images{
        margin-top: 90px;
        height: 400px;
    }
    .hero-images img{
        height: 400px;
    }

}

/*=========================================
        MOBILE 768px - FINAL FIX
=========================================*/

@media(max-width:768px){
    body{
        padding-bottom: 80px;
    }
    .hamburger{
        display: block;
    }
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-container{
        flex-wrap:wrap;
    }
    .search{
        order:3;
        width:100%;
        margin-top:12px;
    }
    .search input{
        max-width:100%;
    }
    .hamburger{
        display:block;
    }
    .nav-menu{
        display:none;
        width:100%;
        flex-direction:column;
        align-items:flex-start;
        background:#091321;
        margin-top:15px;
        padding:15px;
        border-radius:10px;
    }
    .nav-menu.active{
        display:flex;
    }
    .nav-menu a{
        width:100%;
        padding:12px 0;
    }

    /* HERO MOBILE */
    .hero-images{
        margin: 100px 15px 20px;
        height: 200px;
        border-radius: 10px;
    }
    .hero-images img{
        height: 230px;
    }

    /* FILTER 2 COLUMN */
    .mega-filter-container { 
        grid-template-columns: repeat(2, 1fr) ; 
        gap: 10px;
    }
    .mega-filter-box label {
        font-size: 14px;
    }
    .select-selected {
        padding: 9px 35px 9px 12px;
        font-size: 13px;
    }
    .mega-filter-btns { 
        grid-column: 1 / -1; 
    }
    .btn-apply, .btn-reset {
        height: 45px;
        font-size: 14px;
    }

    /* CARDS 1 COLUMN + CHOTE */
    .comparison-grid {
        grid-template-columns: 1fr ;
        gap: 30px ;
        padding: 15px 12px 100px;
    }
    .compare-card {
        padding: 10px ;
        border-radius: 8px ;
        box-shadow: 0 2px 8px rgba(10,37,64,0.5) ;
    }
    .vs-images {
        height: 230px ; 
        margin-bottom: 8px ;
    }
    .cat-badge {
        font-size: 9px ;
        padding: 2px 6px ;
    }
    .compare-card p,
    .rating {
        font-size: 12px ;
        margin-bottom: 5px ;
    }
    .compare-btn {
        padding: 8px ;
        font-size: 12px ;
    }

  /* footer section */
  .main-footer {
    gap: 0 ;
    padding: 40px 20px ;
    flex-direction: column ;
  }
  .main-footer-heading,
  .use-full-link,
  .local-contact,
  .disclaimer {
    width: 100% ;
    margin-bottom: 30px ;
    padding: 20px ;
    background: rgba(22, 119, 255, 0.05) ;
    border: 1px solid rgba(22, 119, 255, 0.15) ;
    border-radius: 12px ;
    backdrop-filter: blur(10px) ;
  }
  .main-footer-heading h3,
  .use-full-link h3,
  .local-contact h3,
  .disclaimer h3 {
    font-size: 1.5rem ;
    margin-top: 0 ;
    margin-bottom: 15px ;
    letter-spacing: 0.5px ;
    position: relative ;
    padding-bottom: 10px ;
  }
  .main-footer-heading h3::after,
  .use-full-link h3::after,
  .local-contact h3::after,
  .disclaimer h3::after {
    content: '' ;
    position: absolute ;
    bottom: 0 ;
    left: 0 ;
    width: 50px ;
    height: 3px ;
    background: #1677ff ;
    border-radius: 2px ;
  }
  .main-footer-heading span,
  .use-full-link span,
  .local-contact span {
    color: #1677ff ;
  }
  .main-footer-heading p,
  .disclaimer p {
    font-size: 0.95rem ;
    line-height: 24px ;
    padding: 0 ;
    color: #ccd2d6 ;
  }
  .links,
  .contact-info-foter {
    font-size: 1rem ;
    padding: 0 ;
    display: grid ;
    grid-template-columns: 1fr 1fr ;
    gap: 5px ;
  }
  .links li,
  .contact-info-foter li {
    margin-bottom: 0 ;
  }
  .links a,
  .contact-info-foter a {
    font-size: 0.9rem ;
    padding: 10px 12px ;
    display: block ;
    background: rgba(22, 119, 255, 0.08) ;
    border: 1px solid transparent ;
    border-radius: 8px ;
    letter-spacing: 0.1px ;
    transition: all 0.3s ease ;
  }
  .links a:active,
  .contact-info-foter a:active {
    background: #1677ff ;
    color: white ;
    transform: translateY(-2px) ;
    box-shadow: 0 4px 12px rgba(22, 119, 255, 0.3) ;
  }
  .copyright {
    padding: 20px 15px ;
    text-align: center ;
  }
  .copyright p {
    font-size: 0.95rem ;
    line-height: 22px ;
  }

    /* BOTTOM NAV  */
    .bottom-nav{
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #050d18;
        border-top: 1px solid #172238;
        display: flex;
        justify-content: space-around;
        padding: 8px 0;
        z-index: 1000;
    }
    .bottom-nav a{
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: 11px;
        color: #b8c2d0;
    }
    .bottom-nav a.active{
        color: #1677ff;
    }
    .bottom-nav span{
        font-size: 22px;
        margin-bottom: 3px;
    }
}
/* Desktop me bottom nav hide */
@media (min-width: 769px){
    .bottom-nav{
        display: none;
    }
    .mobile-filter-btn{
        display: none;
    }
}
/*=========================================
      EXTRA SMALL MOBILE
=========================================*/

@media(max-width:420px){
    body{
        padding-bottom: 80px;
    }
    .navbar{
        padding-top: 10px;
        padding-bottom: 5px;
    }
    .nav-container h1{
        font-size: 1.3rem;
    }
    .search{
        margin-top: 5px;
    }
    .search input{
        padding: 8px 8px;
    }
    .bar{
        height: 2px;
    }
    .hero-images img{
        height: 200px;
    }
}

@media (max-width: 400px) {
  .links,
  .contact-info-foter {
    grid-template-columns: 1fr ;
  }
}