/* ==================================
   DADA'S REALTOR & MARKETING
================================== */

:root{

    --orange:#ff8c00;
    --orange-dark:#d97400;

    --navy:#081b33;
    --navy-light:#10294d;

    --white:#ffffff;
    --gray:#f5f5f5;
    --text:#444444;

}

/* ==================================
   GLOBAL
================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Montserrat',sans-serif;
    background:var(--white);
    color:var(--text);
    overflow-x:hidden;
}

/* ==================================
   FADE IN ANIMATION
================================== */

@keyframes fadeUp{

    from{
        opacity:0;
        transform:translateY(40px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}

section,
nav,
footer{
    animation:fadeUp 1.2s ease forwards;
}

/* ==================================
   NAVIGATION
================================== */

nav{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:90px;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:0 8%;

    background:rgb(255, 255, 255);
    backdrop-filter:blur(12px);

    z-index:1000;
}
.logo img{
    width:156px;
    height:auto;
    display:block;
}

nav img{
    height:70px;
    width:auto;
}

.nav-links{
    display:flex;
    gap:40px;
    list-style:none;
}

.nav-links a{
    color:#001F54;
    text-decoration:none;
    font-weight:600;
    transition:.3s;
}

.nav-links a:hover{
    color:var(--orange);
}

.cta-btn{
    text-decoration:none;
    color:rgba(255, 255, 255, 0.918);
    background:var(--orange);
    padding:14px 28px;
    border-radius:40px;
    font-weight:600;
    transition:.4s;
}

.cta-btn:hover{
    background:var(--orange-dark);
    transform:translateY(-3px);
}

/* ===================================
   LISTINGS DROPDOWN
=================================== */

.listing-dropdown {
  position: relative;
  display: inline-block;
}

.listing-dropdown-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 13px 22px;
  border: 2px solid transparent;
  border-radius: 8px;

  background: #f47b20;
  color: #ffffff;

  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 700;

  cursor: pointer;
  transition: all 0.3s ease;
}

.listing-dropdown-btn:hover,
.listing-dropdown-btn:focus {
  background: #ffffff;
  color: #f47b20;
  border-color: #f47b20;
  outline: none;
}

.dropdown-arrow {
  font-size: 12px;
  transition: transform 0.3s ease;
}

/* Rotate arrow when menu opens */

.listing-dropdown.dropdown-open .dropdown-arrow {
  transform: rotate(180deg);
}

/* Dropdown box */

.listing-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 1000;

  width: 270px;
  padding: 10px;

  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;

  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);

  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);

  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s ease;
}

/* Small triangle above menu */

.listing-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -7px;
  right: 25px;

  width: 14px;
  height: 14px;

  background: #ffffff;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  border-left: 1px solid rgba(0, 0, 0, 0.08);

  transform: rotate(45deg);
}

/* Show menu */

.listing-dropdown.dropdown-open .listing-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Country links */

.listing-dropdown-menu a {
  position: relative;
  z-index: 1;

  display: flex;
  align-items: center;
  gap: 13px;

  padding: 13px 14px;
  border-radius: 8px;

  color: #1c1c1c;
  text-decoration: none;

  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.listing-dropdown-menu a:hover {
  background: #fff3e9;
  color: #f47b20;
  transform: translateX(3px);
}

.country-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 42px;
  height: 42px;
  flex-shrink: 0;

  background: #f5f5f5;
  border-radius: 50%;

  font-size: 23px;
}

.listing-dropdown-menu strong {
  display: block;
  margin-bottom: 3px;

  font-size: 14px;
  font-weight: 700;
}

.listing-dropdown-menu small {
  display: block;

  color: #777777;
  font-size: 11px;
  font-weight: 500;
}

/* Optional desktop hover functionality */

@media (min-width: 901px) {
  .listing-dropdown:hover .listing-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .listing-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
  }
}

/* Mobile dropdown */

@media (max-width: 900px) {
  .listing-dropdown {
    width: 100%;
    margin-top: 12px;
  }

  .listing-dropdown-btn {
    width: 100%;
  }

  .listing-dropdown-menu {
    position: static;
    width: 100%;
    margin-top: 10px;

    display: none;

    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .listing-dropdown.dropdown-open .listing-dropdown-menu {
    display: block;
  }

  .listing-dropdown-menu::before {
    display: none;
  }
}
/* ==================================
   HERO
================================== */

.hero{

    min-height:100vh;

    background:
    linear-gradient(
        rgba(8,27,51,.75),
        rgba(8,27,51,.75)
    ),
    url("../images/Realtorbackground1.jpg");

    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;

    display:flex;
    justify-content:center;
    align-items:center;

    text-align:center;
    padding:120px 10% 60px;
}

.hero-content{
    max-width:900px;
    animation:fadeUp 1.5s ease;
}

.hero-title{
    font-size:5rem;
    line-height:1.1;
    margin-bottom:25px;
}

.hero-title .white{
    color:white;
}

.hero-title .orange{
    color:var(--orange);
}

.hero p{
    color:white;
    font-size:1.2rem;
    margin-bottom:40px;
    letter-spacing:1px;
}

.hero-btn{

    display:inline-block;

    padding:18px 40px;

    background:var(--orange);

    color:white;
    text-decoration:none;

    border-radius:50px;

    font-weight:700;

    transition:.4s;
}

.hero-btn:hover{
    background:var(--orange-dark);
    transform:translateY(-5px);
}

/* ==================================
   CIRCLES
================================== */

.circle1,
.circle2{

    position:absolute;
    border-radius:50%;
    z-index:-1;
}

.circle1{
    width:900px;
    height:900px;

    border:2px solid rgba(255,140,0,.1);

    top:-300px;
    right:-350px;
}

.circle2{
    width:600px;
    height:600px;

    border:2px solid rgba(255,140,0,.1);

    bottom:-250px;
    left:-250px;
}

/* ==================================
   GENERAL SECTIONS
================================== */

.section{

    padding:100px 10%;
}

.section h2,
.section-title{

    text-align:center;
    font-size:2.8rem;

    color:var(--navy);

    margin-bottom:40px;
}

.section p{
    line-height:1.8;
}

/* ==================================
   ABOUT
================================== */
.about{
    max-width:1100px;
    margin:auto;
    padding:100px 8%;
}

.about-intro{
    text-align:center;
    max-width:800px;
    margin:0 auto 50px;
    line-height:1.8;
    color:rgba(8,27,51,.75);
}

.services-list{
    display:flex;
    flex-direction:column;
    gap:25px;
}

.service-item{
    background:rgba(255,255,255,0.05);
    padding:25px;
    border-radius:15px;
    border-left:4px solid var(--orange);
}

.service-item h3{
    color:var(--orange);
    margin-bottom:10px;
}

.service-item p{
    line-height:1.8;
    color:rgba(8,27,51,.75);
}

/* ==================================
   VISION MISSION VALUES
================================== */

.vision-values{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(300px,1fr));

    gap:30px;

    padding:100px 10%;

    background:#f8f9fb;
}

.info-block{

    background:white;

    padding:40px;

    border-radius:20px;

    box-shadow:
    0 10px 30px rgba(0,0,0,.08);

    transition:.4s;
}

.info-block:hover{

    transform:translateY(-10px);
}

.info-block h2{

    color:var(--orange);
    margin-bottom:20px;
}

.info-block p{

    line-height:1.8;
}

/* ==================================
   WHY CHOOSE US
================================== */

.why-us{

    padding:100px 10%;

    background:var(--navy);

    color:white;
}

.why-us .section-title{
    color:white;
}

.why-grid{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(220px,1fr));

    gap:30px;
}

.why-card{

    background:var(--navy-light);

    padding:40px 25px;

    text-align:center;

    border-radius:20px;

    transition:.4s;
}

.why-card:hover{

    transform:translateY(-10px);

    background:var(--orange);
}

.why-card i{

    font-size:3rem;

    margin-bottom:20px;
}

.why-card h3{

    margin-bottom:15px;
}

/* ==================================
   CONTACT
================================== */

.contact{

    padding:100px 10%;
}

.contact-form{

    max-width:700px;

    margin:auto;

    display:flex;
    flex-direction:column;

    gap:20px;
}

.contact-form input,
.contact-form textarea{

    padding:18px;

    border:1px solid #ddd;

    border-radius:10px;

    font-size:1rem;

    font-family:inherit;
}

.contact-form textarea{

    height:180px;
    resize:none;
}

.contact-form button{

    padding:18px;

    background:var(--orange);

    color:white;

    border:none;

    border-radius:10px;

    cursor:pointer;

    font-size:1rem;

    font-weight:700;

    transition:.3s;
}

.contact-form button:hover{

    background:var(--orange-dark);
}

/* ==================================
   FOOTER
================================== */

footer{

    background:var(--navy);

    color:white;

    text-align:center;

    padding:30px;
}

/* ==================================
   RESPONSIVE
================================== */

@media(max-width:992px){

    .hero-title{
        font-size:4rem;
    }

    nav{
        padding:0 5%;
    }

    .nav-links{
        gap:20px;
    }

}

@media(max-width:768px){

    nav{
        flex-direction:column;
        height:auto;
        padding:20px;
    }

    .nav-links{
        margin:20px 0;
        flex-wrap:wrap;
        justify-content:center;
    }

    .hero-title{
        font-size:3rem;
    }

    .section-title,
    .section h2{
        font-size:2.2rem;
    }

}

@media(max-width:480px){

    .hero-title{
        font-size:2.3rem;
    }

    .hero p{
        font-size:1rem;
    }

}