/* Fonts */
:root {
  --default-font: "Roboto",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Nunito",  sans-serif;
  --nav-font: "Inter",  sans-serif;
}

/* Global Colors */
:root { 
  --background-color: #ffffff; 
  --default-color: #212529; 
  --heading-color: #2d465e; 
  --accent-color: #ff5f00; 
  --surface-color: #ffffff; 
  --contrast-color: #ffffff; 
  --footer-background-color: #0d1034;
  --footer-heading-color: #fff;
  --footer-p-color: #9c9dac;
}

/* Nav Menu Colors  */
:root {
  --nav-color: #212529;   
  --nav-hover-color: #0d83fd;  
  --nav-mobile-background-color: #ffffff; 
  --nav-dropdown-background-color: #ffffff; 
  --nav-dropdown-color: #212529; 
  --nav-dropdown-hover-color: #0d83fd;  
}



/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# Default Styling & Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}


/*--------------------------------------------------------------
# Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 90px;
  /*overflow: clip;*/
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 66px;
  }
}

/*--------------------------------------------- 
  HEADER SECTION
*/
        .navbar {
            padding: 0.5rem 0;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }
        
        .navbar-brand {
            color:var(--accent-color);
            font-weight: 600;
            font-size: 1.5rem;
        }

        .navbar ul li a {
          font-weight: 500;
        }
        
        .mega-menu {
            position: static !important;
        }
        
        .mega-menu .dropdown-menu {
            width: 100%;
            left: 0;
            right: 0;
            padding: 2rem;
            margin-top: 0;
            border-radius: 0;
            border: none;
            box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        }
        
        .mega-menu-content {
            display: flex;
            flex-wrap: wrap;
            width: 100%;
        }
        
        .mega-menu-column {
            flex: 1;
            min-width: 200px;
            padding: 0 15px;
        }
        
        .mega-menu-column h5 {
            color: #333;
            font-weight: 600;
            margin-bottom: 1rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid #f0f0f0;
        }
        
        .mega-menu-column ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        
        .mega-menu-column ul li {
            margin-bottom: 0.5rem;
        }
        
        .mega-menu-column ul li a {
            color: #666;
            text-decoration: none;
            transition: all 0.3s ease;
            display: block;
            padding: 0.25rem 0;
        }
        
        .mega-menu-column ul li a:hover {
            color: #0d6efd;
            padding-left: 5px;
        }
        
        .mega-menu-featured {
            background: #f8f9fa;
            padding: 1.5rem;
            border-radius: 5px;
        }
        
        .mega-menu-img {
            max-width: 100%;
            height: auto;
            border-radius: 5px;
        }
        
        /* Responsive adjustments */
        @media (max-width: 991.98px) {
            .mega-menu .dropdown-menu {
                position: relative !important;
                transform: none !important;
                width: 100%;
                padding: 1rem;
            }
            
            .mega-menu-img {
                display: none;
            }
            
            .mega-menu-column {
                flex: 100%;
                margin-bottom: 1.5rem;
            }
            
            .mega-menu-column:last-child {
                margin-bottom: 0;
            }
        }

/*--------------------------------------------- 
  HERO SECTION
*/

  .hero {
      background: linear-gradient(to right, rgba(255, 231, 244, 1), rgba(248, 240, 246, 1), rgba(241, 250, 249, 1));
      height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      text-align: left;
  }
  .hero .container {
      display: flex;
      align-items: center;
  }
  .hero-content {
      flex: 1;
  }
  .hero-content h1 {
    font-size: 3.5rem;
  }
  .hero-image {
      flex: 1;
      text-align: center;
  }
  .hero-image img {
      max-width: 100%;
      height: auto;
  }
  .search-box {
      max-width: 500px;
      margin: 20px 0;
      position: relative;
  }
  .search-box .input-group-text {
      background-color: #ff5f00;
      padding: 10px 20px;
      border: none;
      color: white;
      font-size: 1rem;
      cursor: pointer;
  }
  @media (max-width: 768px) {
      .hero {
          height: auto;
          padding: 120px 20px;
          text-align: center;
      }
      .hero .container {
          flex-direction: column;
      }
      .hero .hero-content h1 {
      font-size: 2rem;        
      }
      .hero-image {
          display: none;
      }
  }



/* =================================
    Search by Brand 
====================================*/
.brand {
  padding: 30px;
  margin-top: -80px;
  border-radius: 20px;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}
.brand h1 {
  color: var(--heading-color);
  text-align: center;
  padding-bottom: 50px;
}
.brand .swiper-slide img {
  opacity: 0.9;
  transition: 0.3s;
  filter: grayscale(100);
}

.brand .swiper-slide img:hover {
  filter: none;
  opacity: 1;
}

.brand .swiper-wrapper {
  height: auto;
}

.brand .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.brand .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  opacity: 1;
  background-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.brand .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}




/* ====================================== 
     MOBILE PHONES
========================================= */

.mobile-box {
    text-align: center;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

.mobile-box img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    margin-bottom: 15px;
}

.storage-btn {
    font-size: 12px;
    padding: 5px 10px;
    border-color: var(--accent-color);
    margin: 5px;
}











/*=======================================================================================================================
--------------------------------------------------------------
#    |   PHONES PAGE STYLES START  |
--------------------------------------------------------------
========================================================================================================================= */
  .phones-srch {
      background: linear-gradient(to right, rgba(255, 231, 244, 1), rgba(248, 240, 246, 1), rgba(241, 250, 249, 1));
      height: 50vh;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
  }
  .phones-srch .container {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
  }
  .phones-srch-content h1 {
      font-size: 2rem;
  }
  .phones-srch-box {
      max-width: 500px;
      margin: 20px auto;
      position: relative;
  }
  .phones-srch-box .input-group-text {
      background-color: #ff5f00;
      padding: 10px 20px;
      border: none;
      color: white;
      font-size: 1rem;
      cursor: pointer;
  }
  .list-group {
      max-width: 800px;
      margin: 20px auto;
      display: flex;
      flex-wrap: nowrap;
      justify-content: center;
      gap: 20px;
  }
  .list-group .list-group-item {
      color: var(--heading-color);
      background: transparent;
      border: none;
      font-size: 1.3rem;
      display: inline-block;
      white-space: nowrap;
  }
  @media (max-width: 768px) {
      .phones-srch {
          height: auto;
          padding: 80px 20px;
      }
      .phones-srch .container {
          flex-direction: column;
      }
      .phones-srch .list-group {
          flex-direction: column;
      }
      .phones-srch .list-group .list-group-item {
          text-align: center;
          font-size: 1.2rem;
      }
  }


  
/*--------------------------------------------------------------
#    |   Single Page Phone and Details  |
--------------------------------------------------------------*/
  .phone-details img {
    max-width: 400px;
    max-height: 400px;
    border: 1px solid #e2e2e2;
    border-radius: 20px;
    padding: 20px;
  }
  .phone-details hr {
    background: #e2e2e2;
    height: 2px;
    border: none;
  }
  .phone-details li button {
    color: var(--accent-color);
  }
  .phone-details li button:hover {
    color: var(--accent-color);
  }
  .details-card {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 10px;
  }
  .price-section {
    text-align: center;
  }
  .btn-group .btn {
    margin-right: 10px;
    font-size: 0.8rem;
    border-color: var(--accent-color);
    color: var(--heading-color);
    transition: 0.3s;
  }
  .btn-group .btn:hover {
    background: #f2f7f8;
  }































/* ================================================================================================================================================  */

        .header {
            background: linear-gradient(135deg, var(--default-color), var(--heading-color));
            color: white;
            padding: 2rem 0;
            margin-bottom: 2rem;
        }
        .header h1 {
          color: var(--surface-color);
        }
        
        .progress-container {
            margin-bottom: 3rem;
        }
        
        .progress-step {
            display: flex;
            justify-content: space-between;
            position: relative;
        }
        
        .progress-step::before {
            content: "";
            position: absolute;
            top: 28%;
            left: 0;
            right: 0;
            height: 4px;
            background-color: #dee2e6;
            z-index: 1;
        }
        
        .progress-step-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            z-index: 2;
        }
        
        .progress-step-circle {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: #dee2e6;
            color: #6c757d;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            margin-bottom: 0.5rem;
        }
        
        .progress-step-circle.active {
            background-color: var(--accent-color);
            color: white;
        }
        
        .progress-step-label {
            font-size: 0.875rem;
            color: #6c757d;
            text-align: center;
        }
        
        .progress-step-label.active {
            color: var(--accent-color);
            font-weight: bold;
        }
        
        .form-section {
            background-color: white;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            padding: 2rem;
            margin-bottom: 2rem;
        }
        
        .section-title {
            color: var(--dark-color);
            margin-bottom: 1.5rem;
            font-weight: 600;
            border-bottom: 2px solid var(--light-color);
            padding-bottom: 0.5rem;
        }
        
        .btn-primary {
            background-color: var(--accent-color);
        }
        
        .btn-primary:hover {
            background-color: var(--heading-color);
        }
        
        .payment-option {
            border: 1px solid #dee2e6;
            border-radius: 8px;
            padding: 1rem;
            margin-bottom: 1rem;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .payment-option:hover {
            border-color: var(--primary-color);
            background-color: rgba(52, 152, 219, 0.05);
        }
        
        .payment-option.selected {
            border-color: var(--primary-color);
            background-color: rgba(52, 152, 219, 0.1);
        }
        
        .payment-icon {
            font-size: 2rem;
            margin-right: 1rem;
            color: var(--primary-color);
        }
        
        .device-summary {
            background-color: var(--light-color);
            border-radius: 8px;
            padding: 1.5rem;
            margin-bottom: 2rem;
        }
        
        .device-image {
            max-width: 100px;
            height: auto;
            margin-right: 1rem;
        }
        
        .offer-price {
            font-size: 1.5rem;
            font-weight: bold;
            color: var(--accent-color);
        }
        
        .required-field::after {
            content: " *";
            color: var(--accent-color);
        }
        
        @media (max-width: 768px) {
            .progress-step-label {
                font-size: 0.75rem;
            }
            
            .form-section {
                padding: 1.5rem;
            }
        }



/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
  color: var(--footer-p-color);
  background-color: var(--footer-background-color);
  font-size: 14px;
  position: relative;
}

.footer .footer-top {
  padding-top: 50px;
}

.footer .footer-about .logo {
  line-height: 1;
  margin-bottom: 25px;
}

.footer .footer-about .logo img {
  max-height: 40px;
  margin-right: 6px;
}

.footer .footer-about .logo span {
  color: var(--footer-heading-color);
  font-family: var(--heading-font);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
}

.footer .footer-about p {
  font-size: 14px;
  font-family: var(--footer-p-color);
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-right: 10px;
  transition: 0.3s;
  color: #9c9dac;
}

.footer .social-links a:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.footer h4 {
  color: var(--footer-heading-color);
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
}

.footer .footer-links {
  margin-bottom: 30px;
}

.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-links ul i {
  padding-right: 2px;
  font-size: 12px;
  line-height: 0;
}

.footer .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
  color: #fff;
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul a {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  display: inline-block;
  line-height: 1;
  color: #9c9dac;
}

.footer .footer-links ul a:hover {
  color: var(--accent-color);
}

.footer .footer-contact p {
  margin-bottom: 5px;
}

.footer .copyright {
  padding: 25px 0;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 8px;
  font-size: 13px;
}


.navbar-nav li a{
  padding: 5px 15px;
}

.print_label{
  position: fixed;
  right: -1px;
  bottom: 70px;
  padding: 5px 18px;
  border: 1px solid #e2e2e2;
  border-radius: 10px 0px 0px 10px;
}


.wd_list {
  position: absolute;
  top: 100%; /* directly below search input */
  left: 0;
  width: 100%;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  z-index: 9999; /* Make it stay on top */
  max-height: 300px;
  overflow-y: auto;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  list-style: none;
  padding: 0;
  margin: 5px 0 0 0;
}



.wd_list li {
  padding: 10px;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  transition: background 0.2s;
  cursor: pointer;
}

.wd_list li.active{
  background-color: #f9f9f9;
}

.wd_list li:last-child {
  border-bottom: none;
}

.wd_list li:hover {
  background: #f9f9f9;
}

.li_div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.li_div .img {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  background: #f0f0f0;
}

.li_div .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.li_div label {
  font-size: 14px;
  font-weight: 500;
  color: #333;
}
