/*
Theme Name: React to WordPress
Theme URI: https://CertsHost.com
Author: Sawy
Description: Custom WordPress theme converted from React (Vite + TS) build.
Version: 1.0
*/
/* Navbar logo styling */
/* =======================
   Navbar Styles
======================== */
body {
    background-color: #f0f8fa;
    margin: 0;
    font-family: sans-serif;
}


/* ===============================
   About Section
================================ */
.about-section {
  background: #f0f8fa;
  color: #1f2933;
  padding: 56px 24px;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ===============================
   Header
================================ */
.about-header {
  text-align: center;
  margin-bottom: 56px;
}

.about-header h1 {
  font-size: 48px;
  font-weight: 700;
  color: #016b61;
}

.about-header p {
  margin-top: 16px;
  font-size: 18px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* ===============================
   Grid Layout
================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

/* Desktop */
@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ===============================
   Content
================================ */
.about-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.about-intro {
  font-size: 18px;
  line-height: 1.7;
}

.about-intro span {
  font-weight: 600;
  color: #016b61;
}

.about-block h2 {
  font-size: 24px;
  font-weight: 600;
  color: #016b61;
  margin-bottom: 12px;
}

.about-block p {
  line-height: 1.6;
}

.about-block ul {
  list-style: disc;
  padding-left: 18px;
}

.about-block li {
  margin-bottom: 8px;
}

/* ===============================
   Image
================================ */
.about-image {
  display: flex;
  justify-content: center;
}

@media (min-width: 768px) {
  .about-image {
    justify-content: flex-end;
  }
}

.about-image img {
  width: 100%;
  max-width: 420px;
  border-radius: 24px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

/* ===============================
   Highlight Box
================================ */
.about-highlight {
  margin-top: 64px;
  background: #ffffff;
  border-left: 4px solid #016b61;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
}

.about-highlight p {
  font-size: 18px;
  font-weight: 500;
}

/* ===============================
   FAQ Section
================================ */
.faq-section {
    padding: 60px 20px;
    background: #f0f8fa;
    color: #1f2933;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-container h1 {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: #016b61;
}

/* FAQ Items */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}

.faq-question {
    width: 100%;
    padding: 16px 20px;
    font-size: 18px;
    font-weight: 600;
    color: #016b60;
    background: #f9fafb;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s;
}

.faq-question:hover {
    background: #016b60;
    color: #f5ee8e;
}

.faq-toggle {
    font-size: 24px;
    line-height: 1;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
}

.faq-answer p {
    margin: 12px 0 16px;
    line-height: 1.7;
    color: #374151;
}



/* ===============================
   Contact Section
================================ */
.contact-section {
    background: #f9fafb;
    padding: 60px 20px;
    color: #016b60;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-container h2 {
    font-size: 36px;
    font-weight: 700;
    color: #016b60;
    margin-bottom: 16px;
}

.contact-container p {
    font-size: 18px;
    color: #016b60;
    margin-bottom: 40px;
}

/* ===============================
   Contact Form
================================ */
.contact-form {
    background: #ffffff;
    padding: 32px;
    border-radius: 20px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.contact-form label {
    font-weight: 600;
    margin-bottom: 8px;
    color:#016b60;
}

.contact-form input,
.contact-form textarea {
    border: 1px solid #d1d5db;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 16px;
    outline: none;
    transition: 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #016b60;
    box-shadow: 0 0 0 2px rgba(1,107,96,0.2);
}

.contact-form button {
    background: #016b60;
    color: #ffffff;
    font-weight: 600;
    padding: 14px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

.contact-form button:hover {
    background: #014d48;
}

/* ===============================
   Contact Info
================================ */
.contact-info {
    margin-top: 40px;
    text-align: center;
}

.contact-info h3 {
    font-size: 20px;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 8px;
    color: #016b60;
}

.contact-info p {
    font-size: 16px;
    color: #016b60;
}

.contact-info a {
    color: #016b60;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* ===============================
   Responsive
================================ */
@media (max-width: 768px) {
    .contact-container h2 {
        font-size: 28px;
    
    }

    .contact-container p {
        font-size: 16px;
    }

    .contact-form {
        padding: 24px;
        gap: 16px;
    }
}
/* ===============================
   All Vendors Page
  ================================= */
  h1.page-title {
    text-align: center;
    font-size: 40px;
    margin-bottom: 40px;
    color: #016b61;
    font-weight: 700;
}
.vendors-section {
    padding: 60px 0;
}

.vendors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.vendor-card {
    background: #ffffff;
    padding: 28px 20px;
    border-radius: 14px;
    text-align: center;
    text-decoration: none;
    color: #222;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transition: all 0.35s ease;
    border: 1px solid #f1f1f1;
}

.vendor-card h1 {
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: 600;
    color: #016b61;
   align-items: center;
   text-align: center;
}

.vendor-card .count {
    font-size: 14px;
    color: #777;
}

/* Hover Effect */
.vendor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(1, 107, 97, 0.18);
    border-color: #016b61;
}

.vendor-card:hover h3 {
    color: #016b61;
}


/* ============================
    Refund Policy
================================ */

.refund-section {
    background: #f5fafa;
    padding: 60px 20px;
}

.refund-container {
    max-width: 1200px;
    margin: auto;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    overflow: hidden;
}

/* Header */
.refund-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 50px;
    background: #016b61;
    color: #f5ee8e;
}

.refund-text h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.refund-date {
    font-size: 14px;
    opacity: 0.9;
}

.refund-desc {
    margin-top: 15px;
    max-width: 520px;
    line-height: 1.6;
}

.refund-image img {
    max-width: 280px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

/* Content */
.refund-content {
    padding: 50px;
    color: #444;
}

.refund-block {
    margin-bottom: 40px;
}

.refund-block h2 {
    color: #016b61;
    font-size: 22px;
    margin-bottom: 10px;
}

.refund-block ul {
    padding-left: 20px;
}

.refund-block ul li {
    margin-bottom: 10px;
}

/* CTA */
.refund-cta {
    background: #e6f5f3;
    border-left: 5px solid #016b61;
    padding: 25px;
    border-radius: 8px;
}

.refund-cta a {
    color: #016b61;
    font-weight: 600;
}

.cta-note {
    margin-top: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .refund-header {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .refund-image {
        justify-content: center;
    }

    .refund-image img {
        margin: auto;
    }

    .refund-content {
        padding: 30px 20px;
    }
}


/* ===============================
   WOOCOMMERCE MY ACCOUNT (MODERN)
   Theme Color: #016b61
=================================*/

body.woocommerce-account .woocommerce-account {
    display: flex;
    gap: 26px;
    flex-wrap: wrap;
    align-items: flex-start;
    width: 100%;
    padding: 10px 0;
}

/* ===== Left Navigation (Menu) ===== */
body.woocommerce-account .woocommerce-MyAccount-navigation {
    flex: 0 0 280px;
    width: 280px;
    padding: 16px;
    background: #ffffff;
    border: 1px solid rgba(1, 107, 97, 0.12);
    border-radius: 14px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* subtle hover lift */
body.woocommerce-account .woocommerce-MyAccount-navigation:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 45px rgba(1, 107, 97, 0.18);
}

/* Menu list spacing */
body.woocommerce-account .woocommerce-MyAccount-navigation ul {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Menu links */
body.woocommerce-account .woocommerce-MyAccount-navigation a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 13px 16px;
    background: #f6fbfa;
    color: #0f172a;
    font-weight: 800;
    text-decoration: none;
    border: 1px solid rgba(1, 107, 97, 0.14);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Left indicator line */
body.woocommerce-account .woocommerce-MyAccount-navigation a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 4px;
    background: transparent;
    border-radius: 10px;
    transition: all 0.3s ease;
}

/* Hover glow animation */
body.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
    background: #016b61;
    color: #ffffff;
    border-color: #016b61;
    transform: translateX(5px);
    box-shadow: 0 10px 25px rgba(1, 107, 97, 0.25);
}

body.woocommerce-account .woocommerce-MyAccount-navigation a:hover::before {
    background: #ffffff;
}

/* Active menu item */
body.woocommerce-account .woocommerce-MyAccount-navigation .is-active a {
    background: #016b61 !important;
    color: #ffffff !important;
    border-color: #016b61 !important;
    box-shadow: 0 12px 28px rgba(1, 107, 97, 0.25);
    transform: translateX(4px);
}

body.woocommerce-account .woocommerce-MyAccount-navigation .is-active a::before {
    background: #ffffff;
}

/* ===== Right Content Box ===== */
body.woocommerce-account .woocommerce-MyAccount-content {
    flex: 1;
    min-width: 320px;
    padding: 22px;
    background: #ffffff;
    border: 1px solid rgba(1, 107, 97, 0.12);
    border-radius: 14px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Content hover */
body.woocommerce-account .woocommerce-MyAccount-content:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 45px rgba(1, 107, 97, 0.16);
}

/* Headings inside account content */
body.woocommerce-account .woocommerce-MyAccount-content h2,
body.woocommerce-account .woocommerce-MyAccount-content h3 {
    color: #016b61;
    font-weight: 900;
}

/* Text */
body.woocommerce-account .woocommerce-MyAccount-content p {
    color: #334155;
    line-height: 1.7;
    font-size: 15px;
}

/* ===== Buttons ===== */
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-button,
body.woocommerce-account .woocommerce-MyAccount-content .button,
body.woocommerce-account .woocommerce-MyAccount-content button,
body.woocommerce-account .woocommerce-MyAccount-content input[type="submit"] {
    background: #016b61 !important;
    color: #ffffff !important;
    border: 1px solid #016b61 !important;
    border-radius: 12px !important;
    padding: 12px 20px !important;
    font-weight: 900 !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    box-shadow: 0 10px 22px rgba(1, 107, 97, 0.18);
}

/* Button hover */
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-button:hover,
body.woocommerce-account .woocommerce-MyAccount-content .button:hover,
body.woocommerce-account .woocommerce-MyAccount-content button:hover,
body.woocommerce-account .woocommerce-MyAccount-content input[type="submit"]:hover {
    background: #014f49 !important;
    border-color: #014f49 !important;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 16px 30px rgba(1, 107, 97, 0.25);
}

/* Inputs + fields */
body.woocommerce-account .woocommerce-MyAccount-content input[type="text"],
body.woocommerce-account .woocommerce-MyAccount-content input[type="email"],
body.woocommerce-account .woocommerce-MyAccount-content input[type="password"],
body.woocommerce-account .woocommerce-MyAccount-content textarea,
body.woocommerce-account .woocommerce-MyAccount-content select {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(1, 107, 97, 0.18);
    padding: 12px 14px;
    outline: none;
    transition: all 0.25s ease;
}

body.woocommerce-account .woocommerce-MyAccount-content input:focus,
body.woocommerce-account .woocommerce-MyAccount-content textarea:focus,
body.woocommerce-account .woocommerce-MyAccount-content select:focus {
    border-color: #016b61;
    box-shadow: 0 0 0 4px rgba(1, 107, 97, 0.15);
}

/* ===============================
   RESPONSIVE BREAKPOINTS
=================================*/

/* Tablet */
@media (max-width: 992px) {
    body.woocommerce-account .woocommerce-account {
        flex-direction: column;
        gap: 18px;
    }

    body.woocommerce-account .woocommerce-MyAccount-navigation {
        width: 100%;
        flex: 1;
    }

    body.woocommerce-account .woocommerce-MyAccount-content {
        width: 100%;
        min-width: unset;
    }
}

/* Mobile */
@media (max-width: 576px) {
    body.woocommerce-account .woocommerce-MyAccount-navigation {
        padding: 12px;
        border-radius: 12px;
    }

    body.woocommerce-account .woocommerce-MyAccount-navigation a {
        padding: 12px 14px;
        font-size: 14px;
    }

    body.woocommerce-account .woocommerce-MyAccount-content {
        padding: 16px;
        border-radius: 12px;
    }

    body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-button,
    body.woocommerce-account .woocommerce-MyAccount-content .button {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}
