
/* ----------------- HEADER MODERN ----------------- */

header {
  background: #ffffff00;
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .logo {
  font-size: 32px;
  color: #0000004e;
  font-weight: 900;
  letter-spacing: 1px;
}

header nav ul {
  list-style: none;
  display: flex;
  align-items: center;
}

header nav ul li {
  margin-left: 30px;
}

header nav ul li a {
  text-decoration: none;
  color: #0000005d;
  font-weight: 600;
  font-size: 17px;
  transition: color 0.3s, transform 0.3s;
}

header nav ul li a:hover {
  color: #00000051;
  transform: translateY(-2px);
}


/* ----------------- HERO IMAGES SMALL ----------------- */

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(0.95);
  transition: transform 1.5s ease, opacity 1s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1.1);
}

.hero-slide:hover {
  transform: scale(1.15);
  transition: transform 0.5s ease;
}


/* ----------------- HERO WA3R ----------------- */

.hero {
  position: relative;
  height: 95vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  animation: slide 15s infinite;
  opacity: 0;
  transform: scale(1.1);
  transition: transform 1.5s ease;
}

.hero-slide:nth-child(1) {
  background-image: url('https://images.unsplash.com/photo-1568605114967-8130f3a36994');
  animation-delay: 0s;
}

.hero-slide:nth-child(2) {
  background-image: url('https://images.unsplash.com/photo-1572120360610-d971b9d7767c');
  animation-delay: 5s;
}

.hero-slide:nth-child(3) {
  background-image: url('https://images.unsplash.com/photo-1600607687126-8a3414349c62');
  animation-delay: 10s;
}

@keyframes slide {

  0% {opacity: 0; transform: scale(1.1);}

  10% {opacity: 1; transform: scale(1);}

  33% {opacity: 1; transform: scale(1);}

  43% {opacity: 0; transform: scale(0.9);}

  100% {opacity: 0; transform: scale(0.9);}

}


.hero::after {
  content: "";
  position: absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background: linear-gradient(to bottom right, rgba(0,0,0,0.5), rgba(0,0,0,0.2));
  z-index:1;
}


.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff00;
  animation: fadeInUp 2s ease forwards;
}

.hero-content h1 {
  font-size: 56px;
  margin-bottom: 20px;
  letter-spacing: 3px;
  text-shadow: 3px 3px 15px rgba(0,0,0,0.5);
}

.hero-content p {
  font-size: 24px;
  margin-bottom: 30px;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.4);
}

.hero-content .btn {
  padding: 18px 40px;
  background: linear-gradient(135deg, #5b5bec, #3f39ee);
  color: #ffffff54;
  text-decoration: none;
  font-weight: 700;
  border-radius: 50px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
  transition: all 0.4s ease;
}

.hero-content .btn:hover {
  background: linear-gradient(135deg, #120fd8, #3215d4);
  transform: translateY(-5px) scale(1.05);
}


/* Animations */

@keyframes fadeInUp {

  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }

}*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:Arial;
}

body{
background:#f5f7fb;
color:#333;
}

.container{
width:90%;
max-width:1200px;
margin:auto;
display:flex;
justify-content:space-between;
align-items:center;
}

header{
background:rgba(255, 255, 255, 0.029);
padding:20px;
box-shadow:0 3px 10px rgba(0,0,0,0.1);
}

nav ul{
display:flex;
list-style:none;
}

nav li{
margin-left:25px;
}

nav a{
text-decoration:none;
color:#333;
font-weight:bold;
}

.hero{
position:relative;
height:90vh;
overflow:hidden;
}

.hero-slide{
position:absolute;
width:100%;
height:100%;
background-size:cover;
background-position:center;
opacity:0;
animation:slider 18s infinite;
}

.hero-slide:nth-child(1){
background-image:url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c");
animation-delay:0s;
}

.hero-slide:nth-child(2){
background-image:url("https://images.unsplash.com/photo-1600607687126-8a3414349c62");
animation-delay:6s;
}

.hero-slide:nth-child(3){
background-image:url("https://images.unsplash.com/photo-1568605114967-8130f3a36994");
animation-delay:12s;
}

@keyframes slider{

0%{opacity:0}
10%{opacity:1}
30%{opacity:1}
40%{opacity:0}
100%{opacity:0}

}

.hero-content{
position:absolute;
top:50%;
left:50%;
transform:translate(-50%,-50%);
color:rgba(255, 255, 255, 0.395);
text-align:center;
background:rgba(0, 0, 0, 0);
padding:40px;
border-radius:10px;
}

.hero-content h1{
font-size:55px;
margin-bottom:20px;
}

.btn{
background:#2c7be5;
padding:15px 30px;
color:white;
text-decoration:none;
border-radius:5px;
}

.properties{
padding:80px 10%;
text-align:center;
}

.grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
gap:30px;
}

.card{
background:white;
border-radius:10px;
overflow:hidden;
box-shadow:0 5px 15px rgba(0,0,0,0.1);
}

.card img{
width:100%;
height:200px;
object-fit:cover;
}

.about{
padding:80px 10%;
}

.about-container{
display:flex;
gap:40px;
align-items:center;
}

.about-img img{
width:100%;
border-radius:10px;
}

.services{
padding:80px 10%;
text-align:center;
background:#f0f3f9;
}

.services-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
gap:30px;
}

.service img{
width:100%;
height:200px;
object-fit:cover;
border-radius:10px;
}

.blog{
padding:80px 10%;
text-align:center;
}

.blog-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
gap:30px;
}

.post img{
width:100%;
height:200px;
object-fit:cover;
}

.contact{
padding:80px 10%;
text-align:center;
}

form{
max-width:500px;
margin:auto;
display:flex;
flex-direction:column;
gap:15px;
}

input,textarea{
padding:15px;
border:1px solid #ccc;
border-radius:5px;
}

button{
padding:15px;
background:#2c7be5;
color:white;
border:none;
border-radius:5px;
}

footer{
background:#111;
color:white;
text-align:center;
padding:20px;
margin-top:40px;
}









































/* ---------------- RESET ---------------- */

*{
margin:0;
padding:0;
box-sizing:border-box;
font-family: "Poppins", sans-serif;
}

body{
background:#f5f7fb;
color:#333;
line-height:1.7;
}

/* ---------------- CONTAINER ---------------- */

.container{
width:90%;
max-width:1200px;
margin:auto;
}

/* ---------------- HEADER ---------------- */

header{
background:#fff;
padding:20px 0;
box-shadow:0 2px 10px rgba(0,0,0,0.1);
position:sticky;
top:0;
z-index:1000;
}

header .container{
display:flex;
justify-content:space-between;
align-items:center;
}

.logo{
font-size:28px;
font-weight:bold;
color:#0d6efd;
}

nav ul{
display:flex;
list-style:none;
}

nav ul li{
margin-left:25px;
}

nav ul li a{
text-decoration:none;
color:#333;
font-weight:500;
transition:0.3s;
}

nav ul li a:hover{
color:#0d6efd;
}

/* ---------------- HERO ---------------- */

.hero{
position:relative;
height:90vh;
overflow:hidden;
}

.hero-slide{
position:absolute;
width:100%;
height:100%;
background-size:cover;
background-position:center;
opacity:0;
transition:1s;
}

.hero-content{
position:absolute;
top:50%;
left:50%;
transform:translate(-50%,-50%);
text-align:center;
color:rgba(255, 255, 255, 0.492);
}

.hero-content h1{
font-size:60px;
margin-bottom:20px;
text-shadow:0 5px 20px rgba(0,0,0,0.5);
}

.hero-content p{
font-size:20px;
}

/* ---------------- PROPERTIES ---------------- */

.properties{
padding:80px 10%;
text-align:center;
}

.properties h1{
font-size:40px;
margin-bottom:20px;
}

.grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
gap:30px;
}

.card{
background:white;
border-radius:10px;
overflow:hidden;
box-shadow:0 5px 20px rgba(0,0,0,0.1);
transition:0.4s;
}

.card:hover{
transform:translateY(-10px);
}

.card img{
width:100%;
height:220px;
object-fit:cover;
}

.card h3{
padding:15px;
font-size:22px;
}

.card p{
padding-bottom:20px;
font-weight:bold;
color:#0d6efd;
}

/* ---------------- ABOUT ---------------- */

.about{
padding:100px 10%;
background:white;
}

.about-container{
display:flex;
align-items:center;
gap:50px;
flex-wrap:wrap;
}

.about-text{
flex:1;
}

.about-text h2{
font-size:40px;
margin-bottom:20px;
}

.about-text p{
margin-bottom:15px;
font-size:18px;
}

.about-img{
flex:1;
}

.about-img img{
width:100%;
border-radius:10px;
}

/* ---------------- SERVICES ---------------- */

.services{
padding:100px 10%;
background:#f5f7fb;
text-align:center;
}

.services h1{
font-size:40px;
margin-bottom:20px;
}

.services-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:30px;
}

.service{
background:white;
padding:20px;
border-radius:10px;
box-shadow:0 5px 20px rgba(0,0,0,0.1);
transition:0.3s;
}

.service:hover{
transform:translateY(-10px);
}

.service img{
width:100%;
height:180px;
object-fit:cover;
border-radius:10px;
margin-bottom:15px;
}

.service h3{
margin-bottom:10px;
}

/* ---------------- BLOG ---------------- */

.blog{
padding:100px 10%;
text-align:center;
}

.blog h1{
font-size:40px;
margin-bottom:20px;
}

.blog-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
gap:30px;
}

.post{
background:white;
border-radius:10px;
overflow:hidden;
box-shadow:0 5px 20px rgba(0,0,0,0.1);
transition:0.3s;
}

.post:hover{
transform:translateY(-10px);
}

.post img{
width:100%;
height:200px;
object-fit:cover;
}

.post h3{
padding:15px;
}

.post p{
padding:0 15px 20px;
}

/* ---------------- CONTACT ---------------- */

.contact{
padding:120px 10%;
text-align:center;
color:white;

background-image:url("https://images.unsplash.com/photo-1600585152915-d208bec867a1");
background-size:cover;
background-position:center;
position:relative;
}

.contact::before{
content:"";
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.6);
}

.contact h1{
font-size:40px;
margin-bottom:20px;
position:relative;
}

.contact form{
max-width:600px;
margin:auto;
display:flex;
flex-direction:column;
gap:15px;
position:relative;
}

.contact input,
.contact textarea{
padding:15px;
border:none;
border-radius:5px;
font-size:16px;
}

.contact textarea{
height:120px;
}

.contact button{
padding:15px;
border:none;
background:#0d6efd;
color:white;
font-size:18px;
border-radius:5px;
cursor:pointer;
transition:0.3s;
}

.contact button:hover{
background:#084298;
}

/* ---------------- FOOTER ---------------- */

footer{
background:#111;
color:white;
text-align:center;
padding:20px;
}