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

body{
background:#f8f9fc;
color:#222;
}

/* ================= HERO ================= */

.hero{
display:flex;
align-items:center;
justify-content:space-between;
padding:90px 8%;
background:linear-gradient(135deg,#181257,#170d4f);
color:white;
position:relative;
overflow:hidden;
}

.hero-text{
width:50%;
}

.hero-text h1{
font-size:48px;
margin-bottom:20px;
}

.hero-text p{
font-size:16px;
margin-bottom:25px;
opacity:0.9;
}

.hero-text button{
padding:12px 28px;
border:none;
background:white;
color:#1e1670;
font-weight:600;
border-radius:8px;
cursor:pointer;
}

.hero-image{
width:45%;
}

.hero-image img{
width:100%;
border-radius:20px;
box-shadow:0 20px 50px rgba(0,0,0,0.2);
}

/* ================= FEATURED ================= */

.featured{
display:flex;
align-items:center;
gap:60px;
padding:100px 8%;
}

.featured-image{
width:50%;
}

.featured-image img{
width:100%;
border-radius:20px;
}

.featured-content{
width:50%;
}

.featured-content .meta{
color:#160d6f;
font-weight:600;
margin-bottom:10px;
}

.featured-content h2{
font-size:32px;
margin-bottom:15px;
}

.featured-content p{
color:#555;
margin-bottom:20px;
}

.featured-content button{
padding:10px 24px;
background:#1c137b;
color:white;
border:none;
border-radius:8px;
cursor:pointer;
}

/* ================= BLOG GRID ================= */

.blog-wrapper{
padding:70px 8%;
display:grid;
grid-template-columns:repeat(3,1fr);
gap:40px;
}

.blog-card{
background:white;
border-radius:18px;
overflow:hidden;
box-shadow:0 8px 25px rgba(0,0,0,0.05);
transition:0.3s;
display:block;
}

.blog-card:hover{
transform:translateY(-8px);
box-shadow:0 20px 40px rgba(0,0,0,0.1);
}

.blog-card img{
width:100%;
height:210px;
object-fit:cover;
}

.blog-card .content{
padding:20px;
}

.meta{
font-size:13px;
font-weight:600;
margin-bottom:8px;
color:#201b5c;
}

.blog-card h3{
font-size:18px;
margin-bottom:10px;
}

.blog-card p{
font-size:14px;
color:#555;
}

/* ================= PAGINATION ================= */

.pagination{
text-align:center;
margin-bottom:80px;
}

.pagination button{
margin:0 6px;
padding:8px 14px;
border:none;
background:#eee;
border-radius:8px;
cursor:pointer;
}

.pagination button.active{
background:#261d8a;
color:white;
}

/* ================= RESPONSIVE ================= */

@media(max-width:1000px){

.hero{
flex-direction:column;
text-align:center;
}

.hero-text,
.hero-image{
width:100%;
}

.featured{
flex-direction:column;
}

.featured-image,
.featured-content{
width:100%;
}

.blog-wrapper{
grid-template-columns:repeat(2,1fr);
}

}

@media(max-width:768px){
.blog-wrapper{
grid-template-columns:1fr;
}
}
*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Poppins',sans-serif;
}

body{
background:#f8f9fc;
color:#222;
line-height:1.6;
}

/* ================= HERO ================= */

.hero{
padding:100px 8%;
background:linear-gradient(135deg,#181257,#170d4f);
color:white;
text-align:center;
}

.hero h1{
font-size:48px;
margin-bottom:20px;
}

.hero p{
font-size:16px;
opacity:0.9;
}

/* ================= BLOG GRID ================= */

.blog-wrapper{
padding:80px 8%;
display:grid;
grid-template-columns:repeat(3,1fr);
gap:40px;
}

.blog-card{
background:white;
border-radius:18px;
overflow:hidden;
box-shadow:0 8px 25px rgba(0,0,0,0.05);
transition:0.3s;
cursor:pointer;
display:none;
}

.blog-card:hover{
transform:translateY(-8px);
box-shadow:0 20px 40px rgba(0,0,0,0.1);
}

.blog-card img{
width:100%;
height:210px;
object-fit:cover;
}

.blog-card .content{
padding:22px;
}

.meta{
font-size:13px;
font-weight:600;
margin-bottom:10px;
color:#201b5c;
}

.blog-card h3{
font-size:20px;
margin-bottom:12px;
color:#111;
}

.blog-card p{
font-size:14px;
color:#555;
}

/* ================= PAGINATION ================= */

.pagination{
text-align:center;
margin:60px 0 80px 0;
}

.pagination button{
margin:0 6px;
padding:8px 14px;
border:none;
background:#eee;
border-radius:8px;
cursor:pointer;
font-weight:500;
}

.pagination button.active{
background:#261d8a;
color:white;
}

/* ================= BLOG DETAIL PAGE ================= */

.blog-detail{
padding:80px 8%;
display:flex;
justify-content:center;
}

.detail-container{
max-width:900px;
background:white;
padding:40px;
border-radius:20px;
box-shadow:0 15px 40px rgba(0,0,0,0.08);
}

.detail-container img{
width:100%;
border-radius:15px;
margin-bottom:30px;
}

.detail-container h1{
font-size:34px;
margin-bottom:20px;
color:#111;
}

.detail-container h3{
margin-top:25px;
margin-bottom:10px;
color:#201b5c;
}

.detail-container p{
margin-bottom:15px;
color:#555;
font-size:15px;
}

/* ================= BACK BUTTON (Optional) ================= */

.back-btn{
display:inline-block;
margin-bottom:30px;
padding:8px 16px;
background:#eee;
border-radius:8px;
text-decoration:none;
color:#333;
font-size:14px;
}

/* ================= RESPONSIVE ================= */

@media(max-width:1100px){
.blog-wrapper{
grid-template-columns:repeat(2,1fr);
}
}

@media(max-width:768px){

.hero h1{
font-size:34px;
}

.blog-wrapper{
grid-template-columns:1fr;
}

.detail-container{
padding:25px;
}

.detail-container h1{
font-size:26px;
}

}/* ================= CTA SECTION ================= */

.cta-section{
    position: relative;
    width: 100%;
    padding: 140px 20px;
    text-align: center;
    color: white;
    overflow: hidden;

    background: url("public/images/footer-bg.png") center/cover no-repeat;
}

/* Light overlay for readability */
.cta-overlay{
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

/* Content */
.cta-content{
    position: relative;
    z-index: 2;
    max-width: 850px;
    margin: auto;
}

.cta-content h2{
    font-size: 50px;
    margin-bottom: 25px;
    font-weight: 700;
}

.cta-content p{
    font-size: 18px;
    margin-bottom: 45px;
    opacity: 0.95;
}

/* ================= BUTTONS ================= */

.cta-buttons{
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

/* Primary Button */
.cta-btn-primary{
    padding: 15px 40px;
    background: linear-gradient(135deg,#8f5cff,#6a3cff);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-btn-primary:hover{
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}

/* Secondary Button */
.cta-btn-secondary{
    padding: 15px 40px;
    background: white;
    border: none;
    border-radius: 12px;
    color: #4a2d91;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-btn-secondary:hover{
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

/* Responsive */
@media(max-width:768px){
    .cta-content h2{
        font-size: 36px;
    }

    .cta-buttons{
        flex-direction: column;
    }

    .cta-btn-primary,
    .cta-btn-secondary{
        width: 100%;
    }
}
/* ================= NAVBAR ================= */

.navbar{
    width: 100%;
    height: 65px;              /* 🔥 Fixed height */
    background: #ffffff;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
}

/* Body padding so content doesn't hide */
body{
    padding-top: 65px;          /* Same as navbar height */
}

.nav-container{
    width: 100%;
    padding: 0 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Bigger logo but controlled */
.logo img{
    height: 150px;              /* 🔥 Bigger but fits inside 65px navbar */
    object-fit: contain;
}

/* Logo */
.logo{
    margin-left: -50px;   /* 🔥 push slightly more left */
}
/* Nav Links */
.nav-links{
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-links li a{
    text-decoration: none;
    color: #222;
    font-size: 16px;
    font-weight: 500;
    position: relative;
    transition: 0.3s ease;
}

/* Hover */
.nav-links li a:hover{
    color: #6a3cff;
}

/* Active */
.nav-links li a.active{
    color: #6a3cff;
}

.nav-links li a.active::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 3px;
    background: #6a3cff;
    border-radius: 3px;
}
/* EXTRA MOBILE FIX */
@media (max-width: 768px) {

  /* Navbar */
  .logo img {
    height: 60px !important;
  }

  .logo {
    margin-left: 0 !important;
  }

  .nav-links {
    gap: 15px;
    flex-wrap: wrap;
  }

  .nav-links li a {
    font-size: 14px;
  }

  /* Hero spacing */
  .hero {
    padding: 60px 20px;
  }

  .hero h1 {
    font-size: 32px;
  }

  /* Blog card image height */
  .blog-card img {
    height: 180px;
  }

}
/* ================= DEMO MODAL ================= */

.demo-modal {
  position: fixed;
  inset: 0;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.demo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(6px);
}

.demo-container {
  position: relative;
  background: #ffffff;
  width: 750px;
  max-width: 92%;
  padding: 50px;
  border-radius: 28px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.2);
  animation: popupFade 0.3s ease;
}

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

.small-title {
  color: #7b5cff;
  font-weight: 600;
  margin-bottom: 10px;
}

.demo-container h2 {
  font-size: 36px;
  margin-bottom: 15px;
}

.demo-subtext {
  color: #666;
  margin-bottom: 30px;
}

.demo-form .row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.demo-form input,
.demo-form textarea {
  width: 100%;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid #ddd;
  font-size: 14px;
}

.demo-form textarea {
  min-height: 120px;
  resize: none;
}

.form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.submit-btn {
  background: linear-gradient(135deg,#7b5cff,#5a3df0);
  color: #fff;
  border: none;
  padding: 14px 30px;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.3s;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(123,92,255,0.4);
}

/* Animation */
@keyframes popupFade {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .demo-form .row {
    flex-direction: column;
  }

  .form-footer {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }

  .submit-btn {
    width: 100%;
  }
}
