.teslalogo{
    width: 150px;
}
.nav{
    position: relative;
    left: 5%;
}
.image1{
    width: 100%;
}
.n1v{
    height: 12%;
}
.stockspic{
    width: 50px;  
}
.stockdiv{
    background-color: #1e477073;
    padding: 15px;
    border-left: 4px;
    border-radius: 30px;
    margin: 15px 0;
}
.stockdiv1{
    background-color: #1e477073;
    padding: 15px;
    border-left: 4px;
    border-radius: 30px;
    margin: 5px 0;
}
.fh1{
    text-align: center;
}
.fp{
    text-align: center;
}
.section2{
    background-color: rgb(245, 249, 249);
}
.first{
  text-align: center;
}
button{
    font-size: large;
    color: aliceblue;
    width: 180px;
    height: 50px;
    background-color: rgb(228, 70, 70);
    border-radius: 30px;
    border: none;
}
button:hover{
    background-color: rgb(154, 33, 33);
}

.container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    max-width: 1200px;
  }

  .card {
    background-color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    overflow: hidden;
    text-align: center;
    width: 100%;
  }

  .card img {
    width: 100%;
    display: block;
  }

  .caption {
    background-color: white;
    padding: 20px;
    font-size: 18px;
    font-weight: bold;
    color: #1d2a3b;
  }

  @media (min-width: 768px) {
    .card {
      width: 30%;
    }
  }
  .divbody {
    margin: 0;
    padding: 20px;
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
  }
  .divbody2 {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
  }

  .container2 {
    display: flex;
    flex-wrap: wrap;
  }

  .image-box2 {
    flex: 1;
    min-width: 300px;
  }

  .image-box img {
    width: 100%;
    height: auto;
    display: block;
  }

  .text-box {
    flex: 1;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 18px;
    line-height: 1.6;
  }

  .text-box h1 {
    font-size: 28px;
    margin-bottom: 10px;
  }

  .text-box h2 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #444;
  }

  .text-box p {
    font-size: 16px;
    color: #333;
  }

  @media (max-width: 768px) {
    .container {
      flex-direction: column;
    }

    .text-box {
      padding: 20px;
      text-align: center;
    }

    .text-box h1 {
      font-size: 22px;
    }

    .text-box h2 {
      font-size: 18px;
    }
  }
  .musk1{
    width: 50px;
  }
  .read-more-trigger {
    display: flex;
    align-items: center;
    cursor: pointer;
  }

  .read-more-trigger span:first-child {
    font-size: 16px;
    user-select: none;
  }

  .read-more-trigger .spacer {
    margin-left: 60px; /* You can increase or decrease this value */
  }

  .dropdown-menu {
    border: none;
    box-shadow: none;
    padding: 15px;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin-top: 5px;
  }
  .btn{
    background-color: #1f75fe;
    color: white;
    font-size: large;
    width: 180px;
    height: 50px;
    border-radius: 30px;
    border: none;
  }
  .btn:hover{
    background-color: #11408d;
    color: white;
  }
  .pmt{
    width: 70px;
  }
  .divpmt{
    background-color: rgb(189, 206, 222);
    padding: 15px;
    border-left: 4px;
    border-radius: 30px;
    margin: 5px 0;
    
}

.logo-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
  padding: 40px;
  transition: all 0.3s ease-in-out;
}

.logo-container img {
  height: 60px;
  max-width: 120px;
  object-fit: contain;
  transition: transform 0.2s;
}

.logo-container img:hover {
  transform: scale(1.1);
}

/* Responsive for Mobile View */
@media (max-width: 768px) {
  .logo-container {
    flex-direction: column;
    gap: 40px;
    padding: 20px;
  }

  .logo-container img {
    height: 80px;
    max-width: 200px;
  }
  .navbt{
    width: 60px;
    height: 40px;
    background-color: none;
    margin-right: 25px;
  }
  .navbt:hover{
    background-color: transparent;
  }
  .ulnav{
    background-color: rgb(168, 43, 43);
    padding-left: 30px;
    margin-top: 10px;
  }
}
hr{
  border-style: none;
  border-top-style: solid;
  border-width: 10px;
  width: 100px;
  border-color: #c5000096;
}
.core{
  font-size:18px;
}
.divcore{
  margin: auto 5% auto 5%;
}
.modely{
  width: 70%;
}
.modelx{
  width: 70%;

}
.models{
  width: 70%;

}
.model3{
  width: 70%;

}
.plans-section {
  padding: 50px 20px;
  text-align: center;
  background-color: white;
}

.plans-section h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #333;
}

.plans-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.plan-card {
  background-color: #ffffff;
  border: 1px solid #f0f0f0;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  padding: 30px 20px;
  width: 250px;
  transition: 0.3s ease-in-out;
}

.plan-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.plan-card h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: #333;
}

.plan-card ul {
  list-style: none;
  padding: 0;
  text-align: left;
  margin-bottom: 20px;
}

.plan-card ul li {
  margin-bottom: 10px;
  color: #333;
  padding-left: 20px;
  position: relative;
}

.plan-card ul li::before {
  content: "✔";
  color: #42b72a;
  position: absolute;
  left: 0;
}

.plan-card button {
  background-color: #fff;
  border: 2px solid #ff4c61;
  color: #ff4c61;
  padding: 10px 20px;
  font-size: 0.9rem;
  border-radius: 25px;
  cursor: pointer;
  transition: 0.3s ease;
}

.plan-card button:hover {
  background-color: #ff4c61;
  color: #fff;
}

/* === PHONE VIEW (RESPONSIVE) === */
@media (max-width: 768px) {
  .plans-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .plan-card {
    width: 90%;
    max-width: 350px;
  }

  .plans-section h2 {
    font-size: 1.5rem;
    margin-bottom: 30px;
  }
}
.lselector{
  margin: 0;
  font-family: Arial, sans-serif;
}

footer {
  background-color: #2d4373;
  color: white;
  padding: 40px 20px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section {
  flex: 1;
  min-width: 250px;
}

.footer-section h3 {
  margin-bottom: 15px;
  font-size: 20px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin: 8px 0;
}

.footer-section ul li a {
  color: white;
  text-decoration: none;
}

.newsletter-form {
  display: flex;
  margin-top: 10px;
}

.newsletter-form input[type="email"] {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 3px 0 0 3px;
  font-size: 14px;
}

.newsletter-form button {
  background-color: #f55858;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 0 3px 3px 0;
  cursor: pointer;
}

.partner-logo {
  max-width: 200px;
  margin-top: 15px;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
    border-radius: 3px;
    margin-top: 10px;
  }

  .newsletter-form button {
    border-radius: 3px;
  }
}
.gbt{
  text-decoration: none;
}
.mgm {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 20px;
  background-color: rgb(194, 12, 12);
  padding: 15px 20px;
  border-radius: 8px;
  font-family: Arial, sans-serif;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  color: white;
  font-size: 16px;
  max-width: 90%;
  z-index: 1000;
}

@media (max-width: 600px) {
  .mgm {
    display: auto;
    width: 140px;
    height: 20%;
      font-size: 14px;
      bottom: 15px;
      left: 10px;
      right: 10px;
      padding: 12px 16px;
  }

  
  .imageabout{
    height: auto;
    width: 100%;
  }
    
  
}
.imageabout{
  height: auto;
  display: block;
  width: 100%;
}
.piccon{
  position: relative;
  width: 100%;
  max-width: 100%;

}
.abouttext{
  position: absolute;
  top: 75px;
  right: 50px;
  color: white;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 10px 20px;
  font-size: 100%;
  font-weight: bolder;
  border-radius: 6px;


}
.imgabt{
  width: 100%;
  margin: none;
}
.oppcontent{
  padding: 0 20px 0 20px;
  font-size: large;

}

.faq-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.faq-item {
  margin-bottom: 10px;
}

.faq-question {
  padding: 12px;
  background: #f5f5f5;
  cursor: pointer;
  font-weight: bold;
  border-radius: 4px;
}

.faq-answer {
  padding: 12px;
  display: none;
}

@media (max-width: 768px) {
  .faq-container {
      grid-template-columns: 1fr;
  }
}
.xpic{
  background-image: url(/public/assets/images/x\ pic.jpg);
  color: rgb(14, 14, 14);
}
.anothercrd2{

  float: left;
}

.anothercrd{
  float: right;

}

/* Referrals Page Styles */
.refer-section {
    margin-top: 30px;
}

.refer-section h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.refer-section p {
    font-size: 16px;
    margin-bottom: 20px;
    color: #ccc;
}

.refer-link-container {
    display: inline-flex;
    align-items: center;
    background-color: #333;
    padding: 10px 15px;
    border-radius: 8px;
    word-break: break-all;
    margin-bottom: 20px;
    width: 100%;
}

.refer-link-container a {
    color: #00c3ff;
    text-decoration: none;
    font-size: 16px;
    flex: 1;
}

.copy-icon {
    margin-left: 10px;
    cursor: pointer;
    padding: 5px;
    transition: opacity 0.2s;
}

.copy-icon:hover {
    opacity: 0.8;
}

.copyic {
    width: 20px;
    height: 20px;
}

.table-responsive {
    margin-top: 20px;
}

.table-dark {
    background-color: #1f1f1f;
    color: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.table-dark th {
    background-color: #2a2a2a;
    border-bottom: 2px solid #333;
    padding: 12px;
}

.table-dark td {
    padding: 12px;
    border-bottom: 1px solid #333;
}

.badge {
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
}

.bg-success {
    background-color: #28a745;
}

.bg-warning {
    background-color: #ffc107;
    color: #000;
}





@media (max-width: 768px) {
    .refer-link-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .copy-icon {
        margin-left: 0;
        margin-top: 10px;
        text-align: center;
    }
    
    .table-responsive {
        overflow-x: auto;
    }
}

.lastpart{
  font-size: small;
}