body{
  font-family: Arial;
  margin:0;
  background:#f5f5f5;
}
html {
  scroll-behavior: smooth;
}
.container{
  width:90%;
  max-width:1100px;
  margin:auto;
}

.grid-2{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
}

.grid-3{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}

.grid-4{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
}

/* FEATURES */
.features{
  padding:40px 0;
  background:#eee;
}

.feature{
  text-align:center;
}

.icon{
  background:#8e6dfd;
  color:white;
  padding:15px;
  border-radius:10px;
}

/* BANNER */
.banner{
  background:#f4c400;
  padding:20px 0;
}

.banner-content{
  display:flex;
  align-items:center;
  gap:20px;
}

.banner img{
  width:80px;
  border-radius:10px;
}

/* SERVICES */
.services img{
  width:100%;
  border-radius:10px;
}

.accordion .item{
  border-bottom:1px solid #ddd;
  padding:10px 0;
}

.accordion h4{
  cursor:pointer;
}

.accordion p{
  display:none;
}

.accordion .active p{
  display:block;
}

/* PRICING */
.pricing{
  text-align:center;
  padding:50px 0;
}

.card{
  background:white;
  padding:20px;
  border-radius:10px;
}

.card.active{
  background:#8e6dfd;
  color:white;
}

.card button{
  background:#8e6dfd;
  color:white;
  border:none;
  padding:10px;
  margin-top:10px;
  cursor:pointer;
}

/* BENEFITS */
.benefits img{
  width:100%;
  border-radius:10px;
}

.phone{
  color:#f4c400;
}

/* CONTACT */
.contact{
  padding:40px 0;
}

form{
  display:flex;
  flex-direction:column;
  gap:10px;
}

input, textarea{
  padding:10px;
  border:1px solid #ccc;
}

button{
  background:#8e6dfd;
  color:white;
  border:none;
  padding:10px;
}

/* RESPONSIVE */
@media(max-width:768px){
  .grid-2,.grid-3,.grid-4{
    grid-template-columns:1fr;
  }
}

/* NAV */
.nav{
  background:white;
  padding:15px 0;
  box-shadow:0 2px 5px rgba(0,0,0,0.05);
}

.nav-wrap{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.nav a{
  margin-left:20px;
  text-decoration:none;
  color:#333;
}

/* HERO */
.hero{
  padding:60px 0;
}

.hero-wrap{
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:center;
  gap:40px;
}

.hero img{
  width:100%;
  border-radius:10px;
}

.primary-btn{
  background:#8e6dfd;
  color:white;
  padding:12px 20px;
  border:none;
  cursor:pointer;
}

/* FOOTER */
.footer{
  background:#111;
  color:white;
  padding:40px 0 20px;
}

.footer-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:30px;
}

.footer a{
  display:block;
  color:#ccc;
  text-decoration:none;
  margin:5px 0;
}

.footer-bottom{
  text-align:center;
  margin-top:20px;
  color:#aaa;
}
.hero{
  background:#f3f3f3;
  padding:80px 0;
}

.hero-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:center;
  gap:60px;
}

/* TEXT */
.hero-text h1{
  font-size:42px;
  margin-bottom:20px;
}

.hero-text p{
  color:#555;
  margin-bottom:25px;
  line-height:1.6;
}

/* BUTTONS */
.hero-actions{
  display:flex;
  gap:15px;
}

.btn-primary{
  background:#8e6dfd;
  color:white;
  padding:12px 22px;
  border:none;
  border-radius:6px;
  cursor:pointer;
}

.btn-outline{
  background:transparent;
  border:2px solid #8e6dfd;
  color:#8e6dfd;
  padding:10px 20px;
  border-radius:6px;
  cursor:pointer;
}

/* IMAGE SIDE */
.hero-visual{
  position:relative;
}

.main-img{
  width:100%;
  border-radius:12px;
}

/* FLOATING CARD */
.floating-card{
  position:absolute;
  bottom:-20px;
  left:-20px;
  background:white;
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px;
  border-radius:10px;
  box-shadow:0 10px 30px rgba(0,0,0,0.1);
}

.floating-card img{
  width:50px;
  height:50px;
  border-radius:50%;
  object-fit:cover;
}

/* RESPONSIVE */
@media(max-width:768px){
  .hero-grid{
    grid-template-columns:1fr;
  }

  .floating-card{
    position:relative;
    bottom:0;
    left:0;
    margin-top:10px;
  }
}

/* ADD THIS — do not replace existing .hero */
.hero{
    background-image: 
    linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
    url('https://images.unsplash.com/photo-1506126613408-eca07ce68773');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* NAVBAR */
.nav{
  background:white;
  position:sticky;
  top:0;
  z-index:1000;
  box-shadow:0 2px 10px rgba(0,0,0,0.05);
}

/* CONTAINER IMPROVEMENT */
.container{
  width:90%;
  max-width:1200px;
  margin:auto;
}

/* NAV WRAP */
.nav-wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:70px;
}

/* LOGO */
.logo{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:bold;
  font-size:18px;
}

.logo img{
  width:40px;
  height:40px;
  object-fit:contain;
}

/* NAV LINKS */
nav{
  display:flex;
  gap:25px;
}

nav a{
  text-decoration:none;
  color:#333;
  font-weight:500;
  transition:0.3s;
}

nav a:hover{
  color:#8e6dfd;
}

/* TOGGLE BUTTON */
.menu-toggle{
  display:none;
  font-size:28px;
  cursor:pointer;
}

/* MOBILE */
@media(max-width:768px){

  nav{
    position:absolute;
    top:70px;
    left:0;
    width:100%;
    background:white;
    flex-direction:column;
    align-items:center;
    gap:15px;
    padding:20px 0;
    display:none;
  }

  nav.active{
    display:flex;
  }

  .menu-toggle{
    display:block;
  }
}

/* ===== SCROLL ANIMATION SYSTEM ===== */

/* base hidden state */
.animate{
  opacity:0;
  transform: translateY(60px) scale(0.95) rotate(1deg);
  transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* visible */
.animate.show{
  opacity:1;
  transform: translateY(0) scale(1) rotate(0);
}

/* LEFT animation */
.animate-left{
  transform: translateX(-80px) rotate(-2deg);
}
.animate-left.show{
  transform: translateX(0) rotate(0);
}

/* RIGHT animation */
.animate-right{
  transform: translateX(80px) rotate(2deg);
}
.animate-right.show{
  transform: translateX(0) rotate(0);
}

/* ZOOM animation */
.animate-zoom{
  transform: scale(0.8);
}
.animate-zoom.show{
  transform: scale(1);
}

/* FLOAT subtle animation */
@keyframes floaty{
  0%{ transform: translateY(0px); }
  50%{ transform: translateY(-8px); }
  100%{ transform: translateY(0px); }
}

.floating-card{
  animation: floaty 3s ease-in-out infinite;
}

/* BUTTON HOVER UPGRADE */
button{
  transition: all 0.3s ease;
}

button:hover{
  transform: translateY(-3px) scale(1.05);
  box-shadow:0 12px 25px rgba(0,0,0,0.15);
}

/* IMAGE HOVER */
img{
  transition: transform 0.5s ease;
}

img:hover{
  transform: scale(1.05) rotate(0.5deg);
}
.delay-1{ transition-delay:0.2s; }
.delay-2{ transition-delay:0.6s; }
.delay-3{ transition-delay:1.2s; }

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.social-icons a {
  color: #fff;
  background: #1e1e2f;
  padding: 10px;
  border-radius: 50%;
  font-size: 16px;
  transition: 0.3s;
}

.social-icons a:hover {
  background: #4CAF50;
  transform: translateY(-3px);
}

.modal{
  display:none;
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.6);
  justify-content:center;
  align-items:center;
  z-index:2000;
}

.modal-content{
  background:white;
  padding:30px;
  border-radius:10px;
  width:90%;
  max-width:400px;
  text-align:center;
  position:relative;
  animation: fadeIn 0.3s ease;
}

.modal-content h2{
  margin-bottom:10px;
}

.modal-content p{
  color:#555;
  margin-bottom:20px;
}

.modal-actions{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.modal-actions a{
  background:#25D366;
  color:white;
  padding:10px;
  text-decoration:none;
  border-radius:6px;
}

.close{
  position:absolute;
  top:10px;
  right:15px;
  font-size:20px;
  cursor:pointer;
}

@keyframes fadeIn{
  from{ transform:scale(0.8); opacity:0; }
  to{ transform:scale(1); opacity:1; }
}