/* navbar*/

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
 /* padding: 1rem 1rem 1rem 0.5rem;
 
 */
  background: #2C3B42;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  font-family: Arial, sans-serif;
  border-radius: 0px;
}

/* Left section with logo only */
.left-section {
  display: flex;
  flex-direction: column;
  padding-left: 25px;
}

.logo {
  display: flex;
  align-items: center;
 /* gap: 0.5rem;
 */
}

.logo img {
  height: 115px;
}

.logo span {
  font-size: 1.8rem;
  font-weight: bold;
  color:#000000;
}

/* right section now stacks buttons and nav-links */
.right-section {
  display: flex;
  flex-direction: column;
  align-items: flex-end; /* aligns everything to the right */
}

/* buttons row */
.nav-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end; /* keeps everything aligned to the right */
  padding-right: 15px;
}

.lang img {
  height: 20px;
  border-radius: 3px;
}



.top-actions {
  display: flex;
/*  gap: 15px;
*/
  align-items: center;
 /* margin-bottom: 18px; /* little space before nav-links */
}


/* nav links row under buttons */
/* nav links row under buttons */
.nav-links {
  display: flex;
  gap: 20px;
  justify-content: flex-end;
}

.nav-links a {
  text-decoration: none;
  color: #000000;
  font-size: 1rem;
  padding: 10px 14px;
  border-radius: 6px;
  transition: 
    background-color 0.3s ease,
    color 0.3s ease,
    transform 0.25s ease,
    box-shadow 0.3s ease;
}

/* Attractive hover effect */
.nav-links a:hover {
  background-color: #e81626;
  color: #ffffff;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

/* Special style for Sign In (already black) */
.nav-links a.signin {
  background: #e81626;
  color: #fff;
  border-radius: 6px;
}

.nav-links a.signin:hover {
  background: #222;
  transform: translateY(-3px) scale(1.07);
  box-shadow: 0 6px 15px rgba(0,0,0,0.25);
}


/* buttons */
.btn {
  padding: 0.5rem 1rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9rem; 
}

.btn.primary {
  background: #3b5d3f;
  color: white;
}

.btn.outline {
  border: 1px solid #3b5d3f;
 color: #3b5d3f;
  background: transparent;
}

.login {
  display: inline-block;
  background-color: #E9CE69;
  color: #d12821;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  cursor: pointer;
}

/* dropdown */
.language-dropdown {
  display: none !important;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;   /* unhide = position: relative;*/
}

.dropdown-toggle {
  background: white;
  border: 1px solid #ddd;
 /* padding: 0.4rem 0.6rem;
  */
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.dropdown-toggle img {
  height: 20px;
  border-radius: 3px;
}

.arrow {
  font-size: 0.8rem;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  padding: 0.5rem;
  display: none;
  z-index: 100;
  width: 100px;
}

.dropdown-menu div {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.5rem;
  cursor: pointer;
}

.dropdown-menu img {
  height: 18px;
  width: 26px; /* keeps them proportional */
  object-fit: cover;
  border-radius: 3px;
}
.dropdown-menu div:hover {
  background: #f0f0f0;
}

/* responsive */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem; /* add padding for breathing room */
  }

  .left-section {
    width: 100%;
    margin-bottom: 1rem; /* space between logo and right section */
  }

  .logo {
    justify-content: flex-start;
  }

  .right-section {
    width: 100%;
    align-items: flex-start;
  }

  .nav-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1rem;
  }

  .top-actions {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
  }

  .nav-links {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 1rem;
  }

  .btn,
  .login {
    width: fit-content;
  }
}


/* section under navbar */

.search-section {
  /*background: url("../images/dubai1.jpg") center center / cover no-repeat;*/
 /* padding: 4rem 2rem;   */
   padding: 1rem 1rem;
  text-align: center;
  color: white;
  position: relative;
  z-index: 1;
  
  /*
   border-radius: 12px;
   */
   border-radius: 1px;
  /*  margin-top: 1rem;

*/
}

.search-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.4);  
  z-index: -1;
  border-radius: 12px;
}

.search-section h2 {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.search-section p {
  font-size: 1.3rem;
  color: #fff;

  margin-bottom: 2rem;
}

.search-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;  
  margin-top: 1rem;
}

.search-bar input,
.search-bar select {
  padding: 0.6rem 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 0.9rem;
  width: 180px;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.search-bar button {
  background:#d12821;
  color: #fff;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  font-weight: bold;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: background 0.3s ease;
}

.search-bar button:hover {
  background-image: url('images/backgr/dubai3.jpg');
}
@media (max-width: 768px) {
  .search-section {
    padding: 2rem 1rem;
    text-align: left;
  }

  .search-section h2 {
    font-size: 1.8rem;
    text-align: left;
  }

  .search-section p {
    font-size: 1rem;
    text-align: left;
    margin-bottom: 1.5rem;
  }

  .search-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
.search-bar button {
  width: 60%;
  margin: 0 auto;
}
  .search-bar input,
  .search-bar select
    {
    width: 100%;
    font-size: 1rem;
  }
}



/* offer heading*/
.cashback-banner {
  background:#808080;
  padding: 2rem;
  text-align: center;
/*  border-radius: 12px;

  margin: 2rem auto;
  */
  max-width: 1440px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
/*  margin-top: 50px;
  */
}

.cashback-banner h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
  color: #f9f9f9;
   font-family: Arial, sans-serif;
}

.cashback-banner p {
  font-size: 1rem;
  line-height: 1.5;
  max-width: 700px;
  margin: 0 auto;
  color:#f9f9f9; 
   font-family: Arial, sans-serif;
}
@media (max-width: 768px) {
  .cashback-banner {
    padding: 1.5rem 1rem;
    text-align: left;
  }

  .cashback-banner h3 {
    font-size: 1.5rem;
    text-align: left;
  }

  .cashback-banner p {
    font-size: 0.95rem;
    text-align: left;
    margin: 0;
  }
}



/* image collection section */

.property-grid {
  display: grid;
 /* grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  
  */
  padding: 2rem;
  max-width: 1440px;
/*  margin: 0 auto;
*/
}

.property-card {
  background: grey;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.property-card:hover {
  transform: translateY(-5px);
}

.property-card img {
  width: 250px;
  height: 200px;
  object-fit: cover;
}

.property-info {
  padding: 1rem;
  text-align: center;
}

.property-info .units {
  font-weight: bold;
  font-size: 1.1rem;
  color:#E9CE69;
}

.property-info .label {
  font-size: 0.95rem;
  color:#ffffff;
}
.property-card:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: 0.3s ease;
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 2rem;
  max-width: 1440px;
}

@media (max-width: 768px) {
  .property-grid {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .property-card img {
    width: 100%;
    height: auto;
  }

  .property-info {
    padding: 0.75rem;
    text-align: left;
  }

  .property-info .units {
    font-size: 1rem;
  }

  .property-info .label {
    font-size: 0.9rem;
  }
}

/* Gold & black gradient button */
.btncyan {
  display: inline-block; 
  padding: 12px 28px;
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  background: #d12821;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  margin-left: 0; /* ensures button starts exactly at heading start */
}

.btncyan:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  background: #000;
}

/* Section layout */
.freelance-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.freelance-left {
  flex: 1;
}

.freelance-right {
  flex: 1;
  display: flex;
  justify-content: center;
}

/* marquee */
.shine-marquee {
  background: #d12821;
  color: #f9f9f9;
  font-family: Montserrat;
  font-size: 20px;
  padding: 5px;
  margin-left: -8px;
  margin-right: -8px;
  position: relative;
  overflow: hidden;
}

/* SHINE EFFECT */
.shine-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 80%;
  height: 100%;
  background: linear-gradient(120deg, 
                transparent 0%, 
                rgba(255,255,255,0.45) 50%, 
                transparent 100%);
  transform: skewX(-25deg);
  animation: shineMove 3s infinite linear;
}

@keyframes shineMove {
  0% { left: -150%; }
  50% { left: 150%; }
  100% { left: 150%; }
}
/* offer listings*/

/* === Offers Carousel Container === */
/* --------------------------- */
/* PREMIUM PROJECTS SECTION    */
/* --------------------------- */

.offers-carousel {
  padding: 20px 0;
  background: #f3f3f3;   /* Matches your screenshot’s light blue */
  max-width: 1440px;
  margin: 0 auto;
}

.carousel-header {
  text-align: center;
  margin-bottom: 30px;
}


.main-h3{
  background-color: #111213;
  color: #000000;
  border-radius: 5px;
}

/* Hide arrows in screenshot style, but keep functionality */
.carousel-arrows {
  display: none;
}

/* --------------------------- */
/* CARD DESIGN                 */
/* --------------------------- */

.carousel-page {
  display: flex;
  gap: 2rem;
}

.offer-card {
  background: #fff;
  width: 280px;
  border-radius: 8px;
  padding-bottom: 20px;
  text-align: center;
  box-shadow: 0px 3px 10px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.offer-card:hover {
  transform: translateY(-4px);
}

.offer-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

/* Typography inside card */
.offer-card h4 {
  margin-top: 12px;
  font-size: 20px;
  font-weight: 700;
}

.offer-card .price {
  margin: 5px 0;
  font-weight: 700;
  font-size: 16px;
}

.offer-card .details {
  margin: 3px 0;
  font-size: 14px;
  color: #555;
}

.offer-card .location {
  margin-top: 3px;
  font-size: 15px;
  color: #222;
}

/* --------------------------- */
/* RESPONSIVE                  */
/* --------------------------- */
@media (max-width: 768px) {
  .carousel-page {
    flex-direction: column;
    align-items: center;
  }
}


/* === Individual Offer Cards === */
.offer-card {
  background: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  overflow: hidden;
  min-width: 280px;
  flex: 1;
  transition: transform 0.3s ease;
}



.offer-card:hover {
  transform: translateY(-5px);
}

/* === Image Styling === */
.offer-card img {
  width: 300px;
  height: 220px;
/*  object-fit: cover;
*/
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

/* === Text Content === */
.offer-card h4 {
  font-size: 1.1rem;
  margin: 0.8rem 1rem 0.4rem;
 color: #000;
  font-weight: bold;
}


.offer-card h5 {
  font-size: 1.1rem;
  margin: 0.8rem 1rem 0.4rem;
 color: #000;
  font-weight: bold;
}
.offer-card p {
  font-size: 0.9rem;
  color: #666;
  margin: 0.3rem 1rem;
}

/* === Contact Options === */
.contact-options {
  margin: 0.8rem 1rem 1rem;
  text-align: center;
}

.contact-options a {
  font-size: 0.85rem;
  color: #2C3B42;
  text-decoration: none;
  margin: 0 0.3rem;
}

.contact-options a:hover {
  text-decoration: underline;
}

/* 3 cards*/
.promo-section {
  display: flex;
  justify-content: space-between;
/*  gap: 1.5rem;   */
  padding: 2rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.8);
  max-width: 1440px;
  margin: 0px;
  flex-wrap: wrap;
/*  margin-top:30px;   */
}

.promo-card {
  flex: 1;
  min-width: 280px;
  background: #d3d3d3;
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  flex-direction: column;
   
}

.promo-card img {
  height: 130px;
  margin-bottom: 1rem;
}

.promo-card h4 {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 0.5rem;
}

.promo-card p {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 1rem;
}

.teal {
  background:#454545;
  color: lightgrey;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9rem;
  display: inline-block;

    
}

.teal:hover{
  background:#000000;
  color: #ffffff;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9rem;
  display: inline-block;
 
    
}


@media (max-width: 768px) {
  .promo-section {
    flex-direction: column;
    padding: 1.5rem 1rem;
  }

  .promo-card {
    width: 100%;
    margin-bottom: 1rem;
    padding: 1rem;
  }

  .promo-card img {
    height: auto;
    max-width: 100%;
  }

  .promo-card h4 {
    font-size: 1.1rem;
  }

  .promo-card p {
    font-size: 0.9rem;
  }

  .teal {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
  }
}



/* fresh listings*/
.owners-carousel {
  padding: 2rem;
  background: #E9CE69;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  max-width: 1440px;
  margin: 0px;
  overflow: hidden;
}

.trust-section {
  background: #fff;
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: 2rem auto;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  text-align: center;
  color: #111;
  font-family: 'Montserrat', sans-serif;
}

.trust-section h3 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 1rem;
  font-style: italic;
  letter-spacing: 0.03em;
}

.trust-section .intro {
  font-size: 1.125rem;
  color: #333;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.trust-features {
  display: flex;
  gap: 4rem;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
}

.feature-box {
  flex: 1 1 350px;
  background: #f9f9f9;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  text-align: left;
  display: flex;
  gap: 2rem;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.feature-box h4 {
  font-size: 1.5rem;
  color: #000;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.feature-box p {
  font-size: 1rem;
  color: #222;
  line-height: 1.5;
  margin-bottom: 0;
}

/* Icon container */
.icon-container {
  flex-shrink: 0;
  width: 130px;
  height: 130px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-box:hover .icon-container {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.icon-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Layout direction for boxes */
.left-box {
  flex-direction: row;
}

.right-box {
  flex-direction: row-reverse;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .trust-features {
    flex-direction: column;
    gap: 2rem;
  }

  .feature-box {
    flex-direction: row;
  }

  .right-box {
    flex-direction: row;
  }
}


.agreement-link {
  font-size: 0.9rem;
  color: #2C3B42;
  text-decoration: underline;
  margin-top: auto; /* keeps link at bottom */
}

.reassurance {
  font-size: 1rem;
  color: #ffffff;
 
  font-weight: 700;
   font-family: Arial, sans-serif;
 display: inline-block;
 padding:5px;
  margin-top: 1rem;
}
@media (max-width: 768px) {
  .trust-section {
    padding: 1.5rem 1rem;
    text-align: left;
  }

  .trust-section h3 {
    font-size: 1.5rem;
    text-align: left;
  }

  .trust-section .intro {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    text-align: left;
  }

  .trust-features {
    flex-direction: column;
    gap: 1rem;
  }

  .feature-box {
    width: 100%;
    padding: 1rem;
  }

  .feature-box h4 {
    font-size: 1.1rem;
  }

  .feature-box p {
    font-size: 0.9rem;
  }

  .agreement-link {
    font-size: 0.85rem;
  }

  .reassurance {
    font-size: 0.95rem;
    margin-top: 1rem;
  }
}

/* freelance agent*/
.freelance-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  
  background-size: cover;
  background-position: center;
  flex-wrap: wrap;
  margin: 0;
}

.freelance-left {
  flex: 1;
  min-width: 320px;
}

.banner-title {
  font-family: Montserrat, sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #2b2b2b;
  margin-bottom: 12px;
  line-height: 1.3;
}

.banner-text {
  font-family: Montserrat, sans-serif;
  font-size: 17px;
  color: #333;
  margin-bottom: 22px;
  max-width: 450px;
}

.banner-btn {
  background: #000;
  color: #fff;
  padding: 12px 22px;
  border-radius: 6px;
  text-decoration: none;
  font-family: Montserrat, sans-serif;
  font-weight: 600;
  font-size: 15px;
  display: inline-block;
  transition: 0.3s ease;
}

.banner-btn:hover {
  background: #333;
}

.freelance-right {
  flex: 1;
  min-width: 300px;
  text-align: right;
}

.freelance-right img {
  max-width: 260px;
  height: auto;
}


.faq-section {
  max-width: 1000px;
  margin: 40px auto;
  background: #ffffff;
  padding: 3rem 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 35px rgba(0,0,0,0.08);
  font-family: 'Montserrat', sans-serif;
  border-left: 5px solid #d12821;
  text-align: left; /* TEXT ALWAYS LEFT */
}

/* Heading always left */
.faq-section h3 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #000;
  text-align: left;
}

.faq-item {
  background: #f9f9f9;
  border-radius: 14px;
  margin-bottom: 1rem;
  padding: 0.3rem;
  border: 1px solid #eee;
  transition: box-shadow 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 1.2rem 1rem;
  cursor: pointer;
  color: #111;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Plus / Minus icon */
.icon {
  font-size: 1.5rem;
  font-weight: bold;
  color: #d12821;
  transition: transform 0.3s ease;
}

.faq-question.active .icon {
  content: "-";
  transform: rotate(180deg);
}

.faq-question.active .icon::before {
  content: "-"; /* MINUS ICON */
}

.faq-question .icon::before {
  content: "+";
}

.faq-answer {
  display: none;
  padding: 0 1.2rem 1.2rem;
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
}

.faq-question.active + .faq-answer {
  display: block;
}

/* Mobile */
@media (max-width: 768px) {
  .faq-section {
    padding: 2rem 1rem;
  }

  .faq-question {
    font-size: 1rem;
  }

  .faq-answer {
    font-size: 0.95rem;
  }
}

/* blog*/
.blog-section {
  max-width: 1440px;
  margin: 0;
  padding: 3rem 2rem;
  background: #ffffff;
  font-family: 'Montserrat', sans-serif;
}

.blog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.blog-header h3 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #000;
}

.view-all {
  font-size: 1.2rem;
  color: #d12821;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
}

.view-all:hover {
  color: #000;
}

/* Blog Grid */
.blog-grid {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Blog Card */
.blog-card {
  background: #fdfdfd;
  border-radius: 16px;
  overflow: hidden;
  width: 350px;
  border: 1px solid #eee;
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Blog Image */
.blog-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-img img {
  transform: scale(1.05);
}

/* Blog Content */
.blog-content {
  padding: 1rem 1.2rem 1.5rem;
}

.blog-meta {
  font-size: 0.9rem;
  color: #777;
  display: block;
  margin-bottom: 0.7rem;
}

.blog-card h4 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.blog-card h4 a {
  text-decoration: none;
  color: #000;
  font-weight: 700;
  transition: 0.3s ease;
}

.blog-card h4 a:hover {
  color: #d12821;
}

.blog-card p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
  .blog-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .blog-header h3 {
    font-size: 1.9rem;
  }

  .blog-card {
    width: 100%;
  }

  .blog-img img {
    height: 180px;
  }
}



/*footer*/
.site-footer {
  background-image: url('images/backgr/dubai3.jpg');
  background-position: center;
  color: white;
  padding: 2rem;
  margin:-10px;
  margin-top:2px;
  font-size: 0.95rem;
/*  border-radius: 10px;  */
}


.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  color:#f9f9f9;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-left h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.language-selector img {
  width: 24px;
  margin-bottom: 0.5rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  columns: 2;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-right p {
  margin: 0.3rem 0;
  color:#ffffff;
}

.social-icons a img {
  width: 24px;
  margin-right: 0.5rem;
}

.legal-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color:#f9f9f9;
}
@media (max-width: 768px) {
  .site-footer {
    padding: 1.5rem 1rem;
    font-size: 0.9rem;
    text-align: left;
  }

  .footer-content {
    flex-direction: column;
    gap: 1.5rem;
  }

  .footer-left h2 {
    font-size: 1.3rem;
  }

  .footer-links ul {
    columns: 1;
  }

  .footer-right p {
    font-size: 0.9rem;
  }

  .legal-note {
    font-size: 0.8rem;
    margin-top: 1rem;
  }

  .social-icons a img {
    margin-bottom: 0.5rem;
  }
}


/* buy page */
.page-header {
  text-align: center;
  margin: 2rem auto;
  color:#333;
  max-width: 800px;
}

.property-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  padding: 2rem;
}

.property-card {
  background: lightgrey;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  max-width: 330px;
  padding: 1rem;
  text-align: center;
}

.property-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
}

.property-card h4 {
  font-size: 1.1rem;
  margin: 0.8rem 0 0.4rem;
  color: #2C3B42;
}

.property-card p {
  font-size: 0.9rem;
  color: #555;
  margin: 0.3rem 0;
}

.cashback {
  color: #333;
  font-weight: bold;
}

.contact-options a {
  font-size: 0.85rem;
  color: #d12821;
  text-decoration: none;
  margin: 0 0.3rem;
}

.search-cta {
  text-align: center;
  margin: 40px 0;
  font-size: 16px;
  color: #333;
}

.search-cta a {
  color: #e6c87c;
  font-weight: bold;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.search-cta a:hover {
  color: #2C3B42;
}


/* search backend pages*/
.dream-message {
  text-align: center;
  font-size: 24px;
  font-weight: 800;
  color: #d12821;
  margin-top: 40px;
  padding: 15px 0;
  font-family: 'Segoe UI', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  background-color: #f0f8ff;
  border-top: 2px solid #d12821;
  border-bottom: 2px solid #d12821;
  margin-bottom: 60px;
}

.property-info .status,
.property-info .year,
.property-info .plan,
.property-info .amenities {
  font-size: 13px;
  color: #555;
  margin-top: 4px;
}
.search-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 20px;
  background-color: #f8faff;
  border-bottom: 2px solid #e0e0e0;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.search-filters select {
  padding: 10px 14px;
  font-size: 14px;
  border-radius: 8px;
  border: 1px solid #ccc;
  background-color: #fff;
  color: #333;
  min-width: 160px;
  transition: border-color 0.3s ease;
}

.search-filters select:focus {
  border-color: #d12821;
  outline: none;
}

.search-filters button {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  background-color:#2C3B42;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.search-filters button:hover {
  background-color: #d12821;
}
.property-grid {
 
  display: grid;
  grid-template-columns: auto auto auto;
   grid-gap: 10px;
  background-color: #f9f9f9;
  padding: 10px;
  
}

.property-card {
  background: #000;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.property-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.property-card img {
  width: 300px;
  height: 220px;
  object-fit: cover;
}

.property-info {
  padding: 16px;
  font-family: 'Segoe UI', sans-serif;
}

.property-info span {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: #333;
}

.property-info .label {
  font-size: 18px;
  font-weight: 700;
  color: #004080;
}

.property-info .price {
  font-size: 16px;
  font-weight: 600;
  color: #d12821;
}

@media (max-width: 768px) {
  .property-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .property-grid {
    grid-template-columns: 1fr;
  }
}

/* login */
.modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-content {
  background: #fff;
  padding: 48px 36px;
  border-radius: 12px;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  position: relative;
  text-align: center;
}

.modal-content input {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.modal-content button {
  width: 100%;
  padding: 12px;
  background: #2C3B42;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
}

.close-btn {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 24px;
  cursor: pointer;
}

.divider {
  margin: 20px 0;
  color: #666;
}

.google-login {
  background: #fff;
  border: 1px solid #ccc;
  padding: 10px;
  width: 100%;
  border-radius: 6px;
  cursor: pointer;
}

.tab-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

.tab-buttons button {
  flex: 1;
  padding: 12px 0;
  border: none;
  background: white; /*makes Sign Up button visible */
  font-weight: 600;
  font-size: 15px;
  color:#2C3B42;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 0 0 1px #2C3B42 inset;
  transition: all 0.3s ease;
}

.tab-buttons button.active {
  background: #2C3B42;
  color: white;
}

.auth-form {
  text-align: center;
}

.auth-form input {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.auth-form button {
  width: 50%;
  padding: 13px;
  background: #2C3B42;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  margin-bottom: 12px;
}

.modal-header {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  text-align: center;
}

.modal-logo {
  width: 60px;
  height: auto;
  margin-bottom: 8px;
}

.modal-header h1 {
  font-size: 25px;
  font-weight: 700;
  color: #000;
  margin: 0;
}

.auth-form button {
  display: block;
  margin: 0 auto 8px auto; /* centers button + spacing below */
}

.auth-form .forgot-link {
  display: block;
  text-align: center;
  font-size: 13px;
  color: #6a1b9a;
  text-decoration: none;
  margin-top: 4px;
}


/* otp*/
#otpModal p {
  font-size: 14px;
  color: #555;
  margin-bottom: 16px;
}

/* individuals*/
/* Page Header */
.individuals-page .page-header {
  text-align: center;
  padding: 60px 20px 40px;
  background-color: #1a1a1a;
  color: #f5f5f5;
}

.individuals-page .page-header h1 {
  font-size: 32px;
  color: #2C3B42;
  margin-bottom: 12px;
}

.individuals-page .page-header p {
  font-size: 16px;
  color: #ccc;
  max-width: 700px;
  margin: 0 auto;
}

/* Promo Banner Section */
/* Page Header */
.individuals-page .page-header {
  text-align: center;
  padding: 60px 20px 40px;
  background-color: #f9f9f9;
  color: #333;
}

.individuals-page .page-header h1 {
  font-size: 32px;
  color: #2C3B42;
  margin-bottom: 12px;
}

.individuals-page .page-header p {
  font-size: 16px;
  color: #555;
  max-width: 700px;
  margin: 0 auto;
}

/* Promo Banner Section */
.promo-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 60px 20px;
  background-color: #fff;
  border-top: 2px solid #E9CE69;
  border-bottom: 2px solid #E9CE69;
}

.promo-banner img {
  max-width: 320px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.promo-text {
  max-width: 500px;
  color: #333;
}

.promo-text h2 {
  font-size: 28px;
  color: #2C3B42;
  margin-bottom: 12px;
}

.promo-text p {
  font-size: 15px;
  color: #666;
  margin-bottom: 20px;
}

.promo-text .btn-primary {
  display: inline-block;
  background-color: #2C3B42;
  color:#E9CE69;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.promo-text .btn-primary:hover {
  background-color: #2C3B42;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  padding: 60px 20px;
  background-color: #f5f5f5;
}

.feature-card {
  background-color: #fff;
  border: 2px solid #E9CE69;
  padding: 24px;
  border-radius: 12px;
  color: #333;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
}

.feature-card h3 {
  font-size: 20px;
  color:#2C3B42;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: #666;
}

/* 4 ways */
.sell-steps {
  padding: 60px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.sell-steps h2 {
  font-size: 28px;
  color: #2C3B42 ;
  margin-bottom: 40px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.step-card {
  background-color: #fff;
  border: 2px solid #E9CE69;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.step-card:hover {
  transform: translateY(-4px);
}

.step-number {
  display: inline-block;
  font-size: 32px;
  font-weight: bold;
  color: #2C3B42 !important;
  margin-bottom: 12px;
}

.step-card h3 {
  font-size: 18px;
  color: #2C3B42 !important;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 14px;
  color:#2C3B42;
}
/* register  */
.deal-registration {
  padding: 60px 20px;
  background-color: #fff;
  text-align: center;
}

.deal-registration h2 {
  font-size: 28px;
  color: #2C3B42;
  margin-bottom: 20px;
}

.deal-registration .intro-text {
  font-size: 16px;
  color: #555;
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.deal-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto 40px;
}

.deal-card {
  background-color: #f9f9f9;
  border: 2px solid #E9CE69;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  text-align: left;
}

.deal-card h3 {
  font-size: 18px;
  color: #2C3B42;
  margin-bottom: 10px;
}

.deal-card p {
  font-size: 14px;
  color: #666;
}

.deal-action .btn-primary {
  background-color: #2C3B42;
  color:#E9CE69;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.deal-action .btn-primary:hover {
  background-color:#2C3B42;
}

/* steps of registration*/
.deal-steps {
  padding: 60px 20px;
  background-color: #f5f5f5;
  text-align: center;
}

.deal-steps h2 {
  font-size: 28px;
  color: #2C3B42;
  margin-bottom: 40px;
}

.deal-steps .steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.deal-steps .step-card {
  background-color: #fff;
  border: 2px solid #E9CE69;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.deal-steps .step-card:hover {
  transform: translateY(-4px);
}

.deal-steps .step-number {
  display: inline-block;
  font-size: 32px;
  font-weight: bold;
  color: #2C3B42;
  margin-bottom: 12px;
}

.deal-steps .step-card h3 {
  font-size: 18px;
  color: #2C3B42;
  margin-bottom: 8px;
}

.deal-steps .step-card p {
  font-size: 14px;
  color: #666;
}

/* message above the footer */
.support-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: 60px 20px;
  background-color: #f9f9f9;
  border-top: 2px solid #E9CE69;
}

.support-content {
  max-width: 500px;
  text-align: center;
}

.support-content h2 {
  font-size: 28px;
  color: #2C3B42;
  margin-bottom: 16px;
}

.support-content p {
  font-size: 16px;
  color: #555;
  margin-bottom: 24px;
}

.support-content .btn-primary {
  background-color:#2C3B42;
  color: #E9CE69;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.support-content .btn-primary:hover {
  background-color: #2C3B42;
}

.support-icon img {
  max-width: 180px;
  height: auto;
}


/* agents page*/

.agent-hero {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  padding: 60px 20px;
  background-color: #f9f9f9;
  column-gap: 20px;
}

.hero-content {
  max-width: 600px;
}

.hero-content h1 {
  font-size: 32px;
  color: #2C3B42;
  margin-bottom: 12px;
}

.hero-content .tagline {
  font-size: 16px;
  color: #555;
  margin-bottom: 24px;
}

.hero-benefits {
  list-style: none;
  padding: 0;
  margin-bottom: 24px;
}

.hero-benefits li {
  font-size: 15px;
  color: #444;
  margin-bottom: 12px;
  padding-left: 20px;
  position: relative;
}

.hero-benefits li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #2C3B42;
  font-weight: bold;
}

.hero-content .btn-primary {
  background-color: #2C3B42;
  color: #E9CE69;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.hero-content .btn-primary:hover {
  background-color: #2C3B42;
}

.hero-image img {
  max-width: 320px;
  border-radius: 12px;
 box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin: 0;
}

.hero-image img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* another agent content*/
.agents-page .page-header {
  text-align: center;
  padding: 60px 20px 40px;
  background-color: #f9f9f9;
  color: #333;
}

.agents-page .page-header h1 {
  font-size: 32px;
  color: #2C3B42;
  margin-bottom: 12px;
}

.agents-page .page-header p {
  font-size: 16px;
  color: #555;
  max-width: 700px;
  margin: 0 auto;
}

.agent-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  padding: 60px 20px;
  background-color: #fff;
}

.benefit-card {
  background-color: #f9f9f9;
  border: 2px solid #E9CE69;
  padding: 24px;
  border-radius: 12px;
  color: #333;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.benefit-card h3 {
  font-size: 20px;
  color: #2C3B42;
  margin-bottom: 10px;
}

.benefit-card p {
  font-size: 14px;
  color: #666;
}

.agent-cta {
  text-align: center;
  padding: 60px 20px;
  background-color: #f5f5f5;
}

.agent-cta h2 {
  font-size: 26px;
  color: #2C3B42;
  margin-bottom: 12px;
}

.agent-cta p {
  font-size: 15px;
  color: #555;
  margin-bottom: 20px;
}

.agent-cta .btn-primary {
  background-color:#2C3B42;
  color: #E9CE69;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.agent-cta .btn-primary:hover {
  background-color:#2C3B42;
}

/* steps for registration of agent*/

.agent-steps {
  padding: 60px 20px;
  background-color: #fff;
  text-align: center;
}

.agent-steps h2 {
  font-size: 28px;
  color:#2C3B42;
  margin-bottom: 40px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.step-card {
  background-color: #f9f9f9;
  border: 2px solid #E9CE69;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.step-card:hover {
  transform: translateY(-4px);
}

.step-number {
  display: inline-block;
  font-size: 32px;
  font-weight: bold;
  color: #2C3B42;
  margin-bottom: 12px;
}

.step-card h3 {
  font-size: 18px;
  color: #2C3B42;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 14px;
  color: #666;
}


/* sales below*/
.MDK-sales {
  padding: 60px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.MDK-sales h2 {
  font-size: 28px;
  color:#2C3B42;
  margin-bottom: 20px;
}

.MDK-sales .intro-text {
  font-size: 16px;
  color: #555;
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.sales-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.sales-card {
  background-color: #fff;
  border: 2px solid #E9CE69;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  text-align: left;
}

.sales-card h3 {
  font-size: 18px;
  color: #2C3B42;
  margin-bottom: 10px;
}

.sales-card p {
  font-size: 14px;
  color: #666;
}


/* 4 cards*/

.agent-process {
  padding: 60px 20px 80px;
  background-color: #fff;
  text-align: center;
}

.agent-process h2 {
  font-size: 28px;
  color: #2C3B42;
  margin-bottom: 40px;
  text-align: center;
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.process-card {
  background-color: #f9f9f9;
  border: 2px solid #E9CE69;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  text-align: left;
  transition: transform 0.3s ease;
}

.process-card:hover {
  transform: translateY(-4px);
}

.process-card h3 {
  font-size: 18px;
  color: #2C3B42;
  margin-bottom: 10px;
}

.process-card p {
  font-size: 14px;
  color: #666;
}


/* developers page*/
.developers-page .page-header {
  text-align: center;
  padding: 60px 20px 40px;
  background-color: #f9f9f9;
  color: #333;
}

.developers-page .page-header h1 {
  font-size: 32px;
  color:  #2C3B42;
  margin-bottom: 12px;
}

.developers-page .page-header p {
  font-size: 16px;
  color: #555;
  max-width: 700px;
  margin: 0 auto;
}

.developer-banners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  padding: 40px 20px;
  background-color: #fff;
}

.banner-card {
  background-color: #f9f9f9;
  border: 2px solid #E9CE69;
  padding: 24px;
  border-radius: 12px;
  max-width: 360px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.banner-card h3 {
  font-size: 20px;
  color: #2C3B42;
  margin-bottom: 10px;
}

.banner-card p {
  font-size: 14px;
  color: #666;
  margin-bottom: 16px;
}

.banner-card .btn-primary {
  background-color: #2C3B42;
  color: #E9CE69;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.banner-card .btn-primary:hover {
  background-color: #2C3B42;
}

.developer-listing {
  text-align: center;
  padding: 60px 20px;
  background-color: #f5f5f5;
}

.developer-listing h2 {
  font-size: 26px;
  color: #2C3B42;
  margin-bottom: 12px;
}

.developer-listing p {
  font-size: 15px;
  color: #555;
}


/* developersbutton*/
.developer-listing {
  padding: 60px 20px;
  background-color: #f5f5f5;
  text-align: center;
}

.developer-listing h2 {
  font-size: 26px;
  color: #2C3B42;
  margin-bottom: 40px;
}

.developer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.developer-card {
  background-color: #fff;
  border: 2px solid #E9CE69;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.developer-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}



.developer-card h3 {
  font-size: 20px;
  color: #2C3B42;
  margin-bottom: 10px;
}

.developer-card p {
  font-size: 14px;
  color: #555;
  margin-bottom: 6px;
}

.btn-secondary {
  display: inline-block;
  margin-top: 12px;
  background-color:#2C3B42;
  color:#E9CE69;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.btn-secondary:hover {
  background-color: #2C3B42;
}

/* aboutus */
.aboutus-page .page-header {
  text-align: center;
  padding: 60px 20px 40px;
  background-color: #f9f9f9;
  color: #333;
}

.aboutus-page .page-header h1 {
  font-size: 32px;
  color: #2C3B42;
  margin-bottom: 8px;
}

.aboutus-page .page-header p {
  font-size: 16px;
  color: #666;
}

.aboutus-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: 60px 20px 80px;
  background-color: #fff;
}

.aboutus-text {
  max-width: 600px;
  color: #444;
}

.aboutus-text h2 {
  font-size: 24px;
  color: #2C3B42;
  margin-bottom: 16px;
}

.aboutus-text p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.aboutus-image img {
  max-width: 280px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.aboutus-image img:hover {
  transform: scale(1.05);
}

/* team*/
.team-section {
  padding: 60px 20px 80px;
  background-color: #fff;
  text-align: center;
}

.team-section h2 {
  font-size: 28px;
  color: #2C3B42;
  margin-bottom: 40px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.team-card {
  background-color: #f9f9f9;
  border: 2px solid #E9CE69;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 280px;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.team-card img {
  width: 100%;
  max-width: 180px;
  height: auto;
  margin-bottom: 16px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.team-card h3 {
  font-size: 18px;
  color:#2C3B42;
  margin-bottom: 6px;
  text-align: center;
}

.team-card p {
  font-size: 14px;
  color: #666;
  text-align: center;
}

/* contact*/
.contact-page {
  padding: 60px 20px 80px;
  background-color: #fff;
}

.contact-header {
  text-align: center;
  margin-bottom: 40px;
}

.contact-header h1 {
  font-size: 32px;
  color: #2C3B42;
}

.contact-header p {
  font-size: 16px;
  color: #666;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-form {
  flex: 1 1 100%;
  max-width: 450px;
  margin: 0 auto;
  background-color: #f9f9f9;
  border: 2px solid #E9CE69;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form label {
  font-weight: bold;
  color: #2C3B42;
  font-size: 14px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 10px 14px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.contact-form button {
  background-color: #2C3B42;
  color: #E9CE69;
  padding: 12px;
  width: 50%;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color:  #2C3B42;
}

.contact-info {
  flex: 1 1 300px;
  max-width: 350px;
  padding: 32px 24px;
  background-color: #f9f9f9;
  border: 2px solid #E9CE69;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  min-height: 320px;
  text-align: center;
}

.contact-info h3 {
  font-size: 20px;
  color:  #2C3B42;
  margin-bottom: 16px;
}

.contact-info p {
  font-size: 14px;
  color: #555;
  margin: 0;
}



/* blog page */
.blog-page {
  padding: 60px 20px;
  background-color: #fff;
  font-family: "Segoe UI", sans-serif;
}

.blog-title {
  font-size: 34px;
  color: #2f4f4f;
  text-align: center;
  margin-bottom: 50px;
  font-weight: 700;
  letter-spacing: 1px;
}

/* Main container */
.blog-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

/* ✅ Featured post (big card at top) */
.blog-featured {
  background: #fff;
  border: 2px solid #e6c87c;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease-in-out;
   margin-bottom: 40px;


}

.blog-featured:hover {
  transform: translateY(-4px);
}

.blog-featured img {
  width: 100%;
  height: 300px;             /* taller for featured */
  object-fit: cover;
  display: block;
  border-bottom: 2px solid #eee;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
}

.blog-featured-content {
  padding: 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ✅ Featured elements */
.blog-featured h2 {
  font-size: 24px;
  color: #2f4f4f;
  line-height: 1.4;
  margin: 0;
}

.blog-featured .blog-date {
  font-size: 14px;
  color: #777;
  margin: 0;
}

.blog-featured p {
  font-size: 15px;
  color: #444;
  line-height: 1.6;
  margin-top: auto; /* keeps text aligned consistently */
}

/* ✅ Grid layout for other cards */
.blog-sidebar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.blog-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: transform 0.2s ease-in-out;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-3px);
}

.blog-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #eee;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.blog-card-content {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}

.blog-card h3 {
  font-size: 18px;
  margin: 0;
  line-height: 1.4;
  color: #2f4f4f;
}

.blog-card .blog-date {
  font-size: 13px;
  color: #777;
  margin: 0;
}

.blog-card p {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
  margin-top: auto; /* pushes text neatly */
}

/* testmonials*/
.testimonial-section {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 2rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  text-align: center;
}

.testimonial-section h3 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #000;
}

.testimonial-grid {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.testimonial-card {
  background: #f9f9f9;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  max-width: 300px;
  flex: 1;
}

.testimonial-card .quote {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 1rem;
  font-style: italic;
}

.testimonial-card .author {
  font-size: 0.9rem;
  color: #0077c2;
  font-weight: 600;
}