/*
Theme Name: UpworkWriter
Theme URI: https://example.com/upworkwriter
Author: Your Name
Author URI: https://example.com
Description: A custom WordPress theme replicating the layout of a thesis writing services website for educational purposes. This theme includes a top bar, navigation, hero section, features, a contact form, services section, and footer. Brand name is UpworkWriter.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: custom, thesis, writing, services, responsive
Text Domain: upworkwriter
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&display=swap');

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

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f5f5f5;
}

/* Top bar */
.top-bar {
  background-color: #272e31;
  color: #fff;
  padding: 5px 20px;
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar .contact-info {
  display: flex;
  gap: 20px;
}

.top-bar .contact-info span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.top-bar .social-icons a {
  color: #fff;
  margin-left: 10px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.top-bar .social-icons a:hover {
  color: #ffb606;
}

/* Navigation */
nav {
  background-color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

nav .logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #272e31;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav ul li a {
  text-decoration: none;
  color: #272e31;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #ffb606;
}

.cta-button {
  background-color: #c59d24;
  color: #272e31;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #d8b44e;
}

/* Small CTA buttons */
.cta-button.small {
  padding: 8px 16px;
  font-size: 0.9rem;
}

/* Hero */
.hero {
  background-image: url('https://images.pexels.com/photos/4145150/pexels-photo-4145150.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=750&w=1260');
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 100px 20px;
  text-align: center;
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(39, 46, 49, 0.75);
  z-index: 1;
}

.hero .hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #ffb606;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

/* Features */
.features {
  background-color: #ffffff;
  padding: 60px 20px;
  text-align: center;
}

.features h2 {
  margin-bottom: 40px;
  color: #272e31;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.feature-item {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.feature-item i {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #ffb606;
}

.feature-item h3 {
  margin-bottom: 10px;
  color: #272e31;
}

.feature-item p {
  font-size: 0.9rem;
  color: #666;
}

/* Contact form */
.contact-section {
  background-color: #f5f5f5;
  padding: 60px 20px;
}

.contact-section h2 {
  text-align: center;
  margin-bottom: 40px;
  color: #272e31;
}

.contact-form {
  max-width: 700px;
  margin: 0 auto;
  background-color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.contact-form .form-group {
  margin-bottom: 15px;
}

.contact-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form button {
  display: inline-block;
  background-color: #ffb606;
  color: #272e31;
  padding: 10px 30px;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #ffcd58;
}

/* Services */
.services {
  padding: 60px 20px;
  background-color: #ffffff;
  text-align: center;
}

.services h2 {
  margin-bottom: 40px;
  color: #272e31;
}

.services-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.service-item {
  flex: 0 1 200px;
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.service-item h3 {
  margin-bottom: 10px;
  color: #272e31;
}

.service-item p {
  font-size: 0.9rem;
  color: #666;
}

/* Footer */
footer {
  background-color: #272e31;
  color: #ffffff;
  padding: 40px 20px;
}

footer .footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

footer h4 {
  margin-bottom: 20px;
}

footer ul {
  list-style: none;
}

footer ul li {
  margin-bottom: 10px;
}

footer ul li a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

footer ul li a:hover {
  color: #ffb606;
}

footer .copyright {
  text-align: center;
  margin-top: 30px;
  font-size: 0.8rem;
  color: #aaaaaa;
}

/* Highlight text within headings */
.highlight {
  color: #c59d24;
}

/* Slider styles */
.slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.slide {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 550px;
  padding: 100px 20px;
  background-size: cover;
  background-position: center;
  color: #fff;
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(39, 46, 49, 0.7);
  z-index: 1;
}

.slide-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
}

.slide-content-left {
  flex: 1 1 55%;
  max-width: 55%;
}

.slide-content-left h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #ffffff;
}

.slide-content-left p {
  font-size: 1rem;
  margin-bottom: 15px;
}

.slide-content-left .small-text {
  font-size: 0.9rem;
  color: #ddd;
}

.features-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.feature-box {
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.85);
  color: #272e31;
  padding: 10px 15px;
  border-radius: 6px;
  min-width: 150px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.feature-box i {
  font-size: 1rem;
  margin-right: 10px;
  background-color: #c59d24;
  color: #ffffff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.slide-content-right {
  flex: 1 1 35%;
  max-width: 35%;
  background-color: #ffffff;
  color: #272e31;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.discount-banner {
  text-align: center;
  margin-bottom: 20px;
}

/* Discount banner with arrow */
.discount-banner h3 {
  margin-bottom: 10px;
  font-size: 1.5rem;
  color: #272e31;
  font-weight: 600;
}

.discount-banner .big-discount {
  display: inline-block;
  background-color: #272e31;
  color: #ffffff;
  padding: 10px 15px;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 4px 0 0 4px;
}

.discount-banner .extra-discount {
  display: inline-block;
  background-color: #c59d24;
  color: #272e31;
  padding: 10px 15px;
  font-size: 0.9rem;
  font-weight: bold;
  border-radius: 0 4px 4px 0;
  position: relative;
}

.discount-banner .extra-discount::after {
  content: '';
  position: absolute;
  top: 0;
  right: -20px;
  width: 0;
  height: 0;
  border-top: 25px solid transparent;
  border-bottom: 25px solid transparent;
  border-left: 20px solid #c59d24;
}

.promo-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.promo-form input,
.promo-form select,
.promo-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 0.9rem;
}

.promo-form textarea {
  resize: vertical;
  min-height: 80px;
}

.promo-form button {
  background-color: #c59d24;
  color: #272e31;
  padding: 10px;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.promo-form button:hover {
  background-color: #d8b44e;
}

@media (max-width: 768px) {
  .slide-inner {
    flex-direction: column;
    align-items: center;
  }
  .slide-content-left, .slide-content-right {
    max-width: 100%;
    flex-basis: 100%;
  }
  .feature-box {
    min-width: auto;
    width: 100%;
    justify-content: flex-start;
  }
  /* Top bar stack on mobile */
  .top-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
  .top-bar .contact-info {
    flex-direction: column;
    gap: 5px;
  }
  .top-bar .social-icons {
    margin-top: 5px;
  }
}

/* Mobile breakpoint for services */
@media (max-width: 600px) {
  .services-list {
    flex-direction: column;
  }
  .service-item {
    flex-basis: 100%;
    max-width: 100%;
  }
}

/* Writers section */
.writers {
  background-color: #272e31;
  color: #ffffff;
  padding: 60px 20px;
}
.writers-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.writers-content {
  flex: 1 1 50%;
  max-width: 50%;
}
.writers-content h2 {
  color: #c59d24;
  margin-bottom: 20px;
  font-family: 'Playfair Display', serif;
}
.writers-content p {
  margin-bottom: 20px;
  line-height: 1.5;
  color: #dddddd;
}
.writers-list {
  list-style: none;
  margin-bottom: 30px;
}
.writers-list li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  font-size: 1rem;
}
.writers-list li i {
  color: #c59d24;
  margin-right: 10px;
}
.writers-image {
  flex: 1 1 45%;
  max-width: 45%;
  text-align: center;
}
.writers-image img {
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.writers-cta {
  margin-top: 10px;
}

/* Branches section */
.branches {
  background-color: #f5f5f5;
  padding: 60px 20px;
  color: #272e31;
  text-align: center;
}
.branches h2 {
  margin-bottom: 40px;
  color: #272e31;
}
.branches-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
}
.branch-column {
  flex: 1 1 300px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  padding: 20px;
}
.branch-column h3 {
  margin-bottom: 15px;
  color: #c59d24;
  font-size: 1.3rem;
}
.branch-column ul {
  list-style: none;
  text-align: left;
}
.branch-column li {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  font-size: 0.95rem;
  color: #555;
}
.branch-column li i {
  color: #c59d24;
  margin-right: 8px;
}

/* Advantages section */
.advantages {
  background-color: #ffffff;
  padding: 60px 20px;
  color: #272e31;
  text-align: center;
}
.advantages h2 {
  margin-bottom: 40px;
  color: #272e31;
}
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}
.advantage-item {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  text-align: left;
}
.advantage-item i {
  font-size: 1.8rem;
  color: #c59d24;
  margin-bottom: 10px;
}
.advantage-item h3 {
  margin-bottom: 10px;
  color: #272e31;
}
.advantage-item p {
  font-size: 0.9rem;
  color: #666;
}
.perks {
  margin-top: 40px;
  background-color: #f5f5f5;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}
.perks h3 {
  margin-bottom: 15px;
  color: #272e31;
}
.perks ul {
  list-style: none;
  margin-bottom: 20px;
}
.perks ul li {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  font-size: 0.95rem;
  color: #555;
}
.perks ul li i {
  color: #c59d24;
  margin-right: 8px;
}
.perks-cta {
  margin-top: 10px;
}

/* Testimonials section */
.testimonials {
  background-color: #f5f5f5;
  padding: 60px 20px;
  color: #272e31;
  text-align: center;
}
.testimonials h2 {
  margin-bottom: 40px;
  color: #272e31;
}
.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
}
.testimonial-item {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  padding: 20px;
  max-width: 300px;
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.testimonial-rating {
  margin-bottom: 10px;
  color: #ffb606;
}
.testimonial-item p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 10px;
  font-style: italic;
}
.testimonial-item strong {
  font-size: 0.9rem;
  color: #272e31;
}

/* CTA Section */
.cta-section {
  background-color: #272e31;
  color: #ffffff;
  padding: 60px 20px;
  text-align: center;
}
.cta-section h2 {
  color: #c59d24;
  margin-bottom: 20px;
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
}
.cta-section p {
  max-width: 800px;
  margin: 0 auto 20px auto;
  line-height: 1.6;
  color: #dddddd;
}
.cta-section h3 {
  margin-top: 30px;
  margin-bottom: 10px;
  color: #c59d24;
  font-size: 1.4rem;
}
.cta-list,
.cta-steps {
  list-style: none;
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
  margin-bottom: 20px;
}
.cta-list li,
.cta-steps li {
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  color: #ffffff;
  font-size: 1rem;
}
.cta-list li i {
  color: #c59d24;
  margin-right: 8px;
  margin-top: 3px;
}
.cta-steps li {
  counter-increment: step-counter;
  position: relative;
  padding-left: 30px;
}
.cta-steps li::before {
  content: counter(step-counter) ".";
  position: absolute;
  left: 0;
  color: #c59d24;
  font-weight: bold;
}
.cta-section .cta-button {
  margin-top: 20px;
}

/* -------------------------------------------------------------------
   Custom Sections for Updated Homepage
   These styles power the refreshed writers section, topics & branches
   section, advantages, testimonials and call‑to‑action blocks. They
   mirror the look and feel of the reference design with a dark and
   gold colour palette and responsive layouts.
------------------------------------------------------------------- */

/* Writers Section (refreshed) */
.writers-section {
  background-color: #272e31;
  color: #ffffff;
  padding: 60px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.writers-section .writers-content {
  flex: 1 1 50%;
  max-width: 50%;
}
.writers-section .writers-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin-bottom: 15px;
  color: #ffffff;
}
.writers-section .writers-content .highlight {
  color: #c59d24;
}
.writers-section .writers-content p {
  margin-bottom: 15px;
  line-height: 1.6;
  color: #dddddd;
}
.writer-points {
  list-style: none;
  margin-bottom: 20px;
}
.writer-points li {
  margin-bottom: 10px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  color: #dddddd;
}
.writer-points li i {
  color: #c59d24;
  margin-right: 8px;
}
.writers-section .writers-images {
  flex: 1 1 45%;
  max-width: 45%;
  text-align: center;
}
.writers-section .writers-images img {
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Topics & Branches Section */
.branches-section {
  background-color: #f5f5f5;
  padding: 60px 20px;
  color: #272e31;
}
.branches-section h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2rem;
  font-family: 'Playfair Display', serif;
}
.branches-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}
.topics-card,
.premium-services {
  flex: 1 1 45%;
  max-width: 45%;
  background-color: #ffffff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.topics-card h3,
.premium-services h3 {
  margin-bottom: 15px;
  color: #c59d24;
  font-size: 1.3rem;
}
.topics-card ul,
.premium-services ul {
  list-style: none;
  margin-bottom: 20px;
  line-height: 1.6;
  color: #555;
  padding-left: 0;
}
.topics-card li,
.premium-services li {
  margin-bottom: 8px;
}
.topics-card .cta-button.small {
  display: inline-block;
  padding: 8px 16px;
  background-color: #c59d24;
  color: #272e31;
  border-radius: 4px;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background-color 0.3s ease;
}
.topics-card .cta-button.small:hover {
  background-color: #d8b44e;
}

/* Advantages Section (refreshed) */
.advantages-section {
  background-color: #ffffff;
  padding: 60px 20px;
  text-align: center;
  color: #272e31;
}
.advantages-section h2 {
  margin-bottom: 20px;
  font-size: 2rem;
  font-family: 'Playfair Display', serif;
}
.advantages-section p {
  margin-bottom: 30px;
  color: #555;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.advantages-section .advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}
.advantages-section .advantage-item {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  text-align: left;
}
.advantages-section .advantage-item h3 {
  margin-bottom: 10px;
  color: #c59d24;
  font-size: 1.2rem;
}
.advantages-section .advantage-item p {
  font-size: 0.9rem;
  color: #666;
}

/* Free perks block inside advantages */
.free-perks {
  margin-top: 40px;
  background-color: #f5f5f5;
  padding: 30px 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  text-align: center;
}
.free-perks h3 {
  margin-bottom: 20px;
  color: #272e31;
  font-size: 1.5rem;
}
.perks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}
.perk {
  background-color: #ffffff;
  border-radius: 6px;
  padding: 15px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  font-size: 0.9rem;
  color: #272e31;
}
.perks-note {
  margin-bottom: 20px;
  color: #555;
}
.free-perks .cta-button.small {
  padding: 8px 16px;
  font-size: 0.9rem;
}

/* Testimonials Section (refreshed) */
.testimonials-section {
  background-color: #ffffff;
  color: #272e31;
  padding: 60px 20px;
  text-align: center;
}
.testimonials-section h2 {
  margin-bottom: 10px;
  font-size: 2rem;
  font-family: 'Playfair Display', serif;
}
.testimonials-section h3 {
  margin-bottom: 20px;
  color: #c59d24;
  font-size: 1.3rem;
}
.testimonials-section p {
  margin-bottom: 40px;
  color: #555;
}
.testimonials-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}
.testimonial-item {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  text-align: left;
}
.testimonial-item strong {
  display: block;
  margin-top: 10px;
  color: #272e31;
  font-weight: 600;
}

/* CTA Section (refreshed) */
.cta-section {
  background-color: #272e31;
  color: #ffffff;
  padding: 60px 20px;
  text-align: center;
}
.cta-section h2 {
  margin-bottom: 15px;
  font-size: 2rem;
  font-family: 'Playfair Display', serif;
  color: #ffffff;
}
.cta-section p {
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #dddddd;
}
.cta-section h3 {
  margin-bottom: 20px;
  color: #c59d24;
  font-size: 1.5rem;
}
.order-steps {
  list-style: none;
  padding-left: 0;
  max-width: 800px;
  margin: 0 auto 30px auto;
  text-align: left;
  counter-reset: step;
}
.order-steps li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  color: #dddddd;
}
.order-steps li strong {
  color: #c59d24;
}
.order-steps li::before {
  counter-increment: step;
  content: counter(step) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
  color: #c59d24;
}
.cta-section .cta-button {
  margin-top: 10px;
}

/* Responsive adjustments for new sections */
@media (max-width: 768px) {
  .writers-section {
    flex-direction: column;
    text-align: center;
  }
  .writers-section .writers-content,
  .writers-section .writers-images {
    max-width: 100%;
    flex-basis: 100%;
  }
  .branches-content {
    flex-direction: column;
  }
  .topics-card,
  .premium-services {
    max-width: 100%;
    flex-basis: 100%;
  }
  .advantages-section .advantages-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
  .testimonials-wrapper {
    grid-template-columns: 1fr;
  }
  .order-steps {
    text-align: left;
  }
}

/* Responsive layout for new sections */
@media (max-width: 768px) {
  .writers-content, .writers-image {
    max-width: 100%;
    flex-basis: 100%;
  }
  .writers-inner {
    text-align: center;
  }
  .writers-list {
    text-align: left;
    display: inline-block;
  }
  .branch-column {
    flex-basis: 100%;
    max-width: 100%;
  }
  .testimonial-item {
    max-width: 100%;
    flex-basis: 100%;
  }
  .advantages-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

/* Responsive navigation */
@media (max-width: 768px) {
  nav ul {
    display: none;
  }
  nav .menu-toggle {
    display: block;
    cursor: pointer;
    font-size: 1.5rem;
    color: #272e31;
  }
  nav.active ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
  }
}
