.menu,
.menu ul,
.menu li {
    all: unset;
}

/* ===== TABLE OF CONTENTS =====

1. Variables and Resets
2. Header and Navigation
3. Hero Section
4. About Section
5. Info Section
6. Process Section
7. Footer
8. Media Queries

*/

/* ===== 1. Variables and Resets ===== */

:root {
  --bg: #2f2f2f;
  --text: #f3f3f3;
  --muted: rgba(243, 243, 243, 0.85);
  --accent: #f0c419;
  --container-w: 1400px;
  --site-padding-desktop: 24px;
  --site-padding-mobile: 16px;
}

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

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: 'Lato', sans-serif;
  background: #fff;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.site-header {
  background: var(--bg);
  color: var(--text);
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

/* ===== 2. Header and Navigation ===== */

.site-header .container {
  max-width: 1400px;
  margin: 0 auto;
  padding-left: var(--site-padding-desktop);
  padding-right: var(--site-padding-desktop);
  padding-top: 22px;
  padding-bottom: 22px;
  display: flex;
  align-items: center;
}

/* Logo on the left, serif font */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    text-align: left;
    max-width: 1440px;
    padding-left: 24px;
}
.logo{
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 400;
  color: var(--text);
  text-decoration:none;
  font-size: 26px;
  letter-spacing: 0.5px;
  margin-right:auto; /* push nav to the right */
}

/* Navigation */
.primary-nav{}

/* Desktop nav list */
.nav-links{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  gap: 30px;
  align-items:center;
}

.nav-links a{
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-family: 'Lato', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    padding: 8px 6px;
    position: relative;
    transition: color .18s ease;
    white-space: nowrap;
}

/* Hover */
.nav-links a:hover{
  color: #fff;
}

/* Active style: short yellow underline centered beneath the label */
.nav-links a.active{
  color: #fff;
}
.nav-links a.active::after{
  content: "";
  position: absolute;
  left:50%;
  transform: translateX(-50%);
  bottom: -12px;
  width: 40%;
  max-width: 54px;
  height: 1px;
  background: var(--accent);
  border-radius:2px;
  box-shadow: 0 1px 0 rgba(0,0,0,0.12);
}

/* Small visual tweak for the "What's My Home Worth?" to better break on narrow screens */
.nav-links a { line-height:1; }

/* Hamburger (hidden on desktop) */
.nav-toggle{
  display:none;
  background:transparent;
  border:0;
  padding:8px;
  cursor:pointer;
  color:var(--text);
}

/* Responsive behaviour */
@media (max-width: 920px){
  .container{padding:12px 18px;}
  .logo{font-size:28px}
}

/* Collapse to mobile layout */
@media (max-width: 1024px){
  .nav-toggle{display: flex; position: absolute; right: 15px; padding:5px; align-items: center; justify-content: center;}
    .nav-links{
        /* mobile menu hidden by default, becomes vertical when closed */
        position: fixed;
        top:70px;  /* same as header height approx */
        right:0;
        left:0;
        background: var(--bg);
        flex-direction: column;
        align-items: stretch;
        gap:0;
        padding: 20px 0;
        margin-top: 30px;
        transform: translateY(-8px);
        opacity:0;
        pointer-events: none;
        transition: opacity .18s ease, transform .18s ease;
        border-top: 1px solid rgba(255,255,255,0.02);
        z-index: 2000;
    }

    .nav-links li{width:100%;}
    .nav-links a{
        display:block;
        padding: 14px 18px;
        width:100%;
        
        text-align: left;
    }

    .site-header {
      background-color: #333333;
      padding: 10px 30px;
    }

    .container {
      padding-left: 0;
      padding-right: 0;
      padding-top: 0;
      padding-bottom: 0;
      max-width: 1400px;
      justify-content: space-between;
    }

    .logo {
      color: #ffffff;
      font-size: 28px;
    }

    .nav-toggle {
      background-color: #ffffff;
      border: none;
      border-radius: 6px;
      width: 28px;
      height: 28px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      color: #555555;
      transition: background-color 0.2s ease;
      position: static;
    }

    .nav-toggle:hover {
      background-color: #f0f0f0;
    }

    .nav-toggle svg {
      width: 15px;
      height: 15px;
      
    }

  /* show when header has .open */
  .site-header.open .nav-links{
    opacity:1;
    pointer-events:auto;
    transform: translateY(0);
  }


  /* Active state on mobile: Background color, yellow text, no underline */
  .nav-links a.active {
    background-color: #3f444b;
    color: #f0c419;
  }

  .nav-links a.active::after {
    display: none;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 0px 0px;
  }
  .logo {
    font-size: 15px;
  
  }
}

/* Very small screens: reduce logo */
@media (max-width: 420px){
  .logo{font-size:15px}
  .nav-links a{font-size:14px}

  .hero-title {
    font-size: 46px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -1px;
    text-align: center;
    
}
}

/* ===== 3. Hero Section ===== */

.hero-section {
    position: relative;
    height: 100vh; /* Full screen height */
    min-height: 250px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: url("../images/hero.webp") no-repeat center center/cover;
    background-attachment: fixed;
    color: white;
    text-align: center;
    padding-left: 200px;
}

/* Darkens the background slightly so white text pops */


.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 80px;
    text-align: left;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 86px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -1px;
    text-align: left;
}

.hero-subtitle {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 40px;
    text-transform: uppercase;
    font-family: 'Lato', sans-serif;
    text-align: left;
}

.hero-btn {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid white;
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    font-family: 'Lato', sans-serif;
    cursor: pointer;
}

.hero-btn:hover {
    background: white;
    color: black;
}

/* Responsive Adjustments */

/* Tablet */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.2rem;
    }
    .hero-subtitle {
        font-size: 0.85rem;
    }
    .hero-section {
        padding-left: 50px;
        height: 50vh;
        background-attachment: scroll;
        background-position: center;
        background-size: cover;
    }
    .logo {
        font-size: 28px;
    }
}

/* Mobile Hero Section */
@media (max-width: 600px) {
    .hero-title {
        font-family: 'Playfair Display', serif;
        font-size: 20px;
        font-weight: 700;
        margin-top: 70px;
        letter-spacing: -1px;
        text-align: center;
    }
    .hero-subtitle {
        font-size: 9px;
        font-weight: 500;
        letter-spacing: 1px;
        margin-bottom: 10px;
        text-transform: uppercase;
        font-family: 'Lato', sans-serif;
        text-align: center;
        padding-left: 15px;
        padding-right: 15px;
        max-width: 260px;
        margin-left: auto;
        margin-right: auto;
        line-height: 1.6;
       
    }
    .hero-section {
        height: 30vh ; /* Shorter on mobile */
        padding-left: 0;
        justify-content: center;
    }
    .hero-btn {
        display: block !important;
        margin: 0 auto !important;
        padding: 7px 10px;
        border: 1px solid white;
        color: white;
        text-decoration: none;
        font-family: 'Lato', sans-serif;
        font-size: 9px;
        letter-spacing: 2px;
        text-align: center;
        width: fit-content;
    }
    .hero-content {
        padding: 0 20px;
        text-align: center;
    }
    .logo {
        font-size: 15px;
    }
}
/* ===== 4. About Section ===== */

/* Container and Section Spacing */
.about-section {
    padding: 80px 10%;
    background-color: #fff;
    overflow: hidden;
}

.container {
    display: flex;
    align-items: center; /* Centers items vertically */
    justify-content: space-between;
    gap: 60px;
    max-width: var(--container-w);
    margin: 0 auto;
}

/* About Label with the horizontal line */
.about-label {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-weight: 300;
}

.line {
    width: 40px;
    height: 1px;
    background-color: #333;
}

.label-text {
    font-size: 14px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #54595F;
    font-family: 'Playfair Display', serif;
    font-weight: 300;
}

/* Typography */
.about-name {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #222;
}

.about-text p {
    font-family: 'lato', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #888;
    margin-bottom: 25px;
    margin-right: 150px;
}


/* Contact Button */
.btn-contact {
    display: inline-block;
    padding: 15px 40px;
    border: 1px solid #000;
    text-decoration: none;
    color: #000;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 20px;
    transition: 0.3s ease;
    font-family: 'Lato', sans-serif;
}

.btn-contact:hover {
    background-color: #000;
    color: #fff;
}

/* Mobile styles for btn-contact */
@media (max-width: 600px) {
    .btn-contact {
        margin-bottom: 20px;
    }
}

/* Image Styling */
.about-image {
    flex: 1;
    min-width: 400px;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* --- Responsive Design --- */

/* Tablet Layout */
@media (max-width: 1024px) {
    .container {
        gap: 30px;
        padding: 0 40px;
    }
    .about-name {
        font-size: 2.5rem;
    }
    .about-text p {
        margin-right: 5px;
    }
}

/* Mobile Layout (Stacked) */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        text-align: left;
        gap: 30px;
    }

    .about-image {
        min-width: 100%;
    }

    .about-section {
        padding: 50px 20px;
    }

    .about-name {
        font-size: 1.6rem;
        margin-bottom: 25px;
    }
    .about-text p {
        margin-right: 0;
        text-align: justify;
        font-size: 15px;
        line-height: 1.7;
    }
}
/* ===== 5. Info Section ===== */

/* Section Styles */
.info-section {
    padding: 100px 5%;
    background-color: #ffffff;
    font-family: 'Helvetica', Arial, sans-serif;
}

.info-container {
    max-width: var(--container-w);
    margin: 0 auto;
}

/* Header Layout */
.info-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 80px;
    gap: 40px;
}

.header-left { flex: 1.5; }
.header-right { flex: 1; }

.label-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.decorative-line {
    width: 50px;
    height: 1.5px;
    background-color: #000;
}

.label-text {
    font-size: 13px;
    letter-spacing: 4px;
    font-weight: 300 !important;
}

.main-heading {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: #333333;
}

.header-right p {
    font-size: 16px;
    line-height: 1.7;
    color: #888;
    margin-top: 10px;
    font-family: lato, sans-serif;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0; /* Removing gap to match the seamless look */
}

.info-card {
    padding: 60px 40px;
    text-align: left;
    transition: background-color 0.3s ease;
}

/* Hover effect for all cards */
.info-card:hover {
    background-color: #f9f9f9;
}

.info-card .icon {
    margin-bottom: 25px;
    color: #000;
    font-size: 25px;
}

.info-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.info-card p {
    font-size: 15px;
    line-height: 1.8;
    color: #888;
    font-family: lato, sans-serif;
}

/* --- Responsive Adjustments --- */

/* Tablet (2 columns or stack header) */
@media (max-width: 1024px) {
    .info-header {
        flex-direction: column;
        margin-bottom: 50px;
    }
    
    .main-heading { font-size: 1.8rem; }

    .info-section { padding: 60px 5%; }

    
}

/* Mobile (Stack cards) */
@media (max-width: 768px) {
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .info-card {
        padding: 35px 20px;
        border: 1px solid #eee;
    }

    .info-card:hover, .info-card:active {
        background-color: #f9f9f9;
    }

    .info-section {
        padding: 60px 20px;
    }

    .info-card h3 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }

    .info-card .icon {
        margin-bottom: 20px;
        font-size: 18px;
    }

    .info-card p {
        font-size: 12px;
        line-height: 1.6;
    }
}

/* ===== 6. Process Section ===== */

/* Section Container */
.process-section {
    padding: 80px 0;
    background-color: #fff;
    overflow: hidden;
     
}

.process-header {
    text-align: left;
    padding-left: 10%;
       margin-bottom: 40px;

 /* Background image */
    background-image: url("../images/pattern.png"); /* your image path */
    background-repeat: repeat;              /* repeat both X & Y */
    background-size: auto;                  /* keep original image size */
    background-position: left top;          /* start from top-left */
        /* Spacing so text doesn't stick to edges */
    padding-top: 140px;
    padding-bottom: 80px;


}

.process-label {
    font-size: 12px;
    letter-spacing: 4px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
    color: #888;
}

.process-main-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
}

/* Layout Grid */
.process-container {
    display: flex;
    position: relative;
    align-items: center;
    
    
}

/* Video Styling */
.video-column {
    width: 65%; /* Video takes up more width */
    z-index: 1;
    margin-top: -50px;
   

    
}

.video-wrapper {
    position: relative;
    padding-bottom: 45%; /* Reduced height */
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
  margin-top: -50px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: grayscale(0.5); /* Matching the moody tone of your image */
}

/* Dark Box Styling */
.info-box {
    width: 45%;
    background-color: #333; /* Dark charcoal/black */
    color: white;
    padding: 100px 50px 100px 25px;
    position: absolute;
    right: 0%;
    z-index: 2;
   
}

.box-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    line-height: 1.4;
    margin-bottom: 40px;
}

/* Step Styling */
.step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 35px;
}

.step-number {
    font-family: 'Lato', sans-serif;
    font-size: 55px;
    font-weight: 700;
    margin-right: 25px;
    opacity: 0.8;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px #fff;
}

.step-content h4 {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.step-content p {
    font-size: 14px;
    line-height: 1.6;
    color: #ccc;
    font-family: lato, sans-serif;
}

/* --- Responsive Design --- */

/* Desktop Large - Adjust overlap */
@media (max-width: 1200px) {
    .info-box {
        padding: 40px 40px 40px 25px;
        right: 2%;
    }
}

/* Tablet - Remove absolute positioning for better flow */
@media (max-width: 1024px) {
    .process-container {
        flex-direction: column;
    }
    .video-column, .info-box {
        width: 100%;
        position: static;
    }
    .info-box {
        padding: 60px 10%;
    }
    .process-header {
        padding-left: 5%;
    }
}

/* Mobile */
@media (max-width: 600px) {
/* Add this to the bottom of css/style.css */

@media screen and (max-width: 1024px) {
  /* 1. Make the team title smaller on iPad view */
  .team-intro .team-title {
    font-size: 28px; /* Adjust this value as needed */
    line-height: 1.3;
  }

  /* 2. Align the team image box from the start */
  .team-intro .team-container {
    align-items: flex-start;
  }
}
    .process-section {
        padding: 0px 0;
    }
    .process-main-title {
        font-size: 24px;
    }
    .box-title {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }
    .info-box {
        padding: 40px 20px;
    }
    .step-number {
        font-size: 2.1rem;
        margin-right: 20px;
    }
    .step-content h4 {
        font-size: 15px;
    }
    .step-content p {
        font-size: 13px;
    }
.process-header {
    text-align: left;
    padding-left: 5%;
       margin-bottom: 40px;

 /* Background image */
    background-image: url("../images/pattern.png"); /* your image path */
    background-repeat: repeat;              /* repeat both X & Y */
    background-size: auto;                  /* keep original image size */
    background-position: left top;          /* start from top-left */
        /* Spacing so text doesn't stick to edges */
    padding-top: 80px;
    padding-bottom: 80px;


}

}
/* ===== 7. Footer ===== */

.main-footer {
    background-color: #333; /* Dark Charcoal */
    color: #fff;
    padding: 30px 5% 40px 5%;
    font-family: 'Lato', sans-serif;
}

.footer-container {
    max-width: var(--container-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    border-top: 1px solid #555;
    padding-top: 30px;
}

.footer-col h2, .footer-col h3 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 25px;
}

.footer-col h2 { font-size: 2rem; }
.footer-col h3 { font-size: 1.5rem; }

.footer-col p {
    font-size: 14px;
    line-height: 1.8;
    color: #ccc;
    margin-bottom: 25px;
    font-family: 'Lato', sans-serif;
}

/* Vertical line for the first column */
.profile-col {
    padding-right: 40px;
    border-right: 1px solid #555;
}

/* Button Styling */
.footer-btn {
    display: inline-block;
    padding: 7px 10px;
    border: 1px solid #fff;
    color: #fff;
    text-decoration: none;
    font-size: 7px;
    letter-spacing: 2px;
    transition: 0.3s;
    font-family: 'Lato', sans-serif;
}

.footer-btn:hover {
    background: #fff;
    color: #333;
}

/* Links Styling */
.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    font-family: 'Lato', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    transition: color 0.3s;
}

.footer-links a:hover { color: #fff; }

/* Social & Brand Logo */
.brand-logo {
    padding: 0;
    display: block;
    margin-bottom: 20px;
}

.brand-logo img {
    max-width: 80px;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 32px;
    height: 32px;
    background: #444;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    color: #fff;
    font-size: 14px;
}

/* Bottom Bar */
.footer-bottom {
    text-align: center;
    margin-top: 80px;
    font-size: 12px;
    color: #ffffff;
    font-family: 'Lato', sans-serif;
}

.legal-links {
    margin-bottom: 15px;
}

.legal-links a {
    color: #fff;
    text-decoration: none;
    margin: 0 10px;
    font-family: 'Lato', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 20px;
}

.copyright { margin-top: 10px; }

/* --- Responsive Layout --- */


/* Mobile - 1 Column */
@media (max-width: 600px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    .profile-col {
        grid-column: span 1;
        border-bottom: 1px solid #444;
        padding-bottom: 25px;
    }
    .social-icons { justify-content: center; }
    .footer-col {
        border-bottom: 1px solid #444;
        padding-bottom: 25px;
    }
    .footer-col:last-child {
        border-bottom: none;
    }
    .legal-links a {
        display: block;
        margin: 8px 0;
        font-size: 11px;
    }
    .copyright {
        font-size: 10px;
    }
}

/* Section Base Styling */
.team-intro {
    padding: 100px 5%;
    background-color: #fff;
    overflow: hidden;
}

.team-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

/* Text Column */
.team-text-box {
    flex: 1;
}

.label-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.decorative-line {
    width: 40px;
    height: 1px;
    background-color: #000;
}

.label-text {
    font-size: 13px;
    letter-spacing: 4px;
    font-weight: 600;
    color: #333;
}

.team-title {
    font-family: 'Playfair Display', serif;
    font-size: 35px;
    line-height: 1.2;
    margin-bottom: 30px;
    color: #54595F;
}

.team-description {
    font-size: 16px;
    line-height: 1.8;
    color: #888;
    margin-bottom: 30px;
    font-family: lato, sans-serif;
     text-align: justify;
}

/* Underlined Link */
.know-more-link {
    font-size: 14px;
    font-weight: 700;
    color: #000;
    text-decoration: none;
    position: relative;
    padding-bottom: 5px;
}

.know-more-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px; /* Small underline like the image */
    height: 2px;
    background-color: #ffed00; /* Ray White Yellow */
}

/* Image Column */
.team-image-box {
    flex: 1.5;
}

.team-image-box img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    box-shadow: 10px 10px 30px rgba(0,0,0,0.05);
}

/* --- Responsive Adjustments --- */

/* Tablet (Screens below 1024px) */
@media (max-width: 1024px) {
    .team-container {
        gap: 40px;
    }
    .team-title {
        font-size: 2.2rem;
    }
}

/* Mobile (Screens below 768px) */
@media (max-width: 768px) {
    .team-intro {
        padding: 60px 20px;
    }
    .team-container {
        flex-direction: column-reverse;
        text-align: left;
    }
    .team-image-box {
        width: 100%;
        margin-top: 0;
        margin-bottom: 30px;
    }
    .team-title {
        font-size: 22px;
    }
}
/* Core Section Styles */
.staff-list-section {
    padding: 80px 5%;
    background-color: #ffffff;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

.staff-container {
    max-width: 1100px;
    margin: 0 auto;
}

/* Individual Row Layout */
.staff-row {
    display: flex;
    align-items: flex-start; /* Aligns image to top of text */
    gap: 60px;
    margin-bottom: 0; /* Spacing between members as seen in image */
    padding-top: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid #ddd;
}

/* Image Handling */
.staff-image {
    flex: 0 0 350px; /* Fixed width on desktop */
}

.staff-image img, .img-filler {
    width: 100%;
    aspect-ratio: original;
    object-fit: cover;
    display: block;
}

.placeholder-grey {
    background-color: #f2f2f2; /* Light grey matching reference image */
    height: 280px;
}

/* Text and Typography */
.staff-info {
    flex: 1;
  
}

.staff-name {
    font-family: 'Playfair Display', serif; /* Signature high-end real estate font */
    font-size: 30px;
    font-weight: 700;
    color: #54595F;
    margin-bottom: 8px;
}

.staff-title {
    display: block;
    font-size: 16px;
 
    color: #777;
    margin-bottom: 25px;
}

.staff-bio p {
    font-size: 16px;
    line-height: 1.8; /* Open line spacing for readability */
    color: #888;
    margin-bottom: 18px;
      font-family: lato, sans-serif;
}

.staff-contact p {
    
    font-weight: 600;
    font-size: 14px;
    color: #888;
  margin: 2px 0;

}

.staff-contact a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

/* --- Responsive Media Queries --- */

/* Tablet Adjustments */
@media (max-width: 1024px) {
    .staff-row {
        gap: 40px;
    }
    .staff-image {
        flex: 0 0 220px;
    }
}

/* Mobile Adjustments (100% Responsive) */
@media (max-width: 768px) {
    .staff-row {
        flex-direction: column;
        align-items: center;
        text-align: left; /* Kept left aligned as per professional standards */
        gap: 30px;
        margin-bottom: 0;
    }

    .staff-image {
        width: 100%;
        max-width: 320px; /* Prevents image from being too large on tall screens */
    }

    .staff-name {
        font-size: 26px;
    }

    .staff-bio p {
        text-align: justify;
    }
}
 /* ===== FIX MOBILE HEADER ALIGNMENT (FINAL) ===== */
.site-header .container {
  flex-direction: row !important;
  align-items: center !important;
  text-align: left !important;
  gap: 25px ;
  
}

.nav-toggle {
  margin-left: auto;
}
/* hide checkbox */
.staff-toggle {
  display: none;
}

/* hide extra content */
.staff-more {
  display: none;
}

/* show content when checked */
.staff-toggle:checked ~ .staff-more {
  display: block;
}

/* read more / less text */
.staff-read-more {
  display: inline-block;
  margin-top: 6px;
  font-weight: 600;
  color: #f5c400;
  cursor: pointer;
}

/* default text */
.staff-read-more::after {
  content: "Read more";
}

/* change text when open */
.staff-toggle:checked ~ .staff-read-more::after {
  content: "Read less";
}
/* ===== Testimonials Section ===== */
.tg-testimonials-section {
    width: 100%;
  max-width: 1440px;
  padding: 60px 20px;
  box-sizing: border-box;
}

.tg-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1440px;
  margin: 0 auto;
}

/* ===== Card ===== */
.tg-testimonial-card {
  background: #f0f0f073;
  border-radius: 12px;
  padding: 24px;
    display: flex;
  flex-direction: column;
  height: 100%;
}

/* Image */
.tg-testimonial-img {
  width: 100%;
  height: 250px;
  
  object-fit: cover;
  margin-bottom: 12px;
}

/* Name */
.tg-testimonial-name {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #222;
}

/* Stars */
.tg-testimonial-stars {
  color: #f5b301;
  font-size: 18px;
  margin-bottom: 12px;
}

/* Review */
.tg-testimonial-text {
  font-size: 12px;
  line-height: 1.6;
  color: #555;
  flex-grow: 1;
  font-family: lato, sans-serif;
}

/* ===== Read More Button ===== */
.tg-read-more-wrapper {
  text-align: center;
  margin-top: 40px;
}

.tg-read-more-btn {
  padding: 12px 28px;
  font-size: 15px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  background: #000;
  color: #fff;
  transition: all 0.3s ease;
}

.tg-read-more-btn:hover {
  background: #333;
}

/* ===== Mobile View ===== */
@media (max-width: 768px) {
  .tg-testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== TESTIMONIAL WRAPPER ===== */
.tp-testimonial-wrap {
  width: 100%;
  padding: 80px 20px;
  background: #ffffff;
}

.tp-testimonial-inner {
  max-width: var(--container-w);
  margin: 0 auto;
  display: flex;
  gap: 80px;
  align-items: center;
}

/* ===== LEFT PANEL ===== */
.tp-testimonial-left {
  flex: 0 0 32%;
}

.tp-testimonial-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 6px;
  color: #000;
}

.tp-testimonial-role {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #777;
}

.tp-testimonial-nav {
  margin-top: 30px;
  display: flex;
  gap: 14px;
}

.tp-testimonial-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #ccc;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
  transition: all 0.3s ease;
}

.tp-testimonial-btn:hover {
  background: #000;
  color: #fff;
  border-color: #000;
}

/* ===== RIGHT PANEL ===== */
.tp-testimonial-right {
  flex: 1;
  overflow: hidden;
}

.tp-testimonial-track {
  display: flex;
  transition: transform 0.6s ease-in-out;
}

.tp-testimonial-slide {
  min-width: 100%;
  font-size: 18px;
  line-height: 1.9;
  color: #333;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .tp-testimonial-inner {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }

  .tp-testimonial-left {
    flex: unset;
  }

  .tp-testimonial-nav {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .tp-testimonial-slide {
    font-size: 16px;
    line-height: 1.7;
  }
}
/* style.css */
.pxform-wrapper {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 24px 60px;
}

.pxform-heading {
  font-family: 'Playfair Display', serif;
  font-size: 25px;
  font-weight: 600;
  line-height: 1.4;
  color: #1a1a1a;
  margin-bottom: 40px;
  text-align: center;
}

.pxform-form {
  width: 100%;
}

.pxform-field {
  margin-bottom: 22px;
}

.pxform-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #000;
  margin-bottom: 6px;
  font-family: lato, sans-serif;
}

.pxform-input,
.pxform-textarea {
  width: 100%;
  height: 44px;
  border: 1px solid #d9d9d9;
  padding: 0 12px;
  font-size: 14px;
  font-family: lato, sans-serif;
  box-sizing: border-box;
}

.pxform-textarea {
  height: 110px;
  padding: 10px 12px;
  resize: vertical;
}

.pxform-submit {
  margin-top: 14px;
  background-color: #ffdf00;
  border: none;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  font-family: lato, sans-serif;
}

@media (max-width: 768px) {
  .pxform-heading {
    font-size: 22px;
  }

  .pxform-wrapper {
    padding: 28px 16px 40px;
  }
}

/* =====================================
   GLOBAL SITE WIDTH ALIGNMENT (FINAL)
   ===================================== */

/* Universal page wrapper */
.site-container {
  max-width: var(--container-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--site-padding-desktop);
  padding-right: var(--site-padding-desktop);
}

/* Mobile spacing */
@media (max-width: 768px) {
  .site-container {
    padding-left: var(--site-padding-mobile);
    padding-right: var(--site-padding-mobile);
  }
}

/* ===============================
   STICKY NAVIGATION (FINAL SAFE)
   =============================== */
.site-header{
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: var(--bg);
}

/* Mobile menu must stay visible under sticky header */
@media (max-width: 1024px){
  .nav-links{
    top: 52px;
    z-index: 9998;
  }
}

/* iOS / Safari sticky safety */
html, body{
  overflow-x: hidden;
  overflow-y: visible;
}

/* ===============================
   ALIGN ABOUT & TESTIMONIALS TO 1400px
   =============================== */

/* About section alignment */
.about-section .container {
  max-width: var(--container-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--site-padding-desktop);
  padding-right: var(--site-padding-desktop);
}

/* Sliding testimonials alignment */
.tp-testimonial-inner {
  max-width: var(--container-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--site-padding-desktop);
  padding-right: var(--site-padding-desktop);
}

@media (max-width: 768px) {
  .about-section .container,
  .tp-testimonial-inner {
    padding-left: var(--site-padding-mobile);
    padding-right: var(--site-padding-mobile);
  }
}

/* ===============================
   ABOUT SECTION – FINAL ALIGN FIX
   =============================== */

/* Force ABOUT section content to exactly match 1400px nav */
.about-section {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.about-section > .container {
  max-width: var(--container-w) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: var(--site-padding-desktop) !important;
  padding-right: var(--site-padding-desktop) !important;
}

@media (max-width: 768px) {
  .about-section > .container {
    padding-left: var(--site-padding-mobile) !important;
    padding-right: var(--site-padding-mobile) !important;
  }
}

/* =========================================
   ABOUT PAGE – FULL BODY ALIGNMENT (1400px)
   ========================================= */

/* Team intro alignment */
.team-intro {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.team-intro .team-container {
  max-width: var(--container-w) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: var(--site-padding-desktop) !important;
  padding-right: var(--site-padding-desktop) !important;
}

/* Staff list alignment */
.staff-list-section {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.staff-list-section .staff-container {
  max-width: var(--container-w) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: var(--site-padding-desktop) !important;
  padding-right: var(--site-padding-desktop) !important;
}

/* Footer alignment */
.main-footer {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.main-footer .footer-container {
  max-width: var(--container-w) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: var(--site-padding-desktop) !important;
  padding-right: var(--site-padding-desktop) !important;
}

@media (max-width: 768px) {
  .team-intro .team-container,
  .staff-list-section .staff-container,
  .main-footer .footer-container {
    padding-left: var(--site-padding-mobile) !important;
    padding-right: var(--site-padding-mobile) !important;
  }
}

/* =========================================
   TESTIMONIALS PAGE – FULL BODY ALIGNMENT
   ========================================= */

/* Main content alignment */
main.container {
  max-width: var(--container-w) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: var(--site-padding-desktop) !important;
  padding-right: var(--site-padding-desktop) !important;
}

/* Testimonials grid alignment */
.tg-testimonials-section {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.tg-testimonials-grid {
  max-width: var(--container-w) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Footer alignment (Testimonials page) */
.main-footer {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.main-footer .footer-container {
  max-width: var(--container-w) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: var(--site-padding-desktop) !important;
  padding-right: var(--site-padding-desktop) !important;
}

@media (max-width: 768px) {
  main.container,
  .tg-testimonials-grid,
  .main-footer .footer-container {
    padding-left: var(--site-padding-mobile) !important;
    padding-right: var(--site-padding-mobile) !important;
  }
}

/* =========================================
   WHAT'S MY HOME WORTH PAGE – FULL ALIGNMENT
   ========================================= */

/* Main content alignment */
main.container {
  max-width: var(--container-w) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: var(--site-padding-desktop) !important;
  padding-right: var(--site-padding-desktop) !important;
}

/* Form wrapper alignment */
.pxform-wrapper {
  max-width: var(--container-w) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: var(--site-padding-desktop) !important;
  padding-right: var(--site-padding-desktop) !important;
}

/* Footer alignment */
.main-footer {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.main-footer .footer-container {
  max-width: var(--container-w) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: var(--site-padding-desktop) !important;
  padding-right: var(--site-padding-desktop) !important;
}

@media (max-width: 768px) {
  main.container,
  .pxform-wrapper,
  .main-footer .footer-container {
    padding-left: var(--site-padding-mobile) !important;
    padding-right: var(--site-padding-mobile) !important;
  }
}

/* =========================================
   LISTINGS PAGE – FULL BODY ALIGNMENT
   ========================================= */

main.container {
  max-width: var(--container-w) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: var(--site-padding-desktop) !important;
  padding-right: var(--site-padding-desktop) !important;
}

.main-footer {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.main-footer .footer-container {
  max-width: var(--container-w) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: var(--site-padding-desktop) !important;
  padding-right: var(--site-padding-desktop) !important;
}

@media (max-width: 768px) {
  main.container,
  .main-footer .footer-container {
    padding-left: var(--site-padding-mobile) !important;
    padding-right: var(--site-padding-mobile) !important;
  }
}

/* =========================================
   SALES PAGE – FULL BODY ALIGNMENT
   ========================================= */

main.container {
  max-width: var(--container-w) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: var(--site-padding-desktop) !important;
  padding-right: var(--site-padding-desktop) !important;
}

.main-footer {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.main-footer .footer-container {
  max-width: var(--container-w) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: var(--site-padding-desktop) !important;
  padding-right: var(--site-padding-desktop) !important;
}

@media (max-width: 768px) {
  main.container,
  .main-footer .footer-container {
    padding-left: var(--site-padding-mobile) !important;
    padding-right: var(--site-padding-mobile) !important;
  }
}

/* =========================================
   CONTACT PAGE – FULL BODY ALIGNMENT
   ========================================= */

main.container {
  max-width: var(--container-w) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: var(--site-padding-desktop) !important;
  padding-right: var(--site-padding-desktop) !important;
}

.main-footer {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.main-footer .footer-container {
  max-width: var(--container-w) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: var(--site-padding-desktop) !important;
  padding-right: var(--site-padding-desktop) !important;
}

@media (max-width: 768px) {
  main.container,
  .main-footer .footer-container {
    padding-left: var(--site-padding-mobile) !important;
    padding-right: var(--site-padding-mobile) !important;
  }
}

/* =========================================
   VIDEOS PAGE – FULL BODY ALIGNMENT
   ========================================= */

main.container {
  max-width: var(--container-w) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: var(--site-padding-desktop) !important;
  padding-right: var(--site-padding-desktop) !important;
}

.main-footer {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.main-footer .footer-container {
  max-width: var(--container-w) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: var(--site-padding-desktop) !important;
  padding-right: var(--site-padding-desktop) !important;
}

@media (max-width: 768px) {
  main.container,
  .main-footer .footer-container {
    padding-left: var(--site-padding-mobile) !important;
    padding-right: var(--site-padding-mobile) !important;
  }
}
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600&display=swap');

/* MAIN SECTION */
.cc-contact-section {
  width: 100%;
  padding: 80px 20px;
  box-sizing: border-box;
}

/* CONTAINER */
.cc-contact-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}

/* FORM */
.cc-form-wrapper {
  width: 100%;
}

.cc-contact-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.cc-field {
  width: 100%;
  padding: 18px 16px;
  font-family: 'lato', serif;
  font-size: 16px;
  border: 1px solid #dcdcdc;
  outline: none;
  box-sizing: border-box;
}

.cc-field::placeholder {
  color: #777;
}

.cc-textarea {
  min-height: 180px;
  resize: none;
}

/* BUTTON */
.cc-submit-btn {
  width: fit-content;
  padding: 14px 36px;
  background-color: #111;
  color: #fff;
  border: none;
  font-family: 'lato', serif;
  font-size: 14px;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.cc-submit-btn:hover {
  opacity: 0.85;
}

/* INFO SIDE */
.cc-info-wrapper {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.cc-title {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 500;
  margin: 0;
  color: #1a1a1a;
}

.cc-email {
  font-family: 'lato', serif;
  font-size: 18px;
  margin: 0;
  color: #1a1a1a;
}

.cc-phone {
  font-family: 'lato', serif;
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  color: #1a1a1a;
}

/* BADGES */
.cc-badge-wrapper {
  margin-top: 30px;
  display: flex;
  gap: 30px;
  align-items: center;
  flex-wrap: wrap;
}

.cc-badge {
  display: block;
  max-width: 100%;
  height: auto;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .cc-contact-container {
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: start;
  }
}

@media (max-width: 767px) {
  .cc-contact-container {
    grid-template-columns: 1fr;
    gap: 60px;
  }
}

@media (max-width: 600px) {
  .cc-contact-section {
    padding: 60px 16px;
  }

  .cc-title {
    font-size: 30px;
  }

  .cc-submit-btn {
    width: 100%;
    text-align: center;
  }
}
/* =========================================
   FOOTER – EXACT REFERENCE (MOBILE ONLY)
   ========================================= */

@media (max-width: 767px) {

  .main-footer {
    padding: 40px 0 0;
  }

  .footer-container {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    padding: 0 20px;
    gap: 40px 0;
    border-top: 1px solid #555;
  }

  /* === GRID POSITIONING (MATCH IMAGE) === */
  .profile-col { grid-column: 1; grid-row: 1; }
  .footer-col:nth-child(2) { grid-column: 2; grid-row: 1; } /* Quick Links */
  .footer-col:nth-child(3) { grid-column: 1; grid-row: 2; } /* Properties */
  .follow-col { grid-column: 2; grid-row: 2; }

  /* === DIVIDERS (CROSS SHAPE) === */
  .footer-col:nth-child(3) {
    border-right: none;
  }

  .profile-col {
    border-right: 1px solid rgba(255,255,255,0.2);
    padding-right: 15px;
  }

  .profile-col,
  .footer-col:nth-child(2) {
    border-bottom: none;
    padding-top: 10px;
  }

  .footer-col:nth-child(3),
  .follow-col {
    border-bottom: none;
  }

  .footer-col {
    text-align: center;
  }

  /* Typography sizing like reference */
  .footer-col h2,
  .footer-col h3 {
    font-size: 15px;
    margin-bottom: 16px;
    padding-top: 10px;
  }

  .footer-col p {
    font-size: 10px;
    line-height: 15px;
    text-align: justify;
  }

  .footer-btn {
    display: table;
    margin: 0 auto;
  }

  .footer-links a {
    font-size: 11px;
    line-height: 5px;
  }

  .footer-links li {
    margin-bottom: 5px;
  }

  /* Follow Us alignment */
  .follow-col {
    text-align: center;
  }

  .brand-logo {
    margin: 8px auto 0px;
  }

  .brand-logo img {
    max-width: 50px;
    padding-bottom: 10px;
  }

  .social-icons {
    justify-content: center;
    gap: 8px;
  }

  /* Bottom legal bar */
  .footer-bottom {
    margin-top: 0;
    padding: 22px 14px;
    border-top: none;
    text-align: center;
  }

  .legal-links a {
    font-size: 12px;
    margin: 6px;
    display: inline-block;
  }

  .copyright {
    font-size: 11px;
    line-height: 1.6;
    font-family: lato, sans-serif ;
  }
}

/* VERY SMALL PHONES */
@media (max-width: 420px) {
  /* Keep 2-column layout from 768px media query */
}


/* =========================================
   HERO PARALLAX
   ========================================= */

/* Disable fixed background on mobile (performance safe) */
@media (max-width: 768px){
  .hero-section{
    background-attachment: scroll;
  }
}


/* =========================================
   HERO TEXT FADE (SLOWER – PREMIUM FEEL)
   ========================================= */

.hero-content {
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: opacity, transform;
}
/* =========================================
   NAVIGATION HOVER + ACTIVE YELLOW LINE
   ========================================= */

/* Base link (required for ::after) */
.nav-links a {
  position: relative;
}

/* Hover underline */
.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12px;
  width: 0;
  height: 3px;
  background: var(--accent); /* your yellow */
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width 0.25s ease;
}

/* Show underline on hover */
.nav-links a:hover::after {
  width: 40%;
  max-width: 54px;
}

/* Active state – always visible */
.nav-links a.active::after {
  width: 40%;
  max-width: 54px;
}
/* =========================================
   NAV UNDERLINE – PERFECT ALIGN (HOVER + ACTIVE)
   ========================================= */

.nav-links a {
  position: relative;

}

/* underline base */
.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px; /* SAME for hover & active */
  width: 0;
  height: 1px;
  background: var(--accent);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width 0.25s ease;
}

/* hover */
.nav-links a:hover::after {
  width: 40%;
  max-width: 54px;
}

/* active (force same position) */
.nav-links a.active::after {
  width: 40%;
  max-width: 54px;
  bottom: -2px; /* ⬅️ FORCE SAME AS HOVER */
}

/* ================================
   TESTIMONIAL SECTION
   ================================ */

.tsm-section {
  background: #ffffff;
  width: 100%;
  height: 400px;
}

.tsm-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 140px 80px;
  display: flex;
  align-items: center;
  gap: 120px;
  box-sizing: border-box;
}

/* LEFT */
.tsm-left {
  position: relative;
  flex: 0 0 420px;
  display: flex;
  align-items: center;
}

.tsm-vertical-label {
  position: absolute;
  left: -80px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: "Playfair Display", serif;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 4px;
  color: #c9c9c9;
}

.tsm-client {
  text-align: center;
  width: 100%;
}

.tsm-name {
  font-family: "Playfair Display", serif;
  font-size: 26px;
  font-weight: 700;
  margin: 0;
  color: #000;
}

.tsm-role {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  letter-spacing: 2px;
  color: #888;
  text-transform: uppercase;
}

/* NAV */
.tsm-nav {
  margin-top: -5px;
  display: flex;
  justify-content: center;
  gap: 220px;
}

.tsm-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #d8d8d8;
  background: transparent;
  font-size: 18px;
  cursor: pointer;
  color: #444;
}

/* RIGHT */
.tsm-right {
  flex: 1;
  overflow: hidden;
}

/* SLIDE WRAP */
.tsm-slide-wrap {
  transition: transform 0.6s ease, opacity 0.6s ease;
  opacity: 1;
}

/* OUT STATES */
.tsm-out-left {
  transform: translateX(-60px);
  opacity: 0;
}

.tsm-out-right {
  transform: translateX(60px);
  opacity: 0;
}

/* IN STATE */
.tsm-in {
  transform: translateX(0);
  opacity: 1;
}

.tsm-text {
  font-family: "lato", sans-serif;
  font-size: 20px;
  line-height: 1.8;
  color: #2b2b2b;
  max-width: 720px;
  margin: 0;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .tsm-container {
    flex-direction: column;
    padding: 60px 20px;
    gap: 40px;
  }

  .tsm-vertical-label {
    position: relative;
    left: 0;
    writing-mode: horizontal-tb;
    transform: none;
    margin-bottom: 20px;
    text-align: center;
    font-size: 16px;
  }

  .tsm-client {
    text-align: center;
  }

  .tsm-nav {
    margin-top: 20px;
    gap: 20px;
    justify-content: center;
  }

  .tsm-arrow {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .tsm-text {
    text-align: left;
    max-width: 100%;
    font-size: 16px;
    line-height: 1.6;
  }
}
/* ===============================
   TESTIMONIAL – BASE
   =============================== */

.cc-testimonial-wrap {
  background: #ffffff;
  padding: 140px 0;
}

.cc-testimonial-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  position: relative;
  padding: 0 40px;
}

/* Vertical label */
.cc-testimonial-label {
  position: absolute;
  left: -70px;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  z-index: 5;
}

.cc-testimonial-label span {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  letter-spacing: 4px;
  font-weight: 700;
  color: #d0d0d0;
}

/* ===============================
   LEFT COLUMN
   =============================== */

.cc-testimonial-left {
  width: 40%;
  padding-left: 190px;
}

.cc-client-slider {
  position: relative;
  height: 120px;
}

/* Fade + Slide Hybrid (LEFT → CENTER) */
.cc-client-slide {
  position: absolute;
  opacity: 0;
  transform: translateX(-18px);
  transition:
    opacity 1.1s ease,
    transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.cc-client-slide.active {
  opacity: 1;
  transform: translateX(0);
}

.cc-client-name {
  font-family: "Playfair Display", serif;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #000;
}

.cc-client-role {
  font-family: Inter, sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #777;
}

/* Arrows */
.cc-nav-arrows {
  margin-top: -10px;
  display: flex;
  gap: 16px;
}

.cc-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #ddd;
  background: transparent;
  font-size: 18px;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.cc-arrow:hover {
  border-color: #000;
}

/* ===============================
   RIGHT COLUMN
   =============================== */

.cc-testimonial-right {
  width: 60%;
  padding-left: 80px;
}

.cc-review-slider {
  position: relative;
  min-height: 220px;
}

/* Fade + Slide Hybrid (RIGHT → CENTER) */
.cc-review-slide {
  position: absolute;
  opacity: 0;
  transform: translateX(18px);
  transition:
    opacity 1.2s ease,
    transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.cc-review-slide.active {
  opacity: 1;
  transform: translateX(0);
}

.cc-review-slide p {
  font-family: Inter, sans-serif;
  font-size: 20px;
  line-height: 1.9;
  color: #333;
  max-width: 720px;
}

/* ===============================
   RESPONSIVE – REAL MOBILE
   =============================== */

@media (max-width: 1024px) {
  .cc-testimonial-left,
  .cc-testimonial-right {
    padding-left: 30px;
   
   

  }

}

@media (max-width: 768px) {
  .cc-testimonial-wrap {
    padding: 10px 0;
    
   
        
        
  }

  .cc-testimonial-inner {
    flex-direction: column;
    padding: 0 22px;
  }

  .cc-testimonial-label {
    display: none;
  }

  .cc-testimonial-left,
  .cc-testimonial-right {
    width: 100%;
    padding-left: 0;
  }

  .cc-client-slider {
    height: 90px;
  }

  .cc-client-slide {
    width: 100%;
    text-align: center;
    left: 0;
  }

  .cc-nav-arrows {
    justify-content: center;
  }

  .cc-client-name {
    font-size: 22px;
   
  }

  .cc-client-role {
    font-size: 11px;
  }

  .cc-review-slide p {
    font-size: 12px;
    
    max-width: 100%;
  }

  .cc-testimonial-right {
    margin-top: 48px;
  }

  .cc-review-slider {
    min-height: 400px;
  }
}

@media (max-width: 480px) {
  .cc-testimonial-wrap {
    padding: 20px 0;
  }

  .cc-testimonial-inner {
    padding: 0 18px;
  }

  .cc-client-name {
    font-size: 20px;
  }

  .cc-review-slide p {
    font-size: 12px;
    
  }

  .cc-nav-arrows {
    gap: 12px;
  }

  .cc-review-slider {
    min-height: 320px;
  }
}

/* =========================================
   MOBILE NAV FIX - REMOVE UNDERLINES
   ========================================= */
@media (max-width: 1024px) {
  .nav-links a::after,
  .nav-links a:hover::after,
  .nav-links a.active::after {
    display: none !important;
  }
}

/* Add light gray background to left testimonial column on Desktop & iPad */
@media (min-width: 768px) {
  .cc-testimonial-left {
    background-color: #f9f9f9;
    padding-top: 100px;
    padding-bottom: 100px;
    position: relative;
  }

  .cc-testimonial-left::before {
    content: '';
    position: absolute;
    top: 0;
    height: 100%;
    right: 100%;
    width: 100vw;
    background-color: #f9f9f9;
  }
}

/* Add light gray background to left testimonial column on Mobile */
@media (max-width: 767px) {
  .cc-testimonial-wrap {
    background-color: #f9f9f9;
  }
  .cc-testimonial-left {
    background-color: #f9f9f9;
    margin-left: -22px;
    margin-right: -22px;
    padding: 50px 22px;
    width: calc(100% + 44px);
  }
}

@media (max-width: 480px) {
  .cc-testimonial-left {
    margin-left: -18px;
    margin-right: -18px;
    padding-left: 18px;
    padding-right: 18px;
    width: calc(100% + 36px);
  }
}
/* Add this to the bottom of css/style.css */

@media screen and (max-width: 1024px) {
  /* 1. Make the team title smaller on iPad view */
  .team-intro .team-title {
    font-size: 18px; /* Adjust this value as needed */
    line-height: 1.3;
  }

  /* 2. Align the team image box from the start */
  .team-intro .team-container {
    align-items: flex-start;
  }

  .staff-bio p {
    text-align: justify;
  }

  .pxform-heading {
    font-size: 18px;
  }
}

@media screen and (min-width: 601px) and (max-width: 1024px) {
  .footer-col .footer-logo {
    font-size: 1.6rem;
  }
}
/* Fix WordPress team page clipping */
.staff-container,
.staff-list-section,
.team-intro {
    height: auto !important;
    overflow: visible !important;
}
/* ================================
   LISTING GRID
================================ */

.listing-wrapper {
  padding: 60px 20px;
}

.listing-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* CARD */
.listing-card {
  background: #fff;
  border: 1px solid #eee;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* IMAGE */
.listing-image {
  position: relative;
}

.listing-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* TAGS */
.listing-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(0,0,0,0.75);
  color: #fff;
  font-size: 12px;
  padding: 6px 10px;
}

.listing-pin {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: rgba(0,0,0,0.75);
  color: #fff;
  font-size: 12px;
  padding: 6px 10px;
}

/* CONTENT */
.listing-content {
  padding: 20px;
  flex-grow: 1;
}

.listing-content h3 {
  font-size: 16px;
  margin: 0 0 15px;
  line-height: 1.4;
  color: #7A7A7A;
}

/* META */
.listing-meta {
  display: flex;
  gap: 15px;
  font-size: 14px;
  color: #555;
}

/* CTA */
.listing-cta {
  background: #FFE411;
  color: #000;
  text-align: center;
  padding: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s;
}

.listing-cta:hover {
  background: #ffca00;
}

/* ================================
   RESPONSIVE
================================ */

@media (max-width: 991px) {
  .listing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .listing-grid {
    grid-template-columns: 1fr;
  }
}
/* Pagination: bold + black + no underline */
body > section.listing-wrapper .pagination-wrapper .page-numbers,
body > section.listing-wrapper .pagination-wrapper .page-numbers:link,
body > section.listing-wrapper .pagination-wrapper .page-numbers:visited {
  color: #000 !important;
  font-weight: 600 !important;   /* little bolder */
  text-decoration: none !important;
}

/* Hover also black (no underline) */
body > section.listing-wrapper .pagination-wrapper .page-numbers:hover,
body > section.listing-wrapper .pagination-wrapper .page-numbers:focus {
  color: #000 !important;
  text-decoration: none !important;
}

/* Current page styling */
body > section.listing-wrapper .pagination-wrapper .page-numbers.current {
  color: #000 !important;
  font-weight: 700 !important;   /* current more bold */
  text-decoration: none !important;
}

/* Dots (...) */
body > section.listing-wrapper .pagination-wrapper .page-numbers.dots {
  color: #000 !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

