@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap');

* {
  font-family: 'Roboto', sans-serif;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  outline: none;
}

body {
  font-family: 'Roboto', sans-serif;
  font-size: 1em;
  color: #000;
  background: #fff;
  font-weight: 400;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}


/* MAIN HEADER */
.top-header {
    background: #0076CE;
    color: white;
    display: flex;
    justify-content: space-between;
    padding: 10px 40px;
    align-items: center;
    font-family: Arial, sans-serif;
}

.logo {
    width: 140px;
    margin-right: 40px;
}

/* NAV MENU */
.left {
    display: flex;
    align-items: center;
}

.menu {
    list-style: none;
    display: flex;
    gap: 25px;
    padding: 0;
}

.menu-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

/* DROPDOWN */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 30px;
    left: 0;
    background: #0067B3;
    width: 180px;
    display: none;
    border-radius: 4px;
    padding: 0;
}

.dropdown-menu li a {
    color: white;
    padding: 12px 15px;
    display: block;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.dropdown:hover .dropdown-menu {
    display: block;
}

/* RIGHT SIDE (PHONE + SOCIAL) */
.right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.phone-label {
    font-size: 13px;
    opacity: 0.9;
    padding: 0 0 5px 0;
}

.phone {
    font-size: 15px;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

/* SOCIAL BLOCK */
.connect {
    text-align: left;
}

.head-small {
    font-size: 12px;
    opacity: 0.9;
}

.social-connect {
    list-style: none;
    display: flex;
    margin: 5px 0 0;
    padding: 0;
}

.social-connect li a img {
    width: 28px;
    height: 20px;
    cursor: pointer;
    padding: 0 5px;
}

/* BANNER */ 

.banner-img {
    width: 100%;
    height: auto;
}
.banner-img-mob {
  display: none !important;
}

/* CARD LAYOUT */

.offers {
    padding: 40px;
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: stretch;
}

.card-container {
    padding: 40px 0px;
    display: flex;
    gap: 20px;
    justify-content: center;
}


.card {
    width: 30%;
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 10px #0001;

    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-logo {
    width: 100%;
    height: auto;
    object-fit: contain;
    margin-bottom: 10px;
}
.card .content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.content .head { 
    padding: 10px 0 0 0;
    font-size: 20px;
    font-weight: 500;
}
.content .title { 
    padding: 10px 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #6E6E6E;
}
.content .validity { 
    padding: 10px 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 24px;
    color: #6E6E6E;
}

.offer-box {
    padding: 10px 0 0 0;
    background:#DAF5FD;
    font-size: 14px;
    font-weight: 500;
    line-height: 22px;
    color: #0E0E0E;
    padding: 10px;
    border-radius: 5px;
    margin: 10px 0;

    min-height: 110px;   /* adjust if needed */
    display: flex;
    align-items: flex-start;
}

.offer-btn {
    width: 100%;
    background: #0078D4;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;

    margin-top: auto;
}

.offer-btn:hover {
    background: #0052a8;
}

/* Mid Content */
.mid-content {
    padding: 10px 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 24px;
    text-align: center; 
    display: block;
    color:#7E7E7E;
    /* align-items: center; */
}

.mid-content a { 
    color:#0672CB; 
}


/* POPUP OVERLAY */ 
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #00000066;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

/* Popup box */
.popup-box {
    background: #E2F5FF;
    width: 500px;
    padding: 30px;
    border-radius: 10px;
    position: relative; 
      max-height: 90vh;     
      overflow-y: auto;   
      -webkit-overflow-scrolling: touch;  
   
}


.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 26px;
    cursor: pointer;
}

/* Form styling */
.popup-form {
    margin-top: 20px;
}

.row-form {
    margin-bottom: 15px;
}

.popup-form label { 
    font-size: 15px;
    font-weight: 400;
    color:  #636363; 
}
.popup-form label span {  
    color:  #e40909;
}
.popup-form .row-form input {
    width: 100%;
    padding: 12px;
    margin: 5px 0;
    border-radius: 2px;
    border: 1px solid #aaa;
}

#popupTitle {
    font-size: 34px;
    font-weight: 300;
    color: #00468B; 
}

.phone-row {
    display: flex;
}

.phone-row .code {
    margin: 5px 0;
    background: #f3f3f3;
    padding: 12px 15px;
    border: 1px solid #aaa;
    border-right: none;
    border-radius: 2px 0 0 2px;
}

.phone-row input {
    width: 100%;
    border-radius: 0 5px 5px 0;
}

/* Terms */
.terms {
    font-size: 13px;
    color: #616161;
    margin-bottom: 15px;
    line-height: 20px;
}

.link {
    color: #004A9F;
    text-decoration: underline;
}

/* Checkboxes */
.check-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
}
.check-row div { 
    font-size: 13px;
    color: #616161; 
    line-height: 20px;
}

/* Popup - Submit btn */
.popup-submit { 
    display: flex;
    justify-content: end;
}

.submit-btn {
    width: 150px;
    background: #aeaeae;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 2px; 
} 

.subtext {
    font-size: 16px;
    font-weight: 500;
    padding: 10px 0;
    color: #555;
}
.error {
    color: #e40000;
    font-size: 13px;
    margin-top: 4px;
    display: block;
}

/* REQUEST CALL BACK */

.callback-wrapper {
    background: #e6f6ff;
    padding: 40px 0;
    margin: 35px 0 0 0;

  }
  
  .callback-container {
    max-width: 1200px;
    margin: auto;
    padding: 0 30px;
  }
  
  .title {
    font-size: 32px;
    color: #00468b;
    font-weight: 300;
    margin-bottom: 6px;
  }
  
  .subtitle {
    color: #6b6b6b;
    font-size: 14px;
  }
  
  .underline {
    width: 60px;
    height: 3px;
    background: #000;
    margin: 12px 0 25px;
  }
  
  .form-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
  
  .form-group label {
    font-size: 14px;
    color: #4a4a4a;
  }
  
  .form-group label span {
    color: red;
  }
  
  .form-group input {
    width: 100%;
    padding: 10px; 
    border: 1px solid #bcbcbc;
    font-size: 14px;
  }

  .mt-5 {
    margin: 5px 0 0 0;
  }
  
  .mobile-field {
    display: flex;
  }
  
  .mobile-field .code {
    padding: 10px 14px;
    background: #f1f1f1;
    border: 1px solid #bcbcbc;
    border-right: none;
    font-size: 14px;
  }
  
  .mobile-field input {
    border-left: none;
  }
  
  .info-text {
    font-size: 12px;
    color: #6a6a6a;
    margin: 20px 0;
    line-height: 18px;
  }
  
  .info-text a {
    color: #0063b8;
    text-decoration: underline;
  }
  
  .checkbox-row {
    margin-bottom: 10px;
    font-size: 13px;
    color: #5a5a5a;
  }
  
  .checkbox-row input {
    margin-right: 8px;
  }
  
  .submit-row {
    display: flex;
    justify-content: flex-end;
    margin-top: 15px;
  }
  
  .submit-row button {
    background: #2d6fc2;
    color: #fff;
    border: none;
    padding: 10px 35px;
    font-size: 14px;
    cursor: pointer;
  }
  
  .submit-row button:hover {
    background: #1e5aa7;
  }

  /* FOOTER */

  .dell-footer {
    background: #2d6fc2;
    color: #fff;
    padding: 18px 0;
    font-size: 13px;
  }
  
  .footer-container {
    max-width: 1200px;
    margin: auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
  }
  
  .footer-left {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
  }
  
  .footer-left a {
    color: #fff;
    text-decoration: none;
  }
  
  .footer-left a:hover {
    text-decoration: underline;
  }
  
  .footer-right {
    font-size: 16px;
    font-weight: bold;
  }
  
  .dell-logo span {
    font-weight: normal;
  }
  

  @media (max-width: 767px) {
    /* BANNER */ 
    
    .banner-img {
      display: none !important;
    }
    .banner-img-mob {
      display: block !important;
      width: 100%;
      height: auto;
    }
    

  /* HEADER */
  .top-header {
    flex-direction: column;
    padding: 15px;
    gap: 15px;
  }

  .left {
    flex-direction: row;
    align-items: flex-end;
    width: 100%;
    justify-content: flex-start;
    padding-top: 13px;
  }

  .logo {
    margin: 0 0 10px 0;
    width: 120px;
  }

  .menu {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  .dropdown-menu {
    position: static;
    width: 100%;
  }

  .right {        
    flex-direction: row;
    gap: 10px;
    text-align: center;
  }

  /* OFFERS CARDS */
  .offers {
    flex-direction: column;
    padding: 20px;
  }

  .card {
    width: 100%;
  }

  /* POPUP */
  .popup-box {
    width: 90%;
    padding: 20px;
  }

  #popupTitle {
    font-size: 26px;
  }

  /* REQUEST CALLBACK */
  .form-row {
    grid-template-columns: 1fr;
  }

  .submit-row {
    justify-content: center;
  }

  /* FOOTER */
  .footer-container {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}


/*  MOBILE & TABLET HEADER */
@media (max-width: 1024px) {

    .top-header {
      padding: 10px 16px;
      flex-wrap: nowrap;
    } 

    .logo {
        width: 150px;
        margin-right: 0;
        padding: 0 0 0 40px;
    }
   
    .menu {
      display: none;
    }
   
    .right {
        width: 100%;
        justify-content: flex-end;
        margin-top: -50px; 
    }
   
    .phone-label {
      font-size: 12px;
    }
  
    .phone {
      font-size: 14px;
    }
  
    /* Hide social icons */
    .connect {
      display: none;
    } 
  }

  /*  MOBILE & TABLET FOOTER */
@media (max-width: 1024px) {

    .footer-container {
      flex-direction: column;
      align-items: flex-start;
      gap: 15px;
    }
  
    .footer-left {
      flex-direction: column;
      gap: 12px;
      font-size: 14px;
      font-weight: 400;
      align-items: flex-start; 
      width: 100%;
    }
  
    .footer-right {
      width: 100%;
      display: flex;
      justify-content: flex-start;
      margin-top: 15px;
    }
  
    .footer-right img {
      width: 150px;
    }
    .footer-right .logo {
      padding: 0px !important;
    }
    .submit-row button { 
      width: 100%;
    }

    .hr-line {
      border-bottom: 1px solid #ffffff2e;
      width: 100%;
    }
  }

  
  /*  MOBILE CONTENT FIXES  */
@media (max-width: 767px) {
 
    .offers {
      flex-direction: column;
      padding: 20px;
    }
  
    .card {
      width: 100%;
    }
   
    .popup-box {
      width: 90%;
      padding: 20px;
    }
   
    .form-row {
      grid-template-columns: 1fr;
    }
  }

  @media (min-width: 768px) and (max-width: 1024px) {

    .offers {
      flex-wrap: wrap;
    }
  
    .card {
      width: 48%;
    }
  
    .form-row {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  

  /*  HAMBURGER MENU */
.hamburger {
    display: none;
    font-size: 26px;
    cursor: pointer;
    color: #fff;
    z-index: 1000;
  }
   
  .mobile-menu {
    display: none;
    background: #0067B3;
    flex-direction: column;
  }
  
  .mobile-menu li {
    padding: 14px 20px;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    border-bottom: 1px solid rgba(255,255,255,0.2);
  }
  .mobile-menu .dropdown-menu li {
    padding: 0px !important;
    color: #fff;
    text-decoration: none !important;
    border-bottom: 0px !important;
  }


  .mobile-menu .dropdown-menu div a {
    color: white;
    padding: 10px 15px;
    display: block !important;
    text-decoration: none !important;
    border-bottom: 0px !important;
  }
   
  
  /*  MOBILE & TABLET VIEW  */
  @media (max-width: 1024px) {
  
    .hamburger {
      display: block;
    }
  
    .menu {
      display: none;
    }
  
    .mobile-menu.active {
      display: flex;
    }
  }
  