/* ===== Reset & Base ===== */
* {
  margin:0; 
  padding:0; 
  box-sizing:border-box; 
  font-family: Arial, sans-serif;
}
html {
  scroll-behavior: smooth;
}

body {
  background:#f4f4f9; 
  background: white;
  color:#333;
}
/* ===== Navbar ===== */
nav {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:15px 20px;
  background:#007BFF;
  color:white;
  position:sticky;
  top:0;
  z-index:1000;

  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
}
nav .logo {
  font-size:22px; 
  font-weight:bold;
}
nav ul {
  display:flex;
  list-style:none;
  gap:30px;
  align-items:center;
}
nav ul li {
  position:relative;
}
nav ul li a {
  color:white; 
  text-decoration:none; 
  padding:8px 0; 
  display:block;
  transition:0.3s;
}
nav ul li a:hover {
  color:#FFD700;
}
/* Dropdown */
nav li.dropdown-parent .dropdown {
  display:none;
  position:absolute;
  top:100%; left:0;
  background:#0056b3;
  flex-direction:column;
  min-width:180px;
  border-radius:5px;
  box-shadow:0 4px 15px rgba(0,0,0,0.2);
  z-index:1000;
}
nav li.dropdown-parent .dropdown a {
  color:white;
  padding:10px 15px;
  border-bottom:1px solid rgba(255,255,255,0.2);
}
nav li.dropdown-parent .dropdown a:last-child {
  border-bottom:none;
}
nav li.dropdown-parent:hover .dropdown {
  display:flex;
}
/* Hamburger */
.menu-toggle {
  display:none;
  flex-direction:column;
  gap:5px;
  cursor:pointer;
}
.menu-toggle span {
  height:3px; 
  width:25px; 
  background:white; 
  border-radius:2px; 
  transition:0.3s;
}
/* ===== Hero ===== */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items:center;
  text-align:center; 
  padding:60px 20px;
  background: #ffffff;
  background: linear-gradient(0deg, rgba(255, 255, 255, 1) 1%, rgba(189, 222, 255, 1) 15%, rgba(111, 186, 252, 1) 28%, rgba(115, 177, 235, 1) 46%, rgba(45, 138, 224, 1) 100%, rgba(255, 255, 255, 1) 100%);
}
.hero h1 {
  color: black;
  font-size:38px; 
  margin-bottom:15px;
  font-weight:bolder;
  font-weight: 900;
}
.hero p {
  font-size:18px; 
  color:#181818; 
  max-width:600px; 
  margin:0 auto;
  font-weight: 500;
}
.hero button{
  background: #3415e3;
  padding: 18px 18px;
  margin: 20px 20px;
  font-size: 18px;
  font-weight: 700;
  color: rgb(255, 255, 255);
  outline: none;
  border: none;
  cursor: pointer;
  letter-spacing: 0.5px;
  border-radius: 5px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}
.hero button:hover{
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px); 
}

.hero img{
  height: 350px;
  width: 350px;
}
#social-proof{
  /* background-color: #d9ecff; */
  padding: 10px;
  font-size: x-large;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}
#social-proof h3{
  text-align: center;
  font-style: italic;
  padding: 20px;
}
#social-proof h4{
  text-align: center;
  font-style: italic;
  text-decoration: underline;
  margin: 20px;
}
/* ===== Cards ===== */
main {
  margin: 20px;
  padding: 10px;
}
main h2{
  color: black;
  
  text-align: center;
  font-size:x-large;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}
.grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  /* grid-template-columns: 1fr 1fr 1fr; */
  gap:20px;
  max-width:1200px;
  margin:40px auto;
  padding:0 20px;
}
.card {
  background:#d2d5ff;
  padding:25px; 
  border-radius:10px;
  text-align:center; 
  box-shadow:0 4px 8px rgba(0,0,0,0.3);
  transition:0.3s; 
  text-decoration:none; 
  color:inherit;
}
.card:hover {
  border: 1px solid;
  transform:translateY(-5px);
  outline: #2c2c2c;
  box-shadow:0 8px 10px rgba(0,0,0,0.15);
}
.card h3 {
  color: black;
  
  margin-bottom:10px; 
  font-size:22px;
}
.card p {
  color:#121212;
}
/* Blog Section */
.blog-section {
  max-width:1200px; 
  margin:60px auto; 
  padding:0 20px;
}
.blog-section h2 {
  text-align:center; 
  margin-bottom:30px; 
  color:#007BFF;
}
.blog-grid {
  display:grid; 
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); 
  gap:20px;
}
.blog-card {
  background:white; 
  padding:20px; 
  border-radius:10px; 
  box-shadow:0 4px 10px rgba(0,0,0,0.1); 
  transition:0.3s; 
  text-decoration:none; 
  color:inherit;
}
.blog-card:hover {
  transform:translateY(-5px); 
  box-shadow:0 8px 20px rgba(0,0,0,0.15);
}
.blog-card h3 {
  color:#0358ad;  
  margin-top:10px; 
  font-size:20px;
}
.blog-card p {
  color:#555; 
  font-size:14px;
}
/* ===== Footer ===== */
footer {
  background: rgb(106, 158, 255);
  color:rgb(0, 0, 0);
  text-align:center;
  padding:15px;
  margin-top:40px;
}
/* ===== Responsive ===== */
@media(max-width:768px){
  .menu-toggle {display:flex;}
  nav ul {
    flex-direction:column;
    display:none;
    width:100%;
    background:#007BFF;
    position:absolute;
    top:100%; left:0;
    padding:10px 0;
    z-index:999;
  }
  nav ul.active {
    display:flex;
  }
  nav li.dropdown-parent:hover .dropdown {
    display:none;
  }
  nav li.dropdown-parent.active .dropdown {
    display:flex; 
    flex-direction:column;
    background:#0056b3;
    box-shadow:0 4px 15px rgba(0,0,0,0.2);
    border-radius:0 0 8px 8px;
  }
  nav ul li a {padding:12px 20px;}

  .hero{
    display: flex;
    flex-direction: column;
  }
}
