

/* ============================= */
/* HERO SECTION */
/* ============================= */

.hero {
  background: url("../images/Marketplace.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 80px 20px;
  text-align: center;
  color: white;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 15px;
}

.hero p {
  max-width: 800px;
  font-size: 20px;
  opacity: 0.9;
  margin: 0 auto 30px;  
  text-align: center;
}

/* ============================= */
/* SEARCH BAR */
/* ============================= */

.search-bar {
  max-width: 1000px;
  background: white;
  padding: 10px;
  border-radius: 8px;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 auto;
}

.search-bar input,
.search-bar select {
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid #ddd;
  font-size: 14px;
  min-width: 180px;
}

.search-bar input {
  flex: 1;
  min-width: 220px;
}

.search-bar select {
  background: white;
  cursor: pointer;
}

.search-bar button {
  padding: 10px 20px;
  border-radius: 6px;
  border: none;
  background: var(--eph-navy);
  color: white;
  font-size: 14px;
  cursor: pointer;
  transition: 0.3s;
}

.search-bar button:hover {
  background: #003B67;
}

/* ============================= */
/* MARKETPLACE SECTION */
/* ============================= */

a {
text-decoration: none !important;
}

.section-title{
  font-size:24px;
  font-weight:600;
  margin:40px 0 40px;
  color:var(--eph-navy);
}

/* Grid */
.marketplace-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
  margin-bottom: 40px;
}


/* ============================= */
/* CARD DESIGN */
/* ============================= */

.market-card{
  background:#fff;
  border-radius:10px;
  box-shadow:0 3px 10px rgba(0,0,0,0.08);
  overflow:hidden;
  transition:0.3s ease;
  border:1px solid #e5e5e5;
}

.market-card:hover{
  transform:translateY(-5px);
  box-shadow:0 8px 20px rgba(0,0,0,0.15);
}

/* Image */
.card-img{
  width:100%;
  height:180px;
  object-fit:cover;
  background:#ddd;
}

/* Content */
.card-content{
  padding:15px;
}

.card-title{
  font-size:20px;
  font-weight:600;
  margin-bottom:8px;
  color:var(--eph-navy);
}

.card-desc{
  font-size:16px;
  color:#434343;
  margin-bottom:12px;
  line-height:1.5;
}

.card-meta{
  font-size:16px;
  color:#000000;
  margin-bottom:5px;
  font-weight: 600;
}

.stars{
  color:#FFA600;
  font-size:20px;
  margin-top:5px;
}

/* ============================= */
/* PAGINATION */
/* ============================= */

.pagination{
  display:flex;
  justify-content:center;
  margin:40px 0;
  gap:5px;
  flex-wrap:wrap;
}

.pagination a{
  padding:6px 12px;
  border:1px solid #ccc;
  text-decoration:none;
  font-size:13px;
  color:#333;
  border-radius:4px;
  transition:0.3s;
}

.pagination a.active{
  background:var(--eph-navy);
  color:#fff;
  border-color:var(--eph-navy);
}

.pagination a:hover{
  background:var(--eph-navy);
  color:#fff;
}

/* ============================= */
/* RESPONSIVE */
/* ============================= */

/* Tablet */
@media(max-width:1024px){

  .marketplace-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .hero h1{
    font-size:32px;
  }

  .hero p{
    font-size:16px;
  }
}

/* Mobile */
@media(max-width:600px){

  .marketplace-grid{
    grid-template-columns:1fr;
  }

  .search-bar{
    flex-direction:column;
  }

  .search-bar input,
  .search-bar select,
  .search-bar button{
    width:100%;
  }

  .hero{
    padding:60px 20px;
  }

  .hero h1{
    font-size:24px;
  }

  .hero p{
    font-size:14px;
  }
}


.company-section {
    padding: 60px 20px;
    background: #f5f7fa;
}

.company-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.company-left img {
    width: 180px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.company-right {
    flex: 1;
}

.company-title {
    font-size: 28px;
    color: var(--eph-ocean);
    margin-bottom: 10px;
    font-weight: 600;
}




.stars {
    color: #f5a623;
    font-size: 16px;
}

.rating-score {
    font-weight: 600;
}

.review-count {
    color: #777;
    font-size: 14px;
}

.company-location {
    color: #444;
    font-size: 15px;
    margin-bottom: 20px;
}

.company-desc {
    color: #555;
    line-height: 1.7;
    margin-bottom: 15px;
}

/* ===================== */
/* Responsive Styles */
/* ===================== */

@media (max-width: 992px) {
    .company-container {
        gap: 25px;
    }

    .company-title {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .company-container {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .company-left img {
        width: 150px;
    }

    .company-rating {
        justify-content: center;
    }

    .company-right {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .company-title {
        font-size: 20px;
    }

    .company-desc {
        font-size: 14px;
    }
}


.features-section {
    background: #fff;
    padding: 30px 20px;
}

.features-container {
    max-width: 1200px;
    margin: auto;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: var(--eph-ocean);
    font-weight: 600;
}
.section-title::after {
display: none;
}

/* Grid Layout */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 30px;
}

/* Card Style */
.feature-card {
    display: flex;
    gap: 15px;
    background: #ffffff;
    padding: 18px 20px;
    border-radius: 8px;
    border: 1px solid #e2e6ea;
    transition: 0.3s ease;
}

.feature-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transform: translateY(-3px);
}

.feature-icon {
    min-width: 28px;
    height: 28px;
    background: #e8f3fb;
    color: var(--eph-ocean);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
}

.feature-card h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--eph-ocean);
}

.feature-card p {
    font-size: 14px;
    color: #555;
    margin: 0;
}

/* ================= Responsive ================= */

@media (max-width: 992px) {
    .features-grid {
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .feature-card {
        padding: 15px;
    }

    .feature-card h4 {
        font-size: 15px;
    }

    .feature-card p {
        font-size: 13px;
    }
}



/* ================= SERVICE OVERVIEW ================= */

.service-overview{
    background:#eef2f7;
    text-align:center;
    padding:50px 0;
}

.service-overview h2{
    margin-bottom:40px;
    color:var(--eph-navy);
    font-size: 36px;
    font-weight: 600;
}

.service-overview p{
    max-width:1000px;
    margin:0 auto 25px;
    color:#434343;
    font-size: 18px;
}

.btn-primary{
    display:inline-block;
    background:var(--eph-navy);
    color:#fff;
    text-decoration:none;
    border-radius:6px;
    transition:0.3s;
    font-size: 16px;
    font-weight: 600;
}

.btn-primary:hover{
    background:var(--eph-navy);
}

/* ================= REVIEW SUMMARY ================= */

.review-form {
    max-width: 500px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #f9f9f9;
    font-family: Arial, sans-serif;
}

.review-form h3 {
    margin-bottom: 15px;
}

.review-form input,
.review-form textarea,
.review-form select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
}

.review-form textarea {
    resize: vertical;
    min-height: 100px;
}

.review-form button {
    background: #000;
    color: #fff;
    border: none;
    padding: 12px;
    width: 100%;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
    transition: 0.3s;
}

.review-form button:hover {
    background: #333;
}

/* ================= REVIEW CARDS ================= */

.review-section {
    padding: 60px 20px;
    background: #fff;
}

.review-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    max-width: 1200px;
    margin: auto;
}

/* FORM STYLE */
.review-form {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    height: fit-content;
}

.review-form h3 {
    margin-bottom: 20px;
}

.review-form input,
.review-form textarea,
.review-form select {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
    transition: 0.3s;
}

.review-form input:focus,
.review-form textarea:focus,
.review-form select:focus {
    border-color: #000;
    outline: none;
}

.review-form button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: var(--eph-ocean);
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.review-form button:hover {
    background: #333;
}

/* REVIEW CARDS */
.review-cards {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.review-card {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.review-card:hover {
    transform: translateY(-5px);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.avatar {
    width: 50px;
    height: 50px;
    background: var(--eph-ocean);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.stars {
    margin-left: auto;
    color: #f4b400;
    font-size: 18px;
}

/* MOBILE RESPONSIVE */
@media (max-width: 991px) {
    .review-wrapper {
        grid-template-columns: 1fr;
    }
}
.card {
height: auto !important;
}

/* Listing description: preserve long lines, ensure readable line-height */
.listing-description {
    line-height: 1.7;
    color: #333;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.listing-description a {
    color: var(--eph-navy);
    text-decoration: underline;
}

.listing-description a:hover {
    color: #003B67;
}

.card-header-reviews {
background-color: var(--eph-navy) !important;
color: #fff !important;
padding: 12px !important;
border-radius: 10px 10px 0px 0px !important;
}


.hero-details {
  background: var(--eph-navy);
  text-align: center;
  color: white;
}
.companyheading{
    font-size: 36px;
    color: #000;
    font-weight: 600;
}
.card-description {
box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
padding: 30px;
border-radius: 15px;
margin-bottom: 20px;
}

.badge {
padding-bottom: 8px;
margin-bottom: 10px;
}

/* Tabs Sections */

.custom-tabs-wrapper{
    max-width: 1200px;
    width: 90%;
    background:#fff;
    margin:50px auto;
}

/* Tabs Top */
.custom-tabs{
    display:flex;
    justify-content:center;
    gap:70px;
    border-bottom:1px solid #e5e5e5;
    margin-bottom:40px;
    margin-top: -20px;
}

.tab-btn{
    background:none;
    border:none;
    padding:22px 0;
    font-size:20px;
    font-weight:500;
    color:#333;
    cursor:pointer;
    position:relative;
    transition:0.3s;
}

.tab-btn:hover{
    color:var(--eph-navy);
}

.tab-btn.active{
    color:var(--eph-navy);
}

/* Active underline */
.tab-btn.active::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-1px;
    width:100%;
    height:3px;
    background:var(--eph-navy);
    border-radius:20px;
}

/* Content */
.tab-content{
    display:none;
    animation:fade .3s ease;
}

.tab-content.active{
    display:block;
}

.tab-content img{
    width:100%;
    border-radius:18px;
    margin-bottom:25px;
}

.tab-content h2{
    font-size:32px;
    margin-bottom:15px;
}

.tab-content p{
    font-size:18px;
    line-height:1.8;
    color:#555;
}

/* Mobile */
@media(max-width:768px){
.custom-tabs-wrapper{
    width: 90%;
    background:#fff;
    margin:0 auto;
}
.companyheading{
    font-size: 28px;
}

.custom-tabs{
    gap:25px;
    overflow-x:auto;
    justify-content:flex-start;
    padding:0 15px;
}

.tab-btn{
    font-size:16px;
    white-space:nowrap;
}

.tab-content h2{
    font-size:24px;
}

.tab-content p{
    font-size:16px;
}
}

@keyframes fade{
    from{
        opacity:0;
        transform:translateY(10px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

.btn-visit-button.focus-visible {
background: var(--eph-navy) !important;
color: #fff;
font-size: 16px;
padding: 10px 20px;
border-radius: 6px;
margin-top: 10px;
width: 100%;
display: flex;
justify-content: center;
align-items: center;
text-align: center;
}
.card-shadow{
box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}
.card-contact{
font-size: 24px;
color: var(--eph-navy) !important;
text-align: center;
margin-bottom: 10px;
font-weight: 600;
}
/* Marketplace page type inherits the system display face (design system). */
.company-title,
.section-title,
.feature-card h3,
.review-card h4 {
    font-family: var(--eph-display);
    letter-spacing: -.02em;
    color: var(--eph-navy);
}
