/*
Theme Name: Donna Wells Counselling
Theme URI: https://yourdomain.com
Author: Your Name
Description: A custom counselling website theme for Donna Wells
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: donna-wells
*/

/* General */
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  color: #333;
  background: #f9f9f9;
  line-height: 1.6;
}
h1, h2, h3 { font-weight: 700; color: #2c3e50; }
p { font-weight: 300; margin-bottom: 15px; }
a { text-decoration: none; color: inherit; }
.nav-links li a.active { color: #1abc9c; font-weight: 700; }

/* Sticky Navigation */
header {
  background: #1abc9c;
  padding: 15px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
}
header.sticky-shadow { box-shadow: 0 2px 6px rgba(0,0,0,0.1); }

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: auto;
}
.logo {
  font-size: 1.4rem;
  color: #fff;
  font-weight: 700;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}
.nav-links li a {
  color: #fff;
  transition: color 0.3s;
}
.nav-links li a:hover {
  color: #f5f5f5; /* lighter hover, visible against teal */
}

/* Hero Section */
.hero {
  position: relative;
  background: url('https://www.dmw-relationalcounselling.co.uk/wp-content/themes/donnawells/images/donnawells.png') center/cover no-repeat;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
	border-bottom:6px solid #1abc9c;
}
.hero::before {
  content: "";
  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;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;	
}
.hero h1 { font-size: 2.8rem; margin-bottom: 10px; color:#fff; }
.hero p { font-size: 1.2rem; margin-bottom: 20px; }
.hero-buttons { margin-top: 20px; }
.btn {
  display: inline-block;
  margin: 0 10px;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
}
.btn-primary { background: #1abc9c; color: #fff; }
.btn-primary:hover { background: #16a085; }
.btn-secondary { background: #fff; color: #1abc9c; }
.btn-secondary:hover { background: #f1f1f1; }

/* Layout & Cards */
section .container {
  max-width: 1100px;
  margin: auto;
  padding: 40px 20px;
}

.wrapper{
  max-width: 1100px;
  margin: auto;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.card {
  background: white;
  padding: 20px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* About */
#about{
	  max-width: 1100px;
  margin: auto;
}
.section.about { padding: 60px 20px; }
.about-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  max-width: 1100px;
  margin: auto;
}
.about-image img {
  max-width: 300px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.about-text { flex: 1; }

/* Services */

section#services{	
	background-color: #f9f9f9;
	border-top:none;
	 border-bottom:none;
  max-width: 1100px;
  margin: auto;
padding:10px;
	
}

#services{	
	background-color: #f0f4f8;
	border-top:solid 0px #1abc9c;
	 border-bottom:0px solid #1abc9c;
}
.section-services { padding: 60px 20px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: auto;
}
.service-card {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  text-align: center;
}

/* Accreditations */
#accreditations {
  max-width: 1100px;
  margin: auto;
  padding-bottom:80px;	
	padding-top:80px;

}
.accreditations { 
	margin: 60px auto; text-align: center;
}
.accreditations-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.accreditation {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  width: 220px;
  text-align: center;
}
.accreditation img {
  max-width: 90px;
  margin-bottom: 15px;
}
.accreditation h3 {
  margin: 10px 0;
  font-size: 1.1rem;
  color: #333;
}

/* Testimonials */
#testimonials{
	border-top:solid 6px #1abc9c;
	 border-bottom:6px solid #1abc9c;
}
.section-testimonials blockquote {
  background: #f9f9f9;
  padding: 20px;
  margin: 20px auto;
  border-left: 5px solid #1abc9c;
  font-style: italic;
  border-radius: 4px;
  max-width: 800px;
}

/* Footer */
footer {
  background: #1abc9c;
  color: #fff;
  text-align: center;
  padding: 15px;
  margin-top: 40px;
}

.latest-posts {
  padding: 60px 20px;
  background: #f9f9f9;
}

.latest-posts h2 {
  text-align: left;
  margin-bottom: 40px;
  color: #2c3e50;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  max-width: 1100px;
  margin: auto;
}

.post-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s;
}

.post-card:hover {
  transform: translateY(-5px);
}

.post-image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.post-content {
  padding: 15px;
}

.post-content h3 {
  font-size: 1.2rem;
  margin: 0 0 10px;
  color: #1abc9c;
}

.post-content p {
  font-size: 0.95rem;
  color: #555;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.post-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.post-card:hover {
  transform: translateY(-5px);
}

.post-image img {
  width: 100%;
  display: block;
  border-bottom: 1px solid #eee;
}

.post-content {
  padding: 15px;
}

.post-title {
  font-size: 1.2rem;
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.post-meta {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 10px;
}

.read-more-btn {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 50px;
  background-color: #1abc9c;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.read-more-btn:hover {
  background-color: #005177;
}

.posts-pagination {
  margin: 20px 0;
  text-align: center;
}

.posts-pagination ul {
  list-style: none;
  padding: 0;
  display: inline-flex;
  gap: 10px;
}

.posts-pagination li a, .posts-pagination li span {
  padding: 6px 12px;
  border-radius: 6px;
  background: #f0f0f0;
  color: #333;
  text-decoration: none;
  transition: background 0.3s;
}

.posts-pagination li a:hover {
  background: #0073aa;
  color: #fff;
}

#blog{	  max-width: 1100px;
  margin: auto;}

.view-all-blogs {
	  max-width: 1100px;
  margin: auto;
     margin-top: 20px;   /* optional spacing above */
}

.view-blogs-btn {
    display: inline-block; /* ensure it respects text-align */
    padding: 10px 25px;
    border-radius: 50px;
    background-color: #1abc9c;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.view-blogs-btn:hover {
    background-color: #1abc9c;
}

/* Contact Section Container */
.section-contact {
    padding: 60px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.section-contact h2 {
    font-size: 36px;
    margin-bottom: 30px;
    color: #333;
    font-weight: 600;
}

/* Contact Form Wrapper */
.wp-block-bookingpress-bookingpress-appointment-form,
.wpcf7 {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

/* Form Fields */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea,
.wpcf7 select {
    width: 100%;
    padding: 15px 12px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
    border-color: #0073e6;
    box-shadow: 0 0 6px rgba(0, 115, 230, 0.2);
    outline: none;
}

/* Submit Button */
.wpcf7 input[type="submit"] {
    background-color: #1abc9c;
    color: #fff;
    font-size: 18px;
    padding: 10px 15px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.wpcf7 input[type="submit"]:hover {
    background-color: #1abc9c;
    transform: translateY(-2px);
}

/* Success & Error Messages */
.wpcf7 .wpcf7-response-output {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    font-size: 16px;
}

.wpcf7 .wpcf7-mail-sent-ok {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.wpcf7 .wpcf7-mail-failed {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive */
@media (max-width: 768px) {
    .section-contact h2 {
        font-size: 28px;
    }

    .wpcf7 input[type="submit"] {
        width: 100%;
    }
}

/* How It Works Section */
#how-it-works{
		border-top:solid 6px #1abc9c;
	 border-bottom:6px solid #1abc9c;
}
.section-how-it-works {
    padding: 60px 20px;
    background-color: #f0f4f8;
    text-align: center;
}

.section-how-it-works h2 {
    font-size: 36px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.section-how-it-works .section-subtitle {
    font-size: 18px;
    color: #555;
    margin-bottom: 40px;
}

/* Steps Container */
.steps-wrapper {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
    gap: 20px;
}

/* Individual Step */
.step {
    background-color: #fff;
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    flex: 1 1 300px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

/* Step Number */
.step-number {
    background-color: #1abc9c;
    color: #fff;
    font-size: 24px;
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    margin: 0 auto 20px auto;
    font-weight: 600;
}

/* Step Title */
.step h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 15px;
}

/* Step Description */
.step p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .steps-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .step {
        width: 100%;
        max-width: 400px;
    }
}

/* Booking Button */
.btn-book {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 25px;
    background-color: #1abc9c;
    color: #fff;
    font-size: 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.2s;
}

.btn-book:hover {
    background-color: #1abc9c;
    transform: translateY(-2px);
}
/* WhatsApp Button */
.btn-whatsapp {
    display: inline-block;
    margin-top: 10px;
    padding: 12px 25px;
    background-color: #1abc9c;
    color: #fff;
    font-size: 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.2s;
}

.btn-whatsapp:hover {
    background-color: #1abc9c;
    transform: translateY(-2px);
}

/* Booking Page Section */
.section-booking {
    padding: 80px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.booking-header h1 {
    font-size: 36px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.booking-header .subtitle {
    font-size: 18px;
    color: #555;
    margin-bottom: 40px;
}

/* Form Wrapper */
.booking-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
}

/* CF7 Styling (Optional) */
.booking-form-wrapper .wpcf7 input[type="text"],
.booking-form-wrapper .wpcf7 input[type="email"],
.booking-form-wrapper .wpcf7 input[type="tel"],
.booking-form-wrapper .wpcf7 textarea,
.booking-form-wrapper .wpcf7 select {
    width: 100%;
    padding: 15px 12px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.booking-form-wrapper .wpcf7 input[type="text"]:focus,
.booking-form-wrapper .wpcf7 input[type="email"]:focus,
.booking-form-wrapper .wpcf7 input[type="tel"]:focus,
.booking-form-wrapper .wpcf7 textarea:focus,
.booking-form-wrapper .wpcf7 select:focus {
    border-color: #0073e6;
    box-shadow: 0 0 6px rgba(0, 115, 230, 0.2);
    outline: none;
}

.booking-form-wrapper .wpcf7 input[type="submit"] {
    background-color: #0073e6;
    color: #fff;
    font-size: 18px;
    padding: 15px 25px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.booking-form-wrapper .wpcf7 input[type="submit"]:hover {
    background-color: #005bb5;
    transform: translateY(-2px);
}

/* Testimonials Section */
.section-testimonials {
    padding: 80px 20px;
    background-color: #f0f4f8;
    text-align: center;
}

.section-testimonials h2 {
    font-size: 36px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.section-testimonials .section-subtitle {
    font-size: 18px;
    color: #555;
    margin-bottom: 50px;
}

/* Testimonials Wrapper */
.testimonials-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

/* Individual Testimonial Card */
.testimonial-card {
    background-color: #fff;
    padding: 30px 25px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    flex: 1 1 300px;
    max-width: 350px;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

/* Testimonial Text */
.testimonial-text {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
}

/* Author */
.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-size: 14px;
    color: #777;
}

.author-name {
    font-weight: 600;
    color: #333;
}

.author-role {
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    .testimonials-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .testimonial-card {
        max-width: 90%;
    }
}

.case-study-archive {
  padding: 60px 20px;
  background: #f9f9f9;
}

.case-study-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.case-study-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  padding: 20px;
  transition: transform 0.3s;
}

.case-study-card:hover {
  transform: translateY(-5px);
}

.case-study-card h2 {
  margin-top: 10px;
  font-size: 1.2rem;
  color: #1abc9c;
}

.case-study-detail {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.case-study-header h1 {
  color: #2c3e50;
  margin-bottom: 10px;
}
#faq{
	  max-width: 1100px;
  margin: auto;
}