/* General Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}


body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #333;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* Navbar */
.navbar {
      background: linear-gradient(to bottom right, #222f95, #a0a6b3);
  color: #fff;
  padding: 1rem 0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo{
  display: flex;
  gap: 10px;
}

.logo span{
  font-size: 30px;
  font-weight: bold;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.logo img {
  height: 50px;
  width: 50px;
}

.nav-links{
  display: flex;
  gap: 30px;
}

.btn-primary{
  text-decoration: none;
  color: white;
}

.nav-links button{
  background-color: red;
  color: white;
  height: 50px;
  border-radius: 10px;
  padding: 0 20px;
  border: none;
  outline: none;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
}

.nav-links button:hover{
  background-color: #ba0909;
  color: white;
   text-decoration: none;
}

.nav-links img {
  height: 50px;
  width: 120px;
  border-radius: 8px;
  
}


/* Hero Section */
.hero {
  background: linear-gradient(to right, #d8d8e0, rgb(22, 34, 94));
  color: #fff;
  padding: 100px 0;
  text-align: center;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  height: 70vh;

}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.hero img{
  height: 450px;
  width: 300px;
/*border-top-left-radius: 34px;*/
 
    /*background-color: #313152;*/

/*border-top-right-radius: 34px;*/


  object-fit: contain;
  
}

.about-footer{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 45px;
}

#banner2{
   background-image: url('images/banner.jpg');
   background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 80vh;
  color: #fff;
}

/* .btn-primary {
  background-color: #4b2acb;
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 25px;
  font-weight: bold;
  text-decoration: none;
} */


.zero-benefits {

  padding: 30px 20px;
  font-family: 'Poppins', sans-serif;
  max-width: 600px;
  margin: auto;
}

.benefit-box {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 25px;
}

.benefit-box .price {
  font-size: 36px;
  font-weight: bold;
  color: red; /* Orange color similar to image */
  flex-shrink: 0;
  margin: -10px 0px;
}

.benefit-box .text {
  font-size: 18px;
  color: white; /* Dark text */
  max-width: 80%;
  line-height: 1.4;
  text-align:start;
}



/* Features Section */
.features {
  padding: 60px 0;
  background-color: #f4f4f4;
  text-align: center;
}

.features h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: black;
}

.feature-box:hover{
  transform: scale(1.07);
}

.features-grid {
  display: flex;
  justify-content: space-around;
  gap: 30px;
  flex-wrap: wrap;
}

.feature-box {
  background: #020811;
  padding: 20px;
  border-radius: 10px;
  width: 300px;
  box-shadow: 0 10 10px rgba(50, 50, 50, 0.1);
   transition: transform 0.3s ease;
}

.feature-box h3,p {
  margin-bottom: 10px;
  color: #ffffff;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  color: black;
  margin-bottom: 10px;
}

.section-subtitle {
  text-align: center;
  font-size: 16px;
  color: #6c7a89;
  margin-bottom: 40px;
}

.investment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.investment-card {
  background-color: #fff;
  border: 1px solid #dce0e6;
  border-radius: 12px;
  padding: 25px 20px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.investment-card:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
}

.investment-card i {
  display: flex;
  align-items: center;
  justify-content: start;
  font-size: 50px;
  margin-bottom: 20px;
}

.investment-card h3 {
  font-size: 18px;
  color: #1a2b49;
  margin-bottom: 10px;
}

.investment-card p {
  font-size: 14px;
  color: #5d6d7e;
}

.legacy-section {
  background: #121c2f url('images/pattern-bg.png'); /* Optional pattern */
  background-size: contain;
  padding: 60px 0;
  color: #fff;
  text-align: center;
}

.legacy-title {
  font-size: 2.2rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.legacy-subtitle {
  font-size: 1rem;
  margin-bottom: 40px;
  color: #ccc;
}

.legacy-stats-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.legacy-card {
  flex: 1 1 200px;
  max-width: 220px;
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.legacy-card:hover {
  transform: translateY(-5px);
}

.icon-yellow {
  color: red;
  margin-bottom: 15px;
}

.legacy-card h3 {
  font-size: 1.5rem;
  margin: 10px 0 5px;
}

.legacy-card p {
  color:rgb(255, 255, 255);
  font-size: 0.9rem;
}



.demat-section {
  background: white;
  color: black;
  padding: 60px 20px;
}

.demat-section img{
  border-radius: 15px;
  height: 440px;
}

.container {
  max-width: 1200px;
  margin: auto;
}

.demat-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.demat-text {
  flex: 1;
}

.demat-text h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.demat-text p {
  font-size: 1rem;
  margin-bottom: 20px;
  color: black;
}

.demat-text ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  text-align:justify;
}

.demat-text ul li {
  margin: 10px 0;
  font-size: 1.5rem;
}

.demat-text ul i {
  color: red;
  margin-right: 10px;
}


.demat-form {
  background: white;
  padding: 30px;
  border-radius: 10px;
  max-width: 400px;
  flex: 1;
  color: #000;
}

.demat-form h3 {
  margin-bottom: 20px;
  font-size: 1.5rem;
  color: #002147;
}

.demat-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.demat-form input {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  outline: none;
}

.demat-form button {
  background-color: #002147;
  color: #fff;
  padding: 12px;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
} 

 .demat-form button:hover {
  background-color: #001d3d;
} 



/* Responsive */
@media (max-width: 768px) {
  .demat-content {
    flex-direction: column;
  }
}


.site-footer {
    background: linear-gradient(to bottom right, #282a34, #7696db);
  color: #fff;
  padding: 60px 20px 20px;
  font-family: 'Poppins', sans-serif;
}



.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 150px;
  max-width: 100%;
  margin: auto;
}


.footer-links,
.footer-contact {
  flex: 1 1 220px;
}





.footer-logo {
  max-width: 160px;
  margin-bottom: 15px;
}

.footer-txt {
  color: #ccc;
  font-size: 0.95rem;
  max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #ffc107;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links ul li a:hover {
  color: #fff;
}

.footer-contact p {
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.footer-contact i {
  margin-right: 8px;
  color: #ffc107;
}

.footer-social a {
  color: #ccc;
  margin-right: 15px;
  font-size: 1.2rem;
  transition: color 0.3s;
}

.footer-social a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  font-size: 0.9rem;
  border-top: 3px solid #fcf9f9;
  margin-top: 40px;
  color: #ccc;
}

.footer-btns{
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-btns img{
  height: 50px;
  width: 150px;
  border-radius: 10px;

}

/* Responsive */
/* Responsive for devices up to 768px */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 40px;
    align-items: center;
  }

  .footer-social {
    justify-content: center;
  }

  .about-footer {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .hero-content,
  .demat-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .demat-content img {
    max-width: 80%;
    height: auto;
    margin-top: 20px;
  }

  .nav-links {
    flex-direction: column;
    gap: 15px;
  }

  .nav-links img {
    display: none;
  }

  .navbar .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .navbar .container button {
    width: 180px;
  }


  .investment-grid,
  .legacy-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    text-align: center;
  }
  
    .features-grid{
         display:flex;
    }

  .benefit-box,
  .investment-card,
  .legacy-card,
  .feature-box {
    width: 100%;
    margin-bottom: 20px;
  }

  .footer-btns img {
    width: 120px;
    margin: 10px;
  }

  .btn-primary {
    width: 100%;
    text-align: center;
  }

  h1, h2, h3 {
    font-size: 1.5rem;
  }

  p, .section-subtitle {
    font-size: 0.95rem;
  }

  section.hero {
    height: auto;
  }
}







/* Mobile devices (up to 576px) */
@media (max-width: 576px) {

  .hero,

  .investment-grid,
  .legacy-stats-grid,
  .demat-content,
  .footer-container {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  section.hero {
        height: auto;
}

.investment-grid{
  display: grid;
  grid-template-columns: 1fr, 1fr;
}

  .navbar .container{
    display: flex;
    gap: 20px;
  }

  .navbar .container button{
    width: 170px;
  }

  .nav-links {
    flex-direction: column;
    gap: 10px;
  }

   .nav-links img {
    display: none;
  }

  .benefit-box {
    width: 100%;
    margin-bottom: 15px;
  }

  .investment-card,
  .legacy-card {
    width: 100%;
    margin-bottom: 20px;
  }

  .demat-content img {
    width: 100%;
    max-width: 300px;
    margin-top: 20px;
  }

  .footer-btns img {
    width: 120px;
    margin: 10px 5px;
  }

  .btn-primary {
    width: 100%;
    text-align: center;
  }

  h1, h2, h3 {
    font-size: 1.5rem;
  }

  p, .section-subtitle {
    font-size: 0.95rem;
  }

  .feature-box {
    width: 100%;
  }
}

/* Tablets (577px to 768px) */
@media(max-width: 768px) {

  .investment-grid,
  .legacy-stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  


  .hero-content,
  .demat-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .demat-content img {
    max-width: 80%;
  }
}

/* Small desktops (769px to 992px) */
@media (min-width: 769px) and (max-width: 992px) {
  .features-grid,
  .investment-grid,
  .legacy-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .demat-content {
    gap: 30px;
  }
}

/* Medium to large desktops (993px and up) */
@media (min-width: 993px) {
  .features-grid,
  .investment-grid
 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }

  .demat-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}
