
*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:Arial;
}

.container{
max-width:1300px;
margin:auto;
width:100%;
padding:0 20px;
}

/* TOP BAR */
.topbar{
background:black;
color:white;
font-size:14px;
}

.topbar .container{
display:flex;
justify-content:space-between;
align-items:center;
padding:8px 20px;
}

.topbar i{
color:red;
margin-right:6px;
}

.social i{
margin-left:12px;
cursor:pointer;
}

/* HEADER */
header {
  background: #000;
  padding: 15px 0;
  width: 100%;
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

/* LOGO */
.logo img {
  width: 120px;
  transition: 0.3s;
}

.logo img:hover {
  opacity: 0.8;
}

/* NAVIGATION */
nav ul {
  display: flex;
  list-style: none;
  gap: 25px;
  align-items: center;
  flex-wrap: wrap;
}

nav ul li {
  position: relative;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  transition: 0.3s;
  border-radius: 6px;
}

nav ul li a i {
  color: red;
}

nav ul li a:hover {
  background: red;
  color: white;
}

/* DROPDOWN */
.has-dropdown:hover .dropdown {
  display: block;
}

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 180px;
  border-radius: 6px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  z-index: 10;
}

.dropdown li {
  width: 100%;
}

.dropdown li a {
display:flex;
align-items:center;
gap:8px;
padding:12px 15px;
color:black;
font-weight:600;
}

.dropdown li a:hover {
  background: #f3f3f3;
  color: red;
}

/* TOGGLE BUTTON */
.menu-toggle {
  display: none;
  font-size: 22px;
  color: white;
  cursor: pointer;
}

/* SLIDER TOPBAR (mobile only) */
.topbar-slider {
  display: flex;
  gap: 20px;
}

.slide {
  display: none;
  white-space: nowrap;
}

.slide.active {
  display: block;
}
.topbar-slider .slide {
  display: block;
}

/* HERO */

.sell-hero{

padding:70px 20px;
background:#f5f5f5;
text-align:center;

}

.sell-hero h1{

font-size:36px;
margin-bottom:15px;

}

.sell-hero p{

color:#555;
font-size:18px;

}

/* FEATURES */

.features{

padding:70px 20px;
background:white;

}

.features-grid{

display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:30px;
margin-top:40px;

}

.feature{

background:#f5f5f5;
padding:30px;
border-radius:10px;
box-shadow:0 6px 20px rgba(0,0,0,0.1);
text-align:center;

}

.feature i{

font-size:40px;
color:red;
margin-bottom:15px;

}

.feature h3{

margin-bottom:10px;

}

/* PROCESS */

/* PROCESS SECTION */

.process{
padding:100px 20px;
background:#ffffff;
}

.process-title{
text-align:center;
font-size:34px;
margin-bottom:60px;
font-weight:bold;
}

.process-wrapper{
max-width:1300px;
margin:auto;
display:grid;
grid-template-columns:1fr 1fr;
gap:60px;
align-items:center;
}

/* IMAGE */

.process-image img{
width:100%;
border-radius:12px;
box-shadow:0 15px 40px rgba(0,0,0,0.15);
}

/* STEPS */

.process-steps{
display:flex;
flex-direction:column;
gap:25px;
}

/* SINGLE STEP */

.step{
display:flex;
align-items:flex-start;
gap:18px;
background:#f5f5f5;
padding:22px;
border-radius:10px;
box-shadow:0 8px 20px rgba(0,0,0,0.08);
transition:0.3s;
}

.step:hover{
transform:translateY(-5px);
box-shadow:0 15px 35px rgba(0,0,0,0.15);
}

/* ICON */

.step-icon{
min-width:55px;
height:55px;
background:red;
color:white;
display:flex;
align-items:center;
justify-content:center;
border-radius:50%;
font-size:22px;
}

/* TEXT */

.step-text h3{
margin-bottom:6px;
font-size:18px;
}

.step-text p{
color:#555;
line-height:1.6;
font-size:15px;
}

/* FORM CARD */

.sell-form{

padding:80px 20px;
background:#f5f5f5;

}

.form-card{

max-width:700px;
margin:auto;
background:white;
padding:40px;
border-radius:10px;
box-shadow:0 10px 30px rgba(0,0,0,0.1);

}

.form-step{

display:none;

}

.form-step.active{

display:block;

}

.form-group{

margin-bottom:15px;

}

.form-group input,
.form-group select{

width:100%;
padding:12px;
border:1px solid #ddd;
border-radius:6px;

}

.buttons{

display:flex;
justify-content:space-between;
margin-top:20px;

}

button{

background:red;
color:white;
border:none;
padding:12px 25px;
border-radius:6px;
cursor:pointer;

}

button:hover{

background:black;

}


/* FOOTER */

.footer{
background:#0d0d0d;
color:white;
padding:70px 20px 30px;
}

.footer-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:40px;
}

/* TITLES */

.footer h3{
margin-bottom:15px;
color:white;
}

/* CONTACT FORM */

.footer-contact input,
.footer-contact textarea{
width:100%;
padding:12px;
margin-bottom:10px;
border:none;
border-radius:6px;
background:#1a1a1a;
color:white;
}

.footer-contact textarea{
height:100px;
resize:none;
}

.footer-contact button{
width:100%;
padding:12px;
border:none;
border-radius:6px;
background:red;
color:white;
font-weight:bold;
cursor:pointer;
transition:0.3s;
}

.footer-contact button:hover{
background:white;
color:black;
}

/* LINKS */

.footer-links a{
display:block;
color:#ccc;
text-decoration:none;
margin-bottom:8px;
transition:0.3s;
}

.footer-links a:hover{
color:red;
}

/* SOCIAL */

.social-icons a{
color:white;
font-size:22px;
margin-right:12px;
transition:0.3s;
}

.social-icons a:hover{
color:red;
}

/* ABOUT */

.footer-about p{
color:#ccc;
line-height:1.6;
}

/* ADDRESS */

.footer-address{
margin-top:15px;
color:#ccc;
font-size:14px;
}

/* BOTTOM */

.footer-bottom{
text-align:center;
margin-top:50px;
border-top:1px solid #222;
padding-top:20px;
color:#777;
font-size:14px;
}

#successPopup{

position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.6);
display:flex;
align-items:center;
justify-content:center;
z-index:9999;

}

.popup-content{

background:white;
padding:40px;
border-radius:10px;
text-align:center;
max-width:400px;
animation:popup 0.4s ease;

}

.popup-content i{

font-size:60px;
color:green;
margin-bottom:15px;

}

.popup-content h3{

margin-bottom:10px;

}

.popup-content button{

margin-top:15px;
padding:10px 25px;
border:none;
background:red;
color:white;
border-radius:6px;
cursor:pointer;

}

.popup-content button:hover{

background:black;

}
.mobile-only {
  display: none;
}
.whatsapp-float{

position:fixed;
bottom:25px;
right:25px;
background:#25D366;
color:white;
width:60px;
height:60px;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
font-size:32px;
box-shadow:0 8px 20px rgba(0,0,0,0.3);
z-index:999;

}

.whatsapp-float:hover{

background:#1ebe5b;

}

@media(max-width:900px){

.sell-form{

padding:80px 20px;

}
  .menu-toggle {
    display: block;
  }

  .header-flex {
    flex-direction: row;
    justify-content: space-between;
  }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 260px;
    height: 100vh;
    background: #00000091;
    transition: 0.3s;
    padding-top: 80px;
    z-index: 999;
  }

  nav.active {
    right: 0;
  }

  nav ul {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 20px;
  }

  nav ul li {
    width: 100%;
  }

  nav ul li a {
    width: 100%;
    padding: 12px 0;
  }

  .menu-toggle.active i::before {
    content: "\f00d";
  }

  .topbar .container {
    flex-direction: row; /* نفس desktop */
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap; /* ما يهبطوش */
    gap: 10px;
  }

  .topbar-slider {
    overflow: hidden;
    white-space: nowrap;
    flex: 1;
  }

  .social {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0; /* ما يتصغروش */
  }
    .topbar-slider .slide {
    display: none;
  }

  .topbar-slider .slide.active {
    display: block;
  }
  .process-wrapper{
display:flex;
flex-direction:column;
gap:40px;
}

.sell-hero{

padding:30px 20px;

}
.process-image{
order:-1;
}
.topbar{

flex-direction:column;
gap:6px;

}

.footer-grid{
grid-template-columns:1fr 1fr;
}
    .has-dropdown {
    display: none;
  }

  .mobile-only {
    display: block;
  }
}

@media(max-width:600px){
  /* LOGO */
.logo img {
  width: 90px;
  transition: 0.3s;
}
.contact-grid{
grid-template-columns:1fr;
}

.contact-title{
font-size:26px;
}


.footer-grid{
grid-template-columns:1fr;
}

}

@keyframes popup{

from{
transform:scale(0.7);
opacity:0;
}

to{
transform:scale(1);
opacity:1;
}

}
@media(max-width:450px){
/* LOGO */
.logo img {
  width: 80px;
  transition: 0.3s;
}
  .social {
    gap: 10px;
    margin-left: 0px;
    margin-right: -5px;

  }
}