
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background color: rgba(238, 235, 224, 1);
    color: #222;
}

/* =====================================
   ADEHYEE PROPERTIES - NEW RESPONSIVE NAVBAR
===================================== */

.site-header {
    position: relative;
    z-index: 1000;
    width: 100%;
    background: #white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.main-navbar,
.main-navbar * {
    box-sizing: border-box;
}

.main-navbar {
    width: 100%;
    max-width: 1500px;
    min-height: 88px;
    margin: 0 auto;
    padding: 12px 4%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

/* BRAND */

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    color: #ffffff;
    text-decoration: none;
}

.nav-brand img {
    display: block;
    width: 45px;
    height: 45px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #f0c75e;
}

.brand-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.brand-details strong {
    color: black;
    font-size: 36px;
    line-height: 1.2;
    font-family: serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.brand-details small {
    color: black;
    font-size: 13px;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.6);
}

/* DESKTOP NAVIGATION */

.nav-content {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
    flex: 1;
    min-width: 0;
}

.nav-list {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list a {
    display: block;
    padding: 10px 8px;
    color: blue;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    font-family: sans-serif;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.nav-list a:hover,
.nav-list a:focus-visible {
    color: #f0c75e;
}

/* LOGIN AND REGISTER */

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.nav-login,
.nav-register {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 17px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease,
                color 0.2s ease;
}

.nav-login {
    border: 1px solid #ffffff;
    color: black;
    background: offwhite;
}

.nav-login:hover {
    background: black;
    color: azure;
}

.nav-register {
    background: #f0c75e;
    border: 1px solid #f0c75e;
    color: #173d2c;
}

.nav-register:hover {
    background: black;
    border-color: #ffffff;
    color: azure;
}

/* HAMBURGER BUTTON */

.nav-toggle {
    display: none;
    width: 45px;
    height: 42px;
    padding: 9px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    margin: 4px 0;
    border-radius: 3px;
    background: black;
    transition: transform 0.2s ease,
                opacity 0.2s ease;
}

.nav-toggle.is-open span:first-child {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-open span:last-child {
    transform: translateY(-7px) rotate(-45deg);
}

/* TABLETS AND MOBILE */

@media (max-width: 1100px) {
    .main-navbar {
        flex-wrap: wrap;
        gap: 12px;
        padding: 12px 4%;
    }

    .nav-toggle {
        display: block;
        flex-shrink: 0;
    }

    .nav-content {
        display: none;
        flex: 0 0 100%;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
        padding: 15px 0 8px;
    }

    .nav-content.is-open {
        display: flex;
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 0;
    }

    .nav-list li {
        width: 100%;
        font-weight: border;
        background: white;
        text-align: center;
    }

    .nav-list a {
        padding: 14px 10px;
        white-space: normal;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        color: black;
        font-family: sans-serif;
        font-weight: 700;
    }

    .nav-actions {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .nav-login,
    .nav-register {
        width: 100%;
        min-height: 46px;
    }
}

/* SMALL PHONES */

@media (max-width: 480px) {
    .main-navbar {
        padding: 10px 12px;
    }

    .nav-brand {
        gap: 8px;
        min-width: 0;
        max-width: calc(100% - 55px);
    }

    .nav-brand img {
        width: 44px;
        height: 44px;
    }

    .brand-details {
        min-width: 0;
    }

    .brand-details strong {
        font-size: 15px;
    }

    .brand-details small {
        font-size: 9px;
        line-height: 1.4;
    }

    .nav-toggle {
        width: 40px;
        height: 40px;
    }

    .nav-content {
        padding-top: 10px;
    }
}

/* KEYBOARD ACCESSIBILITY */

.main-navbar a:focus-visible,
.nav-toggle:focus-visible {
    outline: 3px solid #f0c75e;
    outline-offset: 3px;
}


/* ==============================
   TESTIMONIALS SECTION
============================== */

.testimonials {
    --primary: #173f35;
    --gold: #c9a45c;
    --cream: #f8f6f0;
    --text: #555b57;

    padding: 100px 6%;
    background: var(--cream);
    overflow: hidden;
    font-family: "Poppins", Arial, sans-serif;
}

.testimonial-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Heading */

.testimonial-heading {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 55px;
}

.section-label {
    display: inline-block;
    color: var(--gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.testimonial-heading h2 {
    color: var(--primary);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 18px;
}

.testimonial-heading p {
    color: var(--text);
    font-size: 15px;
    line-height: 1.8;
    margin: 0;
}

/* Slider */

.testimonial-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    align-items: stretch;
    gap: 25px;
    transition: transform 0.55s ease;
    will-change: transform;
}

/* Cards */

.testimonial-card {
    position: relative;
    flex: 0 0 calc((100% - 50px) / 3);
    min-width: 0;
    box-sizing: border-box;

    display: flex;
    flex-direction: column;

    padding: 35px 30px;
    background: #ffffff;
    border: 1px solid #eae6dc;
    border-radius: 12px;

    box-shadow: 0 8px 30px rgba(23, 63, 53, 0.05);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(23, 63, 53, 0.10);
}

/* Quote Icon */

.quote-icon {
    color: var(--gold);
    font-family: Georgia, serif;
    font-size: 65px;
    line-height: 0.8;
    height: 48px;
    margin-bottom: 15px;
}

/* Stars */

.stars {
    color: var(--gold);
    font-size: 19px;
    letter-spacing: 4px;
    margin-bottom: 22px;
}

/* Review Text */

.testimonial-text {
    color: var(--text);
    font-size: 14px;
    line-height: 1.9;
    margin: 0 0 30px;
    flex-grow: 1;
}

/* Client Information */

.client-info {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 22px;
    border-top: 1px solid #eeeae1;
}

.client-info img {
    width: 55px;
    height: 55px;
    flex-shrink: 0;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    border: 2px solid #eee5d2;
}

.client-info h3 {
    color: var(--primary);
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 5px;
}

.client-info span {
    display: block;
    color: #898d88;
    font-size: 12px;
}

/* Slider Controls */

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 22px;
    margin-top: 40px;
}

.testimonial-controls button {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 45px;
    height: 45px;
    border: 1px solid #d9d4c8;
    border-radius: 50%;

    background: transparent;
    color: var(--primary);
    font-size: 20px;
    cursor: pointer;

    transition: all 0.3s ease;
}

.testimonial-controls button:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
}

.testimonial-controls button:focus-visible,
.testimonial-dots button:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 4px;
}

/* Navigation Dots */

.testimonial-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
}

.testimonial-dots button {
    width: 9px;
    height: 9px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #d5d1c7;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dots button.active {
    width: 25px;
    border-radius: 10px;
    background: var(--gold);
}

/* Tablet */

@media (max-width: 900px) {
    .testimonials {
        padding: 80px 5%;
    }

    .testimonial-card {
        flex-basis: calc((100% - 25px) / 2);
        padding: 30px 25px;
    }
}

/* Mobile */

@media (max-width: 600px) {
    .testimonials {
        padding: 65px 20px;
    }

    .testimonial-heading {
        margin-bottom: 35px;
    }

    .testimonial-heading p {
        font-size: 14px;
    }

    .testimonial-card {
        flex-basis: 100%;
        padding: 28px 24px;
    }

    .testimonial-track {
        gap: 18px;
    }

    .testimonial-controls {
        margin-top: 30px;
        gap: 18px;
    }
}

/* Respect reduced motion preferences */

@media (prefers-reduced-motion: reduce) {
    .testimonial-track,
    .testimonial-card,
    .testimonial-controls button,
    .testimonial-dots button {
        transition: none;
    }
}


/* ABOUT / SERVICES SECTION */

.about-section {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    padding: 80px 6%;
    background: #f8f6f0;
    font-family: Arial, sans-serif;
    align-items: start;
}

.about-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e9e5dc;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    padding-bottom: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.10);
}

.about-card img {
    display: block;
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.about-card h2 {
    color: #173f35;
    font-size: 22px;
    line-height: 1.4;
    margin: 25px 25px 15px;
}

.about-card > p,
.about-card .more-text p {
    color: #606560;
    font-size: 14px;
    line-height: 1.9;
    margin: 0 25px 15px;
    overflow-wrap: anywhere;
}

.about-card .more-text[hidden] {
    display: none;
}

.about-card .more-text:not([hidden]) {
    animation: aboutFade 0.3s ease;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 5px 25px 0;
    padding: 11px 20px;

    background: #173f35;
    color: #ffffff;
    border: 1px solid #173f35;
    border-radius: 5px;

    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}

.read-more:hover {
    background: #c9a45c;
    border-color: #c9a45c;
    color: #ffffff;
}

.read-more:focus-visible {
    outline: 3px solid #c9a45c;
    outline-offset: 3px;
}

@keyframes aboutFade {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* TABLET */

@media (max-width: 950px) {
    .about-section {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
        padding: 60px 4%;
    }
}

/* MOBILE */

@media (max-width: 600px) {
    .about-section {
        grid-template-columns: 1fr;
        padding: 45px 20px;
        gap: 25px;
    }

    .about-card img {
        height: 220px;
    }

    .about-card h2 {
        font-size: 20px;
        margin: 22px 20px 12px;
    }

    .about-card > p,
    .about-card .more-text p {
        margin-left: 20px;
        margin-right: 20px;
        font-size: 14px;
    }

    .read-more {
        margin-left: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .about-card,
    .read-more {
        transition: none;
    }

    .about-card .more-text:not([hidden]) {
        animation: none;
    }
}


.search-container {
  display: flex;
  justify-content: flex-end;
  padding: 15px 24px;
}

.search-form {
  display: flex;
  width: 100%;
  max-width: 350px;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.search-form input {
  flex: 1;
  min-width: 0;
  padding: 12px;
  border: none;
  outline: none;
}

.search-form button {
  padding: 12px 18px;
  border: none;
  background: #2563eb;
  color: white;
  cursor: pointer;
  margin: 15px;
  border-radius: 15px;
}

.search-form button:hover {
  background: #F5F0E8;
  color: blue;
}

.commercial-section {
    padding: 30px 5%;
    background: #FAF9F6;
  }

  .property-grid {
    display: grid;
    grid-template-columns:
      repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 24px;
  }

  .property-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 12px #00000010;
  }

  .property-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }

  .property-info {
    padding: 16px;
  }

  .property-info h3 {
    margin: 0 0 10px;
  }

  .property-price {
    color: #2563eb;
    font-weight: bold;
  }

  .property-card a {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 16px;
    background: #2563eb;
    color: white;
    border-radius: 6px;
    text-decoration: none;
  

/* =====================================
   ADEHYEE PROPERTIES CUSTOMER DASHBOARD
===================================== */

.dashboard-wrapper {
    width: 90%;
    max-width: 1250px;
    margin: 45px auto 70px;
}

/* SEARCH BAR */

.search-container {
    padding: 18px 5%;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.search-form {
    display: flex;
    max-width: 600px;
    margin: auto;
    background: #f6f7f9;
    border: 1px solid #e6e8ec;
    border-radius: 7px;
    overflow: hidden;
}

.search-form input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    padding: 14px 18px;
    font-size: 14px;
}

.search-form button {
    border: none;
    background: #b68b3d;
    color: #fff;
    padding: 0 28px;
    font-weight: 600;
    cursor: pointer;
    transition: .3s;
}

.search-form button:hover {
    background: #17243b;
}

/* WELCOME BANNER */

.dashboard-welcome {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    min-height: 310px;
    padding: 55px 60px;
    border-radius: 14px;
    background:
        linear-gradient(110deg, rgba(15,29,50,.98),
        rgba(32,55,82,.93));
    color: #fff;
    box-shadow: 0 15px 35px rgba(17,34,57,.13);
}

.dashboard-welcome::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(218,176,97,.25);
    border-radius: 50%;
    right: 5%;
    top: -120px;
}

.welcome-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.welcome-label,
.section-label {
    color: #d9ae58;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.welcome-content h1 {
    font-size: clamp(27px, 4vw, 43px);
    line-height: 1.3;
    margin: 17px 0;
    font-weight: 750;
}

.welcome-content h1 span {
    color: #e3b65e;
}

.welcome-content p {
    max-width: 580px;
    color: #d2dae5;
    line-height: 1.9;
    font-size: 15px;
}

.welcome-btn {
    display: inline-flex;
    gap: 20px;
    align-items: center;
    margin-top: 28px;
    padding: 15px 24px;
    background: #c49a4d;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 700;
    transition: .3s;
}

.welcome-btn:hover {
    background: #fff;
    color: #17243b;
    transform: translateY(-3px);
}

.welcome-decoration {
    position: relative;
    z-index: 2;
    text-align: center;
    min-width: 180px;
}

.welcome-icon {
    font-size: 110px;
    line-height: 1;
    color: #d9ae58;
}

.welcome-decoration p {
    color: #d9ae58;
    font-size: 12px;
    letter-spacing: 1px;
    margin-top: 15px;
}

/* SECTION HEADING */

.dashboard-heading {
    margin: 55px 0 25px;
}

.dashboard-heading h2 {
    font-size: 28px;
    color: #17243b;
    margin: 10px 0;
}

.dashboard-heading p {
    color: #7b8492;
    font-size: 14px;
}

/* DASHBOARD GRID */

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.dashboard-card {
    background: #fff;
    border: 1px solid #edf0f4;
    border-radius: 10px;
    padding: 30px 27px;
    box-shadow: 0 5px 20px rgba(20,35,60,.04);
    transition: .3s ease;
}

.dashboard-card:hover {
    transform: translateY(-7px);
    border-color: #d9ae58;
    box-shadow: 0 14px 30px rgba(20,35,60,.09);
}

.dashboard-card-icon {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #fbf5e9;
    color: #b68b3d;
    font-size: 27px;
    margin-bottom: 22px;
}

.dashboard-card h3 {
    font-size: 18px;
    color: #17243b;
    margin-bottom: 13px;
}

.dashboard-card p {
    font-size: 14px;
    line-height: 1.8;
    color: #7c8594;
    min-height: 75px;
}

.dashboard-card a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    text-decoration: none;
    color: #b68b3d;
    font-size: 13px;
    font-weight: 750;
    transition: .3s;
}

.dashboard-card a:hover {
    color: #17243b;
    gap: 18px;
}

/* ACCOUNT SUMMARY */

.account-summary {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fff;
    border: 1px solid #e9edf1;
    border-left: 4px solid #b68b3d;
    border-radius: 8px;
    padding: 25px;
    margin-top: 35px;
}

.account-summary-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #edf7ef;
    color: #26834a;
    font-size: 23px;
    font-weight: bold;
}

.account-summary-content {
    flex: 1;
}

.account-summary-content h3 {
    color: #17243b;
    font-size: 17px;
    margin-bottom: 7px;
}

.account-summary-content p {
    font-size: 13px;
    line-height: 1.8;
    color: #788394;
}

.account-summary-content strong {
    color: #17243b;
}

.summary-logout {
    padding: 10px 19px;
    border: 1px solid #dce1e8;
    border-radius: 5px;
    color: #17243b;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: .3s;
}

.summary-logout:hover {
    background: #17243b;
    color: #fff;
}

/* BOTTOM CALL TO ACTION */

.dashboard-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-top: 40px;
    padding: 38px 40px;
    background: #f9f5ed;
    border: 1px solid #eee4d1;
    border-radius: 10px;
}

.dashboard-cta span {
    color: #b68b3d;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

.dashboard-cta h2 {
    color: #17243b;
    font-size: 24px;
    margin: 10px 0;
}

.dashboard-cta p {
    color: #778196;
    font-size: 14px;
    line-height: 1.7;
}

.dashboard-cta > a {
    flex-shrink: 0;
    background: #17243b;
    color: #fff;
    padding: 15px 23px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 700;
    transition: .3s;
}

.dashboard-cta > a:hover {
    background: #b68b3d;
}

/* RESPONSIVE DESIGN */

@media (max-width: 950px) {
    .dashboard-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-welcome {
        padding: 40px;
    }
}

@media (max-width: 650px) {
    .dashboard-wrapper {
        width: 92%;
        margin: 30px auto 45px;
    }

    .dashboard-welcome {
        padding: 35px 25px;
        min-height: auto;
    }

    .welcome-decoration {
        display: none;
    }

    .dashboard-heading {
        margin-top: 40px;
    }

    .dashboard-heading h2 {
        font-size: 24px;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .dashboard-card {
        padding: 25px;
    }

    .dashboard-card p {
        min-height: auto;
    }

    .account-summary {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .account-summary-content {
        min-width: 0;
    }

    .summary-logout {
        margin-left: 65px;
    }

    .dashboard-cta {
        flex-direction: column;
        align-items: flex-start;
        padding: 28px 23px;
    }

    .dashboard-cta h2 {
        font-size: 21px;
    }

    .search-form button {
        padding: 0 17px;
    }
}
